NO Solver Timeout: 4 Global Timeout: 300 No parsing errors! Init Location: 0 Transitions: (~(2) + curr_serv^0)}> (~(1) + c^0), curr_serv^0 -> (~(2) + curr_serv^0), resp^0 -> (1 + resp^0)}> undef37}> undef50, c^0 -> undef51, curr_serv^0 -> (0 + undef54), resp^0 -> 0, servers^0 -> undef54}> Fresh variables: undef37, undef50, undef51, undef54, Undef variables: undef37, undef50, undef51, undef54, Abstraction variables: Exit nodes: Accepting locations: Asserts: Preprocessed LLVMGraph Init Location: 0 Transitions: (~(2) + curr_serv^0)}> (~(1) + c^0), curr_serv^0 -> (~(2) + curr_serv^0), resp^0 -> (1 + resp^0)}> Fresh variables: undef37, undef50, undef51, undef54, Undef variables: undef37, undef50, undef51, undef54, Abstraction variables: Exit nodes: Accepting locations: Asserts: ************************************************************* ******************************************************************************************* *********************** WORKING TRANSITION SYSTEM (DAG) *********************** ******************************************************************************************* Init Location: 0 Graph 0: Transitions: Variables: Graph 1: Transitions: -2 + curr_serv^0, rest remain the same}> -1 + c^0, curr_serv^0 -> -2 + curr_serv^0, resp^0 -> 1 + resp^0, rest remain the same}> Variables: c^0, curr_serv^0, resp^0 Graph 2: Transitions: Variables: Precedence: Graph 0 Graph 1 Graph 2 Map Locations to Subgraph: ( 0 , 0 ) ( 1 , 1 ) ( 5 , 2 ) ******************************************************************************************* ******************************** CHECKING ASSERTIONS ******************************** ******************************************************************************************* Proving termination of subgraph 0 Proving termination of subgraph 1 Checking unfeasibility... Time used: 0.015883 Checking conditional termination of SCC {l1}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000787s Ranking function: -1 - c^0 + curr_serv^0 New Graphs: Transitions: -1 + c^0, curr_serv^0 -> -2 + curr_serv^0, resp^0 -> 1 + resp^0, rest remain the same}> Variables: c^0, curr_serv^0, resp^0 Checking conditional termination of SCC {l1}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000345s Ranking function: (~(1) / 2) + (1 / 2)*curr_serv^0 New Graphs: Proving termination of subgraph 2 Checking unfeasibility... Time used: 0.000401 > No variable changes in termination graph. Checking conditional unfeasibility... Termination failed. Trying to show unreachability... Proving unreachability of entry: LOG: CALL check - Post:1 <= 0 - Process 1 * Exit transition: * Postcondition : 1 <= 0 Postcodition moved up: 1 <= 0 LOG: Try proving POST Postcondition: 1 <= 0 LOG: CALL check - Post:1 <= 0 - Process 2 * Exit transition: * Postcondition : 1 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000295s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000343s LOG: NarrowEntry size 1 Narrowing transition: -2 + curr_serv^0, rest remain the same}> LOG: Narrow transition size 1 Narrowing transition: -1 + c^0, curr_serv^0 -> -2 + curr_serv^0, resp^0 -> 1 + resp^0, rest remain the same}> LOG: Narrow transition size 1 ENTRIES: END ENTRIES: GRAPH: -2 + curr_serv^0, rest remain the same}> -1 + c^0, curr_serv^0 -> -2 + curr_serv^0, resp^0 -> 1 + resp^0, rest remain the same}> END GRAPH: EXIT: POST: 1 <= 0 LOG: Try proving POST Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.005914s Time used: 0.00581 Improving Solution with cost 51 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.021898s Time used: 0.021896 LOG: SAT solveNonLinear - Elapsed time: 0.027811s Cost: 51; Total time: 0.027706 Failed at location 1: curr_serv^0 <= c^0 Before Improving: Quasi-invariant at l1: curr_serv^0 <= c^0 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001284s Remaining time after improvement: 0.99946 Some transition disabled by a set of quasi-invariant(s): Quasi-invariant at l1: curr_serv^0 <= c^0 LOG: NEXT CALL check - disable LOG: CALL check - Post:curr_serv^0 <= c^0 - Process 3 * Exit transition: * Postcondition : curr_serv^0 <= c^0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000410s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000465s Solving with 2 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.034570s Time used: 0.034415 Improving Solution with cost 51 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 1.000142s Time used: 1.00012 LOG: SAT solveNonLinear - Elapsed time: 1.034712s Cost: 51; Total time: 1.03454 Failed at location 1: 1 + curr_serv^0 <= c^0 Before Improving: Quasi-invariant at l1: 1 + curr_serv^0 <= c^0 Quasi-invariant at l1: 1 <= c^0 + resp^0 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.004803s Remaining time after improvement: 0.999057 Some transition disabled by a set of quasi-invariant(s): Quasi-invariant at l1: 1 + curr_serv^0 <= c^0 Quasi-invariant at l1: 1 <= c^0 + resp^0 LOG: NEXT CALL check - disable LOG: CALL check - Post:1 + curr_serv^0 <= c^0 - Process 4 * Exit transition: * Postcondition : 1 + curr_serv^0 <= c^0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000548s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000607s Solving with 3 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.256292s Time used: 0.256064 Improving Solution with cost 51 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.745017s Time used: 0.745013 LOG: SAT solveNonLinear - Elapsed time: 1.001309s Cost: 51; Total time: 1.00108 Failed at location 1: 1 + curr_serv^0 <= c^0 Before Improving: Quasi-invariant at l1: 1 <= c^0 + resp^0 Quasi-invariant at l1: 1 <= c^0 + resp^0 Quasi-invariant at l1: 1 + curr_serv^0 <= c^0 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.024617s Remaining time after improvement: 0.998686 Some transition disabled by a set of quasi-invariant(s): Quasi-invariant at l1: 1 <= c^0 + resp^0 Quasi-invariant at l1: 1 <= c^0 + resp^0 Quasi-invariant at l1: 1 + curr_serv^0 <= c^0 LOG: NEXT CALL check - disable LOG: CALL check - Post:1 + curr_serv^0 <= c^0 - Process 5 * Exit transition: * Postcondition : 1 + curr_serv^0 <= c^0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000754s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.000814s LOG: Postcondition is not implied - no solution > Postcondition is not implied! LOG: RETURN check - Elapsed time: 2.102339s Cannot prove unreachability Proving non-termination of subgraph 2 Transitions: Variables: Checking conditional non-termination of SCC {l5}... > No exit transition to close. Calling reachability with... Transition: Conditions: OPEN EXITS: --- Reachability graph --- > Graph without transitions. Calling reachability with... Transition: Conditions: OPEN EXITS: --- Reachability graph --- > Graph without transitions. Calling reachability with... Transition: Conditions: curr_serv^0 <= 0, OPEN EXITS: > Conditions are not feasible after transitions. --- Reachability graph --- Transitions: -2 + curr_serv^0, rest remain the same}> Variables: c^0, curr_serv^0 Checking edge-closing of SCC {l1}... EXIT TRANSITIONS (TO CLOSE): Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.081374s Time used: 0.081311 Solving with 2 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 5.000715s Time used: 5.00026 Solving with 3 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 5.002244s Time used: 5.00033 > No quasi-invariants that block all exits have been found. --- Reachability graph --- Transitions: -1 + c^0, curr_serv^0 -> -2 + curr_serv^0, resp^0 -> 1 + resp^0, rest remain the same}> Variables: c^0, curr_serv^0, resp^0 Checking edge-closing of SCC {l1}... > No exit transition to close. Checking conditional termination of SCC {l1}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000527s Ranking function: (~(1) / 2) + (1 / 2)*curr_serv^0 New Graphs: Calling reachability with... Transition: Conditions: OPEN EXITS: > Conditions are reachable! Program does NOT terminate