NO Solver Timeout: 4 Global Timeout: 300 No parsing errors! Init Location: 0 Transitions: undef6}> (~(1) + WItemsNum^0)}> (1 + WItemsNum^0)}> (1 + WItemsNum^0)}> undef52}> Fresh variables: undef6, undef52, undef55, Undef variables: undef6, undef52, undef55, Abstraction variables: Exit nodes: Accepting locations: Asserts: Preprocessed LLVMGraph Init Location: 0 Transitions: (1 + WItemsNum^0)}> (1 + WItemsNum^0)}> (~(1) + WItemsNum^0)}> Fresh variables: undef6, undef52, undef55, Undef variables: undef6, undef52, undef55, Abstraction variables: Exit nodes: Accepting locations: Asserts: ************************************************************* ******************************************************************************************* *********************** WORKING TRANSITION SYSTEM (DAG) *********************** ******************************************************************************************* Init Location: 0 Graph 0: Transitions: Variables: Graph 1: Transitions: 1 + WItemsNum^0, rest remain the same}> 1 + WItemsNum^0, rest remain the same}> -1 + WItemsNum^0, rest remain the same}> Variables: WItemsNum^0, __const_5^0 Precedence: Graph 0 Graph 1 Map Locations to Subgraph: ( 0 , 0 ) ( 5 , 1 ) ( 6 , 1 ) ******************************************************************************************* ******************************** CHECKING ASSERTIONS ******************************** ******************************************************************************************* Proving termination of subgraph 0 Proving termination of subgraph 1 Checking unfeasibility... Time used: 0.00933 Checking conditional termination of SCC {l5, l6}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001353s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.006626s Trying to remove transition: -1 + WItemsNum^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.021702s Time used: 0.021551 Trying to remove transition: 1 + WItemsNum^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.009836s Time used: 0.009398 Trying to remove transition: 1 + WItemsNum^0, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.009417s Time used: 0.008762 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 4.001502s Time used: 4.0008 Solving with 2 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.228327s Time used: 0.22539 Improving Solution with cost 2 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 1.000541s Time used: 1.00053 LOG: SAT solveNonLinear - Elapsed time: 1.228868s Cost: 2; Total time: 1.22592 Failed at location 5: WItemsNum^0 <= 1 + __const_5^0 Failed at location 5: __const_5^0 <= 0 Before Improving: Quasi-invariant at l5: WItemsNum^0 <= 1 + __const_5^0 Quasi-invariant at l5: __const_5^0 <= 0 Quasi-invariant at l6: __const_5^0 <= 0 Quasi-invariant at l6: WItemsNum^0 <= 1 + __const_5^0 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.006182s Quasi-invariant improved LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.002421s Remaining time after improvement: 0.994781 Termination implied by a set of quasi-invariant(s): Quasi-invariant at l5: WItemsNum^0 <= 1 + __const_5^0 Quasi-invariant at l5: __const_5^0 <= 1 Quasi-invariant at l6: __const_5^0 <= 1 Quasi-invariant at l6: WItemsNum^0 <= 1 + __const_5^0 [ Invariant Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + WItemsNum^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + WItemsNum^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: -1 + WItemsNum^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): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + WItemsNum^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): 1 + WItemsNum^0, rest remain the same}> LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: -1 + WItemsNum^0, rest remain the same}> Ranking function: 3 - WItemsNum^0 + __const_5^0 New Graphs: Transitions: Variables: WItemsNum^0, __const_5^0 > No variable changes in termination graph. Checking conditional unfeasibility... Calling Safety with literal 3 <= WItemsNum^0 and entry LOG: CALL check - Post:3 <= WItemsNum^0 - Process 1 * Exit transition: * Postcondition : 3 <= WItemsNum^0 FIXED: Entro call FIXED (try DiffLogic): 0 LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 4.002687s Time used: 4.0026 FIXED (FARKAS): fail FIXED (FARKAS): 4.00586 FIXED: Entro call FIXED (try DiffLogic): 0 LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 4.015225s Time used: 4.00255 FIXED (FARKAS): fail FIXED (FARKAS): 4.01825 LOG: Try proving POST Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 4.022703s Time used: 4.0153 Solving with 2 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.161889s Time used: 0.157413 Improving Solution with cost 52 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 1.000600s Time used: 1.00059 LOG: SAT solveNonLinear - Elapsed time: 1.162489s Cost: 52; Total time: 1.158 Failed at location 5: 1 + WItemsNum^0 + __const_5^0 <= 0 Failed at location 5: 1 <= WItemsNum^0 Before Improving: Quasi-invariant at l5: 1 + WItemsNum^0 + __const_5^0 <= 0 Quasi-invariant at l5: 1 <= WItemsNum^0 Quasi-invariant at l6: 1 <= WItemsNum^0 Quasi-invariant at l6: 1 + WItemsNum^0 + __const_5^0 <= 0 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.014308s Remaining time after improvement: 0.998083 Some transition disabled by a set of quasi-invariant(s): Quasi-invariant at l5: 1 + WItemsNum^0 + __const_5^0 <= 0 Quasi-invariant at l5: 1 <= WItemsNum^0 Quasi-invariant at l6: 1 <= WItemsNum^0 Quasi-invariant at l6: 1 + WItemsNum^0 + __const_5^0 <= 0 LOG: NEXT CALL check - disable LOG: CALL check - Post:1 + WItemsNum^0 + __const_5^0 <= 0 - Process 2 * Exit transition: * Postcondition : 1 + WItemsNum^0 + __const_5^0 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000805s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000839s Solving with 3 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.851879s Time used: 0.851504 Improving Solution with cost 52 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.149106s Time used: 0.149103 LOG: SAT solveNonLinear - Elapsed time: 1.000985s Cost: 52; Total time: 1.00061 Failed at location 5: __const_5^0 <= 0 Failed at location 5: 1 <= WItemsNum^0 Before Improving: Quasi-invariant at l5: __const_5^0 <= 0 Quasi-invariant at l5: 1 <= WItemsNum^0 Quasi-invariant at l6: 1 <= WItemsNum^0 Quasi-invariant at l6: __const_5^0 <= 0 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.005808s Remaining time after improvement: 0.998237 Some transition disabled by a set of quasi-invariant(s): Quasi-invariant at l5: __const_5^0 <= 0 Quasi-invariant at l5: 1 <= WItemsNum^0 Quasi-invariant at l6: 1 <= WItemsNum^0 Quasi-invariant at l6: __const_5^0 <= 0 LOG: NEXT CALL check - disable LOG: CALL check - Post:__const_5^0 <= 0 - Process 3 * Exit transition: * Postcondition : __const_5^0 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000779s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000809s LOG: Postcondition is not implied - no solution > Postcondition is not implied! LOG: RETURN check - Elapsed time: 14.244184s Proving non-termination of subgraph 1 Transitions: 1 + WItemsNum^0, rest remain the same}> 1 + WItemsNum^0, rest remain the same}> -1 + WItemsNum^0, rest remain the same}> Variables: WItemsNum^0, __const_5^0 Checking conditional non-termination of SCC {l5, l6}... > No exit transition to close. Calling reachability with... Transition: Conditions: OPEN EXITS: --- Reachability graph --- > Graph without transitions. Calling reachability with... Transition: Conditions: OPEN EXITS: > Conditions are reachable! Program does NOT terminate