YES Solver Timeout: 4 Global Timeout: 60 No parsing errors! Init Location: 0 Transitions: (1 + Inner14^0)}> (1 + Index15^0)}> (1 + Outer13^0)}> 0}> 0}> (1 + OuterIndex8^0)}> (1 + InnerIndex9^0), Seed^0 -> undef140, ret_RandomInteger17^0 -> (0 + undef140)}> 0}> 0}> (1 + OuterIndex5^0)}> (1 + InnerIndex6^0), Seed^0 -> undef206, ret_RandomInteger16^0 -> (0 + undef206)}> 0}> 0}> 0, Seed^0 -> 0}> Fresh variables: undef140, undef206, Undef variables: undef140, undef206, Abstraction variables: Exit nodes: Accepting locations: Asserts: Preprocessed LLVMGraph Init Location: 0 Transitions: 0, OuterIndex8^0 -> 0}> 0}> 0, OuterIndex5^0 -> (1 + OuterIndex5^0), OuterIndex8^0 -> 0}> 0, OuterIndex5^0 -> (1 + OuterIndex5^0), OuterIndex8^0 -> 0}> 0, OuterIndex5^0 -> (1 + OuterIndex5^0)}> (1 + InnerIndex6^0)}> (1 + Inner14^0), Outer13^0 -> (1 + Outer13^0)}> 0, Inner14^0 -> (1 + Inner14^0)}> (1 + Index15^0)}> 0, Outer13^0 -> (1 + Outer13^0)}> 0, Inner14^0 -> 0}> 0, OuterIndex8^0 -> (1 + OuterIndex8^0)}> 0, OuterIndex8^0 -> (1 + OuterIndex8^0)}> (1 + InnerIndex9^0)}> Fresh variables: undef140, undef206, Undef variables: undef140, undef206, Abstraction variables: Exit nodes: Accepting locations: Asserts: ************************************************************* ******************************************************************************************* *********************** WORKING TRANSITION SYSTEM (DAG) *********************** ******************************************************************************************* Init Location: 0 Graph 0: Transitions: Variables: Graph 1: Transitions: 0, OuterIndex5^0 -> 1 + OuterIndex5^0, rest remain the same}> 1 + InnerIndex6^0, rest remain the same}> Variables: InnerIndex6^0, OuterIndex5^0, __const_20^0 Graph 2: Transitions: 0, OuterIndex8^0 -> 1 + OuterIndex8^0, rest remain the same}> 1 + InnerIndex9^0, rest remain the same}> Variables: InnerIndex9^0, OuterIndex8^0, __const_20^0 Graph 3: Transitions: 1 + Inner14^0, Outer13^0 -> 1 + Outer13^0, rest remain the same}> 0, Inner14^0 -> 1 + Inner14^0, rest remain the same}> 1 + Index15^0, rest remain the same}> 0, Outer13^0 -> 1 + Outer13^0, rest remain the same}> 0, Inner14^0 -> 0, rest remain the same}> Variables: Index15^0, Inner14^0, Outer13^0, __const_20^0 Graph 4: Transitions: Variables: Precedence: Graph 0 Graph 1 0, rest remain the same}> Graph 2 0, OuterIndex5^0 -> 1 + OuterIndex5^0, OuterIndex8^0 -> 0, rest remain the same}> Graph 3 0, OuterIndex8^0 -> 0, rest remain the same}> 0, OuterIndex5^0 -> 1 + OuterIndex5^0, OuterIndex8^0 -> 0, rest remain the same}> 0, OuterIndex8^0 -> 1 + OuterIndex8^0, rest remain the same}> Graph 4 Map Locations to Subgraph: ( 0 , 0 ) ( 3 , 1 ) ( 9 , 3 ) ( 11 , 3 ) ( 13 , 4 ) ( 14 , 2 ) ******************************************************************************************* ******************************** CHECKING ASSERTIONS ******************************** ******************************************************************************************* Proving termination of subgraph 0 Proving termination of subgraph 1 Checking unfeasibility... Time used: 0.005599 Checking conditional termination of SCC {l3}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001343s Ranking function: -OuterIndex5^0 + __const_20^0 New Graphs: Transitions: 1 + InnerIndex6^0, rest remain the same}> Variables: InnerIndex6^0, __const_20^0 Checking conditional termination of SCC {l3}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000815s Ranking function: -1 - InnerIndex6^0 + __const_20^0 New Graphs: Proving termination of subgraph 2 Checking unfeasibility... Time used: 0.004899 Checking conditional termination of SCC {l14}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001398s Ranking function: -OuterIndex8^0 + __const_20^0 New Graphs: Transitions: 1 + InnerIndex9^0, rest remain the same}> Variables: InnerIndex9^0, __const_20^0 Checking conditional termination of SCC {l14}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000839s Ranking function: -1 - InnerIndex9^0 + __const_20^0 New Graphs: Proving termination of subgraph 3 Checking unfeasibility... Time used: 0.020649 Some transition disabled by a set of invariant(s): Invariant at l9: 0 <= 1 + Outer13^0 Invariant at l11: 0 <= Outer13^0 Strengthening and disabling transitions... > It's unfeasible. Removing transition: 0, Outer13^0 -> 1 + Outer13^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + Inner14^0, Outer13^0 -> 1 + Outer13^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 0, Inner14^0 -> 1 + Inner14^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + Index15^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 0, Inner14^0 -> 0, rest remain the same}> Checking unfeasibility... Time used: 0.013647 Checking conditional termination of SCC {l9, l11}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.002534s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.014445s Trying to remove transition: 0, Inner14^0 -> 0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.020975s Time used: 0.020256 Trying to remove transition: 1 + Index15^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.024072s Time used: 0.021825 Trying to remove transition: 0, Inner14^0 -> 1 + Inner14^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.072299s Time used: 0.070801 Trying to remove transition: 1 + Inner14^0, Outer13^0 -> 1 + Outer13^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.021226s Time used: 0.018633 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.079199s Time used: 0.076889 LOG: SAT solveNonLinear - Elapsed time: 0.079199s Cost: 0; Total time: 0.076889 Termination implied by a set of invariant(s): Invariant at l9: 1 + Outer13^0 <= __const_20^0 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + Inner14^0, Outer13^0 -> 1 + Outer13^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 0, Inner14^0 -> 1 + Inner14^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + Index15^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility [ Termination Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + Inner14^0, Outer13^0 -> 1 + Outer13^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 0, Inner14^0 -> 1 + Inner14^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + Index15^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Ranking function: -Outer13^0 + __const_20^0 New Graphs: Transitions: 0, Inner14^0 -> 1 + Inner14^0, rest remain the same}> 1 + Index15^0, rest remain the same}> Variables: Index15^0, Inner14^0, Outer13^0, __const_20^0 Checking conditional termination of SCC {l9}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.002120s Ranking function: -Inner14^0 + __const_20^0 New Graphs: Transitions: 1 + Index15^0, rest remain the same}> Variables: Index15^0, Outer13^0, __const_20^0 Checking conditional termination of SCC {l9}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001220s Ranking function: -1 - Index15^0 + __const_20^0 New Graphs: INVARIANTS: 9: 1 + Outer13^0 <= __const_20^0 , Quasi-INVARIANTS to narrow Graph: 9: Proving termination of subgraph 4 Analyzing SCC {l13}... No cycles found. Program Terminates