NO Solver Timeout: 4 Global Timeout: 300 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.005643 Checking conditional termination of SCC {l1}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001183s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.004379s 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.007762s Time used: 0.00762 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.004980s Time used: 0.004501 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.030341s Time used: 0.029893 Solving with 2 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.395804s Time used: 0.39468 Improving Solution with cost 2 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.599253s Time used: 0.599181 LOG: SAT solveNonLinear - Elapsed time: 0.995058s Cost: 2; Total time: 0.993861 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.011587s Remaining time after improvement: 0.998698 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.000554s 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.000285s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000318s 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.000279s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000313s 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.001085s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.015705s 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.017361s Time used: 0.01682 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.018134s Time used: 0.016651 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.009325s Time used: 0.007858 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.016394s Time used: 0.015259 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.033559s Time used: 0.031894 Improving Solution with cost 1 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.065828s Time used: 0.065826 LOG: SAT solveNonLinear - Elapsed time: 0.099387s Cost: 1; Total time: 0.09772 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.011051s Remaining time after improvement: 0.997746 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.000753s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.007475s 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.011661s Time used: 0.011326 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.011487s Time used: 0.010753 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 4.000794s Time used: 4.00005 Solving with 2 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 4.013029s Time used: 4.00006 Solving with 3 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 1.016989s Time used: 1.00007 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.025084s Time used: 0.015056 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.021101s Time used: 0.020928 Improving Solution with cost 3 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.016253s Time used: 0.016251 LOG: SAT solveNonLinear - Elapsed time: 0.037354s Cost: 3; Total time: 0.037179 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.003948s Remaining time after improvement: 0.998895 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.001512s Time used: 5.00139 Solving with 2 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.034944s Time used: 0.031714 Improving Solution with cost 1 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.027290s Time used: 0.027287 LOG: SAT solveNonLinear - Elapsed time: 0.062234s Cost: 1; Total time: 0.059001 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.006061s Remaining time after improvement: 0.99869 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