NO Solver Timeout: 4 Global Timeout: 60 No parsing errors! Init Location: 0 Transitions: 0) /\ (undef1 > 0), par{arg1 -> undef1, arg3 -> undef3, arg4 -> undef4}> 0) /\ (undef5 > 0), par{arg1 -> undef5, arg2 -> undef6, arg3 -> undef7, arg4 -> undef8}> = undef9) /\ (arg1 > 0) /\ (undef9 > 0) /\ (undef10 > 0), par{arg1 -> undef9, arg2 -> undef10, arg3 -> undef11, arg4 -> undef12}> 0) /\ (arg2 > 1) /\ (undef13 > 0) /\ (undef14 > 1) /\ ((arg4 + 2) <= arg2), par{arg1 -> undef13, arg2 -> undef14}> 0) /\ (arg1 > 0) /\ (undef17 > 0) /\ (undef18 > 0), par{arg1 -> undef17, arg2 -> undef18, arg3 -> undef19, arg4 -> undef20}> 0) /\ (arg2 > 1) /\ (undef21 > 0) /\ (undef22 > 1) /\ ((arg3 + 2) <= arg2), par{arg1 -> undef21, arg2 -> undef22, arg4 -> undef24}> 0) /\ (arg2 > ~(1)), par{arg1 -> undef25, arg2 -> undef26, arg3 -> undef27, arg4 -> undef28}> ~(1)) /\ (arg2 > 0) /\ (arg1 > 0), par{arg1 -> undef29, arg2 -> undef30, arg3 -> undef31, arg4 -> undef32}> 0) /\ (undef38 > ~(1)) /\ (arg2 > 0) /\ ((arg4 + 2) <= arg2), par{arg1 -> undef34, arg2 -> undef35, arg3 -> undef36, arg4 -> undef37}> 0) /\ (undef43 > ~(1)) /\ (undef40 > 1) /\ (undef39 > 1), par{arg1 -> undef39, arg2 -> undef40, arg3 -> undef41, arg4 -> (undef43 + 1)}> ~(1)) /\ (arg3 > 0) /\ (undef44 <= arg1) /\ ((undef45 + 2) <= arg2) /\ (arg1 > 0) /\ (arg2 > 2) /\ (undef44 > 0) /\ (undef45 > 0), par{arg1 -> undef44, arg2 -> undef45, arg3 -> (arg3 - 1), arg4 -> (arg4 + 1)}> 0) /\ (undef52 > 0) /\ (arg4 > ~(1)) /\ (undef48 <= arg1) /\ ((undef49 + 2) <= arg2) /\ (arg1 > 0) /\ (arg2 > 2) /\ (undef48 > 0) /\ (undef49 > 0), par{arg1 -> undef48, arg2 -> undef49, arg3 -> (arg3 - 1), arg4 -> (arg4 + 1)}> 0) /\ (undef57 > 0) /\ (arg4 > ~(1)) /\ (arg1 > 0) /\ (arg2 > 1) /\ (undef53 > 0) /\ (undef54 > 0), par{arg1 -> undef53, arg2 -> undef54, arg3 -> (arg3 - 1), arg4 -> (arg4 + 1)}> ~(1)) /\ (arg3 > 0) /\ (arg1 > 0) /\ (arg2 > 1) /\ (undef58 > 0) /\ (undef59 > 0), par{arg1 -> undef58, arg2 -> undef59, arg3 -> (arg3 - 1), arg4 -> (arg4 + 1)}> ~(1)) /\ (arg3 > 0) /\ ((undef62 - 2) <= arg1) /\ ((undef62 - 2) <= arg2) /\ ((undef63 - 2) <= arg1) /\ ((undef63 - 2) <= arg2) /\ (arg1 > 1) /\ (arg2 > 1) /\ (undef62 > 3) /\ (undef63 > 3), par{arg1 -> undef62, arg2 -> undef63, arg3 -> (arg3 - 1), arg4 -> (arg4 + 1)}> 0) /\ (undef70 > 0) /\ (arg4 > ~(1)) /\ ((undef66 - 2) <= arg1) /\ ((undef66 - 2) <= arg2) /\ ((undef67 - 2) <= arg1) /\ ((undef67 - 2) <= arg2) /\ (arg1 > 1) /\ (arg2 > 1) /\ (undef66 > 3) /\ (undef67 > 3), par{arg1 -> undef66, arg2 -> undef67, arg3 -> (arg3 - 1), arg4 -> (arg4 + 1)}> 0) /\ (arg2 > 0) /\ ((undef71 + 1) <= arg1) /\ ((undef72 + 1) <= arg1) /\ ((undef73 + 1) <= arg1) /\ (arg1 > 0) /\ (undef71 > ~(1)) /\ (undef72 > ~(1)) /\ (undef73 > ~(1)), par{arg1 -> undef71, arg2 -> undef72, arg3 -> undef73, arg4 -> undef74}> 0) /\ (arg2 > 0) /\ (undef76 > ~(1)) /\ (undef77 > 0) /\ (undef78 > ~(1)) /\ ((arg3 + 2) <= arg2), par{arg1 -> undef76, arg2 -> undef77, arg3 -> undef78, arg4 -> undef79}> 0) /\ ((undef81 + 1) <= arg1) /\ ((undef81 + 1) <= arg2) /\ (undef82 <= arg2) /\ (arg1 > 0) /\ (arg2 > 0) /\ (undef80 > 0) /\ (undef81 > ~(1)) /\ (undef82 > 0) /\ ((arg4 + 2) <= arg2), par{arg1 -> undef80, arg2 -> undef81, arg3 -> undef82, arg4 -> undef83}> 0) /\ (arg2 > 0) /\ (undef85 > 0) /\ (undef86 > 0) /\ (undef87 > 0) /\ ((arg4 + 2) <= arg2), par{arg1 -> undef85, arg2 -> undef86, arg3 -> undef87, arg4 -> undef88}> 0) /\ (arg2 > 0) /\ (arg3 > 0) /\ (undef89 > ~(1)) /\ (undef90 > ~(1)) /\ (undef91 > ~(1)), par{arg1 -> undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92}> 0) /\ (arg2 > 0) /\ (arg3 > 0) /\ (undef93 > 0) /\ (undef94 > 0) /\ (undef95 > ~(1)), par{arg1 -> undef93, arg2 -> undef94, arg3 -> undef95, arg4 -> undef96}> 0) /\ (arg2 > 0) /\ (arg3 > 0) /\ (undef97 > 0) /\ (undef98 > 0) /\ (undef99 > ~(1)), par{arg1 -> undef97, arg2 -> undef98, arg3 -> undef99, arg4 -> undef100}> 0) /\ (arg2 > 2) /\ (arg3 > 0) /\ (undef101 > 0) /\ (undef102 > 2) /\ (undef103 > ~(1)), par{arg1 -> undef101, arg2 -> undef102, arg3 -> undef103, arg4 -> undef104}> undef105, arg2 -> undef106, arg3 -> undef107, arg4 -> undef108}> Fresh variables: undef1, undef3, undef4, undef5, undef6, undef7, undef8, undef9, undef10, undef11, undef12, undef13, undef14, undef17, undef18, undef19, undef20, undef21, undef22, undef24, undef25, undef26, undef27, undef28, undef29, undef30, undef31, undef32, undef33, undef34, undef35, undef36, undef37, undef38, undef39, undef40, undef41, undef43, undef44, undef45, undef48, undef49, undef52, undef53, undef54, undef57, undef58, undef59, undef62, undef63, undef66, undef67, undef70, undef71, undef72, undef73, undef74, undef75, undef76, undef77, undef78, undef79, undef80, undef81, undef82, undef83, undef84, undef85, undef86, undef87, undef88, undef89, undef90, undef91, undef92, undef93, undef94, undef95, undef96, undef97, undef98, undef99, undef100, undef101, undef102, undef103, undef104, undef105, undef106, undef107, undef108, Undef variables: undef1, undef3, undef4, undef5, undef6, undef7, undef8, undef9, undef10, undef11, undef12, undef13, undef14, undef17, undef18, undef19, undef20, undef21, undef22, undef24, undef25, undef26, undef27, undef28, undef29, undef30, undef31, undef32, undef33, undef34, undef35, undef36, undef37, undef38, undef39, undef40, undef41, undef43, undef44, undef45, undef48, undef49, undef52, undef53, undef54, undef57, undef58, undef59, undef62, undef63, undef66, undef67, undef70, undef71, undef72, undef73, undef74, undef75, undef76, undef77, undef78, undef79, undef80, undef81, undef82, undef83, undef84, undef85, undef86, undef87, undef88, undef89, undef90, undef91, undef92, undef93, undef94, undef95, undef96, undef97, undef98, undef99, undef100, undef101, undef102, undef103, undef104, undef105, undef106, undef107, undef108, Abstraction variables: Exit nodes: Accepting locations: Asserts: Preprocessed LLVMGraph Init Location: 0 Transitions: 0) /\ (undef5 > 0) /\ (undef17 <= undef5) /\ (undef6 > 0) /\ (undef5 > 0) /\ (undef17 > 0) /\ (undef18 > 0) /\ ((undef76 + 1) <= undef17) /\ ((undef76 + 1) <= undef18) /\ (undef77 <= undef18) /\ ((undef78 + 1) <= undef17) /\ ((undef78 + 1) <= undef18) /\ (undef17 > 0) /\ (undef18 > 0) /\ (undef76 > ~(1)) /\ (undef77 > 0) /\ (undef78 > ~(1)) /\ ((undef19 + 2) <= undef18), par{arg1 -> undef76, arg2 -> undef77, arg3 -> undef78, arg4 -> undef79}> 0) /\ (undef5 > 0) /\ (undef33 > ~(1)) /\ (undef6 > 0) /\ (undef5 > 0) /\ (undef41 > 0) /\ (undef43 > ~(1)) /\ (undef40 > 1) /\ (undef39 > 1), par{arg1 -> undef39, arg2 -> undef40, arg3 -> undef41, arg4 -> (undef43 + 1)}> 0) /\ (undef5 > 0) /\ (undef75 > 0) /\ (undef6 > 0) /\ ((undef71 + 1) <= undef5) /\ ((undef72 + 1) <= undef5) /\ ((undef73 + 1) <= undef5) /\ (undef5 > 0) /\ (undef71 > ~(1)) /\ (undef72 > ~(1)) /\ (undef73 > ~(1)), par{arg1 -> undef71, arg2 -> undef72, arg3 -> undef73, arg4 -> undef74}> = undef9) /\ (undef105 > 0) /\ (undef9 > 0) /\ (undef10 > 0) /\ (undef9 > 0) /\ (undef38 > ~(1)) /\ (undef10 > 0) /\ ((undef12 + 2) <= undef10) /\ (undef41 > 0) /\ (undef43 > ~(1)) /\ (undef40 > 1) /\ (undef39 > 1), par{arg1 -> undef39, arg2 -> undef40, arg3 -> undef41, arg4 -> (undef43 + 1)}> = undef9) /\ (undef105 > 0) /\ (undef9 > 0) /\ (undef10 > 0) /\ (undef80 <= undef10) /\ (undef84 > 0) /\ ((undef81 + 1) <= undef9) /\ ((undef81 + 1) <= undef10) /\ (undef82 <= undef10) /\ (undef9 > 0) /\ (undef10 > 0) /\ (undef80 > 0) /\ (undef81 > ~(1)) /\ (undef82 > 0) /\ ((undef12 + 2) <= undef10), par{arg1 -> undef80, arg2 -> undef81, arg3 -> undef82, arg4 -> undef83}> = undef9) /\ (undef105 > 0) /\ (undef9 > 0) /\ (undef10 > 0) /\ (undef85 <= undef10) /\ (undef87 <= undef10) /\ (undef9 > 0) /\ (undef10 > 0) /\ (undef85 > 0) /\ (undef86 > 0) /\ (undef87 > 0) /\ ((undef12 + 2) <= undef10), par{arg1 -> undef85, arg2 -> undef86, arg3 -> undef87, arg4 -> undef88}> 0) /\ (undef106 > ~(1)) /\ (undef41 > 0) /\ (undef43 > ~(1)) /\ (undef40 > 1) /\ (undef39 > 1), par{arg1 -> undef39, arg2 -> undef40, arg3 -> undef41, arg4 -> (undef43 + 1)}> ~(1)) /\ (arg3 > 0) /\ (undef44 <= arg1) /\ ((undef45 + 2) <= arg2) /\ (arg1 > 0) /\ (arg2 > 2) /\ (undef44 > 0) /\ (undef45 > 0), par{arg1 -> undef44, arg2 -> undef45, arg3 -> (arg3 - 1), arg4 -> (arg4 + 1)}> 0) /\ (undef52 > 0) /\ (arg4 > ~(1)) /\ (undef48 <= arg1) /\ ((undef49 + 2) <= arg2) /\ (arg1 > 0) /\ (arg2 > 2) /\ (undef48 > 0) /\ (undef49 > 0), par{arg1 -> undef48, arg2 -> undef49, arg3 -> (arg3 - 1), arg4 -> (arg4 + 1)}> 0) /\ (undef57 > 0) /\ (arg4 > ~(1)) /\ (arg1 > 0) /\ (arg2 > 1) /\ (undef53 > 0) /\ (undef54 > 0), par{arg1 -> undef53, arg2 -> undef54, arg3 -> (arg3 - 1), arg4 -> (arg4 + 1)}> ~(1)) /\ (arg3 > 0) /\ (arg1 > 0) /\ (arg2 > 1) /\ (undef58 > 0) /\ (undef59 > 0), par{arg1 -> undef58, arg2 -> undef59, arg3 -> (arg3 - 1), arg4 -> (arg4 + 1)}> ~(1)) /\ (arg3 > 0) /\ ((undef62 - 2) <= arg1) /\ ((undef62 - 2) <= arg2) /\ ((undef63 - 2) <= arg1) /\ ((undef63 - 2) <= arg2) /\ (arg1 > 1) /\ (arg2 > 1) /\ (undef62 > 3) /\ (undef63 > 3), par{arg1 -> undef62, arg2 -> undef63, arg3 -> (arg3 - 1), arg4 -> (arg4 + 1)}> 0) /\ (undef70 > 0) /\ (arg4 > ~(1)) /\ ((undef66 - 2) <= arg1) /\ ((undef66 - 2) <= arg2) /\ ((undef67 - 2) <= arg1) /\ ((undef67 - 2) <= arg2) /\ (arg1 > 1) /\ (arg2 > 1) /\ (undef66 > 3) /\ (undef67 > 3), par{arg1 -> undef66, arg2 -> undef67, arg3 -> (arg3 - 1), arg4 -> (arg4 + 1)}> 0) /\ (arg2 > 0) /\ (arg3 > 0) /\ (undef89 > ~(1)) /\ (undef90 > ~(1)) /\ (undef91 > ~(1)), par{arg1 -> undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92}> 0) /\ (arg2 > 0) /\ (arg3 > 0) /\ (undef93 > 0) /\ (undef94 > 0) /\ (undef95 > ~(1)), par{arg1 -> undef93, arg2 -> undef94, arg3 -> undef95, arg4 -> undef96}> 0) /\ (arg2 > 0) /\ (arg3 > 0) /\ (undef97 > 0) /\ (undef98 > 0) /\ (undef99 > ~(1)), par{arg1 -> undef97, arg2 -> undef98, arg3 -> undef99, arg4 -> undef100}> 0) /\ (arg2 > 2) /\ (arg3 > 0) /\ (undef101 > 0) /\ (undef102 > 2) /\ (undef103 > ~(1)), par{arg1 -> undef101, arg2 -> undef102, arg3 -> undef103, arg4 -> undef104}> Fresh variables: undef1, undef3, undef4, undef5, undef6, undef7, undef8, undef9, undef10, undef11, undef12, undef13, undef14, undef17, undef18, undef19, undef20, undef21, undef22, undef24, undef25, undef26, undef27, undef28, undef29, undef30, undef31, undef32, undef33, undef34, undef35, undef36, undef37, undef38, undef39, undef40, undef41, undef43, undef44, undef45, undef48, undef49, undef52, undef53, undef54, undef57, undef58, undef59, undef62, undef63, undef66, undef67, undef70, undef71, undef72, undef73, undef74, undef75, undef76, undef77, undef78, undef79, undef80, undef81, undef82, undef83, undef84, undef85, undef86, undef87, undef88, undef89, undef90, undef91, undef92, undef93, undef94, undef95, undef96, undef97, undef98, undef99, undef100, undef101, undef102, undef103, undef104, undef105, undef106, undef107, undef108, Undef variables: undef1, undef3, undef4, undef5, undef6, undef7, undef8, undef9, undef10, undef11, undef12, undef13, undef14, undef17, undef18, undef19, undef20, undef21, undef22, undef24, undef25, undef26, undef27, undef28, undef29, undef30, undef31, undef32, undef33, undef34, undef35, undef36, undef37, undef38, undef39, undef40, undef41, undef43, undef44, undef45, undef48, undef49, undef52, undef53, undef54, undef57, undef58, undef59, undef62, undef63, undef66, undef67, undef70, undef71, undef72, undef73, undef74, undef75, undef76, undef77, undef78, undef79, undef80, undef81, undef82, undef83, undef84, undef85, undef86, undef87, undef88, undef89, undef90, undef91, undef92, undef93, undef94, undef95, undef96, undef97, undef98, undef99, undef100, undef101, undef102, undef103, undef104, undef105, undef106, undef107, undef108, Abstraction variables: Exit nodes: Accepting locations: Asserts: ************************************************************* ******************************************************************************************* *********************** WORKING TRANSITION SYSTEM (DAG) *********************** ******************************************************************************************* Init Location: 0 Graph 0: Transitions: Variables: Graph 1: Transitions: undef44, arg2 -> undef45, arg3 -> -1 + arg3, arg4 -> 1 + arg4, rest remain the same}> undef48, arg2 -> undef49, arg3 -> -1 + arg3, arg4 -> 1 + arg4, rest remain the same}> undef53, arg2 -> undef54, arg3 -> -1 + arg3, arg4 -> 1 + arg4, rest remain the same}> undef58, arg2 -> undef59, arg3 -> -1 + arg3, arg4 -> 1 + arg4, rest remain the same}> undef62, arg2 -> undef63, arg3 -> -1 + arg3, arg4 -> 1 + arg4, rest remain the same}> undef66, arg2 -> undef67, arg3 -> -1 + arg3, arg4 -> 1 + arg4, rest remain the same}> Variables: arg1, arg2, arg3, arg4 Graph 2: Transitions: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> Variables: arg1, arg2, arg3, arg4 Graph 3: Transitions: undef101, arg2 -> undef102, arg3 -> undef103, arg4 -> undef104, rest remain the same}> Variables: arg1, arg2, arg3, arg4 Precedence: Graph 0 Graph 1 undef39, arg2 -> undef40, arg3 -> undef41, arg4 -> 1 + undef43, rest remain the same}> undef39, arg2 -> undef40, arg3 -> undef41, arg4 -> 1 + undef43, rest remain the same}> undef39, arg2 -> undef40, arg3 -> undef41, arg4 -> 1 + undef43, rest remain the same}> Graph 2 undef76, arg2 -> undef77, arg3 -> undef78, arg4 -> undef79, rest remain the same}> undef71, arg2 -> undef72, arg3 -> undef73, arg4 -> undef74, rest remain the same}> undef80, arg2 -> undef81, arg3 -> undef82, arg4 -> undef83, rest remain the same}> undef85, arg2 -> undef86, arg3 -> undef87, arg4 -> undef88, rest remain the same}> Graph 3 undef93, arg2 -> undef94, arg3 -> undef95, arg4 -> undef96, rest remain the same}> undef97, arg2 -> undef98, arg3 -> undef99, arg4 -> undef100, rest remain the same}> Map Locations to Subgraph: ( 0 , 0 ) ( 9 , 1 ) ( 10 , 2 ) ( 11 , 3 ) ******************************************************************************************* ******************************** CHECKING ASSERTIONS ******************************** ******************************************************************************************* Proving termination of subgraph 0 Proving termination of subgraph 1 Checking unfeasibility... Time used: 0.045347 Checking conditional termination of SCC {l9}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.012951s Ranking function: -1 + arg3 New Graphs: Proving termination of subgraph 2 Checking unfeasibility... Time used: 0.006764 Checking conditional termination of SCC {l10}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001239s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.003875s Trying to remove transition: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.011534s Time used: 0.011319 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.025712s Time used: 0.024939 Improving Solution with cost 4 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.031763s Time used: 0.031756 LOG: SAT solveNonLinear - Elapsed time: 0.057475s Cost: 4; Total time: 0.056695 Failed at location 10: arg1 <= 0 Failed at location 10: arg1 <= 0 Failed at location 10: arg1 <= 0 Failed at location 10: arg1 <= 0 Before Improving: Quasi-invariant at l10: arg1 <= 0 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.005266s Remaining time after improvement: 0.997502 Termination implied by a set of quasi-invariant(s): Quasi-invariant at l10: arg1 <= 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: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> [ Termination Graph ] Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility It's unfeasible. Removing transition: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> New Graphs: Calling Safety with literal arg1 <= 0 and entry undef76, arg2 -> undef77, arg3 -> undef78, arg4 -> undef79, rest remain the same}> LOG: CALL check - Post:arg1 <= 0 - Process 1 * Exit transition: undef76, arg2 -> undef77, arg3 -> undef78, arg4 -> undef79, rest remain the same}> * Postcondition : arg1 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001385s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.001609s Calling Safety with literal arg1 <= 0 and entry undef71, arg2 -> undef72, arg3 -> undef73, arg4 -> undef74, rest remain the same}> LOG: CALL check - Post:arg1 <= 0 - Process 2 * Exit transition: undef71, arg2 -> undef72, arg3 -> undef73, arg4 -> undef74, rest remain the same}> * Postcondition : arg1 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001092s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.001263s Calling Safety with literal arg1 <= 0 and entry undef80, arg2 -> undef81, arg3 -> undef82, arg4 -> undef83, rest remain the same}> LOG: CALL check - Post:arg1 <= 0 - Process 3 * Exit transition: undef80, arg2 -> undef81, arg3 -> undef82, arg4 -> undef83, rest remain the same}> * Postcondition : arg1 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001117s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.001332s Calling Safety with literal arg1 <= 0 and entry undef85, arg2 -> undef86, arg3 -> undef87, arg4 -> undef88, rest remain the same}> LOG: CALL check - Post:arg1 <= 0 - Process 4 * Exit transition: undef85, arg2 -> undef86, arg3 -> undef87, arg4 -> undef88, rest remain the same}> * Postcondition : arg1 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001001s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.001164s INVARIANTS: 10: Quasi-INVARIANTS to narrow Graph: 10: arg1 <= 0 , Narrowing transition: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> Variables: arg1, arg2, arg3, arg4 Checking conditional termination of SCC {l10}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000989s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.003996s Trying to remove transition: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.011835s Time used: 0.011617 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.026340s Time used: 0.025499 Improving Solution with cost 4 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.035114s Time used: 0.035107 LOG: SAT solveNonLinear - Elapsed time: 0.061454s Cost: 4; Total time: 0.060606 Failed at location 10: arg2 <= 0 Failed at location 10: arg2 <= 0 Failed at location 10: arg2 <= 0 Failed at location 10: arg2 <= 0 Before Improving: Quasi-invariant at l10: arg2 <= 0 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.005508s Remaining time after improvement: 0.997437 Termination implied by a set of quasi-invariant(s): Quasi-invariant at l10: arg2 <= 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: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> [ Termination Graph ] Strengthening and disabling transitions... > It's unfeasible. Removing transition: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> New Graphs: Calling Safety with literal arg2 <= 0 and entry undef76, arg2 -> undef77, arg3 -> undef78, arg4 -> undef79, rest remain the same}> LOG: CALL check - Post:arg2 <= 0 - Process 5 * Exit transition: undef76, arg2 -> undef77, arg3 -> undef78, arg4 -> undef79, rest remain the same}> * Postcondition : arg2 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001481s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.001702s Calling Safety with literal arg2 <= 0 and entry undef71, arg2 -> undef72, arg3 -> undef73, arg4 -> undef74, rest remain the same}> LOG: CALL check - Post:arg2 <= 0 - Process 6 * Exit transition: undef71, arg2 -> undef72, arg3 -> undef73, arg4 -> undef74, rest remain the same}> * Postcondition : arg2 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001097s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.001269s Calling Safety with literal arg2 <= 0 and entry undef80, arg2 -> undef81, arg3 -> undef82, arg4 -> undef83, rest remain the same}> LOG: CALL check - Post:arg2 <= 0 - Process 7 * Exit transition: undef80, arg2 -> undef81, arg3 -> undef82, arg4 -> undef83, rest remain the same}> * Postcondition : arg2 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001130s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.001321s Calling Safety with literal arg2 <= 0 and entry undef85, arg2 -> undef86, arg3 -> undef87, arg4 -> undef88, rest remain the same}> LOG: CALL check - Post:arg2 <= 0 - Process 8 * Exit transition: undef85, arg2 -> undef86, arg3 -> undef87, arg4 -> undef88, rest remain the same}> * Postcondition : arg2 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001016s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.001179s INVARIANTS: 10: Quasi-INVARIANTS to narrow Graph: 10: arg2 <= 0 , Narrowing transition: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> Variables: arg1, arg2, arg3, arg4 Checking conditional termination of SCC {l10}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000987s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.004101s Trying to remove transition: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.011981s Time used: 0.011766 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.031149s Time used: 0.030301 Improving Solution with cost 4 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.032202s Time used: 0.032195 LOG: SAT solveNonLinear - Elapsed time: 0.063351s Cost: 4; Total time: 0.062496 Failed at location 10: arg3 <= 0 Failed at location 10: arg3 <= 0 Failed at location 10: arg3 <= 0 Failed at location 10: arg3 <= 0 Before Improving: Quasi-invariant at l10: arg3 <= 0 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.005511s Remaining time after improvement: 0.99735 Termination implied by a set of quasi-invariant(s): Quasi-invariant at l10: 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: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> [ Termination Graph ] Strengthening and disabling transitions... > It's unfeasible. Removing transition: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> New Graphs: Calling Safety with literal arg3 <= 0 and entry undef76, arg2 -> undef77, arg3 -> undef78, arg4 -> undef79, rest remain the same}> LOG: CALL check - Post:arg3 <= 0 - Process 9 * Exit transition: undef76, arg2 -> undef77, arg3 -> undef78, arg4 -> undef79, rest remain the same}> * Postcondition : arg3 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001416s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.001635s Calling Safety with literal arg3 <= 0 and entry undef71, arg2 -> undef72, arg3 -> undef73, arg4 -> undef74, rest remain the same}> LOG: CALL check - Post:arg3 <= 0 - Process 10 * Exit transition: undef71, arg2 -> undef72, arg3 -> undef73, arg4 -> undef74, rest remain the same}> * Postcondition : arg3 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001112s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.001304s Calling Safety with literal arg3 <= 0 and entry undef80, arg2 -> undef81, arg3 -> undef82, arg4 -> undef83, rest remain the same}> LOG: CALL check - Post:arg3 <= 0 - Process 11 * Exit transition: undef80, arg2 -> undef81, arg3 -> undef82, arg4 -> undef83, rest remain the same}> * Postcondition : arg3 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001211s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.001409s Calling Safety with literal arg3 <= 0 and entry undef85, arg2 -> undef86, arg3 -> undef87, arg4 -> undef88, rest remain the same}> LOG: CALL check - Post:arg3 <= 0 - Process 12 * Exit transition: undef85, arg2 -> undef86, arg3 -> undef87, arg4 -> undef88, rest remain the same}> * Postcondition : arg3 <= 0 LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.001023s > Postcondition is not implied! LOG: RETURN check - Elapsed time: 0.001186s INVARIANTS: 10: Quasi-INVARIANTS to narrow Graph: 10: arg3 <= 0 , Narrowing transition: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> LOG: Narrow transition size 1 invGraph after Narrowing: Transitions: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> Variables: arg1, arg2, arg3, arg4 Checking conditional termination of SCC {l10}... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.000992s LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.004101s Trying to remove transition: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.012072s Time used: 0.011858 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.071082s Time used: 0.070439 Solving with 2 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 4.002298s Time used: 4.00075 Solving with 3 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 1.004493s Time used: 1.0001 Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.034235s Time used: 0.016546 Proving non-termination of subgraph 2 Transitions: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> Variables: arg1, arg2, arg3, arg4 Checking conditional non-termination of SCC {l10}... EXIT TRANSITIONS: Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.047474s Time used: 0.04702 Improving Solution with cost 5 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.118674s Time used: 0.118665 LOG: SAT solveNonLinear - Elapsed time: 0.166147s Cost: 5; Total time: 0.165685 Failed at location 10: 1 <= arg1 Failed at location 10: 1 <= arg1 Before Improving: Quasi-invariant at l10: 1 <= arg1 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.016640s Remaining time after improvement: 0.996858 Minimizing number of undef constraints... LOG: CALL solveNonLinear LOG: RETURN solveNonLinear - Elapsed time: 0.005761s Non-termination implied by a set of quasi-invariant(s): Quasi-invariant at l10: 1 <= arg1 Constraint over undef '1 <= undef89' in transition: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> Strengthening and disabling EXIT transitions... Closed exits from l10: 1 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): undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> Checking conditional non-termination of SCC {l10}... EXIT TRANSITIONS: Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.037702s Time used: 0.037255 Improving Solution with cost 3 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.054750s Time used: 0.054737 LOG: SAT solveNonLinear - Elapsed time: 0.092452s Cost: 3; Total time: 0.091992 Failed at location 10: 1 <= arg2 Failed at location 10: 1 <= arg2 Before Improving: Quasi-invariant at l10: 1 <= arg2 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.016325s Remaining time after improvement: 0.99677 Minimizing number of undef constraints... LOG: CALL solveNonLinear LOG: RETURN solveNonLinear - Elapsed time: 0.005708s Non-termination implied by a set of quasi-invariant(s): Quasi-invariant at l10: 1 <= arg2 Constraint over undef '1 <= undef90' in transition: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> Strengthening and disabling EXIT transitions... Closed exits from l10: 1 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): undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> Checking conditional non-termination of SCC {l10}... EXIT TRANSITIONS: Solving with 1 template(s). LOG: CALL solveNonLinearGetFirstSolution LOG: RETURN solveNonLinearGetFirstSolution - Elapsed time: 0.032288s Time used: 0.031795 Improving Solution with cost 2 ... LOG: CALL solveNonLinearGetNextSolution LOG: RETURN solveNonLinearGetNextSolution - Elapsed time: 0.088789s Time used: 0.088782 LOG: SAT solveNonLinear - Elapsed time: 0.121077s Cost: 2; Total time: 0.120577 Failed at location 10: 1 <= arg3 Failed at location 10: 1 <= arg3 Before Improving: Quasi-invariant at l10: 1 <= arg3 Optimizing invariants... LOG: CALL solveLinear LOG: RETURN solveLinear - Elapsed time: 0.015362s Remaining time after improvement: 0.99686 Minimizing number of undef constraints... LOG: CALL solveNonLinear LOG: RETURN solveNonLinear - Elapsed time: 0.005492s Non-termination implied by a set of quasi-invariant(s): Quasi-invariant at l10: 1 <= arg3 Constraint over undef '1 <= undef91' in transition: undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> Strengthening and disabling EXIT transitions... Closed exits from l10: 1 Strengthening and disabling transitions... LOG: CALL solverLinear in Graph for feasibility LOG: RETURN solveLinear in Graph for feasibility Strengthening transition (result): undef89, arg2 -> undef90, arg3 -> undef91, arg4 -> undef92, rest remain the same}> Calling reachability with... Transition: Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, Transition: Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, Transition: Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, Transition: Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, OPEN EXITS: --- Reachability graph --- > Graph without transitions. Calling reachability with... Transition: undef76, arg2 -> undef77, arg3 -> undef78, arg4 -> undef79, rest remain the same}> Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, Transition: undef71, arg2 -> undef72, arg3 -> undef73, arg4 -> undef74, rest remain the same}> Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, Transition: undef80, arg2 -> undef81, arg3 -> undef82, arg4 -> undef83, rest remain the same}> Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, Transition: undef85, arg2 -> undef86, arg3 -> undef87, arg4 -> undef88, rest remain the same}> Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, Transition: undef76, arg2 -> undef77, arg3 -> undef78, arg4 -> undef79, rest remain the same}> Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, Transition: undef71, arg2 -> undef72, arg3 -> undef73, arg4 -> undef74, rest remain the same}> Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, Transition: undef80, arg2 -> undef81, arg3 -> undef82, arg4 -> undef83, rest remain the same}> Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, Transition: undef85, arg2 -> undef86, arg3 -> undef87, arg4 -> undef88, rest remain the same}> Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, Transition: undef76, arg2 -> undef77, arg3 -> undef78, arg4 -> undef79, rest remain the same}> Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, Transition: undef71, arg2 -> undef72, arg3 -> undef73, arg4 -> undef74, rest remain the same}> Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, Transition: undef80, arg2 -> undef81, arg3 -> undef82, arg4 -> undef83, rest remain the same}> Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, Transition: undef85, arg2 -> undef86, arg3 -> undef87, arg4 -> undef88, rest remain the same}> Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, Transition: undef76, arg2 -> undef77, arg3 -> undef78, arg4 -> undef79, rest remain the same}> Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, Transition: undef71, arg2 -> undef72, arg3 -> undef73, arg4 -> undef74, rest remain the same}> Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, Transition: undef80, arg2 -> undef81, arg3 -> undef82, arg4 -> undef83, rest remain the same}> Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, Transition: undef85, arg2 -> undef86, arg3 -> undef87, arg4 -> undef88, rest remain the same}> Conditions: 1 <= arg1, 1 <= arg2, 1 <= arg3, OPEN EXITS: undef76, arg2 -> undef77, arg3 -> undef78, arg4 -> undef79, rest remain the same}> undef71, arg2 -> undef72, arg3 -> undef73, arg4 -> undef74, rest remain the same}> undef80, arg2 -> undef81, arg3 -> undef82, arg4 -> undef83, rest remain the same}> undef85, arg2 -> undef86, arg3 -> undef87, arg4 -> undef88, rest remain the same}> undef76, arg2 -> undef77, arg3 -> undef78, arg4 -> undef79, rest remain the same}> undef71, arg2 -> undef72, arg3 -> undef73, arg4 -> undef74, rest remain the same}> undef80, arg2 -> undef81, arg3 -> undef82, arg4 -> undef83, rest remain the same}> undef85, arg2 -> undef86, arg3 -> undef87, arg4 -> undef88, rest remain the same}> undef76, arg2 -> undef77, arg3 -> undef78, arg4 -> undef79, rest remain the same}> undef71, arg2 -> undef72, arg3 -> undef73, arg4 -> undef74, rest remain the same}> undef80, arg2 -> undef81, arg3 -> undef82, arg4 -> undef83, rest remain the same}> undef85, arg2 -> undef86, arg3 -> undef87, arg4 -> undef88, rest remain the same}> undef76, arg2 -> undef77, arg3 -> undef78, arg4 -> undef79, rest remain the same}> undef71, arg2 -> undef72, arg3 -> undef73, arg4 -> undef74, rest remain the same}> undef80, arg2 -> undef81, arg3 -> undef82, arg4 -> undef83, rest remain the same}> undef85, arg2 -> undef86, arg3 -> undef87, arg4 -> undef88, rest remain the same}> > Conditions are reachable! Program does NOT terminate