YES Solver Timeout: 4 Global Timeout: 300 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.003541 Checking conditional termination of SCC {l3}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000913s 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.000380s Ranking function: -1 - InnerIndex6^0 + __const_20^0 New Graphs: Proving termination of subgraph 2 Checking unfeasibility... Time used: 0.002352 Checking conditional termination of SCC {l14}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000689s 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.000398s Ranking function: -1 - InnerIndex9^0 + __const_20^0 New Graphs: Proving termination of subgraph 3 Checking unfeasibility... Time used: 0.009211 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.006345 Checking conditional termination of SCC {l9, l11}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001275s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.006511s 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.009454s Time used: 0.009054 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.010886s Time used: 0.009821 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.032508s Time used: 0.03169 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.009667s Time used: 0.008399 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.033789s Time used: 0.032741 LOG: SAT solveNonLinear - Elapsed time: 0.033789s Cost: 0; Total time: 0.032741 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.000983s 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.000574s 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