/usr/bin/java -ea -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata ./data -tc ../../../trunk/examples/toolchains/AutomizerC.xml -s ../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf -i ../../../trunk/examples/svcomp/ldv-regression/test05.c -------------------------------------------------------------------------------- This is Ultimate 0.1.25-267fbe0 [2020-07-17 22:29:26,124 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-07-17 22:29:26,127 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-07-17 22:29:26,149 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-07-17 22:29:26,149 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-07-17 22:29:26,151 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-07-17 22:29:26,153 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-07-17 22:29:26,165 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-07-17 22:29:26,168 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-07-17 22:29:26,171 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-07-17 22:29:26,172 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-07-17 22:29:26,176 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-07-17 22:29:26,176 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-07-17 22:29:26,178 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-07-17 22:29:26,180 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-07-17 22:29:26,181 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-07-17 22:29:26,182 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-07-17 22:29:26,183 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-07-17 22:29:26,185 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-07-17 22:29:26,190 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-07-17 22:29:26,195 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-07-17 22:29:26,199 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-07-17 22:29:26,201 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-07-17 22:29:26,201 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-07-17 22:29:26,204 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-07-17 22:29:26,204 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-07-17 22:29:26,204 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-07-17 22:29:26,207 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-07-17 22:29:26,207 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-07-17 22:29:26,208 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-07-17 22:29:26,209 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-07-17 22:29:26,209 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-07-17 22:29:26,210 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-07-17 22:29:26,211 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-07-17 22:29:26,212 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-07-17 22:29:26,212 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-07-17 22:29:26,213 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-07-17 22:29:26,214 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-07-17 22:29:26,214 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-07-17 22:29:26,215 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-07-17 22:29:26,216 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-07-17 22:29:26,217 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf [2020-07-17 22:29:26,253 INFO L113 SettingsManager]: Loading preferences was successful [2020-07-17 22:29:26,254 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-07-17 22:29:26,257 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-07-17 22:29:26,257 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-07-17 22:29:26,257 INFO L138 SettingsManager]: * Use SBE=true [2020-07-17 22:29:26,258 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-07-17 22:29:26,258 INFO L138 SettingsManager]: * sizeof long=4 [2020-07-17 22:29:26,259 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-07-17 22:29:26,259 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-07-17 22:29:26,260 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-07-17 22:29:26,260 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2020-07-17 22:29:26,260 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2020-07-17 22:29:26,260 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2020-07-17 22:29:26,261 INFO L138 SettingsManager]: * sizeof long double=12 [2020-07-17 22:29:26,262 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-07-17 22:29:26,262 INFO L138 SettingsManager]: * Use constant arrays=true [2020-07-17 22:29:26,262 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2020-07-17 22:29:26,262 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-07-17 22:29:26,262 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-07-17 22:29:26,263 INFO L138 SettingsManager]: * To the following directory=./dump/ [2020-07-17 22:29:26,263 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2020-07-17 22:29:26,263 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2020-07-17 22:29:26,265 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-07-17 22:29:26,266 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2020-07-17 22:29:26,266 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2020-07-17 22:29:26,268 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-07-17 22:29:26,268 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-07-17 22:29:26,269 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2020-07-17 22:29:26,269 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-07-17 22:29:26,269 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2020-07-17 22:29:26,551 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2020-07-17 22:29:26,562 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-07-17 22:29:26,566 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-07-17 22:29:26,568 INFO L271 PluginConnector]: Initializing CDTParser... [2020-07-17 22:29:26,568 INFO L275 PluginConnector]: CDTParser initialized [2020-07-17 22:29:26,569 INFO L429 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-regression/test05.c [2020-07-17 22:29:26,635 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/3c3235a99/885ddaef424f448e8ab45f4c9019d078/FLAG28601499b [2020-07-17 22:29:27,104 INFO L306 CDTParser]: Found 1 translation units. [2020-07-17 22:29:27,105 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/ldv-regression/test05.c [2020-07-17 22:29:27,113 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/3c3235a99/885ddaef424f448e8ab45f4c9019d078/FLAG28601499b [2020-07-17 22:29:27,452 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/3c3235a99/885ddaef424f448e8ab45f4c9019d078 [2020-07-17 22:29:27,465 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-07-17 22:29:27,470 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2020-07-17 22:29:27,471 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-07-17 22:29:27,471 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-07-17 22:29:27,475 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-07-17 22:29:27,477 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.07 10:29:27" (1/1) ... [2020-07-17 22:29:27,480 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@62b51e73 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.07 10:29:27, skipping insertion in model container [2020-07-17 22:29:27,480 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.07 10:29:27" (1/1) ... [2020-07-17 22:29:27,489 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-07-17 22:29:27,508 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-07-17 22:29:27,699 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-07-17 22:29:27,720 INFO L203 MainTranslator]: Completed pre-run [2020-07-17 22:29:27,742 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-07-17 22:29:27,767 INFO L208 MainTranslator]: Completed translation [2020-07-17 22:29:27,767 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.07 10:29:27 WrapperNode [2020-07-17 22:29:27,768 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-07-17 22:29:27,768 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-07-17 22:29:27,769 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-07-17 22:29:27,769 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-07-17 22:29:27,872 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.07 10:29:27" (1/1) ... [2020-07-17 22:29:27,873 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.07 10:29:27" (1/1) ... [2020-07-17 22:29:27,882 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.07 10:29:27" (1/1) ... [2020-07-17 22:29:27,883 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.07 10:29:27" (1/1) ... [2020-07-17 22:29:27,895 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.07 10:29:27" (1/1) ... [2020-07-17 22:29:27,898 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.07 10:29:27" (1/1) ... [2020-07-17 22:29:27,900 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.07 10:29:27" (1/1) ... [2020-07-17 22:29:27,903 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-07-17 22:29:27,904 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-07-17 22:29:27,904 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-07-17 22:29:27,904 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-07-17 22:29:27,905 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.07 10:29:27" (1/1) ... No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2020-07-17 22:29:27,969 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2020-07-17 22:29:27,969 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-07-17 22:29:27,969 INFO L138 BoogieDeclarations]: Found implementation of procedure g [2020-07-17 22:29:27,969 INFO L138 BoogieDeclarations]: Found implementation of procedure f [2020-07-17 22:29:27,970 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2020-07-17 22:29:27,970 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_error [2020-07-17 22:29:27,970 INFO L130 BoogieDeclarations]: Found specification of procedure g [2020-07-17 22:29:27,970 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2020-07-17 22:29:27,970 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2020-07-17 22:29:27,970 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2020-07-17 22:29:27,970 INFO L130 BoogieDeclarations]: Found specification of procedure f [2020-07-17 22:29:27,970 INFO L130 BoogieDeclarations]: Found specification of procedure main [2020-07-17 22:29:27,971 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-07-17 22:29:27,971 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2020-07-17 22:29:27,971 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2020-07-17 22:29:27,971 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2020-07-17 22:29:27,971 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-07-17 22:29:28,442 INFO L290 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-07-17 22:29:28,442 INFO L295 CfgBuilder]: Removed 0 assume(true) statements. [2020-07-17 22:29:28,447 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.07 10:29:28 BoogieIcfgContainer [2020-07-17 22:29:28,447 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-07-17 22:29:28,448 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2020-07-17 22:29:28,448 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2020-07-17 22:29:28,455 INFO L275 PluginConnector]: TraceAbstraction initialized [2020-07-17 22:29:28,456 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 17.07 10:29:27" (1/3) ... [2020-07-17 22:29:28,459 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6235da38 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.07 10:29:28, skipping insertion in model container [2020-07-17 22:29:28,459 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.07 10:29:27" (2/3) ... [2020-07-17 22:29:28,460 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6235da38 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.07 10:29:28, skipping insertion in model container [2020-07-17 22:29:28,460 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 17.07 10:29:28" (3/3) ... [2020-07-17 22:29:28,462 INFO L109 eAbstractionObserver]: Analyzing ICFG test05.c [2020-07-17 22:29:28,472 INFO L157 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2020-07-17 22:29:28,480 INFO L169 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2020-07-17 22:29:28,491 INFO L251 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2020-07-17 22:29:28,515 INFO L375 AbstractCegarLoop]: Interprodecural is true [2020-07-17 22:29:28,515 INFO L376 AbstractCegarLoop]: Hoare is true [2020-07-17 22:29:28,515 INFO L377 AbstractCegarLoop]: Compute interpolants for FPandBP [2020-07-17 22:29:28,515 INFO L378 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2020-07-17 22:29:28,516 INFO L379 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-07-17 22:29:28,516 INFO L380 AbstractCegarLoop]: Difference is false [2020-07-17 22:29:28,516 INFO L381 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-07-17 22:29:28,516 INFO L385 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2020-07-17 22:29:28,538 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states. [2020-07-17 22:29:28,544 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2020-07-17 22:29:28,545 INFO L414 BasicCegarLoop]: Found error trace [2020-07-17 22:29:28,546 INFO L422 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-07-17 22:29:28,546 INFO L427 AbstractCegarLoop]: === Iteration 1 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2020-07-17 22:29:28,552 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-07-17 22:29:28,552 INFO L82 PathProgramCache]: Analyzing trace with hash -685779266, now seen corresponding path program 1 times [2020-07-17 22:29:28,561 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-07-17 22:29:28,561 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1651786227] [2020-07-17 22:29:28,562 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-07-17 22:29:28,708 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-17 22:29:28,889 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-17 22:29:28,905 INFO L280 TraceCheckUtils]: 0: Hoare triple {38#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; {28#true} is VALID [2020-07-17 22:29:28,906 INFO L280 TraceCheckUtils]: 1: Hoare triple {28#true} assume true; {28#true} is VALID [2020-07-17 22:29:28,907 INFO L275 TraceCheckUtils]: 2: Hoare quadruple {28#true} {28#true} #34#return; {28#true} is VALID [2020-07-17 22:29:28,938 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-17 22:29:28,980 INFO L280 TraceCheckUtils]: 0: Hoare triple {39#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} ~a := #in~a;~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset;~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset; {40#(= |f_#in~a| f_~a)} is VALID [2020-07-17 22:29:28,981 INFO L280 TraceCheckUtils]: 1: Hoare triple {40#(= |f_#in~a| f_~a)} assume !(4 == ~a);#res := 0; {41#(not (= 4 |f_#in~a|))} is VALID [2020-07-17 22:29:28,982 INFO L280 TraceCheckUtils]: 2: Hoare triple {41#(not (= 4 |f_#in~a|))} assume true; {41#(not (= 4 |f_#in~a|))} is VALID [2020-07-17 22:29:28,986 INFO L275 TraceCheckUtils]: 3: Hoare quadruple {41#(not (= 4 |f_#in~a|))} {33#(= 4 |main_#t~mem4|)} #38#return; {29#false} is VALID [2020-07-17 22:29:28,988 INFO L263 TraceCheckUtils]: 0: Hoare triple {28#true} call ULTIMATE.init(); {38#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} is VALID [2020-07-17 22:29:28,988 INFO L280 TraceCheckUtils]: 1: Hoare triple {38#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; {28#true} is VALID [2020-07-17 22:29:28,989 INFO L280 TraceCheckUtils]: 2: Hoare triple {28#true} assume true; {28#true} is VALID [2020-07-17 22:29:28,989 INFO L275 TraceCheckUtils]: 3: Hoare quadruple {28#true} {28#true} #34#return; {28#true} is VALID [2020-07-17 22:29:28,989 INFO L263 TraceCheckUtils]: 4: Hoare triple {28#true} call #t~ret9 := main(); {28#true} is VALID [2020-07-17 22:29:28,995 INFO L280 TraceCheckUtils]: 5: Hoare triple {28#true} call ~#a~0.base, ~#a~0.offset := #Ultimate.allocOnStack(4);call ~#b~0.base, ~#b~0.offset := #Ultimate.allocOnStack(4);call ~#p1~0.base, ~#p1~0.offset := #Ultimate.allocOnStack(4);call ~#p2~0.base, ~#p2~0.offset := #Ultimate.allocOnStack(4);call write~$Pointer$(~#a~0.base, ~#a~0.offset, ~#p1~0.base, ~#p1~0.offset, 4);call write~$Pointer$(~#b~0.base, ~#b~0.offset, ~#p2~0.base, ~#p2~0.offset, 4);call write~int(1, ~#b~0.base, ~#b~0.offset, 4);call write~int(5, ~#a~0.base, ~#a~0.offset, 4);call #t~mem2 := read~int(~#a~0.base, ~#a~0.offset, 4);#t~post3 := #t~mem2;call write~int(#t~post3 - 1, ~#a~0.base, ~#a~0.offset, 4);havoc #t~mem2;havoc #t~post3;call #t~mem4 := read~int(~#a~0.base, ~#a~0.offset, 4); {33#(= 4 |main_#t~mem4|)} is VALID [2020-07-17 22:29:28,998 INFO L263 TraceCheckUtils]: 6: Hoare triple {33#(= 4 |main_#t~mem4|)} call #t~ret5 := f(#t~mem4, ~#p1~0.base, ~#p1~0.offset, ~#p2~0.base, ~#p2~0.offset); {39#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} is VALID [2020-07-17 22:29:28,999 INFO L280 TraceCheckUtils]: 7: Hoare triple {39#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} ~a := #in~a;~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset;~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset; {40#(= |f_#in~a| f_~a)} is VALID [2020-07-17 22:29:29,000 INFO L280 TraceCheckUtils]: 8: Hoare triple {40#(= |f_#in~a| f_~a)} assume !(4 == ~a);#res := 0; {41#(not (= 4 |f_#in~a|))} is VALID [2020-07-17 22:29:29,002 INFO L280 TraceCheckUtils]: 9: Hoare triple {41#(not (= 4 |f_#in~a|))} assume true; {41#(not (= 4 |f_#in~a|))} is VALID [2020-07-17 22:29:29,004 INFO L275 TraceCheckUtils]: 10: Hoare quadruple {41#(not (= 4 |f_#in~a|))} {33#(= 4 |main_#t~mem4|)} #38#return; {29#false} is VALID [2020-07-17 22:29:29,005 INFO L280 TraceCheckUtils]: 11: Hoare triple {29#false} assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647;call write~int(#t~ret5, ~#a~0.base, ~#a~0.offset, 4);havoc #t~mem4;havoc #t~ret5;call #t~mem6 := read~int(~#a~0.base, ~#a~0.offset, 4); {29#false} is VALID [2020-07-17 22:29:29,005 INFO L280 TraceCheckUtils]: 12: Hoare triple {29#false} assume 1 != #t~mem6;havoc #t~mem6; {29#false} is VALID [2020-07-17 22:29:29,006 INFO L280 TraceCheckUtils]: 13: Hoare triple {29#false} assume !false; {29#false} is VALID [2020-07-17 22:29:29,008 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-07-17 22:29:29,009 INFO L354 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1651786227] [2020-07-17 22:29:29,010 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-07-17 22:29:29,011 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2020-07-17 22:29:29,012 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [142599137] [2020-07-17 22:29:29,018 INFO L78 Accepts]: Start accepts. Automaton has 7 states. Word has length 14 [2020-07-17 22:29:29,021 INFO L84 Accepts]: Finished accepts. word is accepted. [2020-07-17 22:29:29,026 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 7 states. [2020-07-17 22:29:29,066 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 14 edges. 14 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2020-07-17 22:29:29,066 INFO L459 AbstractCegarLoop]: Interpolant automaton has 7 states [2020-07-17 22:29:29,067 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-07-17 22:29:29,076 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2020-07-17 22:29:29,077 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2020-07-17 22:29:29,079 INFO L87 Difference]: Start difference. First operand 25 states. Second operand 7 states. [2020-07-17 22:29:29,743 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-17 22:29:29,743 INFO L93 Difference]: Finished difference Result 36 states and 39 transitions. [2020-07-17 22:29:29,743 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2020-07-17 22:29:29,744 INFO L78 Accepts]: Start accepts. Automaton has 7 states. Word has length 14 [2020-07-17 22:29:29,744 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2020-07-17 22:29:29,746 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 7 states. [2020-07-17 22:29:29,761 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 9 states to 9 states and 39 transitions. [2020-07-17 22:29:29,761 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 7 states. [2020-07-17 22:29:29,765 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 9 states to 9 states and 39 transitions. [2020-07-17 22:29:29,765 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 9 states and 39 transitions. [2020-07-17 22:29:29,845 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 39 edges. 39 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2020-07-17 22:29:29,857 INFO L225 Difference]: With dead ends: 36 [2020-07-17 22:29:29,857 INFO L226 Difference]: Without dead ends: 21 [2020-07-17 22:29:29,862 INFO L675 BasicCegarLoop]: 0 DeclaredPredicates, 13 GetRequests, 4 SyntacticMatches, 0 SemanticMatches, 9 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 4 ImplicationChecksByTransitivity, 0.2s TimeCoverageRelationStatistics Valid=35, Invalid=75, Unknown=0, NotChecked=0, Total=110 [2020-07-17 22:29:29,884 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 21 states. [2020-07-17 22:29:29,928 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 21 to 21. [2020-07-17 22:29:29,928 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2020-07-17 22:29:29,929 INFO L82 GeneralOperation]: Start isEquivalent. First operand 21 states. Second operand 21 states. [2020-07-17 22:29:29,929 INFO L74 IsIncluded]: Start isIncluded. First operand 21 states. Second operand 21 states. [2020-07-17 22:29:29,930 INFO L87 Difference]: Start difference. First operand 21 states. Second operand 21 states. [2020-07-17 22:29:29,933 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-17 22:29:29,934 INFO L93 Difference]: Finished difference Result 21 states and 21 transitions. [2020-07-17 22:29:29,934 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 21 transitions. [2020-07-17 22:29:29,935 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2020-07-17 22:29:29,935 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2020-07-17 22:29:29,935 INFO L74 IsIncluded]: Start isIncluded. First operand 21 states. Second operand 21 states. [2020-07-17 22:29:29,935 INFO L87 Difference]: Start difference. First operand 21 states. Second operand 21 states. [2020-07-17 22:29:29,939 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-17 22:29:29,939 INFO L93 Difference]: Finished difference Result 21 states and 21 transitions. [2020-07-17 22:29:29,940 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 21 transitions. [2020-07-17 22:29:29,940 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2020-07-17 22:29:29,940 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2020-07-17 22:29:29,941 INFO L88 GeneralOperation]: Finished isEquivalent. [2020-07-17 22:29:29,941 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2020-07-17 22:29:29,941 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 21 states. [2020-07-17 22:29:29,943 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 21 states to 21 states and 21 transitions. [2020-07-17 22:29:29,945 INFO L78 Accepts]: Start accepts. Automaton has 21 states and 21 transitions. Word has length 14 [2020-07-17 22:29:29,946 INFO L84 Accepts]: Finished accepts. word is rejected. [2020-07-17 22:29:29,946 INFO L479 AbstractCegarLoop]: Abstraction has 21 states and 21 transitions. [2020-07-17 22:29:29,946 INFO L480 AbstractCegarLoop]: Interpolant automaton has 7 states. [2020-07-17 22:29:29,946 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 21 transitions. [2020-07-17 22:29:29,947 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2020-07-17 22:29:29,947 INFO L414 BasicCegarLoop]: Found error trace [2020-07-17 22:29:29,947 INFO L422 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-07-17 22:29:29,948 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2020-07-17 22:29:29,948 INFO L427 AbstractCegarLoop]: === Iteration 2 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2020-07-17 22:29:29,949 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-07-17 22:29:29,949 INFO L82 PathProgramCache]: Analyzing trace with hash 636648720, now seen corresponding path program 1 times [2020-07-17 22:29:29,949 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-07-17 22:29:29,950 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [374185235] [2020-07-17 22:29:29,950 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-07-17 22:29:30,011 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-17 22:29:30,138 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-17 22:29:30,153 INFO L280 TraceCheckUtils]: 0: Hoare triple {187#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; {171#true} is VALID [2020-07-17 22:29:30,153 INFO L280 TraceCheckUtils]: 1: Hoare triple {171#true} assume true; {171#true} is VALID [2020-07-17 22:29:30,153 INFO L275 TraceCheckUtils]: 2: Hoare quadruple {171#true} {171#true} #34#return; {171#true} is VALID [2020-07-17 22:29:30,178 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-17 22:29:30,223 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-17 22:29:30,230 INFO L280 TraceCheckUtils]: 0: Hoare triple {188#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} ~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset;~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset;call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~p2.base, ~p2.offset, 4);~pq~0.base, ~pq~0.offset := #t~mem0.base, #t~mem0.offset;havoc #t~mem0.base, #t~mem0.offset;call #t~mem1.base, #t~mem1.offset := read~$Pointer$(~p2.base, ~p2.offset, 4);call write~$Pointer$(#t~mem1.base, #t~mem1.offset, ~p1.base, ~p1.offset, 4);havoc #t~mem1.base, #t~mem1.offset;call write~int(0, ~pq~0.base, ~pq~0.offset, 4); {171#true} is VALID [2020-07-17 22:29:30,231 INFO L280 TraceCheckUtils]: 1: Hoare triple {171#true} assume true; {171#true} is VALID [2020-07-17 22:29:30,231 INFO L275 TraceCheckUtils]: 2: Hoare quadruple {171#true} {171#true} #32#return; {171#true} is VALID [2020-07-17 22:29:30,232 INFO L280 TraceCheckUtils]: 0: Hoare triple {188#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} ~a := #in~a;~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset;~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset; {171#true} is VALID [2020-07-17 22:29:30,232 INFO L280 TraceCheckUtils]: 1: Hoare triple {171#true} assume 4 == ~a; {171#true} is VALID [2020-07-17 22:29:30,234 INFO L263 TraceCheckUtils]: 2: Hoare triple {171#true} call g(~p1.base, ~p1.offset, ~p2.base, ~p2.offset); {188#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} is VALID [2020-07-17 22:29:30,235 INFO L280 TraceCheckUtils]: 3: Hoare triple {188#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} ~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset;~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset;call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~p2.base, ~p2.offset, 4);~pq~0.base, ~pq~0.offset := #t~mem0.base, #t~mem0.offset;havoc #t~mem0.base, #t~mem0.offset;call #t~mem1.base, #t~mem1.offset := read~$Pointer$(~p2.base, ~p2.offset, 4);call write~$Pointer$(#t~mem1.base, #t~mem1.offset, ~p1.base, ~p1.offset, 4);havoc #t~mem1.base, #t~mem1.offset;call write~int(0, ~pq~0.base, ~pq~0.offset, 4); {171#true} is VALID [2020-07-17 22:29:30,235 INFO L280 TraceCheckUtils]: 4: Hoare triple {171#true} assume true; {171#true} is VALID [2020-07-17 22:29:30,236 INFO L275 TraceCheckUtils]: 5: Hoare quadruple {171#true} {171#true} #32#return; {171#true} is VALID [2020-07-17 22:29:30,237 INFO L280 TraceCheckUtils]: 6: Hoare triple {171#true} #res := 1; {192#(and (<= 1 |f_#res|) (<= |f_#res| 1))} is VALID [2020-07-17 22:29:30,238 INFO L280 TraceCheckUtils]: 7: Hoare triple {192#(and (<= 1 |f_#res|) (<= |f_#res| 1))} assume true; {192#(and (<= 1 |f_#res|) (<= |f_#res| 1))} is VALID [2020-07-17 22:29:30,241 INFO L275 TraceCheckUtils]: 8: Hoare quadruple {192#(and (<= 1 |f_#res|) (<= |f_#res| 1))} {171#true} #38#return; {185#(= 1 |main_#t~ret5|)} is VALID [2020-07-17 22:29:30,243 INFO L263 TraceCheckUtils]: 0: Hoare triple {171#true} call ULTIMATE.init(); {187#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} is VALID [2020-07-17 22:29:30,244 INFO L280 TraceCheckUtils]: 1: Hoare triple {187#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; {171#true} is VALID [2020-07-17 22:29:30,244 INFO L280 TraceCheckUtils]: 2: Hoare triple {171#true} assume true; {171#true} is VALID [2020-07-17 22:29:30,245 INFO L275 TraceCheckUtils]: 3: Hoare quadruple {171#true} {171#true} #34#return; {171#true} is VALID [2020-07-17 22:29:30,245 INFO L263 TraceCheckUtils]: 4: Hoare triple {171#true} call #t~ret9 := main(); {171#true} is VALID [2020-07-17 22:29:30,245 INFO L280 TraceCheckUtils]: 5: Hoare triple {171#true} call ~#a~0.base, ~#a~0.offset := #Ultimate.allocOnStack(4);call ~#b~0.base, ~#b~0.offset := #Ultimate.allocOnStack(4);call ~#p1~0.base, ~#p1~0.offset := #Ultimate.allocOnStack(4);call ~#p2~0.base, ~#p2~0.offset := #Ultimate.allocOnStack(4);call write~$Pointer$(~#a~0.base, ~#a~0.offset, ~#p1~0.base, ~#p1~0.offset, 4);call write~$Pointer$(~#b~0.base, ~#b~0.offset, ~#p2~0.base, ~#p2~0.offset, 4);call write~int(1, ~#b~0.base, ~#b~0.offset, 4);call write~int(5, ~#a~0.base, ~#a~0.offset, 4);call #t~mem2 := read~int(~#a~0.base, ~#a~0.offset, 4);#t~post3 := #t~mem2;call write~int(#t~post3 - 1, ~#a~0.base, ~#a~0.offset, 4);havoc #t~mem2;havoc #t~post3;call #t~mem4 := read~int(~#a~0.base, ~#a~0.offset, 4); {171#true} is VALID [2020-07-17 22:29:30,248 INFO L263 TraceCheckUtils]: 6: Hoare triple {171#true} call #t~ret5 := f(#t~mem4, ~#p1~0.base, ~#p1~0.offset, ~#p2~0.base, ~#p2~0.offset); {188#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} is VALID [2020-07-17 22:29:30,248 INFO L280 TraceCheckUtils]: 7: Hoare triple {188#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} ~a := #in~a;~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset;~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset; {171#true} is VALID [2020-07-17 22:29:30,249 INFO L280 TraceCheckUtils]: 8: Hoare triple {171#true} assume 4 == ~a; {171#true} is VALID [2020-07-17 22:29:30,251 INFO L263 TraceCheckUtils]: 9: Hoare triple {171#true} call g(~p1.base, ~p1.offset, ~p2.base, ~p2.offset); {188#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} is VALID [2020-07-17 22:29:30,251 INFO L280 TraceCheckUtils]: 10: Hoare triple {188#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} ~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset;~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset;call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~p2.base, ~p2.offset, 4);~pq~0.base, ~pq~0.offset := #t~mem0.base, #t~mem0.offset;havoc #t~mem0.base, #t~mem0.offset;call #t~mem1.base, #t~mem1.offset := read~$Pointer$(~p2.base, ~p2.offset, 4);call write~$Pointer$(#t~mem1.base, #t~mem1.offset, ~p1.base, ~p1.offset, 4);havoc #t~mem1.base, #t~mem1.offset;call write~int(0, ~pq~0.base, ~pq~0.offset, 4); {171#true} is VALID [2020-07-17 22:29:30,252 INFO L280 TraceCheckUtils]: 11: Hoare triple {171#true} assume true; {171#true} is VALID [2020-07-17 22:29:30,252 INFO L275 TraceCheckUtils]: 12: Hoare quadruple {171#true} {171#true} #32#return; {171#true} is VALID [2020-07-17 22:29:30,253 INFO L280 TraceCheckUtils]: 13: Hoare triple {171#true} #res := 1; {192#(and (<= 1 |f_#res|) (<= |f_#res| 1))} is VALID [2020-07-17 22:29:30,254 INFO L280 TraceCheckUtils]: 14: Hoare triple {192#(and (<= 1 |f_#res|) (<= |f_#res| 1))} assume true; {192#(and (<= 1 |f_#res|) (<= |f_#res| 1))} is VALID [2020-07-17 22:29:30,257 INFO L275 TraceCheckUtils]: 15: Hoare quadruple {192#(and (<= 1 |f_#res|) (<= |f_#res| 1))} {171#true} #38#return; {185#(= 1 |main_#t~ret5|)} is VALID [2020-07-17 22:29:30,259 INFO L280 TraceCheckUtils]: 16: Hoare triple {185#(= 1 |main_#t~ret5|)} assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647;call write~int(#t~ret5, ~#a~0.base, ~#a~0.offset, 4);havoc #t~mem4;havoc #t~ret5;call #t~mem6 := read~int(~#a~0.base, ~#a~0.offset, 4); {186#(= 1 |main_#t~mem6|)} is VALID [2020-07-17 22:29:30,260 INFO L280 TraceCheckUtils]: 17: Hoare triple {186#(= 1 |main_#t~mem6|)} assume 1 != #t~mem6;havoc #t~mem6; {172#false} is VALID [2020-07-17 22:29:30,260 INFO L280 TraceCheckUtils]: 18: Hoare triple {172#false} assume !false; {172#false} is VALID [2020-07-17 22:29:30,262 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-07-17 22:29:30,262 INFO L354 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [374185235] [2020-07-17 22:29:30,263 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-07-17 22:29:30,263 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2020-07-17 22:29:30,263 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [867287125] [2020-07-17 22:29:30,265 INFO L78 Accepts]: Start accepts. Automaton has 7 states. Word has length 19 [2020-07-17 22:29:30,266 INFO L84 Accepts]: Finished accepts. word is accepted. [2020-07-17 22:29:30,266 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 7 states. [2020-07-17 22:29:30,302 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 19 edges. 19 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2020-07-17 22:29:30,303 INFO L459 AbstractCegarLoop]: Interpolant automaton has 7 states [2020-07-17 22:29:30,303 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-07-17 22:29:30,304 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2020-07-17 22:29:30,304 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2020-07-17 22:29:30,304 INFO L87 Difference]: Start difference. First operand 21 states and 21 transitions. Second operand 7 states. [2020-07-17 22:29:30,812 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-17 22:29:30,813 INFO L93 Difference]: Finished difference Result 23 states and 22 transitions. [2020-07-17 22:29:30,813 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2020-07-17 22:29:30,813 INFO L78 Accepts]: Start accepts. Automaton has 7 states. Word has length 19 [2020-07-17 22:29:30,814 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2020-07-17 22:29:30,814 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 7 states. [2020-07-17 22:29:30,818 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 8 states to 8 states and 22 transitions. [2020-07-17 22:29:30,818 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 7 states. [2020-07-17 22:29:30,823 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 8 states to 8 states and 22 transitions. [2020-07-17 22:29:30,824 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 8 states and 22 transitions. [2020-07-17 22:29:30,869 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 22 edges. 22 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2020-07-17 22:29:30,871 INFO L225 Difference]: With dead ends: 23 [2020-07-17 22:29:30,871 INFO L226 Difference]: Without dead ends: 21 [2020-07-17 22:29:30,873 INFO L675 BasicCegarLoop]: 0 DeclaredPredicates, 14 GetRequests, 7 SyntacticMatches, 0 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=19, Invalid=53, Unknown=0, NotChecked=0, Total=72 [2020-07-17 22:29:30,874 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 21 states. [2020-07-17 22:29:30,903 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 21 to 21. [2020-07-17 22:29:30,903 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2020-07-17 22:29:30,903 INFO L82 GeneralOperation]: Start isEquivalent. First operand 21 states. Second operand 21 states. [2020-07-17 22:29:30,903 INFO L74 IsIncluded]: Start isIncluded. First operand 21 states. Second operand 21 states. [2020-07-17 22:29:30,904 INFO L87 Difference]: Start difference. First operand 21 states. Second operand 21 states. [2020-07-17 22:29:30,905 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-17 22:29:30,906 INFO L93 Difference]: Finished difference Result 21 states and 20 transitions. [2020-07-17 22:29:30,906 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 20 transitions. [2020-07-17 22:29:30,906 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2020-07-17 22:29:30,907 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2020-07-17 22:29:30,907 INFO L74 IsIncluded]: Start isIncluded. First operand 21 states. Second operand 21 states. [2020-07-17 22:29:30,907 INFO L87 Difference]: Start difference. First operand 21 states. Second operand 21 states. [2020-07-17 22:29:30,914 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-17 22:29:30,915 INFO L93 Difference]: Finished difference Result 21 states and 20 transitions. [2020-07-17 22:29:30,915 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 20 transitions. [2020-07-17 22:29:30,916 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2020-07-17 22:29:30,916 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2020-07-17 22:29:30,916 INFO L88 GeneralOperation]: Finished isEquivalent. [2020-07-17 22:29:30,916 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2020-07-17 22:29:30,916 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 21 states. [2020-07-17 22:29:30,919 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 21 states to 21 states and 20 transitions. [2020-07-17 22:29:30,919 INFO L78 Accepts]: Start accepts. Automaton has 21 states and 20 transitions. Word has length 19 [2020-07-17 22:29:30,919 INFO L84 Accepts]: Finished accepts. word is rejected. [2020-07-17 22:29:30,920 INFO L479 AbstractCegarLoop]: Abstraction has 21 states and 20 transitions. [2020-07-17 22:29:30,920 INFO L480 AbstractCegarLoop]: Interpolant automaton has 7 states. [2020-07-17 22:29:30,920 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 20 transitions. [2020-07-17 22:29:30,922 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2020-07-17 22:29:30,922 INFO L414 BasicCegarLoop]: Found error trace [2020-07-17 22:29:30,922 INFO L422 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-07-17 22:29:30,922 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2020-07-17 22:29:30,923 INFO L427 AbstractCegarLoop]: === Iteration 3 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2020-07-17 22:29:30,923 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-07-17 22:29:30,924 INFO L82 PathProgramCache]: Analyzing trace with hash -1738724303, now seen corresponding path program 1 times [2020-07-17 22:29:30,924 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-07-17 22:29:30,924 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1599528691] [2020-07-17 22:29:30,925 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-07-17 22:29:31,070 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-17 22:29:31,301 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-17 22:29:31,306 INFO L280 TraceCheckUtils]: 0: Hoare triple {323#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; {305#true} is VALID [2020-07-17 22:29:31,306 INFO L280 TraceCheckUtils]: 1: Hoare triple {305#true} assume true; {305#true} is VALID [2020-07-17 22:29:31,307 INFO L275 TraceCheckUtils]: 2: Hoare quadruple {305#true} {305#true} #34#return; {305#true} is VALID [2020-07-17 22:29:31,330 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-17 22:29:31,415 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-17 22:29:31,463 INFO L280 TraceCheckUtils]: 0: Hoare triple {324#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} ~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset;~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset;call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~p2.base, ~p2.offset, 4);~pq~0.base, ~pq~0.offset := #t~mem0.base, #t~mem0.offset;havoc #t~mem0.base, #t~mem0.offset;call #t~mem1.base, #t~mem1.offset := read~$Pointer$(~p2.base, ~p2.offset, 4);call write~$Pointer$(#t~mem1.base, #t~mem1.offset, ~p1.base, ~p1.offset, 4);havoc #t~mem1.base, #t~mem1.offset;call write~int(0, ~pq~0.base, ~pq~0.offset, 4); {330#(or (= |g_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|)) (and (= (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |g_#in~p1.base|) |g_#in~p1.offset|)))))} is VALID [2020-07-17 22:29:31,464 INFO L280 TraceCheckUtils]: 1: Hoare triple {330#(or (= |g_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|)) (and (= (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |g_#in~p1.base|) |g_#in~p1.offset|)))))} assume true; {330#(or (= |g_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|)) (and (= (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |g_#in~p1.base|) |g_#in~p1.offset|)))))} is VALID [2020-07-17 22:29:31,467 INFO L275 TraceCheckUtils]: 2: Hoare quadruple {330#(or (= |g_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|)) (and (= (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |g_#in~p1.base|) |g_#in~p1.offset|)))))} {325#(and (= |f_#in~p1.base| f_~p1.base) (= f_~p1.offset |f_#in~p1.offset|) (= |f_#in~p2.base| f_~p2.base) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= f_~p2.offset |f_#in~p2.offset|))} #32#return; {329#(or (and (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |f_#in~p1.base|) |f_#in~p1.offset|))) (= (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|))) (= |f_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|)))} is VALID [2020-07-17 22:29:31,469 INFO L280 TraceCheckUtils]: 0: Hoare triple {324#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} ~a := #in~a;~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset;~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset; {325#(and (= |f_#in~p1.base| f_~p1.base) (= f_~p1.offset |f_#in~p1.offset|) (= |f_#in~p2.base| f_~p2.base) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= f_~p2.offset |f_#in~p2.offset|))} is VALID [2020-07-17 22:29:31,471 INFO L280 TraceCheckUtils]: 1: Hoare triple {325#(and (= |f_#in~p1.base| f_~p1.base) (= f_~p1.offset |f_#in~p1.offset|) (= |f_#in~p2.base| f_~p2.base) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= f_~p2.offset |f_#in~p2.offset|))} assume 4 == ~a; {325#(and (= |f_#in~p1.base| f_~p1.base) (= f_~p1.offset |f_#in~p1.offset|) (= |f_#in~p2.base| f_~p2.base) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= f_~p2.offset |f_#in~p2.offset|))} is VALID [2020-07-17 22:29:31,472 INFO L263 TraceCheckUtils]: 2: Hoare triple {325#(and (= |f_#in~p1.base| f_~p1.base) (= f_~p1.offset |f_#in~p1.offset|) (= |f_#in~p2.base| f_~p2.base) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= f_~p2.offset |f_#in~p2.offset|))} call g(~p1.base, ~p1.offset, ~p2.base, ~p2.offset); {324#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} is VALID [2020-07-17 22:29:31,474 INFO L280 TraceCheckUtils]: 3: Hoare triple {324#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} ~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset;~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset;call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~p2.base, ~p2.offset, 4);~pq~0.base, ~pq~0.offset := #t~mem0.base, #t~mem0.offset;havoc #t~mem0.base, #t~mem0.offset;call #t~mem1.base, #t~mem1.offset := read~$Pointer$(~p2.base, ~p2.offset, 4);call write~$Pointer$(#t~mem1.base, #t~mem1.offset, ~p1.base, ~p1.offset, 4);havoc #t~mem1.base, #t~mem1.offset;call write~int(0, ~pq~0.base, ~pq~0.offset, 4); {330#(or (= |g_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|)) (and (= (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |g_#in~p1.base|) |g_#in~p1.offset|)))))} is VALID [2020-07-17 22:29:31,475 INFO L280 TraceCheckUtils]: 4: Hoare triple {330#(or (= |g_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|)) (and (= (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |g_#in~p1.base|) |g_#in~p1.offset|)))))} assume true; {330#(or (= |g_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|)) (and (= (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |g_#in~p1.base|) |g_#in~p1.offset|)))))} is VALID [2020-07-17 22:29:31,477 INFO L275 TraceCheckUtils]: 5: Hoare quadruple {330#(or (= |g_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|)) (and (= (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |g_#in~p1.base|) |g_#in~p1.offset|)))))} {325#(and (= |f_#in~p1.base| f_~p1.base) (= f_~p1.offset |f_#in~p1.offset|) (= |f_#in~p2.base| f_~p2.base) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= f_~p2.offset |f_#in~p2.offset|))} #32#return; {329#(or (and (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |f_#in~p1.base|) |f_#in~p1.offset|))) (= (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|))) (= |f_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|)))} is VALID [2020-07-17 22:29:31,478 INFO L280 TraceCheckUtils]: 6: Hoare triple {329#(or (and (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |f_#in~p1.base|) |f_#in~p1.offset|))) (= (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|))) (= |f_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|)))} #res := 1; {329#(or (and (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |f_#in~p1.base|) |f_#in~p1.offset|))) (= (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|))) (= |f_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|)))} is VALID [2020-07-17 22:29:31,478 INFO L280 TraceCheckUtils]: 7: Hoare triple {329#(or (and (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |f_#in~p1.base|) |f_#in~p1.offset|))) (= (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|))) (= |f_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|)))} assume true; {329#(or (and (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |f_#in~p1.base|) |f_#in~p1.offset|))) (= (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|))) (= |f_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|)))} is VALID [2020-07-17 22:29:31,481 INFO L275 TraceCheckUtils]: 8: Hoare quadruple {329#(or (and (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |f_#in~p1.base|) |f_#in~p1.offset|))) (= (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|))) (= |f_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|)))} {310#(and (not (= (select (select |#memory_$Pointer$.base| |main_~#p2~0.base|) |main_~#p2~0.offset|) |main_~#a~0.base|)) (not (= |main_~#p1~0.base| |main_~#p2~0.base|)) (not (= |main_~#p2~0.base| |main_~#a~0.base|)) (not (= (select (select |#memory_$Pointer$.base| |main_~#p2~0.base|) |main_~#p2~0.offset|) |main_~#p1~0.base|)) (not (= |main_~#p1~0.base| |main_~#a~0.base|)))} #38#return; {320#(and (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |main_~#p1~0.base|) |main_~#p1~0.offset|)) (select (select |#memory_$Pointer$.offset| |main_~#p1~0.base|) |main_~#p1~0.offset|))) (not (= (select (select |#memory_$Pointer$.base| |main_~#p1~0.base|) |main_~#p1~0.offset|) |main_~#a~0.base|)) (not (= |main_~#p1~0.base| |main_~#a~0.base|)))} is VALID [2020-07-17 22:29:31,483 INFO L263 TraceCheckUtils]: 0: Hoare triple {305#true} call ULTIMATE.init(); {323#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} is VALID [2020-07-17 22:29:31,483 INFO L280 TraceCheckUtils]: 1: Hoare triple {323#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; {305#true} is VALID [2020-07-17 22:29:31,483 INFO L280 TraceCheckUtils]: 2: Hoare triple {305#true} assume true; {305#true} is VALID [2020-07-17 22:29:31,484 INFO L275 TraceCheckUtils]: 3: Hoare quadruple {305#true} {305#true} #34#return; {305#true} is VALID [2020-07-17 22:29:31,484 INFO L263 TraceCheckUtils]: 4: Hoare triple {305#true} call #t~ret9 := main(); {305#true} is VALID [2020-07-17 22:29:31,491 INFO L280 TraceCheckUtils]: 5: Hoare triple {305#true} call ~#a~0.base, ~#a~0.offset := #Ultimate.allocOnStack(4);call ~#b~0.base, ~#b~0.offset := #Ultimate.allocOnStack(4);call ~#p1~0.base, ~#p1~0.offset := #Ultimate.allocOnStack(4);call ~#p2~0.base, ~#p2~0.offset := #Ultimate.allocOnStack(4);call write~$Pointer$(~#a~0.base, ~#a~0.offset, ~#p1~0.base, ~#p1~0.offset, 4);call write~$Pointer$(~#b~0.base, ~#b~0.offset, ~#p2~0.base, ~#p2~0.offset, 4);call write~int(1, ~#b~0.base, ~#b~0.offset, 4);call write~int(5, ~#a~0.base, ~#a~0.offset, 4);call #t~mem2 := read~int(~#a~0.base, ~#a~0.offset, 4);#t~post3 := #t~mem2;call write~int(#t~post3 - 1, ~#a~0.base, ~#a~0.offset, 4);havoc #t~mem2;havoc #t~post3;call #t~mem4 := read~int(~#a~0.base, ~#a~0.offset, 4); {310#(and (not (= (select (select |#memory_$Pointer$.base| |main_~#p2~0.base|) |main_~#p2~0.offset|) |main_~#a~0.base|)) (not (= |main_~#p1~0.base| |main_~#p2~0.base|)) (not (= |main_~#p2~0.base| |main_~#a~0.base|)) (not (= (select (select |#memory_$Pointer$.base| |main_~#p2~0.base|) |main_~#p2~0.offset|) |main_~#p1~0.base|)) (not (= |main_~#p1~0.base| |main_~#a~0.base|)))} is VALID [2020-07-17 22:29:31,494 INFO L263 TraceCheckUtils]: 6: Hoare triple {310#(and (not (= (select (select |#memory_$Pointer$.base| |main_~#p2~0.base|) |main_~#p2~0.offset|) |main_~#a~0.base|)) (not (= |main_~#p1~0.base| |main_~#p2~0.base|)) (not (= |main_~#p2~0.base| |main_~#a~0.base|)) (not (= (select (select |#memory_$Pointer$.base| |main_~#p2~0.base|) |main_~#p2~0.offset|) |main_~#p1~0.base|)) (not (= |main_~#p1~0.base| |main_~#a~0.base|)))} call #t~ret5 := f(#t~mem4, ~#p1~0.base, ~#p1~0.offset, ~#p2~0.base, ~#p2~0.offset); {324#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} is VALID [2020-07-17 22:29:31,494 INFO L280 TraceCheckUtils]: 7: Hoare triple {324#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} ~a := #in~a;~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset;~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset; {325#(and (= |f_#in~p1.base| f_~p1.base) (= f_~p1.offset |f_#in~p1.offset|) (= |f_#in~p2.base| f_~p2.base) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= f_~p2.offset |f_#in~p2.offset|))} is VALID [2020-07-17 22:29:31,495 INFO L280 TraceCheckUtils]: 8: Hoare triple {325#(and (= |f_#in~p1.base| f_~p1.base) (= f_~p1.offset |f_#in~p1.offset|) (= |f_#in~p2.base| f_~p2.base) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= f_~p2.offset |f_#in~p2.offset|))} assume 4 == ~a; {325#(and (= |f_#in~p1.base| f_~p1.base) (= f_~p1.offset |f_#in~p1.offset|) (= |f_#in~p2.base| f_~p2.base) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= f_~p2.offset |f_#in~p2.offset|))} is VALID [2020-07-17 22:29:31,503 INFO L263 TraceCheckUtils]: 9: Hoare triple {325#(and (= |f_#in~p1.base| f_~p1.base) (= f_~p1.offset |f_#in~p1.offset|) (= |f_#in~p2.base| f_~p2.base) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= f_~p2.offset |f_#in~p2.offset|))} call g(~p1.base, ~p1.offset, ~p2.base, ~p2.offset); {324#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} is VALID [2020-07-17 22:29:31,506 INFO L280 TraceCheckUtils]: 10: Hoare triple {324#(and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|))} ~p1.base, ~p1.offset := #in~p1.base, #in~p1.offset;~p2.base, ~p2.offset := #in~p2.base, #in~p2.offset;call #t~mem0.base, #t~mem0.offset := read~$Pointer$(~p2.base, ~p2.offset, 4);~pq~0.base, ~pq~0.offset := #t~mem0.base, #t~mem0.offset;havoc #t~mem0.base, #t~mem0.offset;call #t~mem1.base, #t~mem1.offset := read~$Pointer$(~p2.base, ~p2.offset, 4);call write~$Pointer$(#t~mem1.base, #t~mem1.offset, ~p1.base, ~p1.offset, 4);havoc #t~mem1.base, #t~mem1.offset;call write~int(0, ~pq~0.base, ~pq~0.offset, 4); {330#(or (= |g_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|)) (and (= (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |g_#in~p1.base|) |g_#in~p1.offset|)))))} is VALID [2020-07-17 22:29:31,508 INFO L280 TraceCheckUtils]: 11: Hoare triple {330#(or (= |g_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|)) (and (= (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |g_#in~p1.base|) |g_#in~p1.offset|)))))} assume true; {330#(or (= |g_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|)) (and (= (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |g_#in~p1.base|) |g_#in~p1.offset|)))))} is VALID [2020-07-17 22:29:31,513 INFO L275 TraceCheckUtils]: 12: Hoare quadruple {330#(or (= |g_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|)) (and (= (select (select |old(#memory_$Pointer$.base)| |g_#in~p2.base|) |g_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |g_#in~p1.base|) |g_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |g_#in~p1.base|) |g_#in~p1.offset|)))))} {325#(and (= |f_#in~p1.base| f_~p1.base) (= f_~p1.offset |f_#in~p1.offset|) (= |f_#in~p2.base| f_~p2.base) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= f_~p2.offset |f_#in~p2.offset|))} #32#return; {329#(or (and (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |f_#in~p1.base|) |f_#in~p1.offset|))) (= (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|))) (= |f_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|)))} is VALID [2020-07-17 22:29:31,514 INFO L280 TraceCheckUtils]: 13: Hoare triple {329#(or (and (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |f_#in~p1.base|) |f_#in~p1.offset|))) (= (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|))) (= |f_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|)))} #res := 1; {329#(or (and (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |f_#in~p1.base|) |f_#in~p1.offset|))) (= (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|))) (= |f_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|)))} is VALID [2020-07-17 22:29:31,516 INFO L280 TraceCheckUtils]: 14: Hoare triple {329#(or (and (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |f_#in~p1.base|) |f_#in~p1.offset|))) (= (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|))) (= |f_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|)))} assume true; {329#(or (and (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |f_#in~p1.base|) |f_#in~p1.offset|))) (= (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|))) (= |f_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|)))} is VALID [2020-07-17 22:29:31,519 INFO L275 TraceCheckUtils]: 15: Hoare quadruple {329#(or (and (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|)) (select (select |#memory_$Pointer$.offset| |f_#in~p1.base|) |f_#in~p1.offset|))) (= (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|) (select (select |#memory_$Pointer$.base| |f_#in~p1.base|) |f_#in~p1.offset|))) (= |f_#in~p1.base| (select (select |old(#memory_$Pointer$.base)| |f_#in~p2.base|) |f_#in~p2.offset|)))} {310#(and (not (= (select (select |#memory_$Pointer$.base| |main_~#p2~0.base|) |main_~#p2~0.offset|) |main_~#a~0.base|)) (not (= |main_~#p1~0.base| |main_~#p2~0.base|)) (not (= |main_~#p2~0.base| |main_~#a~0.base|)) (not (= (select (select |#memory_$Pointer$.base| |main_~#p2~0.base|) |main_~#p2~0.offset|) |main_~#p1~0.base|)) (not (= |main_~#p1~0.base| |main_~#a~0.base|)))} #38#return; {320#(and (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |main_~#p1~0.base|) |main_~#p1~0.offset|)) (select (select |#memory_$Pointer$.offset| |main_~#p1~0.base|) |main_~#p1~0.offset|))) (not (= (select (select |#memory_$Pointer$.base| |main_~#p1~0.base|) |main_~#p1~0.offset|) |main_~#a~0.base|)) (not (= |main_~#p1~0.base| |main_~#a~0.base|)))} is VALID [2020-07-17 22:29:31,521 INFO L280 TraceCheckUtils]: 16: Hoare triple {320#(and (= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |main_~#p1~0.base|) |main_~#p1~0.offset|)) (select (select |#memory_$Pointer$.offset| |main_~#p1~0.base|) |main_~#p1~0.offset|))) (not (= (select (select |#memory_$Pointer$.base| |main_~#p1~0.base|) |main_~#p1~0.offset|) |main_~#a~0.base|)) (not (= |main_~#p1~0.base| |main_~#a~0.base|)))} assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647;call write~int(#t~ret5, ~#a~0.base, ~#a~0.offset, 4);havoc #t~mem4;havoc #t~ret5;call #t~mem6 := read~int(~#a~0.base, ~#a~0.offset, 4); {321#(= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |main_~#p1~0.base|) |main_~#p1~0.offset|)) (select (select |#memory_$Pointer$.offset| |main_~#p1~0.base|) |main_~#p1~0.offset|)))} is VALID [2020-07-17 22:29:31,522 INFO L280 TraceCheckUtils]: 17: Hoare triple {321#(= 0 (select (select |#memory_int| (select (select |#memory_$Pointer$.base| |main_~#p1~0.base|) |main_~#p1~0.offset|)) (select (select |#memory_$Pointer$.offset| |main_~#p1~0.base|) |main_~#p1~0.offset|)))} assume !(1 != #t~mem6);havoc #t~mem6;call #t~mem7.base, #t~mem7.offset := read~$Pointer$(~#p1~0.base, ~#p1~0.offset, 4);call #t~mem8 := read~int(#t~mem7.base, #t~mem7.offset, 4); {322#(= 0 |main_#t~mem8|)} is VALID [2020-07-17 22:29:31,523 INFO L280 TraceCheckUtils]: 18: Hoare triple {322#(= 0 |main_#t~mem8|)} assume 0 != #t~mem8;havoc #t~mem8;havoc #t~mem7.base, #t~mem7.offset; {306#false} is VALID [2020-07-17 22:29:31,523 INFO L280 TraceCheckUtils]: 19: Hoare triple {306#false} assume !false; {306#false} is VALID [2020-07-17 22:29:31,526 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-07-17 22:29:31,527 INFO L354 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1599528691] [2020-07-17 22:29:31,527 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-07-17 22:29:31,527 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [11] imperfect sequences [] total 11 [2020-07-17 22:29:31,528 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1111987946] [2020-07-17 22:29:31,528 INFO L78 Accepts]: Start accepts. Automaton has 11 states. Word has length 20 [2020-07-17 22:29:31,529 INFO L84 Accepts]: Finished accepts. word is accepted. [2020-07-17 22:29:31,529 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 11 states. [2020-07-17 22:29:31,563 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 20 edges. 20 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2020-07-17 22:29:31,563 INFO L459 AbstractCegarLoop]: Interpolant automaton has 11 states [2020-07-17 22:29:31,563 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-07-17 22:29:31,564 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 11 interpolants. [2020-07-17 22:29:31,564 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=20, Invalid=90, Unknown=0, NotChecked=0, Total=110 [2020-07-17 22:29:31,564 INFO L87 Difference]: Start difference. First operand 21 states and 20 transitions. Second operand 11 states. [2020-07-17 22:29:32,441 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-17 22:29:32,442 INFO L93 Difference]: Finished difference Result 21 states and 20 transitions. [2020-07-17 22:29:32,442 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 10 states. [2020-07-17 22:29:32,442 INFO L78 Accepts]: Start accepts. Automaton has 11 states. Word has length 20 [2020-07-17 22:29:32,443 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2020-07-17 22:29:32,443 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 11 states. [2020-07-17 22:29:32,445 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 10 states to 10 states and 20 transitions. [2020-07-17 22:29:32,445 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 11 states. [2020-07-17 22:29:32,447 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 10 states to 10 states and 20 transitions. [2020-07-17 22:29:32,447 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 10 states and 20 transitions. [2020-07-17 22:29:32,485 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 20 edges. 20 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2020-07-17 22:29:32,485 INFO L225 Difference]: With dead ends: 21 [2020-07-17 22:29:32,486 INFO L226 Difference]: Without dead ends: 0 [2020-07-17 22:29:32,487 INFO L675 BasicCegarLoop]: 0 DeclaredPredicates, 19 GetRequests, 5 SyntacticMatches, 0 SemanticMatches, 14 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 15 ImplicationChecksByTransitivity, 0.3s TimeCoverageRelationStatistics Valid=43, Invalid=197, Unknown=0, NotChecked=0, Total=240 [2020-07-17 22:29:32,487 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 0 states. [2020-07-17 22:29:32,487 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 0 to 0. [2020-07-17 22:29:32,487 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2020-07-17 22:29:32,487 INFO L82 GeneralOperation]: Start isEquivalent. First operand 0 states. Second operand 0 states. [2020-07-17 22:29:32,488 INFO L74 IsIncluded]: Start isIncluded. First operand 0 states. Second operand 0 states. [2020-07-17 22:29:32,488 INFO L87 Difference]: Start difference. First operand 0 states. Second operand 0 states. [2020-07-17 22:29:32,488 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-17 22:29:32,488 INFO L93 Difference]: Finished difference Result 0 states and 0 transitions. [2020-07-17 22:29:32,488 INFO L276 IsEmpty]: Start isEmpty. Operand 0 states and 0 transitions. [2020-07-17 22:29:32,489 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2020-07-17 22:29:32,489 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2020-07-17 22:29:32,489 INFO L74 IsIncluded]: Start isIncluded. First operand 0 states. Second operand 0 states. [2020-07-17 22:29:32,489 INFO L87 Difference]: Start difference. First operand 0 states. Second operand 0 states. [2020-07-17 22:29:32,489 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-17 22:29:32,490 INFO L93 Difference]: Finished difference Result 0 states and 0 transitions. [2020-07-17 22:29:32,490 INFO L276 IsEmpty]: Start isEmpty. Operand 0 states and 0 transitions. [2020-07-17 22:29:32,490 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2020-07-17 22:29:32,490 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2020-07-17 22:29:32,490 INFO L88 GeneralOperation]: Finished isEquivalent. [2020-07-17 22:29:32,490 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2020-07-17 22:29:32,491 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 0 states. [2020-07-17 22:29:32,491 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 0 states to 0 states and 0 transitions. [2020-07-17 22:29:32,491 INFO L78 Accepts]: Start accepts. Automaton has 0 states and 0 transitions. Word has length 20 [2020-07-17 22:29:32,491 INFO L84 Accepts]: Finished accepts. word is rejected. [2020-07-17 22:29:32,491 INFO L479 AbstractCegarLoop]: Abstraction has 0 states and 0 transitions. [2020-07-17 22:29:32,492 INFO L480 AbstractCegarLoop]: Interpolant automaton has 11 states. [2020-07-17 22:29:32,492 INFO L276 IsEmpty]: Start isEmpty. Operand 0 states and 0 transitions. [2020-07-17 22:29:32,492 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2020-07-17 22:29:32,492 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2020-07-17 22:29:32,495 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends 0 states and 0 transitions. [2020-07-17 22:29:32,695 INFO L268 CegarLoopResult]: For program point ULTIMATE.initFINAL(line -1) no Hoare annotation was computed. [2020-07-17 22:29:32,695 INFO L264 CegarLoopResult]: At program point ULTIMATE.initENTRY(line -1) the Hoare annotation is: (and (= |#valid| |old(#valid)|) (= |old(#NULL.base)| |#NULL.base|) (= |#NULL.offset| |old(#NULL.offset)|)) [2020-07-17 22:29:32,695 INFO L268 CegarLoopResult]: For program point ULTIMATE.initEXIT(line -1) no Hoare annotation was computed. [2020-07-17 22:29:32,696 INFO L264 CegarLoopResult]: At program point L13(line 13) the Hoare annotation is: (and (= |f_#in~a| f_~a) (= |f_#in~p1.base| f_~p1.base) (= f_~p1.offset |f_#in~p1.offset|) (= |f_#in~p2.base| f_~p2.base) (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= f_~p2.offset |f_#in~p2.offset|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|)) [2020-07-17 22:29:32,696 INFO L268 CegarLoopResult]: For program point L12(lines 12 17) no Hoare annotation was computed. [2020-07-17 22:29:32,696 INFO L268 CegarLoopResult]: For program point L13-1(line 13) no Hoare annotation was computed. [2020-07-17 22:29:32,696 INFO L268 CegarLoopResult]: For program point fEXIT(lines 11 18) no Hoare annotation was computed. [2020-07-17 22:29:32,696 INFO L264 CegarLoopResult]: At program point fENTRY(lines 11 18) the Hoare annotation is: (and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|)) [2020-07-17 22:29:32,697 INFO L268 CegarLoopResult]: For program point fFINAL(lines 11 18) no Hoare annotation was computed. [2020-07-17 22:29:32,697 INFO L268 CegarLoopResult]: For program point gEXIT(lines 4 9) no Hoare annotation was computed. [2020-07-17 22:29:32,697 INFO L268 CegarLoopResult]: For program point gFINAL(lines 4 9) no Hoare annotation was computed. [2020-07-17 22:29:32,697 INFO L264 CegarLoopResult]: At program point gENTRY(lines 4 9) the Hoare annotation is: (and (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|)) [2020-07-17 22:29:32,697 INFO L268 CegarLoopResult]: For program point ULTIMATE.startEXIT(line -1) no Hoare annotation was computed. [2020-07-17 22:29:32,698 INFO L271 CegarLoopResult]: At program point L-1(line -1) the Hoare annotation is: true [2020-07-17 22:29:32,698 INFO L271 CegarLoopResult]: At program point ULTIMATE.startENTRY(line -1) the Hoare annotation is: true [2020-07-17 22:29:32,698 INFO L268 CegarLoopResult]: For program point ULTIMATE.startFINAL(line -1) no Hoare annotation was computed. [2020-07-17 22:29:32,698 INFO L264 CegarLoopResult]: At program point L32(line 32) the Hoare annotation is: (let ((.cse0 (select (select |#memory_$Pointer$.base| |main_~#p2~0.base|) |main_~#p2~0.offset|))) (and (not (= .cse0 |main_~#a~0.base|)) (not (= |main_~#p1~0.base| |main_~#p2~0.base|)) (not (= |main_~#p2~0.base| |main_~#a~0.base|)) (not (= .cse0 |main_~#p1~0.base|)) (= 4 |main_#t~mem4|) (not (= |main_~#p1~0.base| |main_~#a~0.base|)))) [2020-07-17 22:29:32,698 INFO L268 CegarLoopResult]: For program point mainErr0ASSERT_VIOLATIONERROR_FUNCTION(line 44) no Hoare annotation was computed. [2020-07-17 22:29:32,699 INFO L268 CegarLoopResult]: For program point L32-1(line 32) no Hoare annotation was computed. [2020-07-17 22:29:32,699 INFO L264 CegarLoopResult]: At program point mainENTRY(lines 20 46) the Hoare annotation is: (and (= |#valid| |old(#valid)|) (= |#memory_int| |old(#memory_int)|) (= |#memory_$Pointer$.base| |old(#memory_$Pointer$.base)|) (= |#memory_$Pointer$.offset| |old(#memory_$Pointer$.offset)|)) [2020-07-17 22:29:32,699 INFO L268 CegarLoopResult]: For program point mainEXIT(lines 20 46) no Hoare annotation was computed. [2020-07-17 22:29:32,700 INFO L268 CegarLoopResult]: For program point mainFINAL(lines 20 46) no Hoare annotation was computed. [2020-07-17 22:29:32,700 INFO L264 CegarLoopResult]: At program point L39(lines 20 46) the Hoare annotation is: false [2020-07-17 22:29:32,700 INFO L268 CegarLoopResult]: For program point L38(lines 38 40) no Hoare annotation was computed. [2020-07-17 22:29:32,700 INFO L268 CegarLoopResult]: For program point L34(lines 34 36) no Hoare annotation was computed. [2020-07-17 22:29:32,705 WARN L170 areAnnotationChecker]: ULTIMATE.initFINAL has no Hoare annotation [2020-07-17 22:29:32,705 WARN L170 areAnnotationChecker]: L12 has no Hoare annotation [2020-07-17 22:29:32,705 WARN L170 areAnnotationChecker]: gFINAL has no Hoare annotation [2020-07-17 22:29:32,711 WARN L170 areAnnotationChecker]: ULTIMATE.initFINAL has no Hoare annotation [2020-07-17 22:29:32,711 WARN L170 areAnnotationChecker]: L12 has no Hoare annotation [2020-07-17 22:29:32,711 WARN L170 areAnnotationChecker]: L12 has no Hoare annotation [2020-07-17 22:29:32,711 WARN L170 areAnnotationChecker]: gFINAL has no Hoare annotation [2020-07-17 22:29:32,711 WARN L170 areAnnotationChecker]: ULTIMATE.startFINAL has no Hoare annotation [2020-07-17 22:29:32,712 WARN L170 areAnnotationChecker]: L32-1 has no Hoare annotation [2020-07-17 22:29:32,716 WARN L170 areAnnotationChecker]: ULTIMATE.initEXIT has no Hoare annotation [2020-07-17 22:29:32,717 WARN L170 areAnnotationChecker]: L13-1 has no Hoare annotation [2020-07-17 22:29:32,718 WARN L170 areAnnotationChecker]: fFINAL has no Hoare annotation [2020-07-17 22:29:32,719 WARN L170 areAnnotationChecker]: gEXIT has no Hoare annotation [2020-07-17 22:29:32,719 WARN L170 areAnnotationChecker]: ULTIMATE.startFINAL has no Hoare annotation [2020-07-17 22:29:32,719 WARN L170 areAnnotationChecker]: L32-1 has no Hoare annotation [2020-07-17 22:29:32,719 WARN L170 areAnnotationChecker]: L13-1 has no Hoare annotation [2020-07-17 22:29:32,719 WARN L170 areAnnotationChecker]: fEXIT has no Hoare annotation [2020-07-17 22:29:32,719 WARN L170 areAnnotationChecker]: L34 has no Hoare annotation [2020-07-17 22:29:32,719 WARN L170 areAnnotationChecker]: L34 has no Hoare annotation [2020-07-17 22:29:32,720 WARN L170 areAnnotationChecker]: mainErr0ASSERT_VIOLATIONERROR_FUNCTION has no Hoare annotation [2020-07-17 22:29:32,720 WARN L170 areAnnotationChecker]: mainFINAL has no Hoare annotation [2020-07-17 22:29:32,720 WARN L170 areAnnotationChecker]: L38 has no Hoare annotation [2020-07-17 22:29:32,720 WARN L170 areAnnotationChecker]: L38 has no Hoare annotation [2020-07-17 22:29:32,720 WARN L170 areAnnotationChecker]: mainFINAL has no Hoare annotation [2020-07-17 22:29:32,720 WARN L170 areAnnotationChecker]: mainEXIT has no Hoare annotation [2020-07-17 22:29:32,720 INFO L163 areAnnotationChecker]: CFG has 5 edges. 5 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. 0 times interpolants missing. [2020-07-17 22:29:32,730 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 17.07 10:29:32 BoogieIcfgContainer [2020-07-17 22:29:32,731 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2020-07-17 22:29:32,735 INFO L168 Benchmark]: Toolchain (without parser) took 5264.88 ms. Allocated memory was 145.2 MB in the beginning and 278.9 MB in the end (delta: 133.7 MB). Free memory was 102.8 MB in the beginning and 228.6 MB in the end (delta: -125.7 MB). Peak memory consumption was 7.9 MB. Max. memory is 7.1 GB. [2020-07-17 22:29:32,737 INFO L168 Benchmark]: CDTParser took 1.29 ms. Allocated memory is still 145.2 MB. Free memory was 121.5 MB in the beginning and 121.3 MB in the end (delta: 210.1 kB). Peak memory consumption was 210.1 kB. Max. memory is 7.1 GB. [2020-07-17 22:29:32,740 INFO L168 Benchmark]: CACSL2BoogieTranslator took 297.31 ms. Allocated memory is still 145.2 MB. Free memory was 102.4 MB in the beginning and 92.0 MB in the end (delta: 10.4 MB). Peak memory consumption was 10.4 MB. Max. memory is 7.1 GB. [2020-07-17 22:29:32,741 INFO L168 Benchmark]: Boogie Preprocessor took 134.79 ms. Allocated memory was 145.2 MB in the beginning and 202.4 MB in the end (delta: 57.1 MB). Free memory was 92.0 MB in the beginning and 179.5 MB in the end (delta: -87.5 MB). Peak memory consumption was 10.1 MB. Max. memory is 7.1 GB. [2020-07-17 22:29:32,743 INFO L168 Benchmark]: RCFGBuilder took 543.45 ms. Allocated memory is still 202.4 MB. Free memory was 179.5 MB in the beginning and 153.0 MB in the end (delta: 26.4 MB). Peak memory consumption was 26.4 MB. Max. memory is 7.1 GB. [2020-07-17 22:29:32,750 INFO L168 Benchmark]: TraceAbstraction took 4282.53 ms. Allocated memory was 202.4 MB in the beginning and 278.9 MB in the end (delta: 76.5 MB). Free memory was 152.4 MB in the beginning and 228.6 MB in the end (delta: -76.2 MB). Peak memory consumption was 337.3 kB. Max. memory is 7.1 GB. [2020-07-17 22:29:32,762 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - AssertionsEnabledResult: Assertions are enabled Assertions are enabled - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 1.29 ms. Allocated memory is still 145.2 MB. Free memory was 121.5 MB in the beginning and 121.3 MB in the end (delta: 210.1 kB). Peak memory consumption was 210.1 kB. Max. memory is 7.1 GB. * CACSL2BoogieTranslator took 297.31 ms. Allocated memory is still 145.2 MB. Free memory was 102.4 MB in the beginning and 92.0 MB in the end (delta: 10.4 MB). Peak memory consumption was 10.4 MB. Max. memory is 7.1 GB. * Boogie Preprocessor took 134.79 ms. Allocated memory was 145.2 MB in the beginning and 202.4 MB in the end (delta: 57.1 MB). Free memory was 92.0 MB in the beginning and 179.5 MB in the end (delta: -87.5 MB). Peak memory consumption was 10.1 MB. Max. memory is 7.1 GB. * RCFGBuilder took 543.45 ms. Allocated memory is still 202.4 MB. Free memory was 179.5 MB in the beginning and 153.0 MB in the end (delta: 26.4 MB). Peak memory consumption was 26.4 MB. Max. memory is 7.1 GB. * TraceAbstraction took 4282.53 ms. Allocated memory was 202.4 MB in the beginning and 278.9 MB in the end (delta: 76.5 MB). Free memory was 152.4 MB in the beginning and 228.6 MB in the end (delta: -76.2 MB). Peak memory consumption was 337.3 kB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - PositiveResult [Line: 44]: call of __VERIFIER_error() unreachable For all program executions holds that call of __VERIFIER_error() unreachable at this location - AllSpecificationsHoldResult: All specifications hold 1 specifications checked. All of them hold - InvariantResult [Line: 20]: Loop Invariant Derived loop invariant: 0 - StatisticsResult: Ultimate Automizer benchmark data CFG has 5 procedures, 25 locations, 1 error locations. Started 1 CEGAR loops. VerificationResult: SAFE, OverallTime: 3.9s, OverallIterations: 3, TraceHistogramMax: 1, AutomataDifference: 2.2s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.2s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 44 SDtfs, 34 SDslu, 88 SDs, 0 SdLazy, 237 SolverSat, 28 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.7s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 46 GetRequests, 16 SyntacticMatches, 0 SemanticMatches, 30 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 20 ImplicationChecksByTransitivity, 0.6s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=25occurred in iteration=0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.1s AutomataMinimizationTime, 3 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: 0.0s HoareAnnotationTime, 9 LocationsWithAnnotation, 9 PreInvPairs, 9 NumberOfFragments, 103 HoareAnnotationTreeSize, 9 FomulaSimplifications, 0 FormulaSimplificationTreeSizeReduction, 0.0s HoareSimplificationTime, 9 FomulaSimplificationsInter, 42 FormulaSimplificationTreeSizeReductionInter, 0.1s HoareSimplificationTimeInter, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 0.9s InterpolantComputationTime, 53 NumberOfCodeBlocks, 53 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 50 ConstructedInterpolants, 0 QuantifiedInterpolants, 7654 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be correct! Received shutdown request...