java -ea -Xmx8000000000 -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc ../../../trunk/examples/toolchains/AutomizerCInline_WitnessPrinter.xml -s ../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Bitvector.epf -i ../../../trunk/examples/svcomp/list-properties/splice_false-unreach-call_false-valid-memcleanup.i -------------------------------------------------------------------------------- This is Ultimate 0.1.23-61f4311 [2018-11-23 11:04:43,240 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 11:04:43,242 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 11:04:43,254 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 11:04:43,254 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 11:04:43,255 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 11:04:43,257 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 11:04:43,259 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 11:04:43,260 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 11:04:43,261 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 11:04:43,262 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 11:04:43,263 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 11:04:43,263 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 11:04:43,264 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 11:04:43,266 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 11:04:43,267 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 11:04:43,267 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 11:04:43,269 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 11:04:43,271 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 11:04:43,273 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 11:04:43,274 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 11:04:43,275 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 11:04:43,278 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 11:04:43,278 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 11:04:43,278 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 11:04:43,280 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 11:04:43,281 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 11:04:43,282 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 11:04:43,282 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 11:04:43,284 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 11:04:43,284 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 11:04:43,285 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 11:04:43,285 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 11:04:43,285 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 11:04:43,286 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 11:04:43,287 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 11:04:43,287 INFO L98 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Bitvector.epf [2018-11-23 11:04:43,303 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 11:04:43,303 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 11:04:43,304 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 11:04:43,304 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 11:04:43,305 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 11:04:43,305 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 11:04:43,305 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 11:04:43,305 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 11:04:43,306 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 11:04:43,306 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 11:04:43,306 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 11:04:43,306 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 11:04:43,306 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 11:04:43,307 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 11:04:43,307 INFO L133 SettingsManager]: * Use bitvectors instead of ints=true [2018-11-23 11:04:43,307 INFO L133 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2018-11-23 11:04:43,307 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 11:04:43,307 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 11:04:43,307 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 11:04:43,308 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 11:04:43,308 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 11:04:43,308 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 11:04:43,308 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 11:04:43,308 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 11:04:43,309 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 11:04:43,309 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 11:04:43,309 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 11:04:43,309 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 11:04:43,310 INFO L133 SettingsManager]: * Trace refinement strategy=WOLF [2018-11-23 11:04:43,310 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 11:04:43,310 INFO L133 SettingsManager]: * Command for external solver=cvc4nyu --tear-down-incremental --rewrite-divk --print-success --lang smt [2018-11-23 11:04:43,310 INFO L133 SettingsManager]: * Logic for external solver=AUFBV [2018-11-23 11:04:43,310 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2018-11-23 11:04:43,358 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 11:04:43,374 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 11:04:43,379 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 11:04:43,380 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 11:04:43,381 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 11:04:43,381 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/list-properties/splice_false-unreach-call_false-valid-memcleanup.i [2018-11-23 11:04:43,440 INFO L221 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/ba602f693/6a14cd612ff54891b25c946bd6c06935/FLAG2ae0a721e [2018-11-23 11:04:43,972 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 11:04:43,973 INFO L161 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/list-properties/splice_false-unreach-call_false-valid-memcleanup.i [2018-11-23 11:04:43,987 INFO L355 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/ba602f693/6a14cd612ff54891b25c946bd6c06935/FLAG2ae0a721e [2018-11-23 11:04:44,246 INFO L363 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/ba602f693/6a14cd612ff54891b25c946bd6c06935 [2018-11-23 11:04:44,257 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 11:04:44,259 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 11:04:44,260 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 11:04:44,260 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 11:04:44,264 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 11:04:44,266 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:04:44" (1/1) ... [2018-11-23 11:04:44,269 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7b45ab75 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:04:44, skipping insertion in model container [2018-11-23 11:04:44,269 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:04:44" (1/1) ... [2018-11-23 11:04:44,280 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 11:04:44,340 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 11:04:44,781 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:04:44,798 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 11:04:44,857 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:04:45,010 INFO L195 MainTranslator]: Completed translation [2018-11-23 11:04:45,010 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:04:45 WrapperNode [2018-11-23 11:04:45,011 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 11:04:45,012 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 11:04:45,012 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 11:04:45,012 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 11:04:45,023 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:04:45" (1/1) ... [2018-11-23 11:04:45,043 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:04:45" (1/1) ... [2018-11-23 11:04:45,052 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 11:04:45,053 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 11:04:45,053 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 11:04:45,053 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 11:04:45,061 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:04:45" (1/1) ... [2018-11-23 11:04:45,061 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:04:45" (1/1) ... [2018-11-23 11:04:45,066 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:04:45" (1/1) ... [2018-11-23 11:04:45,066 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:04:45" (1/1) ... [2018-11-23 11:04:45,085 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:04:45" (1/1) ... [2018-11-23 11:04:45,093 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:04:45" (1/1) ... [2018-11-23 11:04:45,096 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:04:45" (1/1) ... [2018-11-23 11:04:45,100 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 11:04:45,100 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 11:04:45,101 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 11:04:45,101 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 11:04:45,102 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:04:45" (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 [2018-11-23 11:04:45,162 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 11:04:45,162 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2018-11-23 11:04:45,162 INFO L130 BoogieDeclarations]: Found specification of procedure exit [2018-11-23 11:04:45,162 INFO L138 BoogieDeclarations]: Found implementation of procedure exit [2018-11-23 11:04:45,162 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 11:04:45,162 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 11:04:45,163 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 11:04:45,163 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 11:04:45,163 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2018-11-23 11:04:45,163 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2018-11-23 11:04:45,163 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2018-11-23 11:04:45,163 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 11:04:45,164 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 11:04:46,170 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 11:04:46,170 INFO L280 CfgBuilder]: Removed 4 assue(true) statements. [2018-11-23 11:04:46,171 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:04:46 BoogieIcfgContainer [2018-11-23 11:04:46,171 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 11:04:46,172 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 11:04:46,172 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 11:04:46,176 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 11:04:46,176 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 11:04:44" (1/3) ... [2018-11-23 11:04:46,177 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1c9b2802 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 11:04:46, skipping insertion in model container [2018-11-23 11:04:46,178 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:04:45" (2/3) ... [2018-11-23 11:04:46,178 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1c9b2802 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 11:04:46, skipping insertion in model container [2018-11-23 11:04:46,178 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:04:46" (3/3) ... [2018-11-23 11:04:46,180 INFO L112 eAbstractionObserver]: Analyzing ICFG splice_false-unreach-call_false-valid-memcleanup.i [2018-11-23 11:04:46,191 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 11:04:46,201 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 11:04:46,220 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 11:04:46,254 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 11:04:46,255 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 11:04:46,255 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 11:04:46,255 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 11:04:46,255 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 11:04:46,256 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 11:04:46,256 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 11:04:46,256 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 11:04:46,256 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 11:04:46,273 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states. [2018-11-23 11:04:46,279 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2018-11-23 11:04:46,280 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:04:46,280 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:04:46,283 INFO L423 AbstractCegarLoop]: === Iteration 1 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:04:46,288 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:04:46,288 INFO L82 PathProgramCache]: Analyzing trace with hash -1807834746, now seen corresponding path program 1 times [2018-11-23 11:04:46,292 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:04:46,293 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4nyu Starting monitored process 2 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk [2018-11-23 11:04:46,310 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:04:46,361 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:04:46,392 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:04:46,397 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:04:46,465 INFO L256 TraceCheckUtils]: 0: Hoare triple {38#true} call ULTIMATE.init(); {38#true} is VALID [2018-11-23 11:04:46,468 INFO L273 TraceCheckUtils]: 1: Hoare triple {38#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; {38#true} is VALID [2018-11-23 11:04:46,469 INFO L273 TraceCheckUtils]: 2: Hoare triple {38#true} assume true; {38#true} is VALID [2018-11-23 11:04:46,469 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {38#true} {38#true} #111#return; {38#true} is VALID [2018-11-23 11:04:46,470 INFO L256 TraceCheckUtils]: 4: Hoare triple {38#true} call #t~ret11 := main(); {38#true} is VALID [2018-11-23 11:04:46,470 INFO L273 TraceCheckUtils]: 5: Hoare triple {38#true} ~flag~0 := 1bv32;call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32);~a~0.base, ~a~0.offset := #t~malloc0.base, #t~malloc0.offset; {38#true} is VALID [2018-11-23 11:04:46,470 INFO L273 TraceCheckUtils]: 6: Hoare triple {38#true} assume !(~a~0.base == 0bv32 && ~a~0.offset == 0bv32); {38#true} is VALID [2018-11-23 11:04:46,471 INFO L273 TraceCheckUtils]: 7: Hoare triple {38#true} havoc ~t~0.base, ~t~0.offset;havoc ~l1~0.base, ~l1~0.offset;havoc ~l2~0.base, ~l2~0.offset;havoc ~b~0.base, ~b~0.offset;havoc ~u~0.base, ~u~0.offset;~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; {38#true} is VALID [2018-11-23 11:04:46,471 INFO L273 TraceCheckUtils]: 8: Hoare triple {38#true} assume !(0bv32 != #t~nondet1);havoc #t~nondet1; {38#true} is VALID [2018-11-23 11:04:46,471 INFO L273 TraceCheckUtils]: 9: Hoare triple {38#true} call write~intINTTYPE4(3bv32, ~p~0.base, ~p~0.offset, 4bv32);call #t~mem4 := read~intINTTYPE4(~a~0.base, ~a~0.offset, 4bv32); {38#true} is VALID [2018-11-23 11:04:46,472 INFO L273 TraceCheckUtils]: 10: Hoare triple {38#true} assume !(3bv32 == #t~mem4);havoc #t~mem4;~flag~0 := 1bv32;~l1~0.base, ~l1~0.offset := 0bv32, 0bv32;~l2~0.base, ~l2~0.offset := 0bv32, 0bv32;~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; {38#true} is VALID [2018-11-23 11:04:46,473 INFO L273 TraceCheckUtils]: 11: Hoare triple {38#true} assume !true; {39#false} is VALID [2018-11-23 11:04:46,473 INFO L273 TraceCheckUtils]: 12: Hoare triple {39#false} ~p~0.base, ~p~0.offset := ~l1~0.base, ~l1~0.offset; {39#false} is VALID [2018-11-23 11:04:46,473 INFO L273 TraceCheckUtils]: 13: Hoare triple {39#false} assume !!(~p~0.base != 0bv32 || ~p~0.offset != 0bv32);call #t~mem7 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); {39#false} is VALID [2018-11-23 11:04:46,474 INFO L273 TraceCheckUtils]: 14: Hoare triple {39#false} assume 2bv32 != #t~mem7;havoc #t~mem7; {39#false} is VALID [2018-11-23 11:04:46,474 INFO L273 TraceCheckUtils]: 15: Hoare triple {39#false} assume !false; {39#false} is VALID [2018-11-23 11:04:46,478 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 11:04:46,479 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 11:04:46,484 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:04:46,484 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 11:04:46,489 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 16 [2018-11-23 11:04:46,493 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 11:04:46,496 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 2 states. [2018-11-23 11:04:46,571 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 16 edges. 16 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:04:46,572 INFO L459 AbstractCegarLoop]: Interpolant automaton has 2 states [2018-11-23 11:04:46,580 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-11-23 11:04:46,580 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 11:04:46,583 INFO L87 Difference]: Start difference. First operand 35 states. Second operand 2 states. [2018-11-23 11:04:46,890 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:04:46,891 INFO L93 Difference]: Finished difference Result 53 states and 76 transitions. [2018-11-23 11:04:46,891 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-11-23 11:04:46,891 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 16 [2018-11-23 11:04:46,892 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:04:46,893 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2018-11-23 11:04:46,907 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 76 transitions. [2018-11-23 11:04:46,907 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2018-11-23 11:04:46,911 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 76 transitions. [2018-11-23 11:04:46,911 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 2 states and 76 transitions. [2018-11-23 11:04:47,391 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 76 edges. 76 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:04:47,405 INFO L225 Difference]: With dead ends: 53 [2018-11-23 11:04:47,405 INFO L226 Difference]: Without dead ends: 26 [2018-11-23 11:04:47,410 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 15 GetRequests, 15 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 11:04:47,433 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 26 states. [2018-11-23 11:04:47,566 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 26 to 26. [2018-11-23 11:04:47,566 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 11:04:47,567 INFO L82 GeneralOperation]: Start isEquivalent. First operand 26 states. Second operand 26 states. [2018-11-23 11:04:47,568 INFO L74 IsIncluded]: Start isIncluded. First operand 26 states. Second operand 26 states. [2018-11-23 11:04:47,569 INFO L87 Difference]: Start difference. First operand 26 states. Second operand 26 states. [2018-11-23 11:04:47,573 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:04:47,574 INFO L93 Difference]: Finished difference Result 26 states and 32 transitions. [2018-11-23 11:04:47,574 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 32 transitions. [2018-11-23 11:04:47,575 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:04:47,575 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:04:47,575 INFO L74 IsIncluded]: Start isIncluded. First operand 26 states. Second operand 26 states. [2018-11-23 11:04:47,575 INFO L87 Difference]: Start difference. First operand 26 states. Second operand 26 states. [2018-11-23 11:04:47,580 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:04:47,580 INFO L93 Difference]: Finished difference Result 26 states and 32 transitions. [2018-11-23 11:04:47,580 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 32 transitions. [2018-11-23 11:04:47,581 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:04:47,581 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:04:47,582 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 11:04:47,582 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 11:04:47,582 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 26 states. [2018-11-23 11:04:47,585 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 26 states and 32 transitions. [2018-11-23 11:04:47,587 INFO L78 Accepts]: Start accepts. Automaton has 26 states and 32 transitions. Word has length 16 [2018-11-23 11:04:47,587 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:04:47,588 INFO L480 AbstractCegarLoop]: Abstraction has 26 states and 32 transitions. [2018-11-23 11:04:47,588 INFO L481 AbstractCegarLoop]: Interpolant automaton has 2 states. [2018-11-23 11:04:47,588 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 32 transitions. [2018-11-23 11:04:47,589 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2018-11-23 11:04:47,589 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:04:47,589 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:04:47,590 INFO L423 AbstractCegarLoop]: === Iteration 2 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:04:47,590 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:04:47,590 INFO L82 PathProgramCache]: Analyzing trace with hash -591835163, now seen corresponding path program 1 times [2018-11-23 11:04:47,591 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:04:47,591 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4nyu Starting monitored process 3 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk [2018-11-23 11:04:47,621 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:04:47,653 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:04:47,691 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:04:47,693 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:04:48,251 WARN L180 SmtUtils]: Spent 112.00 ms on a formula simplification that was a NOOP. DAG size: 9 [2018-11-23 11:04:48,399 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 8 [2018-11-23 11:04:48,408 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 8 treesize of output 7 [2018-11-23 11:04:48,413 INFO L267 ElimStorePlain]: Start of recursive call 3: End of recursive call: and 1 xjuncts. [2018-11-23 11:04:48,420 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-23 11:04:48,441 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-0 vars, 1 dim-2 vars, End of recursive call: 1 dim-0 vars, and 1 xjuncts. [2018-11-23 11:04:48,441 INFO L202 ElimStorePlain]: Needed 3 recursive calls to eliminate 2 variables, input treesize:19, output treesize:15 [2018-11-23 11:04:48,668 INFO L256 TraceCheckUtils]: 0: Hoare triple {244#true} call ULTIMATE.init(); {244#true} is VALID [2018-11-23 11:04:48,668 INFO L273 TraceCheckUtils]: 1: Hoare triple {244#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; {244#true} is VALID [2018-11-23 11:04:48,669 INFO L273 TraceCheckUtils]: 2: Hoare triple {244#true} assume true; {244#true} is VALID [2018-11-23 11:04:48,669 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {244#true} {244#true} #111#return; {244#true} is VALID [2018-11-23 11:04:48,669 INFO L256 TraceCheckUtils]: 4: Hoare triple {244#true} call #t~ret11 := main(); {244#true} is VALID [2018-11-23 11:04:48,670 INFO L273 TraceCheckUtils]: 5: Hoare triple {244#true} ~flag~0 := 1bv32;call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32);~a~0.base, ~a~0.offset := #t~malloc0.base, #t~malloc0.offset; {264#(= main_~a~0.offset (_ bv0 32))} is VALID [2018-11-23 11:04:48,671 INFO L273 TraceCheckUtils]: 6: Hoare triple {264#(= main_~a~0.offset (_ bv0 32))} assume !(~a~0.base == 0bv32 && ~a~0.offset == 0bv32); {264#(= main_~a~0.offset (_ bv0 32))} is VALID [2018-11-23 11:04:48,674 INFO L273 TraceCheckUtils]: 7: Hoare triple {264#(= main_~a~0.offset (_ bv0 32))} havoc ~t~0.base, ~t~0.offset;havoc ~l1~0.base, ~l1~0.offset;havoc ~l2~0.base, ~l2~0.offset;havoc ~b~0.base, ~b~0.offset;havoc ~u~0.base, ~u~0.offset;~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; {271#(and (= main_~p~0.base main_~a~0.base) (= main_~a~0.offset (_ bv0 32)) (= main_~a~0.offset main_~p~0.offset))} is VALID [2018-11-23 11:04:48,674 INFO L273 TraceCheckUtils]: 8: Hoare triple {271#(and (= main_~p~0.base main_~a~0.base) (= main_~a~0.offset (_ bv0 32)) (= main_~a~0.offset main_~p~0.offset))} assume !(0bv32 != #t~nondet1);havoc #t~nondet1; {271#(and (= main_~p~0.base main_~a~0.base) (= main_~a~0.offset (_ bv0 32)) (= main_~a~0.offset main_~p~0.offset))} is VALID [2018-11-23 11:04:48,676 INFO L273 TraceCheckUtils]: 9: Hoare triple {271#(and (= main_~p~0.base main_~a~0.base) (= main_~a~0.offset (_ bv0 32)) (= main_~a~0.offset main_~p~0.offset))} call write~intINTTYPE4(3bv32, ~p~0.base, ~p~0.offset, 4bv32);call #t~mem4 := read~intINTTYPE4(~a~0.base, ~a~0.offset, 4bv32); {278#(exists ((main_~p~0.base (_ BitVec 32))) (and (= (bvadd (select (select |#memory_int| main_~p~0.base) (_ bv0 32)) (_ bv4294967293 32)) (_ bv0 32)) (= (select (select |#memory_int| main_~p~0.base) (_ bv0 32)) |main_#t~mem4|)))} is VALID [2018-11-23 11:04:48,678 INFO L273 TraceCheckUtils]: 10: Hoare triple {278#(exists ((main_~p~0.base (_ BitVec 32))) (and (= (bvadd (select (select |#memory_int| main_~p~0.base) (_ bv0 32)) (_ bv4294967293 32)) (_ bv0 32)) (= (select (select |#memory_int| main_~p~0.base) (_ bv0 32)) |main_#t~mem4|)))} assume !(3bv32 == #t~mem4);havoc #t~mem4;~flag~0 := 1bv32;~l1~0.base, ~l1~0.offset := 0bv32, 0bv32;~l2~0.base, ~l2~0.offset := 0bv32, 0bv32;~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; {245#false} is VALID [2018-11-23 11:04:48,678 INFO L273 TraceCheckUtils]: 11: Hoare triple {245#false} call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); {245#false} is VALID [2018-11-23 11:04:48,679 INFO L273 TraceCheckUtils]: 12: Hoare triple {245#false} assume !(3bv32 != #t~mem5);havoc #t~mem5; {245#false} is VALID [2018-11-23 11:04:48,679 INFO L273 TraceCheckUtils]: 13: Hoare triple {245#false} ~p~0.base, ~p~0.offset := ~l1~0.base, ~l1~0.offset; {245#false} is VALID [2018-11-23 11:04:48,680 INFO L273 TraceCheckUtils]: 14: Hoare triple {245#false} assume !!(~p~0.base != 0bv32 || ~p~0.offset != 0bv32);call #t~mem7 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); {245#false} is VALID [2018-11-23 11:04:48,680 INFO L273 TraceCheckUtils]: 15: Hoare triple {245#false} assume 2bv32 != #t~mem7;havoc #t~mem7; {245#false} is VALID [2018-11-23 11:04:48,681 INFO L273 TraceCheckUtils]: 16: Hoare triple {245#false} assume !false; {245#false} is VALID [2018-11-23 11:04:48,687 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 11:04:48,687 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 11:04:48,689 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:04:48,689 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2018-11-23 11:04:48,691 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 17 [2018-11-23 11:04:48,691 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 11:04:48,691 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 5 states. [2018-11-23 11:04:48,819 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 17 edges. 17 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:04:48,819 INFO L459 AbstractCegarLoop]: Interpolant automaton has 5 states [2018-11-23 11:04:48,819 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-11-23 11:04:48,820 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=8, Invalid=12, Unknown=0, NotChecked=0, Total=20 [2018-11-23 11:04:48,820 INFO L87 Difference]: Start difference. First operand 26 states and 32 transitions. Second operand 5 states. [2018-11-23 11:04:49,566 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:04:49,566 INFO L93 Difference]: Finished difference Result 47 states and 60 transitions. [2018-11-23 11:04:49,567 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-11-23 11:04:49,567 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 17 [2018-11-23 11:04:49,567 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:04:49,567 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2018-11-23 11:04:49,570 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 60 transitions. [2018-11-23 11:04:49,571 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2018-11-23 11:04:49,573 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 60 transitions. [2018-11-23 11:04:49,573 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 5 states and 60 transitions. [2018-11-23 11:04:49,730 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 60 edges. 60 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:04:49,732 INFO L225 Difference]: With dead ends: 47 [2018-11-23 11:04:49,732 INFO L226 Difference]: Without dead ends: 34 [2018-11-23 11:04:49,733 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 17 GetRequests, 13 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.4s TimeCoverageRelationStatistics Valid=13, Invalid=17, Unknown=0, NotChecked=0, Total=30 [2018-11-23 11:04:49,734 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 34 states. [2018-11-23 11:04:49,762 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 34 to 27. [2018-11-23 11:04:49,762 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 11:04:49,763 INFO L82 GeneralOperation]: Start isEquivalent. First operand 34 states. Second operand 27 states. [2018-11-23 11:04:49,763 INFO L74 IsIncluded]: Start isIncluded. First operand 34 states. Second operand 27 states. [2018-11-23 11:04:49,763 INFO L87 Difference]: Start difference. First operand 34 states. Second operand 27 states. [2018-11-23 11:04:49,766 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:04:49,766 INFO L93 Difference]: Finished difference Result 34 states and 42 transitions. [2018-11-23 11:04:49,767 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 42 transitions. [2018-11-23 11:04:49,767 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:04:49,767 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:04:49,768 INFO L74 IsIncluded]: Start isIncluded. First operand 27 states. Second operand 34 states. [2018-11-23 11:04:49,768 INFO L87 Difference]: Start difference. First operand 27 states. Second operand 34 states. [2018-11-23 11:04:49,771 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:04:49,771 INFO L93 Difference]: Finished difference Result 34 states and 42 transitions. [2018-11-23 11:04:49,771 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 42 transitions. [2018-11-23 11:04:49,772 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:04:49,772 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:04:49,772 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 11:04:49,772 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 11:04:49,773 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 27 states. [2018-11-23 11:04:49,775 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 27 states and 33 transitions. [2018-11-23 11:04:49,775 INFO L78 Accepts]: Start accepts. Automaton has 27 states and 33 transitions. Word has length 17 [2018-11-23 11:04:49,775 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:04:49,775 INFO L480 AbstractCegarLoop]: Abstraction has 27 states and 33 transitions. [2018-11-23 11:04:49,776 INFO L481 AbstractCegarLoop]: Interpolant automaton has 5 states. [2018-11-23 11:04:49,776 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 33 transitions. [2018-11-23 11:04:49,776 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 23 [2018-11-23 11:04:49,777 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:04:49,777 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:04:49,777 INFO L423 AbstractCegarLoop]: === Iteration 3 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:04:49,777 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:04:49,779 INFO L82 PathProgramCache]: Analyzing trace with hash 1572852224, now seen corresponding path program 1 times [2018-11-23 11:04:49,780 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:04:49,780 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4nyu Starting monitored process 4 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 4 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk [2018-11-23 11:04:49,799 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:04:49,832 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:04:49,850 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:04:49,851 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:04:49,896 INFO L256 TraceCheckUtils]: 0: Hoare triple {468#true} call ULTIMATE.init(); {468#true} is VALID [2018-11-23 11:04:49,896 INFO L273 TraceCheckUtils]: 1: Hoare triple {468#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; {468#true} is VALID [2018-11-23 11:04:49,897 INFO L273 TraceCheckUtils]: 2: Hoare triple {468#true} assume true; {468#true} is VALID [2018-11-23 11:04:49,897 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {468#true} {468#true} #111#return; {468#true} is VALID [2018-11-23 11:04:49,897 INFO L256 TraceCheckUtils]: 4: Hoare triple {468#true} call #t~ret11 := main(); {468#true} is VALID [2018-11-23 11:04:49,898 INFO L273 TraceCheckUtils]: 5: Hoare triple {468#true} ~flag~0 := 1bv32;call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32);~a~0.base, ~a~0.offset := #t~malloc0.base, #t~malloc0.offset; {488#(= (bvadd main_~flag~0 (_ bv4294967295 32)) (_ bv0 32))} is VALID [2018-11-23 11:04:49,900 INFO L273 TraceCheckUtils]: 6: Hoare triple {488#(= (bvadd main_~flag~0 (_ bv4294967295 32)) (_ bv0 32))} assume !(~a~0.base == 0bv32 && ~a~0.offset == 0bv32); {488#(= (bvadd main_~flag~0 (_ bv4294967295 32)) (_ bv0 32))} is VALID [2018-11-23 11:04:49,900 INFO L273 TraceCheckUtils]: 7: Hoare triple {488#(= (bvadd main_~flag~0 (_ bv4294967295 32)) (_ bv0 32))} havoc ~t~0.base, ~t~0.offset;havoc ~l1~0.base, ~l1~0.offset;havoc ~l2~0.base, ~l2~0.offset;havoc ~b~0.base, ~b~0.offset;havoc ~u~0.base, ~u~0.offset;~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; {488#(= (bvadd main_~flag~0 (_ bv4294967295 32)) (_ bv0 32))} is VALID [2018-11-23 11:04:49,909 INFO L273 TraceCheckUtils]: 8: Hoare triple {488#(= (bvadd main_~flag~0 (_ bv4294967295 32)) (_ bv0 32))} assume !!(0bv32 != #t~nondet1);havoc #t~nondet1; {488#(= (bvadd main_~flag~0 (_ bv4294967295 32)) (_ bv0 32))} is VALID [2018-11-23 11:04:49,910 INFO L273 TraceCheckUtils]: 9: Hoare triple {488#(= (bvadd main_~flag~0 (_ bv4294967295 32)) (_ bv0 32))} assume !(0bv32 != ~flag~0);call write~intINTTYPE4(2bv32, ~p~0.base, ~p~0.offset, 4bv32);~flag~0 := 1bv32; {469#false} is VALID [2018-11-23 11:04:49,911 INFO L273 TraceCheckUtils]: 10: Hoare triple {469#false} call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(8bv32);~t~0.base, ~t~0.offset := #t~malloc2.base, #t~malloc2.offset; {469#false} is VALID [2018-11-23 11:04:49,911 INFO L273 TraceCheckUtils]: 11: Hoare triple {469#false} assume !(~t~0.base == 0bv32 && ~t~0.offset == 0bv32); {469#false} is VALID [2018-11-23 11:04:49,911 INFO L273 TraceCheckUtils]: 12: Hoare triple {469#false} call write~$Pointer$(~t~0.base, ~t~0.offset, ~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32);call #t~mem3.base, #t~mem3.offset := read~$Pointer$(~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32);~p~0.base, ~p~0.offset := #t~mem3.base, #t~mem3.offset;havoc #t~mem3.base, #t~mem3.offset; {469#false} is VALID [2018-11-23 11:04:49,912 INFO L273 TraceCheckUtils]: 13: Hoare triple {469#false} assume !(0bv32 != #t~nondet1);havoc #t~nondet1; {469#false} is VALID [2018-11-23 11:04:49,912 INFO L273 TraceCheckUtils]: 14: Hoare triple {469#false} call write~intINTTYPE4(3bv32, ~p~0.base, ~p~0.offset, 4bv32);call #t~mem4 := read~intINTTYPE4(~a~0.base, ~a~0.offset, 4bv32); {469#false} is VALID [2018-11-23 11:04:49,912 INFO L273 TraceCheckUtils]: 15: Hoare triple {469#false} assume !(3bv32 == #t~mem4);havoc #t~mem4;~flag~0 := 1bv32;~l1~0.base, ~l1~0.offset := 0bv32, 0bv32;~l2~0.base, ~l2~0.offset := 0bv32, 0bv32;~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; {469#false} is VALID [2018-11-23 11:04:49,913 INFO L273 TraceCheckUtils]: 16: Hoare triple {469#false} call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); {469#false} is VALID [2018-11-23 11:04:49,913 INFO L273 TraceCheckUtils]: 17: Hoare triple {469#false} assume !(3bv32 != #t~mem5);havoc #t~mem5; {469#false} is VALID [2018-11-23 11:04:49,913 INFO L273 TraceCheckUtils]: 18: Hoare triple {469#false} ~p~0.base, ~p~0.offset := ~l1~0.base, ~l1~0.offset; {469#false} is VALID [2018-11-23 11:04:49,914 INFO L273 TraceCheckUtils]: 19: Hoare triple {469#false} assume !!(~p~0.base != 0bv32 || ~p~0.offset != 0bv32);call #t~mem7 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); {469#false} is VALID [2018-11-23 11:04:49,914 INFO L273 TraceCheckUtils]: 20: Hoare triple {469#false} assume 2bv32 != #t~mem7;havoc #t~mem7; {469#false} is VALID [2018-11-23 11:04:49,914 INFO L273 TraceCheckUtils]: 21: Hoare triple {469#false} assume !false; {469#false} is VALID [2018-11-23 11:04:49,916 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 11:04:49,916 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 11:04:49,918 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:04:49,919 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 11:04:49,919 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 22 [2018-11-23 11:04:49,919 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 11:04:49,921 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2018-11-23 11:04:49,951 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 22 edges. 22 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:04:49,951 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 11:04:49,952 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 11:04:49,952 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 11:04:49,952 INFO L87 Difference]: Start difference. First operand 27 states and 33 transitions. Second operand 3 states. [2018-11-23 11:04:50,253 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:04:50,253 INFO L93 Difference]: Finished difference Result 63 states and 81 transitions. [2018-11-23 11:04:50,253 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 11:04:50,254 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 22 [2018-11-23 11:04:50,254 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:04:50,254 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2018-11-23 11:04:50,259 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 80 transitions. [2018-11-23 11:04:50,260 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2018-11-23 11:04:50,264 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 80 transitions. [2018-11-23 11:04:50,264 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 80 transitions. [2018-11-23 11:04:50,596 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 80 edges. 80 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:04:50,600 INFO L225 Difference]: With dead ends: 63 [2018-11-23 11:04:50,600 INFO L226 Difference]: Without dead ends: 45 [2018-11-23 11:04:50,601 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 21 GetRequests, 20 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 11:04:50,601 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 45 states. [2018-11-23 11:04:50,634 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 45 to 35. [2018-11-23 11:04:50,634 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 11:04:50,634 INFO L82 GeneralOperation]: Start isEquivalent. First operand 45 states. Second operand 35 states. [2018-11-23 11:04:50,635 INFO L74 IsIncluded]: Start isIncluded. First operand 45 states. Second operand 35 states. [2018-11-23 11:04:50,635 INFO L87 Difference]: Start difference. First operand 45 states. Second operand 35 states. [2018-11-23 11:04:50,642 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:04:50,642 INFO L93 Difference]: Finished difference Result 45 states and 55 transitions. [2018-11-23 11:04:50,642 INFO L276 IsEmpty]: Start isEmpty. Operand 45 states and 55 transitions. [2018-11-23 11:04:50,643 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:04:50,643 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:04:50,643 INFO L74 IsIncluded]: Start isIncluded. First operand 35 states. Second operand 45 states. [2018-11-23 11:04:50,644 INFO L87 Difference]: Start difference. First operand 35 states. Second operand 45 states. [2018-11-23 11:04:50,647 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:04:50,647 INFO L93 Difference]: Finished difference Result 45 states and 55 transitions. [2018-11-23 11:04:50,647 INFO L276 IsEmpty]: Start isEmpty. Operand 45 states and 55 transitions. [2018-11-23 11:04:50,648 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:04:50,648 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:04:50,648 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 11:04:50,648 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 11:04:50,649 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 35 states. [2018-11-23 11:04:50,651 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 35 states and 43 transitions. [2018-11-23 11:04:50,651 INFO L78 Accepts]: Start accepts. Automaton has 35 states and 43 transitions. Word has length 22 [2018-11-23 11:04:50,651 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:04:50,651 INFO L480 AbstractCegarLoop]: Abstraction has 35 states and 43 transitions. [2018-11-23 11:04:50,651 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 11:04:50,652 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 43 transitions. [2018-11-23 11:04:50,652 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 23 [2018-11-23 11:04:50,653 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:04:50,653 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:04:50,653 INFO L423 AbstractCegarLoop]: === Iteration 4 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:04:50,653 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:04:50,653 INFO L82 PathProgramCache]: Analyzing trace with hash -2135309058, now seen corresponding path program 1 times [2018-11-23 11:04:50,654 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:04:50,654 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4nyu Starting monitored process 5 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 5 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk [2018-11-23 11:04:50,672 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:04:50,717 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:04:50,732 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:04:50,734 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:04:50,854 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 2, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 18 treesize of output 14 [2018-11-23 11:04:50,860 INFO L478 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 14 treesize of output 6 [2018-11-23 11:04:50,871 INFO L267 ElimStorePlain]: Start of recursive call 3: End of recursive call: and 1 xjuncts. [2018-11-23 11:04:50,878 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-23 11:04:50,880 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-0 vars, 1 dim-2 vars, End of recursive call: and 1 xjuncts. [2018-11-23 11:04:50,881 INFO L202 ElimStorePlain]: Needed 3 recursive calls to eliminate 2 variables, input treesize:18, output treesize:6 [2018-11-23 11:04:50,884 WARN L383 uantifierElimination]: Trying to double check SDD result, but SMT solver's response was UNKNOWN. [2018-11-23 11:04:50,884 WARN L384 uantifierElimination]: Input elimination task: ∃ [|#memory_int|, main_~p~0.base]. (let ((.cse0 (select (select |#memory_int| main_~p~0.base) (_ bv0 32)))) (and (not (= (bvadd .cse0 (_ bv4294967293 32)) (_ bv0 32))) (= .cse0 |main_#t~mem5|))) [2018-11-23 11:04:50,885 WARN L385 uantifierElimination]: ElimStorePlain result: ∃ []. (not (= (_ bv0 32) (bvadd |main_#t~mem5| (_ bv4294967293 32)))) [2018-11-23 11:04:50,900 INFO L256 TraceCheckUtils]: 0: Hoare triple {756#true} call ULTIMATE.init(); {756#true} is VALID [2018-11-23 11:04:50,900 INFO L273 TraceCheckUtils]: 1: Hoare triple {756#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; {756#true} is VALID [2018-11-23 11:04:50,901 INFO L273 TraceCheckUtils]: 2: Hoare triple {756#true} assume true; {756#true} is VALID [2018-11-23 11:04:50,901 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {756#true} {756#true} #111#return; {756#true} is VALID [2018-11-23 11:04:50,901 INFO L256 TraceCheckUtils]: 4: Hoare triple {756#true} call #t~ret11 := main(); {756#true} is VALID [2018-11-23 11:04:50,902 INFO L273 TraceCheckUtils]: 5: Hoare triple {756#true} ~flag~0 := 1bv32;call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32);~a~0.base, ~a~0.offset := #t~malloc0.base, #t~malloc0.offset; {776#(= main_~a~0.offset (_ bv0 32))} is VALID [2018-11-23 11:04:50,903 INFO L273 TraceCheckUtils]: 6: Hoare triple {776#(= main_~a~0.offset (_ bv0 32))} assume !(~a~0.base == 0bv32 && ~a~0.offset == 0bv32); {776#(= main_~a~0.offset (_ bv0 32))} is VALID [2018-11-23 11:04:50,905 INFO L273 TraceCheckUtils]: 7: Hoare triple {776#(= main_~a~0.offset (_ bv0 32))} havoc ~t~0.base, ~t~0.offset;havoc ~l1~0.base, ~l1~0.offset;havoc ~l2~0.base, ~l2~0.offset;havoc ~b~0.base, ~b~0.offset;havoc ~u~0.base, ~u~0.offset;~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; {776#(= main_~a~0.offset (_ bv0 32))} is VALID [2018-11-23 11:04:50,906 INFO L273 TraceCheckUtils]: 8: Hoare triple {776#(= main_~a~0.offset (_ bv0 32))} assume !!(0bv32 != #t~nondet1);havoc #t~nondet1; {776#(= main_~a~0.offset (_ bv0 32))} is VALID [2018-11-23 11:04:50,906 INFO L273 TraceCheckUtils]: 9: Hoare triple {776#(= main_~a~0.offset (_ bv0 32))} assume 0bv32 != ~flag~0;call write~intINTTYPE4(1bv32, ~p~0.base, ~p~0.offset, 4bv32);~flag~0 := 0bv32; {776#(= main_~a~0.offset (_ bv0 32))} is VALID [2018-11-23 11:04:50,907 INFO L273 TraceCheckUtils]: 10: Hoare triple {776#(= main_~a~0.offset (_ bv0 32))} call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(8bv32);~t~0.base, ~t~0.offset := #t~malloc2.base, #t~malloc2.offset; {776#(= main_~a~0.offset (_ bv0 32))} is VALID [2018-11-23 11:04:50,908 INFO L273 TraceCheckUtils]: 11: Hoare triple {776#(= main_~a~0.offset (_ bv0 32))} assume !(~t~0.base == 0bv32 && ~t~0.offset == 0bv32); {776#(= main_~a~0.offset (_ bv0 32))} is VALID [2018-11-23 11:04:50,908 INFO L273 TraceCheckUtils]: 12: Hoare triple {776#(= main_~a~0.offset (_ bv0 32))} call write~$Pointer$(~t~0.base, ~t~0.offset, ~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32);call #t~mem3.base, #t~mem3.offset := read~$Pointer$(~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32);~p~0.base, ~p~0.offset := #t~mem3.base, #t~mem3.offset;havoc #t~mem3.base, #t~mem3.offset; {776#(= main_~a~0.offset (_ bv0 32))} is VALID [2018-11-23 11:04:50,909 INFO L273 TraceCheckUtils]: 13: Hoare triple {776#(= main_~a~0.offset (_ bv0 32))} assume !(0bv32 != #t~nondet1);havoc #t~nondet1; {776#(= main_~a~0.offset (_ bv0 32))} is VALID [2018-11-23 11:04:50,911 INFO L273 TraceCheckUtils]: 14: Hoare triple {776#(= main_~a~0.offset (_ bv0 32))} call write~intINTTYPE4(3bv32, ~p~0.base, ~p~0.offset, 4bv32);call #t~mem4 := read~intINTTYPE4(~a~0.base, ~a~0.offset, 4bv32); {804#(and (= main_~a~0.offset (_ bv0 32)) (= |main_#t~mem4| (select (select |#memory_int| main_~a~0.base) main_~a~0.offset)))} is VALID [2018-11-23 11:04:50,914 INFO L273 TraceCheckUtils]: 15: Hoare triple {804#(and (= main_~a~0.offset (_ bv0 32)) (= |main_#t~mem4| (select (select |#memory_int| main_~a~0.base) main_~a~0.offset)))} assume !(3bv32 == #t~mem4);havoc #t~mem4;~flag~0 := 1bv32;~l1~0.base, ~l1~0.offset := 0bv32, 0bv32;~l2~0.base, ~l2~0.offset := 0bv32, 0bv32;~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; {808#(and (= main_~p~0.offset (_ bv0 32)) (not (= (bvadd (select (select |#memory_int| main_~p~0.base) (_ bv0 32)) (_ bv4294967293 32)) (_ bv0 32))))} is VALID [2018-11-23 11:04:50,919 INFO L273 TraceCheckUtils]: 16: Hoare triple {808#(and (= main_~p~0.offset (_ bv0 32)) (not (= (bvadd (select (select |#memory_int| main_~p~0.base) (_ bv0 32)) (_ bv4294967293 32)) (_ bv0 32))))} call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); {812#(not (= (_ bv3 32) |main_#t~mem5|))} is VALID [2018-11-23 11:04:50,920 INFO L273 TraceCheckUtils]: 17: Hoare triple {812#(not (= (_ bv3 32) |main_#t~mem5|))} assume !(3bv32 != #t~mem5);havoc #t~mem5; {757#false} is VALID [2018-11-23 11:04:50,920 INFO L273 TraceCheckUtils]: 18: Hoare triple {757#false} ~p~0.base, ~p~0.offset := ~l1~0.base, ~l1~0.offset; {757#false} is VALID [2018-11-23 11:04:50,920 INFO L273 TraceCheckUtils]: 19: Hoare triple {757#false} assume !!(~p~0.base != 0bv32 || ~p~0.offset != 0bv32);call #t~mem7 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); {757#false} is VALID [2018-11-23 11:04:50,920 INFO L273 TraceCheckUtils]: 20: Hoare triple {757#false} assume 2bv32 != #t~mem7;havoc #t~mem7; {757#false} is VALID [2018-11-23 11:04:50,921 INFO L273 TraceCheckUtils]: 21: Hoare triple {757#false} assume !false; {757#false} is VALID [2018-11-23 11:04:50,922 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 11:04:50,922 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 11:04:50,925 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:04:50,925 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2018-11-23 11:04:50,925 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 22 [2018-11-23 11:04:50,926 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 11:04:50,926 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 6 states. [2018-11-23 11:04:50,961 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 22 edges. 22 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:04:50,962 INFO L459 AbstractCegarLoop]: Interpolant automaton has 6 states [2018-11-23 11:04:50,962 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2018-11-23 11:04:50,962 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=10, Invalid=20, Unknown=0, NotChecked=0, Total=30 [2018-11-23 11:04:50,963 INFO L87 Difference]: Start difference. First operand 35 states and 43 transitions. Second operand 6 states. [2018-11-23 11:04:51,548 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:04:51,549 INFO L93 Difference]: Finished difference Result 45 states and 56 transitions. [2018-11-23 11:04:51,549 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2018-11-23 11:04:51,549 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 22 [2018-11-23 11:04:51,550 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:04:51,550 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2018-11-23 11:04:51,552 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 45 transitions. [2018-11-23 11:04:51,552 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2018-11-23 11:04:51,554 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 45 transitions. [2018-11-23 11:04:51,555 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 6 states and 45 transitions. [2018-11-23 11:04:51,718 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 45 edges. 45 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:04:51,719 INFO L225 Difference]: With dead ends: 45 [2018-11-23 11:04:51,719 INFO L226 Difference]: Without dead ends: 37 [2018-11-23 11:04:51,720 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 23 GetRequests, 17 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=20, Invalid=36, Unknown=0, NotChecked=0, Total=56 [2018-11-23 11:04:51,720 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 37 states. [2018-11-23 11:04:51,772 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 37 to 37. [2018-11-23 11:04:51,772 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 11:04:51,773 INFO L82 GeneralOperation]: Start isEquivalent. First operand 37 states. Second operand 37 states. [2018-11-23 11:04:51,773 INFO L74 IsIncluded]: Start isIncluded. First operand 37 states. Second operand 37 states. [2018-11-23 11:04:51,773 INFO L87 Difference]: Start difference. First operand 37 states. Second operand 37 states. [2018-11-23 11:04:51,776 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:04:51,776 INFO L93 Difference]: Finished difference Result 37 states and 45 transitions. [2018-11-23 11:04:51,776 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 45 transitions. [2018-11-23 11:04:51,777 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:04:51,777 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:04:51,777 INFO L74 IsIncluded]: Start isIncluded. First operand 37 states. Second operand 37 states. [2018-11-23 11:04:51,777 INFO L87 Difference]: Start difference. First operand 37 states. Second operand 37 states. [2018-11-23 11:04:51,779 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:04:51,779 INFO L93 Difference]: Finished difference Result 37 states and 45 transitions. [2018-11-23 11:04:51,780 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 45 transitions. [2018-11-23 11:04:51,780 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:04:51,780 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:04:51,781 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 11:04:51,781 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 11:04:51,781 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 37 states. [2018-11-23 11:04:51,783 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 37 states and 45 transitions. [2018-11-23 11:04:51,783 INFO L78 Accepts]: Start accepts. Automaton has 37 states and 45 transitions. Word has length 22 [2018-11-23 11:04:51,783 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:04:51,783 INFO L480 AbstractCegarLoop]: Abstraction has 37 states and 45 transitions. [2018-11-23 11:04:51,784 INFO L481 AbstractCegarLoop]: Interpolant automaton has 6 states. [2018-11-23 11:04:51,784 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 45 transitions. [2018-11-23 11:04:51,785 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2018-11-23 11:04:51,785 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:04:51,785 INFO L402 BasicCegarLoop]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:04:51,785 INFO L423 AbstractCegarLoop]: === Iteration 5 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:04:51,785 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:04:51,786 INFO L82 PathProgramCache]: Analyzing trace with hash 626248550, now seen corresponding path program 1 times [2018-11-23 11:04:51,786 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:04:51,786 INFO L69 tionRefinementEngine]: Using refinement strategy WolfRefinementStrategy No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/cvc4nyu Starting monitored process 6 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 6 with cvc4nyu --tear-down-incremental --print-success --lang smt --rewrite-divk [2018-11-23 11:04:51,807 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:04:51,888 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:04:51,983 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:04:52,035 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32)] [?] RET #111#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] CALL call #t~ret11 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] ~flag~0 := 1bv32;call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32);~a~0.base, ~a~0.offset := #t~malloc0.base, #t~malloc0.offset; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32)] [?] assume !(~a~0.base == 0bv32 && ~a~0.offset == 0bv32); VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32)] [?] havoc ~t~0.base, ~t~0.offset;havoc ~l1~0.base, ~l1~0.offset;havoc ~l2~0.base, ~l2~0.offset;havoc ~b~0.base, ~b~0.offset;havoc ~u~0.base, ~u~0.offset;~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32)] [?] assume !!(0bv32 != #t~nondet1);havoc #t~nondet1; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32)] [?] assume 0bv32 != ~flag~0;call write~intINTTYPE4(1bv32, ~p~0.base, ~p~0.offset, 4bv32);~flag~0 := 0bv32; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32)] [?] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(8bv32);~t~0.base, ~t~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv3229712517 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] assume !(~t~0.base == 0bv32 && ~t~0.offset == 0bv32); VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv3229712517 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] call write~$Pointer$(~t~0.base, ~t~0.offset, ~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32);call #t~mem3.base, #t~mem3.offset := read~$Pointer$(~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32);~p~0.base, ~p~0.offset := #t~mem3.base, #t~mem3.offset;havoc #t~mem3.base, #t~mem3.offset; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv3229712517 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv3229712517 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] assume !(0bv32 != #t~nondet1);havoc #t~nondet1; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv3229712517 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv3229712517 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] call write~intINTTYPE4(3bv32, ~p~0.base, ~p~0.offset, 4bv32);call #t~mem4 := read~intINTTYPE4(~a~0.base, ~a~0.offset, 4bv32); VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv3229712517 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv3229712517 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32), |main_#t~mem4|=(_ bv1 32)] [?] assume !(3bv32 == #t~mem4);havoc #t~mem4;~flag~0 := 1bv32;~l1~0.base, ~l1~0.offset := 0bv32, 0bv32;~l2~0.base, ~l2~0.offset := 0bv32, 0bv32;~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~l1~0.base=(_ bv0 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv3229712517 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~l1~0.base=(_ bv0 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv3229712517 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32), |main_#t~mem5|=(_ bv1 32)] [?] assume !!(3bv32 != #t~mem5);havoc #t~mem5;~t~0.base, ~t~0.offset := ~p~0.base, ~p~0.offset;call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32);~p~0.base, ~p~0.offset := #t~mem6.base, #t~mem6.offset;havoc #t~mem6.base, #t~mem6.offset; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~l1~0.base=(_ bv0 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv3229712517 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv1 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] assume 0bv32 != ~flag~0;call write~$Pointer$(~l1~0.base, ~l1~0.offset, ~t~0.base, ~bvadd32(4bv32, ~t~0.offset), 4bv32);~l1~0.base, ~l1~0.offset := ~t~0.base, ~t~0.offset;~flag~0 := 0bv32; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~l1~0.base=(_ bv1 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv3229712517 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv1 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~l1~0.base=(_ bv1 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv3229712517 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv1 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32), |main_#t~mem5|=(_ bv3 32)] [?] assume !(3bv32 != #t~mem5);havoc #t~mem5; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~l1~0.base=(_ bv1 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv3229712517 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv1 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] ~p~0.base, ~p~0.offset := ~l1~0.base, ~l1~0.offset; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~l1~0.base=(_ bv1 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv1 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] assume !!(~p~0.base != 0bv32 || ~p~0.offset != 0bv32);call #t~mem7 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~l1~0.base=(_ bv1 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv1 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32), |main_#t~mem7|=(_ bv1 32)] [?] assume 2bv32 != #t~mem7;havoc #t~mem7; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~l1~0.base=(_ bv1 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv1 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] assume !false; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~l1~0.base=(_ bv1 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv1 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [?] CALL call #t~ret11 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L627] ~flag~0 := 1bv32; [L628] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32); [L628] ~a~0.base, ~a~0.offset := #t~malloc0.base, #t~malloc0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32] [L629] assume !(~a~0.base == 0bv32 && ~a~0.offset == 0bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0.base, ~t~0.offset; [L631] havoc ~l1~0.base, ~l1~0.offset; [L632] havoc ~l2~0.base, ~l2~0.offset; [L633] havoc ~b~0.base, ~b~0.offset; [L634] havoc ~u~0.base, ~u~0.offset; [L635] ~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32] [L636-L648] assume !!(0bv32 != #t~nondet1); [L636] havoc #t~nondet1; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32] [L637-L643] assume 0bv32 != ~flag~0; [L638] call write~intINTTYPE4(1bv32, ~p~0.base, ~p~0.offset, 4bv32); [L639] ~flag~0 := 0bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32] [L644] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(8bv32); [L644] ~t~0.base, ~t~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L645] assume !(~t~0.base == 0bv32 && ~t~0.offset == 0bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L646] call write~$Pointer$(~t~0.base, ~t~0.offset, ~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L647] call #t~mem3.base, #t~mem3.offset := read~$Pointer$(~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L647] ~p~0.base, ~p~0.offset := #t~mem3.base, #t~mem3.offset; [L647] havoc #t~mem3.base, #t~mem3.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L636-L648] assume !(0bv32 != #t~nondet1); [L636] havoc #t~nondet1; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L649] call write~intINTTYPE4(3bv32, ~p~0.base, ~p~0.offset, 4bv32); [L650] call #t~mem4 := read~intINTTYPE4(~a~0.base, ~a~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, #t~mem4=1bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L650] assume !(3bv32 == #t~mem4); [L650] havoc #t~mem4; [L651] ~flag~0 := 1bv32; [L652] ~l1~0.base, ~l1~0.offset := 0bv32, 0bv32; [L653] ~l2~0.base, ~l2~0.offset := 0bv32, 0bv32; [L654] ~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~l1~0.base=0bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L655] call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, #t~mem5=1bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~l1~0.base=0bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L655-L667] assume !!(3bv32 != #t~mem5); [L655] havoc #t~mem5; [L656] ~t~0.base, ~t~0.offset := ~p~0.base, ~p~0.offset; [L657] call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L657] ~p~0.base, ~p~0.offset := #t~mem6.base, #t~mem6.offset; [L657] havoc #t~mem6.base, #t~mem6.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~l1~0.base=0bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L658-L666] assume 0bv32 != ~flag~0; [L659] call write~$Pointer$(~l1~0.base, ~l1~0.offset, ~t~0.base, ~bvadd32(4bv32, ~t~0.offset), 4bv32); [L660] ~l1~0.base, ~l1~0.offset := ~t~0.base, ~t~0.offset; [L661] ~flag~0 := 0bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L655] call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, #t~mem5=3bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L655-L667] assume !(3bv32 != #t~mem5); [L655] havoc #t~mem5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L668] ~p~0.base, ~p~0.offset := ~l1~0.base, ~l1~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L669-L672] assume !!(~p~0.base != 0bv32 || ~p~0.offset != 0bv32); [L670] call #t~mem7 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, #t~mem7=1bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L670] assume 2bv32 != #t~mem7; [L670] havoc #t~mem7; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L679] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [?] CALL call #t~ret11 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L627] ~flag~0 := 1bv32; [L628] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32); [L628] ~a~0.base, ~a~0.offset := #t~malloc0.base, #t~malloc0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32] [L629] assume !(~a~0.base == 0bv32 && ~a~0.offset == 0bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0.base, ~t~0.offset; [L631] havoc ~l1~0.base, ~l1~0.offset; [L632] havoc ~l2~0.base, ~l2~0.offset; [L633] havoc ~b~0.base, ~b~0.offset; [L634] havoc ~u~0.base, ~u~0.offset; [L635] ~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32] [L636-L648] assume !!(0bv32 != #t~nondet1); [L636] havoc #t~nondet1; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32] [L637-L643] assume 0bv32 != ~flag~0; [L638] call write~intINTTYPE4(1bv32, ~p~0.base, ~p~0.offset, 4bv32); [L639] ~flag~0 := 0bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32] [L644] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(8bv32); [L644] ~t~0.base, ~t~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L645] assume !(~t~0.base == 0bv32 && ~t~0.offset == 0bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L646] call write~$Pointer$(~t~0.base, ~t~0.offset, ~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L647] call #t~mem3.base, #t~mem3.offset := read~$Pointer$(~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L647] ~p~0.base, ~p~0.offset := #t~mem3.base, #t~mem3.offset; [L647] havoc #t~mem3.base, #t~mem3.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L636-L648] assume !(0bv32 != #t~nondet1); [L636] havoc #t~nondet1; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L649] call write~intINTTYPE4(3bv32, ~p~0.base, ~p~0.offset, 4bv32); [L650] call #t~mem4 := read~intINTTYPE4(~a~0.base, ~a~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, #t~mem4=1bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L650] assume !(3bv32 == #t~mem4); [L650] havoc #t~mem4; [L651] ~flag~0 := 1bv32; [L652] ~l1~0.base, ~l1~0.offset := 0bv32, 0bv32; [L653] ~l2~0.base, ~l2~0.offset := 0bv32, 0bv32; [L654] ~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~l1~0.base=0bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L655] call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, #t~mem5=1bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~l1~0.base=0bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L655-L667] assume !!(3bv32 != #t~mem5); [L655] havoc #t~mem5; [L656] ~t~0.base, ~t~0.offset := ~p~0.base, ~p~0.offset; [L657] call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L657] ~p~0.base, ~p~0.offset := #t~mem6.base, #t~mem6.offset; [L657] havoc #t~mem6.base, #t~mem6.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~l1~0.base=0bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L658-L666] assume 0bv32 != ~flag~0; [L659] call write~$Pointer$(~l1~0.base, ~l1~0.offset, ~t~0.base, ~bvadd32(4bv32, ~t~0.offset), 4bv32); [L660] ~l1~0.base, ~l1~0.offset := ~t~0.base, ~t~0.offset; [L661] ~flag~0 := 0bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L655] call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, #t~mem5=3bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L655-L667] assume !(3bv32 != #t~mem5); [L655] havoc #t~mem5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L668] ~p~0.base, ~p~0.offset := ~l1~0.base, ~l1~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L669-L672] assume !!(~p~0.base != 0bv32 || ~p~0.offset != 0bv32); [L670] call #t~mem7 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, #t~mem7=1bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L670] assume 2bv32 != #t~mem7; [L670] havoc #t~mem7; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L679] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret11 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L627] ~flag~0 := 1bv32; [L628] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L628] ~a~0 := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L629] COND FALSE !(~a~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0; [L631] havoc ~l1~0; [L632] havoc ~l2~0; [L633] havoc ~b~0; [L634] havoc ~u~0; [L635] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L636-L648] COND FALSE !(!(0bv32 != #t~nondet1)) [L636] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L637-L643] COND TRUE 0bv32 != ~flag~0 [L638] FCALL call write~intINTTYPE4(1bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L639] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L644] FCALL call #t~malloc2 := #Ultimate.alloc(8bv32); [L644] ~t~0 := #t~malloc2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L645] COND FALSE !(~t~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L646] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L647] FCALL call #t~mem3 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L647] ~p~0 := #t~mem3; [L647] havoc #t~mem3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L636-L648] COND TRUE !(0bv32 != #t~nondet1) [L636] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L649] FCALL call write~intINTTYPE4(3bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L650] FCALL call #t~mem4 := read~intINTTYPE4({ base: ~a~0!base, offset: ~a~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem4=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L650] COND FALSE !(3bv32 == #t~mem4) [L650] havoc #t~mem4; [L651] ~flag~0 := 1bv32; [L652] ~l1~0 := { base: 0bv32, offset: 0bv32 }; [L653] ~l2~0 := { base: 0bv32, offset: 0bv32 }; [L654] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L655] FCALL call #t~mem5 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem5=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L655-L667] COND FALSE !(!(3bv32 != #t~mem5)) [L655] havoc #t~mem5; [L656] ~t~0 := ~p~0; [L657] FCALL call #t~mem6 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L657] ~p~0 := #t~mem6; [L657] havoc #t~mem6; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L658-L666] COND TRUE 0bv32 != ~flag~0 [L659] FCALL call write~$Pointer$(~l1~0, { base: ~t~0!base, offset: ~bvadd32(4bv32, ~t~0!offset) }, 4bv32); [L660] ~l1~0 := ~t~0; [L661] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L655] FCALL call #t~mem5 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem5=3bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L655-L667] COND TRUE !(3bv32 != #t~mem5) [L655] havoc #t~mem5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L668] ~p~0 := ~l1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L669-L672] COND FALSE !(!(~p~0 != { base: 0bv32, offset: 0bv32 })) [L670] FCALL call #t~mem7 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem7=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L670] COND TRUE 2bv32 != #t~mem7 [L670] havoc #t~mem7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L679] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret11 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L627] ~flag~0 := 1bv32; [L628] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L628] ~a~0 := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L629] COND FALSE !(~a~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0; [L631] havoc ~l1~0; [L632] havoc ~l2~0; [L633] havoc ~b~0; [L634] havoc ~u~0; [L635] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L636-L648] COND FALSE !(!(0bv32 != #t~nondet1)) [L636] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L637-L643] COND TRUE 0bv32 != ~flag~0 [L638] FCALL call write~intINTTYPE4(1bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L639] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L644] FCALL call #t~malloc2 := #Ultimate.alloc(8bv32); [L644] ~t~0 := #t~malloc2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L645] COND FALSE !(~t~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L646] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L647] FCALL call #t~mem3 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L647] ~p~0 := #t~mem3; [L647] havoc #t~mem3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L636-L648] COND TRUE !(0bv32 != #t~nondet1) [L636] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L649] FCALL call write~intINTTYPE4(3bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L650] FCALL call #t~mem4 := read~intINTTYPE4({ base: ~a~0!base, offset: ~a~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem4=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L650] COND FALSE !(3bv32 == #t~mem4) [L650] havoc #t~mem4; [L651] ~flag~0 := 1bv32; [L652] ~l1~0 := { base: 0bv32, offset: 0bv32 }; [L653] ~l2~0 := { base: 0bv32, offset: 0bv32 }; [L654] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L655] FCALL call #t~mem5 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem5=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L655-L667] COND FALSE !(!(3bv32 != #t~mem5)) [L655] havoc #t~mem5; [L656] ~t~0 := ~p~0; [L657] FCALL call #t~mem6 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L657] ~p~0 := #t~mem6; [L657] havoc #t~mem6; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L658-L666] COND TRUE 0bv32 != ~flag~0 [L659] FCALL call write~$Pointer$(~l1~0, { base: ~t~0!base, offset: ~bvadd32(4bv32, ~t~0!offset) }, 4bv32); [L660] ~l1~0 := ~t~0; [L661] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L655] FCALL call #t~mem5 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem5=3bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L655-L667] COND TRUE !(3bv32 != #t~mem5) [L655] havoc #t~mem5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L668] ~p~0 := ~l1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L669-L672] COND FALSE !(!(~p~0 != { base: 0bv32, offset: 0bv32 })) [L670] FCALL call #t~mem7 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem7=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L670] COND TRUE 2bv32 != #t~mem7 [L670] havoc #t~mem7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L679] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret11 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L627] ~flag~0 := 1bv32; [L628] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L628] ~a~0 := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L629] COND FALSE !(~a~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0; [L631] havoc ~l1~0; [L632] havoc ~l2~0; [L633] havoc ~b~0; [L634] havoc ~u~0; [L635] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L636-L648] COND FALSE !(!(0bv32 != #t~nondet1)) [L636] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L637-L643] COND TRUE 0bv32 != ~flag~0 [L638] FCALL call write~intINTTYPE4(1bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L639] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L644] FCALL call #t~malloc2 := #Ultimate.alloc(8bv32); [L644] ~t~0 := #t~malloc2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L645] COND FALSE !(~t~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L646] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L647] FCALL call #t~mem3 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L647] ~p~0 := #t~mem3; [L647] havoc #t~mem3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L636-L648] COND TRUE !(0bv32 != #t~nondet1) [L636] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L649] FCALL call write~intINTTYPE4(3bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L650] FCALL call #t~mem4 := read~intINTTYPE4({ base: ~a~0!base, offset: ~a~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem4=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L650] COND FALSE !(3bv32 == #t~mem4) [L650] havoc #t~mem4; [L651] ~flag~0 := 1bv32; [L652] ~l1~0 := { base: 0bv32, offset: 0bv32 }; [L653] ~l2~0 := { base: 0bv32, offset: 0bv32 }; [L654] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L655] FCALL call #t~mem5 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem5=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L655-L667] COND FALSE !(!(3bv32 != #t~mem5)) [L655] havoc #t~mem5; [L656] ~t~0 := ~p~0; [L657] FCALL call #t~mem6 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L657] ~p~0 := #t~mem6; [L657] havoc #t~mem6; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L658-L666] COND TRUE 0bv32 != ~flag~0 [L659] FCALL call write~$Pointer$(~l1~0, { base: ~t~0!base, offset: ~bvadd32(4bv32, ~t~0!offset) }, 4bv32); [L660] ~l1~0 := ~t~0; [L661] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L655] FCALL call #t~mem5 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem5=3bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L655-L667] COND TRUE !(3bv32 != #t~mem5) [L655] havoc #t~mem5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L668] ~p~0 := ~l1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L669-L672] COND FALSE !(!(~p~0 != { base: 0bv32, offset: 0bv32 })) [L670] FCALL call #t~mem7 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem7=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L670] COND TRUE 2bv32 != #t~mem7 [L670] havoc #t~mem7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L679] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret11 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L627] ~flag~0 := 1bv32; [L628] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L628] ~a~0 := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L629] COND FALSE !(~a~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0; [L631] havoc ~l1~0; [L632] havoc ~l2~0; [L633] havoc ~b~0; [L634] havoc ~u~0; [L635] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L636-L648] COND FALSE !(!(0bv32 != #t~nondet1)) [L636] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L637-L643] COND TRUE 0bv32 != ~flag~0 [L638] FCALL call write~intINTTYPE4(1bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L639] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L644] FCALL call #t~malloc2 := #Ultimate.alloc(8bv32); [L644] ~t~0 := #t~malloc2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L645] COND FALSE !(~t~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L646] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L647] FCALL call #t~mem3 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L647] ~p~0 := #t~mem3; [L647] havoc #t~mem3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L636-L648] COND TRUE !(0bv32 != #t~nondet1) [L636] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L649] FCALL call write~intINTTYPE4(3bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L650] FCALL call #t~mem4 := read~intINTTYPE4({ base: ~a~0!base, offset: ~a~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem4=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L650] COND FALSE !(3bv32 == #t~mem4) [L650] havoc #t~mem4; [L651] ~flag~0 := 1bv32; [L652] ~l1~0 := { base: 0bv32, offset: 0bv32 }; [L653] ~l2~0 := { base: 0bv32, offset: 0bv32 }; [L654] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L655] FCALL call #t~mem5 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem5=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L655-L667] COND FALSE !(!(3bv32 != #t~mem5)) [L655] havoc #t~mem5; [L656] ~t~0 := ~p~0; [L657] FCALL call #t~mem6 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L657] ~p~0 := #t~mem6; [L657] havoc #t~mem6; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L658-L666] COND TRUE 0bv32 != ~flag~0 [L659] FCALL call write~$Pointer$(~l1~0, { base: ~t~0!base, offset: ~bvadd32(4bv32, ~t~0!offset) }, 4bv32); [L660] ~l1~0 := ~t~0; [L661] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L655] FCALL call #t~mem5 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem5=3bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L655-L667] COND TRUE !(3bv32 != #t~mem5) [L655] havoc #t~mem5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L668] ~p~0 := ~l1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L669-L672] COND FALSE !(!(~p~0 != { base: 0bv32, offset: 0bv32 })) [L670] FCALL call #t~mem7 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem7=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L670] COND TRUE 2bv32 != #t~mem7 [L670] havoc #t~mem7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L679] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L627] int flag = 1; [L628] List a = (List) malloc(sizeof(struct node)); VAL [a={1:0}, flag=1, malloc(sizeof(struct node))={1:0}] [L629] COND FALSE !(a == 0) VAL [a={1:0}, flag=1, malloc(sizeof(struct node))={1:0}] [L630] List t; [L631] List l1; [L632] List l2; [L633] List b; [L634] List u; [L635] List p = a; VAL [a={1:0}, flag=1, malloc(sizeof(struct node))={1:0}, p={1:0}] [L636] COND TRUE __VERIFIER_nondet_int() [L637] COND TRUE \read(flag) [L638] p->h = 1 [L639] flag = 0 VAL [a={1:0}, flag=0, malloc(sizeof(struct node))={1:0}, p={1:0}] [L644] t = (List) malloc(sizeof(struct node)) VAL [a={1:0}, flag=0, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, t={-1065254779:0}] [L645] COND FALSE !(t == 0) VAL [a={1:0}, flag=0, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, t={-1065254779:0}] [L646] p->n = t [L647] EXPR p->n [L647] p = p->n [L636] COND FALSE !(__VERIFIER_nondet_int()) [L649] p->h = 3 [L650] EXPR a->h VAL [a={1:0}, a->h=1, flag=0, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={-1065254779:0}, t={-1065254779:0}] [L650] COND FALSE !(a->h == 3) [L651] flag = 1 [L652] l1 = 0 [L653] l2 = 0 [L654] p = a VAL [a={1:0}, flag=1, l1={0:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, t={-1065254779:0}] [L655] EXPR p->h VAL [a={1:0}, flag=1, l1={0:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, p->h=1, t={-1065254779:0}] [L655] COND TRUE p->h != 3 [L656] t = p [L657] EXPR p->n [L657] p = p->n [L658] COND TRUE \read(flag) [L659] t->n = l1 [L660] l1 = t [L661] flag = 0 VAL [a={1:0}, flag=0, l1={1:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={-1065254779:0}, t={1:0}] [L655] EXPR p->h VAL [a={1:0}, flag=0, l1={1:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={-1065254779:0}, p->h=3, t={1:0}] [L655] COND FALSE !(p->h != 3) [L668] p = l1 VAL [a={1:0}, flag=0, l1={1:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, t={1:0}] [L669] COND TRUE p != 0 [L670] EXPR p->h VAL [a={1:0}, flag=0, l1={1:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, p->h=1, t={1:0}] [L670] COND TRUE p->h != 2 [L679] __VERIFIER_error() VAL [a={1:0}, flag=0, l1={1:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, t={1:0}] ----- [2018-11-23 11:04:52,189 WARN L170 areAnnotationChecker]: exitENTRY has no Hoare annotation [2018-11-23 11:04:52,189 WARN L170 areAnnotationChecker]: ULTIMATE.initENTRY has no Hoare annotation [2018-11-23 11:04:52,189 WARN L170 areAnnotationChecker]: ULTIMATE.startENTRY has no Hoare annotation [2018-11-23 11:04:52,189 WARN L170 areAnnotationChecker]: ULTIMATE.startENTRY has no Hoare annotation [2018-11-23 11:04:52,189 WARN L170 areAnnotationChecker]: mainENTRY has no Hoare annotation [2018-11-23 11:04:52,190 WARN L170 areAnnotationChecker]: L620 has no Hoare annotation [2018-11-23 11:04:52,190 WARN L170 areAnnotationChecker]: ULTIMATE.initFINAL has no Hoare annotation [2018-11-23 11:04:52,191 WARN L170 areAnnotationChecker]: L-1 has no Hoare annotation [2018-11-23 11:04:52,191 WARN L170 areAnnotationChecker]: L-1 has no Hoare annotation [2018-11-23 11:04:52,191 WARN L170 areAnnotationChecker]: L629 has no Hoare annotation [2018-11-23 11:04:52,191 WARN L170 areAnnotationChecker]: L629 has no Hoare annotation [2018-11-23 11:04:52,191 WARN L170 areAnnotationChecker]: ULTIMATE.initEXIT has no Hoare annotation [2018-11-23 11:04:52,191 WARN L170 areAnnotationChecker]: ULTIMATE.startFINAL has no Hoare annotation [2018-11-23 11:04:52,191 WARN L170 areAnnotationChecker]: L629-1 has no Hoare annotation [2018-11-23 11:04:52,192 WARN L170 areAnnotationChecker]: L629-1 has no Hoare annotation [2018-11-23 11:04:52,192 WARN L170 areAnnotationChecker]: L629-3 has no Hoare annotation [2018-11-23 11:04:52,192 WARN L170 areAnnotationChecker]: L636-2 has no Hoare annotation [2018-11-23 11:04:52,192 WARN L170 areAnnotationChecker]: L636-2 has no Hoare annotation [2018-11-23 11:04:52,192 WARN L170 areAnnotationChecker]: L636-2 has no Hoare annotation [2018-11-23 11:04:52,192 WARN L170 areAnnotationChecker]: L636-3 has no Hoare annotation [2018-11-23 11:04:52,192 WARN L170 areAnnotationChecker]: L637 has no Hoare annotation [2018-11-23 11:04:52,193 WARN L170 areAnnotationChecker]: L637 has no Hoare annotation [2018-11-23 11:04:52,193 WARN L170 areAnnotationChecker]: L650 has no Hoare annotation [2018-11-23 11:04:52,193 WARN L170 areAnnotationChecker]: L650 has no Hoare annotation [2018-11-23 11:04:52,193 WARN L170 areAnnotationChecker]: L637-2 has no Hoare annotation [2018-11-23 11:04:52,193 WARN L170 areAnnotationChecker]: mainFINAL has no Hoare annotation [2018-11-23 11:04:52,193 WARN L170 areAnnotationChecker]: L658-2 has no Hoare annotation [2018-11-23 11:04:52,194 WARN L170 areAnnotationChecker]: L658-2 has no Hoare annotation [2018-11-23 11:04:52,194 WARN L170 areAnnotationChecker]: L645 has no Hoare annotation [2018-11-23 11:04:52,194 WARN L170 areAnnotationChecker]: L645 has no Hoare annotation [2018-11-23 11:04:52,194 WARN L170 areAnnotationChecker]: mainEXIT has no Hoare annotation [2018-11-23 11:04:52,194 WARN L170 areAnnotationChecker]: L655-3 has no Hoare annotation [2018-11-23 11:04:52,194 WARN L170 areAnnotationChecker]: L655-1 has no Hoare annotation [2018-11-23 11:04:52,194 WARN L170 areAnnotationChecker]: L655-1 has no Hoare annotation [2018-11-23 11:04:52,195 WARN L170 areAnnotationChecker]: L645-1 has no Hoare annotation [2018-11-23 11:04:52,195 WARN L170 areAnnotationChecker]: L645-1 has no Hoare annotation [2018-11-23 11:04:52,195 WARN L170 areAnnotationChecker]: L645-3 has no Hoare annotation [2018-11-23 11:04:52,195 WARN L170 areAnnotationChecker]: L669-2 has no Hoare annotation [2018-11-23 11:04:52,195 WARN L170 areAnnotationChecker]: L669-2 has no Hoare annotation [2018-11-23 11:04:52,195 WARN L170 areAnnotationChecker]: L669-2 has no Hoare annotation [2018-11-23 11:04:52,195 WARN L170 areAnnotationChecker]: L658 has no Hoare annotation [2018-11-23 11:04:52,196 WARN L170 areAnnotationChecker]: L658 has no Hoare annotation [2018-11-23 11:04:52,196 WARN L170 areAnnotationChecker]: L669-3 has no Hoare annotation [2018-11-23 11:04:52,196 WARN L170 areAnnotationChecker]: L670 has no Hoare annotation [2018-11-23 11:04:52,196 WARN L170 areAnnotationChecker]: L670 has no Hoare annotation [2018-11-23 11:04:52,196 WARN L170 areAnnotationChecker]: L674-2 has no Hoare annotation [2018-11-23 11:04:52,196 WARN L170 areAnnotationChecker]: L674-2 has no Hoare annotation [2018-11-23 11:04:52,196 WARN L170 areAnnotationChecker]: L674-2 has no Hoare annotation [2018-11-23 11:04:52,197 WARN L170 areAnnotationChecker]: L675-1 has no Hoare annotation [2018-11-23 11:04:52,197 WARN L170 areAnnotationChecker]: L675-1 has no Hoare annotation [2018-11-23 11:04:52,197 WARN L170 areAnnotationChecker]: L674-3 has no Hoare annotation [2018-11-23 11:04:52,197 WARN L170 areAnnotationChecker]: L675 has no Hoare annotation [2018-11-23 11:04:52,197 WARN L170 areAnnotationChecker]: L675 has no Hoare annotation [2018-11-23 11:04:52,197 INFO L163 areAnnotationChecker]: CFG has 0 edges. 0 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. 0 times interpolants missing. [2018-11-23 11:04:52,200 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 11:04:52 BoogieIcfgContainer [2018-11-23 11:04:52,200 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 11:04:52,201 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 11:04:52,201 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 11:04:52,201 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 11:04:52,202 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:04:46" (3/4) ... [2018-11-23 11:04:52,205 INFO L138 WitnessPrinter]: Generating witness for reachability counterexample ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32)] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32)] [?] assume true; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |old(#NULL.base)|=(_ bv0 32), |old(#NULL.offset)|=(_ bv0 32)] [?] RET #111#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] CALL call #t~ret11 := main(); VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] ~flag~0 := 1bv32;call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32);~a~0.base, ~a~0.offset := #t~malloc0.base, #t~malloc0.offset; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32)] [?] assume !(~a~0.base == 0bv32 && ~a~0.offset == 0bv32); VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32)] [?] havoc ~t~0.base, ~t~0.offset;havoc ~l1~0.base, ~l1~0.offset;havoc ~l2~0.base, ~l2~0.offset;havoc ~b~0.base, ~b~0.offset;havoc ~u~0.base, ~u~0.offset;~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32)] [?] assume !!(0bv32 != #t~nondet1);havoc #t~nondet1; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32)] [?] assume 0bv32 != ~flag~0;call write~intINTTYPE4(1bv32, ~p~0.base, ~p~0.offset, 4bv32);~flag~0 := 0bv32; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32)] [?] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(8bv32);~t~0.base, ~t~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv3229712517 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] assume !(~t~0.base == 0bv32 && ~t~0.offset == 0bv32); VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv3229712517 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] call write~$Pointer$(~t~0.base, ~t~0.offset, ~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32);call #t~mem3.base, #t~mem3.offset := read~$Pointer$(~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32);~p~0.base, ~p~0.offset := #t~mem3.base, #t~mem3.offset;havoc #t~mem3.base, #t~mem3.offset; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv3229712517 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv3229712517 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] assume !(0bv32 != #t~nondet1);havoc #t~nondet1; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv3229712517 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv3229712517 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] call write~intINTTYPE4(3bv32, ~p~0.base, ~p~0.offset, 4bv32);call #t~mem4 := read~intINTTYPE4(~a~0.base, ~a~0.offset, 4bv32); VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv3229712517 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv3229712517 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32), |main_#t~mem4|=(_ bv1 32)] [?] assume !(3bv32 == #t~mem4);havoc #t~mem4;~flag~0 := 1bv32;~l1~0.base, ~l1~0.offset := 0bv32, 0bv32;~l2~0.base, ~l2~0.offset := 0bv32, 0bv32;~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~l1~0.base=(_ bv0 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv3229712517 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~l1~0.base=(_ bv0 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv3229712517 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32), |main_#t~mem5|=(_ bv1 32)] [?] assume !!(3bv32 != #t~mem5);havoc #t~mem5;~t~0.base, ~t~0.offset := ~p~0.base, ~p~0.offset;call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32);~p~0.base, ~p~0.offset := #t~mem6.base, #t~mem6.offset;havoc #t~mem6.base, #t~mem6.offset; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~l1~0.base=(_ bv0 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv3229712517 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv1 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] assume 0bv32 != ~flag~0;call write~$Pointer$(~l1~0.base, ~l1~0.offset, ~t~0.base, ~bvadd32(4bv32, ~t~0.offset), 4bv32);~l1~0.base, ~l1~0.offset := ~t~0.base, ~t~0.offset;~flag~0 := 0bv32; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~l1~0.base=(_ bv1 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv3229712517 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv1 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~l1~0.base=(_ bv1 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv3229712517 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv1 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32), |main_#t~mem5|=(_ bv3 32)] [?] assume !(3bv32 != #t~mem5);havoc #t~mem5; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~l1~0.base=(_ bv1 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv3229712517 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv1 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] ~p~0.base, ~p~0.offset := ~l1~0.base, ~l1~0.offset; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~l1~0.base=(_ bv1 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv1 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] assume !!(~p~0.base != 0bv32 || ~p~0.offset != 0bv32);call #t~mem7 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~l1~0.base=(_ bv1 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv1 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32), |main_#t~mem7|=(_ bv1 32)] [?] assume 2bv32 != #t~mem7;havoc #t~mem7; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~l1~0.base=(_ bv1 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv1 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] assume !false; VAL [main_~a~0.base=(_ bv1 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~l1~0.base=(_ bv1 32), main_~l1~0.offset=(_ bv0 32), main_~l2~0.base=(_ bv0 32), main_~l2~0.offset=(_ bv0 32), main_~p~0.base=(_ bv1 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv1 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv1 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv3229712517 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [?] CALL call #t~ret11 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L627] ~flag~0 := 1bv32; [L628] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32); [L628] ~a~0.base, ~a~0.offset := #t~malloc0.base, #t~malloc0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32] [L629] assume !(~a~0.base == 0bv32 && ~a~0.offset == 0bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0.base, ~t~0.offset; [L631] havoc ~l1~0.base, ~l1~0.offset; [L632] havoc ~l2~0.base, ~l2~0.offset; [L633] havoc ~b~0.base, ~b~0.offset; [L634] havoc ~u~0.base, ~u~0.offset; [L635] ~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32] [L636-L648] assume !!(0bv32 != #t~nondet1); [L636] havoc #t~nondet1; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32] [L637-L643] assume 0bv32 != ~flag~0; [L638] call write~intINTTYPE4(1bv32, ~p~0.base, ~p~0.offset, 4bv32); [L639] ~flag~0 := 0bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32] [L644] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(8bv32); [L644] ~t~0.base, ~t~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L645] assume !(~t~0.base == 0bv32 && ~t~0.offset == 0bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L646] call write~$Pointer$(~t~0.base, ~t~0.offset, ~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L647] call #t~mem3.base, #t~mem3.offset := read~$Pointer$(~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L647] ~p~0.base, ~p~0.offset := #t~mem3.base, #t~mem3.offset; [L647] havoc #t~mem3.base, #t~mem3.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L636-L648] assume !(0bv32 != #t~nondet1); [L636] havoc #t~nondet1; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L649] call write~intINTTYPE4(3bv32, ~p~0.base, ~p~0.offset, 4bv32); [L650] call #t~mem4 := read~intINTTYPE4(~a~0.base, ~a~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, #t~mem4=1bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L650] assume !(3bv32 == #t~mem4); [L650] havoc #t~mem4; [L651] ~flag~0 := 1bv32; [L652] ~l1~0.base, ~l1~0.offset := 0bv32, 0bv32; [L653] ~l2~0.base, ~l2~0.offset := 0bv32, 0bv32; [L654] ~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~l1~0.base=0bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L655] call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, #t~mem5=1bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~l1~0.base=0bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L655-L667] assume !!(3bv32 != #t~mem5); [L655] havoc #t~mem5; [L656] ~t~0.base, ~t~0.offset := ~p~0.base, ~p~0.offset; [L657] call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L657] ~p~0.base, ~p~0.offset := #t~mem6.base, #t~mem6.offset; [L657] havoc #t~mem6.base, #t~mem6.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~l1~0.base=0bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L658-L666] assume 0bv32 != ~flag~0; [L659] call write~$Pointer$(~l1~0.base, ~l1~0.offset, ~t~0.base, ~bvadd32(4bv32, ~t~0.offset), 4bv32); [L660] ~l1~0.base, ~l1~0.offset := ~t~0.base, ~t~0.offset; [L661] ~flag~0 := 0bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L655] call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, #t~mem5=3bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L655-L667] assume !(3bv32 != #t~mem5); [L655] havoc #t~mem5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L668] ~p~0.base, ~p~0.offset := ~l1~0.base, ~l1~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L669-L672] assume !!(~p~0.base != 0bv32 || ~p~0.offset != 0bv32); [L670] call #t~mem7 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, #t~mem7=1bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L670] assume 2bv32 != #t~mem7; [L670] havoc #t~mem7; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L679] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] #NULL.base, #NULL.offset := 0bv32, 0bv32; [?] #valid := #valid[0bv32 := 0bv1]; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] ensures true; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, old(#NULL.base)=0bv32, old(#NULL.offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [?] CALL call #t~ret11 := main(); VAL [#NULL.base=0bv32, #NULL.offset=0bv32] [L627] ~flag~0 := 1bv32; [L628] call #t~malloc0.base, #t~malloc0.offset := #Ultimate.alloc(8bv32); [L628] ~a~0.base, ~a~0.offset := #t~malloc0.base, #t~malloc0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32] [L629] assume !(~a~0.base == 0bv32 && ~a~0.offset == 0bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0.base, ~t~0.offset; [L631] havoc ~l1~0.base, ~l1~0.offset; [L632] havoc ~l2~0.base, ~l2~0.offset; [L633] havoc ~b~0.base, ~b~0.offset; [L634] havoc ~u~0.base, ~u~0.offset; [L635] ~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32] [L636-L648] assume !!(0bv32 != #t~nondet1); [L636] havoc #t~nondet1; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32] [L637-L643] assume 0bv32 != ~flag~0; [L638] call write~intINTTYPE4(1bv32, ~p~0.base, ~p~0.offset, 4bv32); [L639] ~flag~0 := 0bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32] [L644] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(8bv32); [L644] ~t~0.base, ~t~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L645] assume !(~t~0.base == 0bv32 && ~t~0.offset == 0bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L646] call write~$Pointer$(~t~0.base, ~t~0.offset, ~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L647] call #t~mem3.base, #t~mem3.offset := read~$Pointer$(~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L647] ~p~0.base, ~p~0.offset := #t~mem3.base, #t~mem3.offset; [L647] havoc #t~mem3.base, #t~mem3.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L636-L648] assume !(0bv32 != #t~nondet1); [L636] havoc #t~nondet1; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L649] call write~intINTTYPE4(3bv32, ~p~0.base, ~p~0.offset, 4bv32); [L650] call #t~mem4 := read~intINTTYPE4(~a~0.base, ~a~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, #t~mem4=1bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L650] assume !(3bv32 == #t~mem4); [L650] havoc #t~mem4; [L651] ~flag~0 := 1bv32; [L652] ~l1~0.base, ~l1~0.offset := 0bv32, 0bv32; [L653] ~l2~0.base, ~l2~0.offset := 0bv32, 0bv32; [L654] ~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~l1~0.base=0bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L655] call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, #t~mem5=1bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~l1~0.base=0bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=3229712517bv32, ~t~0.offset=0bv32] [L655-L667] assume !!(3bv32 != #t~mem5); [L655] havoc #t~mem5; [L656] ~t~0.base, ~t~0.offset := ~p~0.base, ~p~0.offset; [L657] call #t~mem6.base, #t~mem6.offset := read~$Pointer$(~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L657] ~p~0.base, ~p~0.offset := #t~mem6.base, #t~mem6.offset; [L657] havoc #t~mem6.base, #t~mem6.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~l1~0.base=0bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L658-L666] assume 0bv32 != ~flag~0; [L659] call write~$Pointer$(~l1~0.base, ~l1~0.offset, ~t~0.base, ~bvadd32(4bv32, ~t~0.offset), 4bv32); [L660] ~l1~0.base, ~l1~0.offset := ~t~0.base, ~t~0.offset; [L661] ~flag~0 := 0bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L655] call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, #t~mem5=3bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L655-L667] assume !(3bv32 != #t~mem5); [L655] havoc #t~mem5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=3229712517bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L668] ~p~0.base, ~p~0.offset := ~l1~0.base, ~l1~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L669-L672] assume !!(~p~0.base != 0bv32 || ~p~0.offset != 0bv32); [L670] call #t~mem7 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, #t~mem7=1bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L670] assume 2bv32 != #t~mem7; [L670] havoc #t~mem7; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [L679] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=1bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=3229712517bv32, #t~malloc2.offset=0bv32, ~a~0.base=1bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~l1~0.base=1bv32, ~l1~0.offset=0bv32, ~l2~0.base=0bv32, ~l2~0.offset=0bv32, ~p~0.base=1bv32, ~p~0.offset=0bv32, ~t~0.base=1bv32, ~t~0.offset=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret11 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L627] ~flag~0 := 1bv32; [L628] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L628] ~a~0 := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L629] COND FALSE !(~a~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0; [L631] havoc ~l1~0; [L632] havoc ~l2~0; [L633] havoc ~b~0; [L634] havoc ~u~0; [L635] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L636-L648] COND FALSE !(!(0bv32 != #t~nondet1)) [L636] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L637-L643] COND TRUE 0bv32 != ~flag~0 [L638] FCALL call write~intINTTYPE4(1bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L639] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L644] FCALL call #t~malloc2 := #Ultimate.alloc(8bv32); [L644] ~t~0 := #t~malloc2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L645] COND FALSE !(~t~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L646] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L647] FCALL call #t~mem3 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L647] ~p~0 := #t~mem3; [L647] havoc #t~mem3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L636-L648] COND TRUE !(0bv32 != #t~nondet1) [L636] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L649] FCALL call write~intINTTYPE4(3bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L650] FCALL call #t~mem4 := read~intINTTYPE4({ base: ~a~0!base, offset: ~a~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem4=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L650] COND FALSE !(3bv32 == #t~mem4) [L650] havoc #t~mem4; [L651] ~flag~0 := 1bv32; [L652] ~l1~0 := { base: 0bv32, offset: 0bv32 }; [L653] ~l2~0 := { base: 0bv32, offset: 0bv32 }; [L654] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L655] FCALL call #t~mem5 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem5=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L655-L667] COND FALSE !(!(3bv32 != #t~mem5)) [L655] havoc #t~mem5; [L656] ~t~0 := ~p~0; [L657] FCALL call #t~mem6 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L657] ~p~0 := #t~mem6; [L657] havoc #t~mem6; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L658-L666] COND TRUE 0bv32 != ~flag~0 [L659] FCALL call write~$Pointer$(~l1~0, { base: ~t~0!base, offset: ~bvadd32(4bv32, ~t~0!offset) }, 4bv32); [L660] ~l1~0 := ~t~0; [L661] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L655] FCALL call #t~mem5 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem5=3bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L655-L667] COND TRUE !(3bv32 != #t~mem5) [L655] havoc #t~mem5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L668] ~p~0 := ~l1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L669-L672] COND FALSE !(!(~p~0 != { base: 0bv32, offset: 0bv32 })) [L670] FCALL call #t~mem7 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem7=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L670] COND TRUE 2bv32 != #t~mem7 [L670] havoc #t~mem7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L679] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret11 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L627] ~flag~0 := 1bv32; [L628] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L628] ~a~0 := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L629] COND FALSE !(~a~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0; [L631] havoc ~l1~0; [L632] havoc ~l2~0; [L633] havoc ~b~0; [L634] havoc ~u~0; [L635] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L636-L648] COND FALSE !(!(0bv32 != #t~nondet1)) [L636] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L637-L643] COND TRUE 0bv32 != ~flag~0 [L638] FCALL call write~intINTTYPE4(1bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L639] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L644] FCALL call #t~malloc2 := #Ultimate.alloc(8bv32); [L644] ~t~0 := #t~malloc2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L645] COND FALSE !(~t~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L646] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L647] FCALL call #t~mem3 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L647] ~p~0 := #t~mem3; [L647] havoc #t~mem3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L636-L648] COND TRUE !(0bv32 != #t~nondet1) [L636] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L649] FCALL call write~intINTTYPE4(3bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L650] FCALL call #t~mem4 := read~intINTTYPE4({ base: ~a~0!base, offset: ~a~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem4=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L650] COND FALSE !(3bv32 == #t~mem4) [L650] havoc #t~mem4; [L651] ~flag~0 := 1bv32; [L652] ~l1~0 := { base: 0bv32, offset: 0bv32 }; [L653] ~l2~0 := { base: 0bv32, offset: 0bv32 }; [L654] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L655] FCALL call #t~mem5 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem5=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L655-L667] COND FALSE !(!(3bv32 != #t~mem5)) [L655] havoc #t~mem5; [L656] ~t~0 := ~p~0; [L657] FCALL call #t~mem6 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L657] ~p~0 := #t~mem6; [L657] havoc #t~mem6; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L658-L666] COND TRUE 0bv32 != ~flag~0 [L659] FCALL call write~$Pointer$(~l1~0, { base: ~t~0!base, offset: ~bvadd32(4bv32, ~t~0!offset) }, 4bv32); [L660] ~l1~0 := ~t~0; [L661] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L655] FCALL call #t~mem5 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem5=3bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L655-L667] COND TRUE !(3bv32 != #t~mem5) [L655] havoc #t~mem5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L668] ~p~0 := ~l1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L669-L672] COND FALSE !(!(~p~0 != { base: 0bv32, offset: 0bv32 })) [L670] FCALL call #t~mem7 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem7=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L670] COND TRUE 2bv32 != #t~mem7 [L670] havoc #t~mem7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L679] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret11 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L627] ~flag~0 := 1bv32; [L628] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L628] ~a~0 := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L629] COND FALSE !(~a~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0; [L631] havoc ~l1~0; [L632] havoc ~l2~0; [L633] havoc ~b~0; [L634] havoc ~u~0; [L635] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L636-L648] COND FALSE !(!(0bv32 != #t~nondet1)) [L636] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L637-L643] COND TRUE 0bv32 != ~flag~0 [L638] FCALL call write~intINTTYPE4(1bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L639] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L644] FCALL call #t~malloc2 := #Ultimate.alloc(8bv32); [L644] ~t~0 := #t~malloc2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L645] COND FALSE !(~t~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L646] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L647] FCALL call #t~mem3 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L647] ~p~0 := #t~mem3; [L647] havoc #t~mem3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L636-L648] COND TRUE !(0bv32 != #t~nondet1) [L636] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L649] FCALL call write~intINTTYPE4(3bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L650] FCALL call #t~mem4 := read~intINTTYPE4({ base: ~a~0!base, offset: ~a~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem4=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L650] COND FALSE !(3bv32 == #t~mem4) [L650] havoc #t~mem4; [L651] ~flag~0 := 1bv32; [L652] ~l1~0 := { base: 0bv32, offset: 0bv32 }; [L653] ~l2~0 := { base: 0bv32, offset: 0bv32 }; [L654] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L655] FCALL call #t~mem5 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem5=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L655-L667] COND FALSE !(!(3bv32 != #t~mem5)) [L655] havoc #t~mem5; [L656] ~t~0 := ~p~0; [L657] FCALL call #t~mem6 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L657] ~p~0 := #t~mem6; [L657] havoc #t~mem6; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L658-L666] COND TRUE 0bv32 != ~flag~0 [L659] FCALL call write~$Pointer$(~l1~0, { base: ~t~0!base, offset: ~bvadd32(4bv32, ~t~0!offset) }, 4bv32); [L660] ~l1~0 := ~t~0; [L661] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L655] FCALL call #t~mem5 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem5=3bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L655-L667] COND TRUE !(3bv32 != #t~mem5) [L655] havoc #t~mem5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L668] ~p~0 := ~l1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L669-L672] COND FALSE !(!(~p~0 != { base: 0bv32, offset: 0bv32 })) [L670] FCALL call #t~mem7 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem7=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L670] COND TRUE 2bv32 != #t~mem7 [L670] havoc #t~mem7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L679] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] #NULL := { base: 0bv32, offset: 0bv32 }; [?] #valid[0bv32] := 0bv1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, old(#NULL!base)=0bv32, old(#NULL!offset)=0bv32] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [?] CALL call #t~ret11 := main(); VAL [#NULL!base=0bv32, #NULL!offset=0bv32] [L627] ~flag~0 := 1bv32; [L628] FCALL call #t~malloc0 := #Ultimate.alloc(8bv32); [L628] ~a~0 := #t~malloc0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L629] COND FALSE !(~a~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0; [L631] havoc ~l1~0; [L632] havoc ~l2~0; [L633] havoc ~b~0; [L634] havoc ~u~0; [L635] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L636-L648] COND FALSE !(!(0bv32 != #t~nondet1)) [L636] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L637-L643] COND TRUE 0bv32 != ~flag~0 [L638] FCALL call write~intINTTYPE4(1bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L639] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32] [L644] FCALL call #t~malloc2 := #Ultimate.alloc(8bv32); [L644] ~t~0 := #t~malloc2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L645] COND FALSE !(~t~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L646] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L647] FCALL call #t~mem3 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L647] ~p~0 := #t~mem3; [L647] havoc #t~mem3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L636-L648] COND TRUE !(0bv32 != #t~nondet1) [L636] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L649] FCALL call write~intINTTYPE4(3bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L650] FCALL call #t~mem4 := read~intINTTYPE4({ base: ~a~0!base, offset: ~a~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem4=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L650] COND FALSE !(3bv32 == #t~mem4) [L650] havoc #t~mem4; [L651] ~flag~0 := 1bv32; [L652] ~l1~0 := { base: 0bv32, offset: 0bv32 }; [L653] ~l2~0 := { base: 0bv32, offset: 0bv32 }; [L654] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L655] FCALL call #t~mem5 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem5=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=3229712517bv32, ~t~0!offset=0bv32] [L655-L667] COND FALSE !(!(3bv32 != #t~mem5)) [L655] havoc #t~mem5; [L656] ~t~0 := ~p~0; [L657] FCALL call #t~mem6 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L657] ~p~0 := #t~mem6; [L657] havoc #t~mem6; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~l1~0!base=0bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L658-L666] COND TRUE 0bv32 != ~flag~0 [L659] FCALL call write~$Pointer$(~l1~0, { base: ~t~0!base, offset: ~bvadd32(4bv32, ~t~0!offset) }, 4bv32); [L660] ~l1~0 := ~t~0; [L661] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L655] FCALL call #t~mem5 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem5=3bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L655-L667] COND TRUE !(3bv32 != #t~mem5) [L655] havoc #t~mem5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=3229712517bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L668] ~p~0 := ~l1~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L669-L672] COND FALSE !(!(~p~0 != { base: 0bv32, offset: 0bv32 })) [L670] FCALL call #t~mem7 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, #t~mem7=1bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L670] COND TRUE 2bv32 != #t~mem7 [L670] havoc #t~mem7; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L679] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=1bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=3229712517bv32, #t~malloc2!offset=0bv32, ~a~0!base=1bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~l1~0!base=1bv32, ~l1~0!offset=0bv32, ~l2~0!base=0bv32, ~l2~0!offset=0bv32, ~p~0!base=1bv32, ~p~0!offset=0bv32, ~t~0!base=1bv32, ~t~0!offset=0bv32] [L627] int flag = 1; [L628] List a = (List) malloc(sizeof(struct node)); VAL [a={1:0}, flag=1, malloc(sizeof(struct node))={1:0}] [L629] COND FALSE !(a == 0) VAL [a={1:0}, flag=1, malloc(sizeof(struct node))={1:0}] [L630] List t; [L631] List l1; [L632] List l2; [L633] List b; [L634] List u; [L635] List p = a; VAL [a={1:0}, flag=1, malloc(sizeof(struct node))={1:0}, p={1:0}] [L636] COND TRUE __VERIFIER_nondet_int() [L637] COND TRUE \read(flag) [L638] p->h = 1 [L639] flag = 0 VAL [a={1:0}, flag=0, malloc(sizeof(struct node))={1:0}, p={1:0}] [L644] t = (List) malloc(sizeof(struct node)) VAL [a={1:0}, flag=0, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, t={-1065254779:0}] [L645] COND FALSE !(t == 0) VAL [a={1:0}, flag=0, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, t={-1065254779:0}] [L646] p->n = t [L647] EXPR p->n [L647] p = p->n [L636] COND FALSE !(__VERIFIER_nondet_int()) [L649] p->h = 3 [L650] EXPR a->h VAL [a={1:0}, a->h=1, flag=0, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={-1065254779:0}, t={-1065254779:0}] [L650] COND FALSE !(a->h == 3) [L651] flag = 1 [L652] l1 = 0 [L653] l2 = 0 [L654] p = a VAL [a={1:0}, flag=1, l1={0:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, t={-1065254779:0}] [L655] EXPR p->h VAL [a={1:0}, flag=1, l1={0:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, p->h=1, t={-1065254779:0}] [L655] COND TRUE p->h != 3 [L656] t = p [L657] EXPR p->n [L657] p = p->n [L658] COND TRUE \read(flag) [L659] t->n = l1 [L660] l1 = t [L661] flag = 0 VAL [a={1:0}, flag=0, l1={1:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={-1065254779:0}, t={1:0}] [L655] EXPR p->h VAL [a={1:0}, flag=0, l1={1:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={-1065254779:0}, p->h=3, t={1:0}] [L655] COND FALSE !(p->h != 3) [L668] p = l1 VAL [a={1:0}, flag=0, l1={1:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, t={1:0}] [L669] COND TRUE p != 0 [L670] EXPR p->h VAL [a={1:0}, flag=0, l1={1:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, p->h=1, t={1:0}] [L670] COND TRUE p->h != 2 [L679] __VERIFIER_error() VAL [a={1:0}, flag=0, l1={1:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, t={1:0}] ----- [2018-11-23 11:04:52,390 INFO L145 WitnessManager]: Wrote witness to /storage/repos/svcomp/c/list-properties/splice_false-unreach-call_false-valid-memcleanup.i-witness.graphml [2018-11-23 11:04:52,390 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 11:04:52,392 INFO L168 Benchmark]: Toolchain (without parser) took 8134.26 ms. Allocated memory was 1.5 GB in the beginning and 2.3 GB in the end (delta: 738.2 MB). Free memory was 1.4 GB in the beginning and 1.8 GB in the end (delta: -395.3 MB). Peak memory consumption was 342.9 MB. Max. memory is 7.1 GB. [2018-11-23 11:04:52,393 INFO L168 Benchmark]: CDTParser took 0.20 ms. Allocated memory is still 1.5 GB. Free memory is still 1.5 GB. There was no memory consumed. Max. memory is 7.1 GB. [2018-11-23 11:04:52,394 INFO L168 Benchmark]: CACSL2BoogieTranslator took 751.41 ms. Allocated memory was 1.5 GB in the beginning and 2.3 GB in the end (delta: 738.2 MB). Free memory was 1.4 GB in the beginning and 2.2 GB in the end (delta: -799.7 MB). Peak memory consumption was 49.6 MB. Max. memory is 7.1 GB. [2018-11-23 11:04:52,399 INFO L168 Benchmark]: Boogie Procedure Inliner took 40.86 ms. Allocated memory is still 2.3 GB. Free memory was 2.2 GB in the beginning and 2.2 GB in the end (delta: 13.3 MB). Peak memory consumption was 13.3 MB. Max. memory is 7.1 GB. [2018-11-23 11:04:52,399 INFO L168 Benchmark]: Boogie Preprocessor took 47.30 ms. Allocated memory is still 2.3 GB. Free memory is still 2.2 GB. There was no memory consumed. Max. memory is 7.1 GB. [2018-11-23 11:04:52,400 INFO L168 Benchmark]: RCFGBuilder took 1070.90 ms. Allocated memory is still 2.3 GB. Free memory was 2.2 GB in the beginning and 2.2 GB in the end (delta: 35.5 MB). Peak memory consumption was 35.5 MB. Max. memory is 7.1 GB. [2018-11-23 11:04:52,400 INFO L168 Benchmark]: TraceAbstraction took 6028.05 ms. Allocated memory is still 2.3 GB. Free memory was 2.2 GB in the beginning and 1.8 GB in the end (delta: 342.2 MB). Peak memory consumption was 342.2 MB. Max. memory is 7.1 GB. [2018-11-23 11:04:52,401 INFO L168 Benchmark]: Witness Printer took 189.55 ms. Allocated memory is still 2.3 GB. Free memory was 1.8 GB in the beginning and 1.8 GB in the end (delta: 13.3 MB). Peak memory consumption was 13.3 MB. Max. memory is 7.1 GB. [2018-11-23 11:04:52,411 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - GenericResult: Assertions are enabled Assertions are enabled - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.20 ms. Allocated memory is still 1.5 GB. Free memory is still 1.5 GB. There was no memory consumed. Max. memory is 7.1 GB. * CACSL2BoogieTranslator took 751.41 ms. Allocated memory was 1.5 GB in the beginning and 2.3 GB in the end (delta: 738.2 MB). Free memory was 1.4 GB in the beginning and 2.2 GB in the end (delta: -799.7 MB). Peak memory consumption was 49.6 MB. Max. memory is 7.1 GB. * Boogie Procedure Inliner took 40.86 ms. Allocated memory is still 2.3 GB. Free memory was 2.2 GB in the beginning and 2.2 GB in the end (delta: 13.3 MB). Peak memory consumption was 13.3 MB. Max. memory is 7.1 GB. * Boogie Preprocessor took 47.30 ms. Allocated memory is still 2.3 GB. Free memory is still 2.2 GB. There was no memory consumed. Max. memory is 7.1 GB. * RCFGBuilder took 1070.90 ms. Allocated memory is still 2.3 GB. Free memory was 2.2 GB in the beginning and 2.2 GB in the end (delta: 35.5 MB). Peak memory consumption was 35.5 MB. Max. memory is 7.1 GB. * TraceAbstraction took 6028.05 ms. Allocated memory is still 2.3 GB. Free memory was 2.2 GB in the beginning and 1.8 GB in the end (delta: 342.2 MB). Peak memory consumption was 342.2 MB. Max. memory is 7.1 GB. * Witness Printer took 189.55 ms. Allocated memory is still 2.3 GB. Free memory was 1.8 GB in the beginning and 1.8 GB in the end (delta: 13.3 MB). Peak memory consumption was 13.3 MB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 679]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L627] int flag = 1; [L628] List a = (List) malloc(sizeof(struct node)); VAL [a={1:0}, flag=1, malloc(sizeof(struct node))={1:0}] [L629] COND FALSE !(a == 0) VAL [a={1:0}, flag=1, malloc(sizeof(struct node))={1:0}] [L630] List t; [L631] List l1; [L632] List l2; [L633] List b; [L634] List u; [L635] List p = a; VAL [a={1:0}, flag=1, malloc(sizeof(struct node))={1:0}, p={1:0}] [L636] COND TRUE __VERIFIER_nondet_int() [L637] COND TRUE \read(flag) [L638] p->h = 1 [L639] flag = 0 VAL [a={1:0}, flag=0, malloc(sizeof(struct node))={1:0}, p={1:0}] [L644] t = (List) malloc(sizeof(struct node)) VAL [a={1:0}, flag=0, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, t={-1065254779:0}] [L645] COND FALSE !(t == 0) VAL [a={1:0}, flag=0, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, t={-1065254779:0}] [L646] p->n = t [L647] EXPR p->n [L647] p = p->n [L636] COND FALSE !(__VERIFIER_nondet_int()) [L649] p->h = 3 [L650] EXPR a->h VAL [a={1:0}, a->h=1, flag=0, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={-1065254779:0}, t={-1065254779:0}] [L650] COND FALSE !(a->h == 3) [L651] flag = 1 [L652] l1 = 0 [L653] l2 = 0 [L654] p = a VAL [a={1:0}, flag=1, l1={0:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, t={-1065254779:0}] [L655] EXPR p->h VAL [a={1:0}, flag=1, l1={0:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, p->h=1, t={-1065254779:0}] [L655] COND TRUE p->h != 3 [L656] t = p [L657] EXPR p->n [L657] p = p->n [L658] COND TRUE \read(flag) [L659] t->n = l1 [L660] l1 = t [L661] flag = 0 VAL [a={1:0}, flag=0, l1={1:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={-1065254779:0}, t={1:0}] [L655] EXPR p->h VAL [a={1:0}, flag=0, l1={1:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={-1065254779:0}, p->h=3, t={1:0}] [L655] COND FALSE !(p->h != 3) [L668] p = l1 VAL [a={1:0}, flag=0, l1={1:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, t={1:0}] [L669] COND TRUE p != 0 [L670] EXPR p->h VAL [a={1:0}, flag=0, l1={1:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, p->h=1, t={1:0}] [L670] COND TRUE p->h != 2 [L679] __VERIFIER_error() VAL [a={1:0}, flag=0, l1={1:0}, l2={0:0}, malloc(sizeof(struct node))={-1065254779:0}, malloc(sizeof(struct node))={1:0}, p={1:0}, t={1:0}] - StatisticsResult: Ultimate Automizer benchmark data CFG has 4 procedures, 37 locations, 1 error locations. UNSAFE Result, 5.9s OverallTime, 5 OverallIterations, 2 TraceHistogramMax, 3.1s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 129 SDtfs, 80 SDslu, 120 SDs, 0 SdLazy, 84 SolverSat, 9 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.3s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 76 GetRequests, 65 SyntacticMatches, 0 SemanticMatches, 11 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 3 ImplicationChecksByTransitivity, 0.6s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=37occurred in iteration=4, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: 0.3s AutomataMinimizationTime, 4 MinimizatonAttempts, 17 StatesRemovedByMinimization, 2 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 1.4s InterpolantComputationTime, 102 NumberOfCodeBlocks, 102 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 73 ConstructedInterpolants, 1 QuantifiedInterpolants, 3247 SizeOfPredicates, 13 NumberOfNonLiveVariables, 265 ConjunctsInSsa, 22 ConjunctsInUnsatCore, 4 InterpolantComputations, 4 PerfectInterpolantSequences, 2/2 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...