NO Solver Timeout: 4 Global Timeout: 60 No parsing errors! Init Location: 0 Transitions: (1 + e^0), n^0 -> ((0 + __const_11^0) + n^0)}> (~(1) + e^0), n^0 -> ((0 + (~(1) * __const_10^0)) + n^0)}> 1, n^0 -> undef25}> Fresh variables: undef25, Undef variables: undef25, Abstraction variables: Exit nodes: Accepting locations: Asserts: Preprocessed LLVMGraph Init Location: 0 Transitions: (1 + e^0), n^0 -> ((0 + __const_11^0) + n^0)}> (~(1) + e^0), n^0 -> ((0 + (~(1) * __const_10^0)) + n^0)}> Fresh variables: undef25, Undef variables: undef25, Abstraction variables: Exit nodes: Accepting locations: Asserts: ************************************************************* ******************************************************************************************* *********************** WORKING TRANSITION SYSTEM (DAG) *********************** ******************************************************************************************* Init Location: 0 Graph 0: Transitions: Variables: Graph 1: Transitions: 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> Variables: __const_100^0, __const_11^0, e^0, n^0, __const_10^0 Precedence: Graph 0 Graph 1 Map Locations to Subgraph: ( 0 , 0 ) ( 1 , 1 ) ******************************************************************************************* ******************************** CHECKING ASSERTIONS ******************************** ******************************************************************************************* Proving termination of subgraph 0 Proving termination of subgraph 1 Checking unfeasibility... Time used: 0.007785 Checking conditional termination of SCC {l1}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001741s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.006853s Trying to remove transition: -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.017090s Time used: 0.016814 Trying to remove transition: 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.010467s Time used: 0.009621 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.068314s Time used: 0.067515 Solving with 2 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.874990s Time used: 0.872538 Improving Solution with cost 2 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 1.000855s Time used: 1.00073 LOG: SAT solveNonLinear - Elapsed time: 1.875845s Cost: 2; Total time: 1.87327 Failed at location 1: 1 <= __const_11^0 Failed at location 1: __const_10^0 + __const_11^0 <= 1 Before Improving: Quasi-invariant at l1: 1 <= __const_11^0 Quasi-invariant at l1: __const_10^0 + __const_11^0 <= 1 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.052839s Remaining time after improvement: 0.997185 Termination implied by a set of quasi-invariant(s): Quasi-invariant at l1: 1 <= __const_11^0 Quasi-invariant at l1: __const_10^0 + __const_11^0 <= 1 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + e^0, n^0 -> -__const_10^0 + n^0, 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): 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> Ranking function: 2 + 2*__const_100^0 - __const_10^0 - __const_11^0 - 2*n^0 New Graphs: Transitions: -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> Variables: __const_100^0, __const_10^0, __const_11^0, e^0, n^0 Checking conditional termination of SCC {l1}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001179s Ranking function: -1 + e^0 New Graphs: Calling Safety with literal 1 <= __const_11^0 and entry LOG: CALL check - Post:1 <= __const_11^0 - Process 1 * Exit transition: * Postcondition : 1 <= __const_11^0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000610s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000705s Calling Safety with literal __const_10^0 + __const_11^0 <= 1 and entry LOG: CALL check - Post:__const_10^0 + __const_11^0 <= 1 - Process 2 * Exit transition: * Postcondition : __const_10^0 + __const_11^0 <= 1 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000616s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000702s INVARIANTS: 1: Quasi-INVARIANTS to narrow Graph: 1: 1 <= __const_11^0 , __const_10^0 + __const_11^0 <= 1 , Narrowing transition: 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> LOG: Narrow transition size 2 Narrowing transition: -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> LOG: Narrow transition size 2 invGraph after Narrowing: Transitions: 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> Variables: __const_100^0, __const_11^0, e^0, n^0, __const_10^0 Checking conditional termination of SCC {l1}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.002303s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.036333s Trying to remove transition: -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.039184s Time used: 0.038183 Trying to remove transition: -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.040590s Time used: 0.037335 Trying to remove transition: 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.020965s Time used: 0.017674 Trying to remove transition: 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.037122s Time used: 0.034565 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.077215s Time used: 0.073629 Improving Solution with cost 1 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.149280s Time used: 0.149256 LOG: SAT solveNonLinear - Elapsed time: 0.226496s Cost: 1; Total time: 0.222885 Failed at location 1: 1 <= __const_11^0 Before Improving: Quasi-invariant at l1: 1 <= __const_11^0 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.022000s Remaining time after improvement: 0.995225 Termination implied by a set of quasi-invariant(s): Quasi-invariant at l1: 1 <= __const_11^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 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> [ Termination Graph ] Strengthening and disabling transitions... > It's unfeasible. Removing transition: 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> New Graphs: Transitions: 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> Variables: __const_100^0, __const_10^0, __const_11^0, e^0, n^0 Checking conditional termination of SCC {l1}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001564s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.016223s Trying to remove transition: -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.025371s Time used: 0.024768 Trying to remove transition: 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.024921s Time used: 0.023514 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 4.002045s Time used: 4.00024 Solving with 2 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 4.010299s Time used: 4.00021 Solving with 3 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 1.020617s Time used: 1.0003 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.052704s Time used: 0.034138 Proving non-termination of subgraph 1 Transitions: 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> Variables: __const_100^0, __const_11^0, e^0, n^0, __const_10^0 Checking conditional non-termination of SCC {l1}... EXIT TRANSITIONS: Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.049838s Time used: 0.049474 Improving Solution with cost 3 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.038420s Time used: 0.038409 LOG: SAT solveNonLinear - Elapsed time: 0.088259s Cost: 3; Total time: 0.087883 Failed at location 1: 1 + __const_11^0 <= 0 Before Improving: Quasi-invariant at l1: 1 + __const_11^0 <= 0 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.008058s Remaining time after improvement: 0.997623 Non-termination implied by a set of quasi-invariant(s): Quasi-invariant at l1: 1 + __const_11^0 <= 0 Strengthening and disabling EXIT transitions... Closed exits from l1: 2 Strengthening exit transition (result): Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> Checking conditional non-termination of SCC {l1}... EXIT TRANSITIONS: Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 5.005640s Time used: 5.00494 Solving with 2 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.079801s Time used: 0.074298 Improving Solution with cost 1 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.068187s Time used: 0.068171 LOG: SAT solveNonLinear - Elapsed time: 0.147988s Cost: 1; Total time: 0.142469 Failed at location 1: e^0 + n^0 <= __const_100^0 Before Improving: Quasi-invariant at l1: e^0 + n^0 <= __const_100^0 Quasi-invariant at l1: 1 <= e^0 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.011262s Remaining time after improvement: 0.997626 Non-termination implied by a set of quasi-invariant(s): Quasi-invariant at l1: e^0 + n^0 <= __const_100^0 Quasi-invariant at l1: 1 <= e^0 Strengthening and disabling EXIT transitions... Closed exits from l1: 1 Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + e^0, n^0 -> __const_11^0 + n^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: -1 + e^0, n^0 -> -__const_10^0 + n^0, rest remain the same}> Calling reachability with... Transition: Conditions: 1 + __const_11^0 <= 0, e^0 + n^0 <= __const_100^0, 1 <= e^0, OPEN EXITS: (condsUp: 1 + __const_11^0 <= 0) --- Reachability graph --- > Graph without transitions. Calling reachability with... Transition: Conditions: 1 <= e^0, e^0 + n^0 <= __const_100^0, 1 + __const_11^0 <= 0, OPEN EXITS: > Conditions are reachable! Program does NOT terminate