NO Solver Timeout: 4 Global Timeout: 60 Maximum number of concurrent processes: 900 ******************************************************************************************* *********************** UNPROCESSED TRANSITION SYSTEMS PER FUNCTION *********************** ******************************************************************************************* List of LLVMGraphs + assumeNodes + staticAssertNodes [1] : +++++++++++++++++++++++++++++++ main +++++++++++++++++++++++++++++++ + + Init Location: 0 Transitions: 0, main_i -> ¿functionCall(__VERIFIER_nondet_int), main_j -> main_i}> 0))> 0)> = main_j)> = main_j))> (main_i + 1)}> (main_j + 1)}> 2)> 2))> (main_i + 1)}> (main_j + 1)}> (main_j - 1)}> 0))> 0)> (main_i - 1)}> (main_j + 1)}> (main_i + 1)}> (main_i + 1)}> main_i)> main_i))> (main_j - 1)}> (main_j + 1)}> 0}> Fresh variables: Undef variables: Abstraction variables: Exit nodes: Accepting locations: Asserts: + Assume Nodes [0]: ++++++++++++++++++++++++++++++++++++++++++++++++ + Static Assert Nodes [0]: +++++++++++++++++++++++++++++++++++++++++ + After preprocess (paralelization): ++++++++++++++++++++++++++++++ Init Location: 0 Transitions: 0}> ¿functionCall(__VERIFIER_nondet_int)}> varCall_1, main_j -> main_i}> 0)> 0))> = main_j)> = main_j))> (main_i + 1)}> (main_j + 1)}> 2)> 2))> (main_i + 1)}> (main_j + 1)}> (main_j - 1)}> 0)> 0))> (main_i - 1)}> (main_j + 1)}> (main_i + 1)}> (main_i + 1)}> main_i)> main_i))> (main_j - 1)}> (main_j + 1)}> 0}> Fresh variables: Undef variables: Abstraction variables: Exit nodes: 35, Accepting locations: Asserts: + + +++++++++++++++++++++++++++++++ main +++++++++++++++++++++++++++++++ Function Return and Parameters Information [2 functions]: function name: __VERIFIER_nondet_int [1 return + 0 parameters] demangled: __VERIFIER_nondet_int __VERIFIER_nondet_int__func_return_ [function result] : int function name: main [1 return + 0 parameters] demangled: main main__func_return_ [function result] : int AST Ident Scanner Information [4 idents]: __VERIFIER_nondet_int | function | [integer, ()] | | main | function | [integer, ()] | i | local variable | integer | | j | local variable | integer | | Main function: main Preprocessed LLVMGraph Init Location: 0 Transitions: 0) /\ (main_i >= main_j) /\ (main_j < 5) /\ (((main_i + 1) - (main_j + 1)) > 2), par{main_i -> ((main_i + 1) + 1), main_j -> (main_j + 1)}> 0) /\ (main_i >= main_j) /\ (main_j < 5) /\ not((((main_i + 1) - (main_j + 1)) > 2)), par{main_i -> (main_i + 1), main_j -> ((main_j + 1) + 1)}> 0) /\ (main_i >= main_j) /\ not((main_j < 5)), par{main_i -> (main_i + 1), main_j -> (main_j - 1)}> 0) /\ not((main_i >= main_j)) /\ (main_i > 0) /\ not((main_j < 0)) /\ ((main_j * 2) > (main_i + 1)), par{main_i -> (main_i + 1), main_j -> (main_j - 1)}> 0))> Fresh variables: undef2, Undef variables: undef2, Abstraction variables: Exit nodes: 35, Accepting locations: Asserts: ************************************************************* ******************************************************************************************* *********************** WORKING TRANSITION SYSTEM (DAG) *********************** ******************************************************************************************* Init Location: 0 Graph 0: Transitions: Variables: Graph 1: Transitions: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> 1 + main_i, main_j -> 2 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> Variables: main_i, main_j Graph 2: Transitions: Variables: Precedence: Graph 0 Graph 1 Graph 2 Map Locations to Subgraph: ( 0 , 0 ) ( 2 , 1 ) ( 35 , 2 ) ******************************************************************************************* ******************************** CHECKING ASSERTIONS ******************************** ******************************************************************************************* Proving termination of subgraph 0 Proving termination of subgraph 1 Checking unfeasibility... Time used: 0.101651 Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.003419s Ranking function: 5 + (~(1) / 2)*main_i + (~(1) / 2)*main_j New Graphs: Transitions: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> Variables: main_i, main_j Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001924s Ranking function: -main_i + main_j New Graphs: Transitions: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> Variables: main_i, main_j Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001059s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.029412s [48181 : 48183] [48181 : 48184] Successful child: 48183 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: 1 + main_i, main_j -> 2 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: 1 + main_i, main_j -> -1 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: 1 + main_i, main_j -> -1 + main_j, rest remain the same}> [ Termination Graph ] Strengthening and disabling transitions... > It's unfeasible. Removing transition: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: 1 + main_i, main_j -> -1 + main_j, rest remain the same}> New Graphs: LOG: CALL check - Post:1 + main_i <= 0 - Process 1 * Exit transition: * Postcondition : 1 + main_i <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000653s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000744s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: 1 + main_i <= 0 , Narrowing transition: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> LOG: Narrow transition size 1 Narrowing transition: 1 + main_i, main_j -> 2 + main_j, rest remain the same}> LOG: Narrow transition size 1 Narrowing transition: 1 + main_i, main_j -> -1 + main_j, rest remain the same}> LOG: Narrow transition size 1 Narrowing transition: 1 + main_i, main_j -> -1 + main_j, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> 1 + main_i, main_j -> 2 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> Variables: main_i, main_j Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.002872s Ranking function: 5 + (~(1) / 2)*main_i + (~(1) / 2)*main_j New Graphs: Transitions: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> Variables: main_i, main_j Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.002039s Ranking function: -main_i + main_j New Graphs: Transitions: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> Variables: main_i, main_j Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001076s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.029793s [48181 : 48188] [48181 : 48189] Successful child: 48188 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: 1 + main_i, main_j -> 2 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: 1 + main_i, main_j -> -1 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: 1 + main_i, main_j -> -1 + main_j, rest remain the same}> [ Termination Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: 1 + main_i, main_j -> -1 + main_j, rest remain the same}> New Graphs: LOG: CALL check - Post:main_j <= 0 - Process 2 * Exit transition: * Postcondition : main_j <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000607s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000709s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: main_i <= main_j , main_j <= main_i , main_j <= 0 , Narrowing transition: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> LOG: Narrow transition size 3 Narrowing transition: 1 + main_i, main_j -> 2 + main_j, rest remain the same}> LOG: Narrow transition size 3 Narrowing transition: 1 + main_i, main_j -> -1 + main_j, rest remain the same}> LOG: Narrow transition size 3 Narrowing transition: 1 + main_i, main_j -> -1 + main_j, rest remain the same}> LOG: Narrow transition size 3 invGraph after Narrowing: Transitions: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> 1 + main_i, main_j -> 2 + main_j, rest remain the same}> 1 + main_i, main_j -> 2 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> Variables: main_i, main_j Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.004005s Ranking function: 60 - 15*main_i New Graphs: Transitions: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> 1 + main_i, main_j -> 2 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> Variables: main_i, main_j Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.003138s Ranking function: 176 - 18*main_i - 17*main_j New Graphs: Transitions: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> Variables: main_i, main_j Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.002328s Ranking function: -6*main_i + 6*main_j New Graphs: Transitions: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> Variables: main_i, main_j Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001105s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.047539s [48181 : 48193] [48181 : 48194] Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.053276s Time used: 0.052339 Improving Solution with cost 1 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 1.022372s Time used: 1.02235 LOG: SAT solveNonLinear - Elapsed time: 1.075648s Cost: 1; Total time: 1.07469 Termination implied by a set of invariant(s): Invariant at l2: 1 <= main_j [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 2 + main_i, main_j -> 1 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + main_i, main_j -> 2 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + main_i, main_j -> 2 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + main_i, main_j -> -1 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + main_i, main_j -> -1 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + main_i, main_j -> -1 + main_j, rest remain the same}> [ Termination Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 2 + main_i, main_j -> 1 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + main_i, main_j -> -1 + main_j, rest remain the same}> Quasi-ranking function: 50000 - 2*main_i + 3*main_j New Graphs: Transitions: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> Variables: main_i, main_j Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001420s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.073847s [48181 : 48198] [48181 : 48199] Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.062446s Time used: 0.0613 Improving Solution with cost 1 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 1.000682s Time used: 1.00066 LOG: SAT solveNonLinear - Elapsed time: 1.063129s Cost: 1; Total time: 1.06196 Quasi-ranking function: 50000 - main_i New Graphs: Transitions: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> Variables: main_i, main_j Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001504s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.067661s [48181 : 48203] [48181 : 48204] Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.069608s Time used: 0.068284 Improving Solution with cost 1 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 1.000960s Time used: 1.00093 LOG: SAT solveNonLinear - Elapsed time: 1.070568s Cost: 1; Total time: 1.06921 Termination implied by a set of invariant(s): Invariant at l2: 0 <= main_i + main_j [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 2 + main_i, main_j -> 1 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + main_i, main_j -> 2 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + main_i, main_j -> 2 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + main_i, main_j -> -1 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + main_i, main_j -> -1 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + main_i, main_j -> -1 + main_j, rest remain the same}> [ Termination Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 2 + main_i, main_j -> 1 + main_j, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + main_i, main_j -> -1 + main_j, rest remain the same}> Quasi-ranking function: 50000 - 2*main_i - main_j New Graphs: Transitions: 2 + main_i, main_j -> 1 + main_j, rest remain the same}> 1 + main_i, main_j -> -1 + main_j, rest remain the same}> Variables: main_i, main_j Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001787s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.162775s [48181 : 48208] [48181 : 48209] Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 4.103323s Time used: 4.10156 [48181 : 48213] [48181 : 48217] Successful child: 48213 Program does NOT terminate