NO Solver Timeout: 4 Global Timeout: 300 No parsing errors! Init Location: 0 Transitions: ~(1)) /\ (arg1 > 0) /\ (undef1 > 0), par{arg1 -> undef1, arg2 -> 0, arg3 -> arg2}> ~(1)) /\ (arg3 > arg2) /\ (arg2 > ~(1)) /\ (undef4 <= arg1) /\ (arg1 > 0) /\ (undef4 > 0), par{arg1 -> undef4, arg2 -> (arg2 + undef7)}> undef8, arg2 -> undef9, arg3 -> undef10}> Fresh variables: undef1, undef4, undef7, undef8, undef9, undef10, Undef variables: undef1, undef4, undef7, undef8, undef9, undef10, Abstraction variables: Exit nodes: Accepting locations: Asserts: Preprocessed LLVMGraph Init Location: 0 Transitions: ~(1)) /\ (undef8 > 0) /\ (undef1 > 0)> ~(1)) /\ (arg3 > arg2) /\ (arg2 > ~(1)) /\ (undef4 <= arg1) /\ (arg1 > 0) /\ (undef4 > 0), par{arg1 -> undef4, arg2 -> (arg2 + undef7)}> Fresh variables: undef1, undef4, undef7, undef8, undef9, undef10, Undef variables: undef1, undef4, undef7, undef8, undef9, undef10, Abstraction variables: Exit nodes: Accepting locations: Asserts: ************************************************************* ******************************************************************************************* *********************** WORKING TRANSITION SYSTEM (DAG) *********************** ******************************************************************************************* Init Location: 0 Graph 0: Transitions: Variables: Graph 1: Transitions: undef4, arg2 -> arg2 + undef7, rest remain the same}> Variables: arg1, arg2, arg3 Precedence: Graph 0 Graph 1 Map Locations to Subgraph: ( 0 , 0 ) ( 2 , 1 ) ******************************************************************************************* ******************************** CHECKING ASSERTIONS ******************************** ******************************************************************************************* Proving termination of subgraph 0 Proving termination of subgraph 1 Checking unfeasibility... Time used: 0.003189 Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000735s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.002692s Trying to remove transition: undef4, arg2 -> arg2 + undef7, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.006177s Time used: 0.005984 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.006176s Time used: 0.005858 Improving Solution with cost 1 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.008451s Time used: 0.00845 LOG: SAT solveNonLinear - Elapsed time: 0.014627s Cost: 1; Total time: 0.014308 Failed at location 2: arg1 + arg3 <= 1 Before Improving: Quasi-invariant at l2: arg1 + arg3 <= 1 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001511s Remaining time after improvement: 0.999203 Termination implied by a set of quasi-invariant(s): Quasi-invariant at l2: arg1 + arg3 <= 1 [ 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: undef4, arg2 -> arg2 + undef7, rest remain the same}> [ Termination Graph ] Strengthening and disabling transitions... > It's unfeasible. Removing transition: undef4, arg2 -> arg2 + undef7, rest remain the same}> New Graphs: Calling Safety with literal arg1 + arg3 <= 1 and entry LOG: CALL check - Post:arg1 + arg3 <= 1 - Process 1 * Exit transition: * Postcondition : arg1 + arg3 <= 1 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000356s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000412s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: arg1 + arg3 <= 1 , Narrowing transition: undef4, arg2 -> arg2 + undef7, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: undef4, arg2 -> arg2 + undef7, rest remain the same}> Variables: arg1, arg2, arg3 Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000449s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001718s Trying to remove transition: undef4, arg2 -> arg2 + undef7, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.004285s Time used: 0.004137 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.005927s Time used: 0.005585 Improving Solution with cost 1 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.007679s Time used: 0.007678 LOG: SAT solveNonLinear - Elapsed time: 0.013606s Cost: 1; Total time: 0.013263 Failed at location 2: arg2 + arg3 <= 0 Before Improving: Quasi-invariant at l2: arg2 + arg3 <= 0 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001564s Remaining time after improvement: 0.999124 Termination implied by a set of quasi-invariant(s): Quasi-invariant at l2: arg2 + arg3 <= 0 [ 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: undef4, arg2 -> arg2 + undef7, rest remain the same}> [ Termination Graph ] Strengthening and disabling transitions... > It's unfeasible. Removing transition: undef4, arg2 -> arg2 + undef7, rest remain the same}> New Graphs: Calling Safety with literal arg2 + arg3 <= 0 and entry LOG: CALL check - Post:arg2 + arg3 <= 0 - Process 2 * Exit transition: * Postcondition : arg2 + arg3 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000342s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000408s INVARIANTS: 2: Quasi-INVARIANTS to narrow Graph: 2: arg2 + arg3 <= 0 , Narrowing transition: undef4, arg2 -> arg2 + undef7, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: undef4, arg2 -> arg2 + undef7, rest remain the same}> Variables: arg1, arg2, arg3 Checking conditional termination of SCC {l2}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000493s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001903s Trying to remove transition: undef4, arg2 -> arg2 + undef7, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.004330s Time used: 0.004173 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.006028s Time used: 0.005762 Solving with 2 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 4.000540s Time used: 4.00026 Solving with 3 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 1.003435s Time used: 1.0003 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.007718s Time used: 0.004972 Proving non-termination of subgraph 1 Transitions: undef4, arg2 -> arg2 + undef7, rest remain the same}> Variables: arg1, arg2, arg3 Checking that every undef value has an assignment... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000774s Checking conditional non-termination of SCC {l2}... EXIT TRANSITIONS: Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.025993s Time used: 0.025749 Improving Solution with cost 8 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.065442s Time used: 0.06544 LOG: SAT solveNonLinear - Elapsed time: 0.091435s Cost: 8; Total time: 0.091189 Minimizing number of undef constraints... LOG: CALL solveNonLinear LOG: RETURN solveNonLinear - Elapsed time: 0.012207s Number of undef constraints reduced! Non-termination implied by a set of quasi-invariant(s): Quasi-invariant at l2: 1 <= arg1 Strengthening and disabling EXIT transitions... Closed exits from l2: 4 Strengthening exit transition (result): Strengthening exit transition (result): Strengthening exit transition (result): Strengthening exit transition (result): Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): undef4, arg2 -> arg2 + undef7, rest remain the same}> Checking conditional non-termination of SCC {l2}... EXIT TRANSITIONS: Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.016878s Time used: 0.016696 Improving Solution with cost 4 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.064481s Time used: 0.064478 LOG: SAT solveNonLinear - Elapsed time: 0.081359s Cost: 4; Total time: 0.081174 Failed at location 2: arg1 + arg2 <= arg3 Before Improving: Quasi-invariant at l2: arg1 + arg2 <= arg3 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.008593s Remaining time after improvement: 0.998255 Minimizing number of undef constraints... LOG: CALL solveNonLinear LOG: RETURN solveNonLinear - Elapsed time: 0.002841s Non-termination implied by a set of quasi-invariant(s): Quasi-invariant at l2: arg1 + arg2 <= arg3 Constraint over undef 'undef7 <= 0' in transition: undef4, arg2 -> arg2 + undef7, rest remain the same}> Strengthening and disabling EXIT transitions... Closed exits from l2: 2 Strengthening exit transition (result): Strengthening exit transition (result): Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): undef4, arg2 -> arg2 + undef7, rest remain the same}> Checking conditional non-termination of SCC {l2}... EXIT TRANSITIONS: Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.012763s Time used: 0.012704 LOG: SAT solveNonLinear - Elapsed time: 0.012763s Cost: 0; Total time: 0.012704 Minimizing number of undef constraints... LOG: CALL solveNonLinear LOG: RETURN solveNonLinear - Elapsed time: 0.003930s Number of undef constraints reduced! Non-termination implied by a set of quasi-invariant(s): Quasi-invariant at l2: 0 <= arg2 Strengthening and disabling EXIT transitions... Closed exits from l2: 2 Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): undef4, arg2 -> arg2 + undef7, rest remain the same}> Calling reachability with... Transition: Conditions: 1 <= arg1, arg1 + arg2 <= arg3, 0 <= arg2, OPEN EXITS: --- Reachability graph --- > Graph without transitions. Calling reachability with... Transition: Conditions: 1 <= arg1, arg1 + arg2 <= arg3, 0 <= arg2, OPEN EXITS: > Conditions are reachable! Program does NOT terminate