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/alternating_list_false-unreach-call_false-valid-memcleanup.i -------------------------------------------------------------------------------- This is Ultimate 0.1.23-61f4311 [2018-11-23 11:04:20,540 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 11:04:20,542 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 11:04:20,558 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 11:04:20,558 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 11:04:20,559 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 11:04:20,560 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 11:04:20,562 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 11:04:20,564 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 11:04:20,565 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 11:04:20,565 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 11:04:20,566 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 11:04:20,567 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 11:04:20,568 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 11:04:20,569 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 11:04:20,570 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 11:04:20,571 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 11:04:20,573 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 11:04:20,575 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 11:04:20,576 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 11:04:20,577 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 11:04:20,578 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 11:04:20,581 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 11:04:20,581 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 11:04:20,581 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 11:04:20,582 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 11:04:20,583 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 11:04:20,584 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 11:04:20,585 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 11:04:20,586 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 11:04:20,586 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 11:04:20,587 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 11:04:20,587 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 11:04:20,588 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 11:04:20,589 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 11:04:20,589 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 11:04:20,590 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:20,606 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 11:04:20,606 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 11:04:20,607 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 11:04:20,607 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 11:04:20,607 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 11:04:20,608 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 11:04:20,608 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 11:04:20,608 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 11:04:20,608 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 11:04:20,608 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 11:04:20,609 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 11:04:20,609 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 11:04:20,609 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 11:04:20,609 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 11:04:20,609 INFO L133 SettingsManager]: * Use bitvectors instead of ints=true [2018-11-23 11:04:20,610 INFO L133 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2018-11-23 11:04:20,610 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 11:04:20,610 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 11:04:20,610 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 11:04:20,610 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 11:04:20,611 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 11:04:20,611 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 11:04:20,611 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 11:04:20,611 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 11:04:20,611 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 11:04:20,611 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 11:04:20,612 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 11:04:20,612 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 11:04:20,612 INFO L133 SettingsManager]: * Trace refinement strategy=WOLF [2018-11-23 11:04:20,612 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 11:04:20,612 INFO L133 SettingsManager]: * Command for external solver=cvc4nyu --tear-down-incremental --rewrite-divk --print-success --lang smt [2018-11-23 11:04:20,613 INFO L133 SettingsManager]: * Logic for external solver=AUFBV [2018-11-23 11:04:20,613 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2018-11-23 11:04:20,658 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 11:04:20,671 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 11:04:20,675 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 11:04:20,676 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 11:04:20,677 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 11:04:20,678 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/list-properties/alternating_list_false-unreach-call_false-valid-memcleanup.i [2018-11-23 11:04:20,733 INFO L221 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9f789f2b6/8cf5b3bedc8f4ebc88ca6d919c59efdd/FLAG503c6692c [2018-11-23 11:04:21,242 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 11:04:21,243 INFO L161 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/list-properties/alternating_list_false-unreach-call_false-valid-memcleanup.i [2018-11-23 11:04:21,268 INFO L355 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9f789f2b6/8cf5b3bedc8f4ebc88ca6d919c59efdd/FLAG503c6692c [2018-11-23 11:04:21,545 INFO L363 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/9f789f2b6/8cf5b3bedc8f4ebc88ca6d919c59efdd [2018-11-23 11:04:21,554 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 11:04:21,555 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 11:04:21,557 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 11:04:21,557 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 11:04:21,561 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 11:04:21,562 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:04:21" (1/1) ... [2018-11-23 11:04:21,568 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@18f55dca and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:04:21, skipping insertion in model container [2018-11-23 11:04:21,568 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 11:04:21" (1/1) ... [2018-11-23 11:04:21,579 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 11:04:21,646 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 11:04:22,122 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:04:22,140 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 11:04:22,221 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 11:04:22,372 INFO L195 MainTranslator]: Completed translation [2018-11-23 11:04:22,372 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:04:22 WrapperNode [2018-11-23 11:04:22,372 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 11:04:22,376 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 11:04:22,376 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 11:04:22,376 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 11:04:22,387 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:22" (1/1) ... [2018-11-23 11:04:22,421 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:22" (1/1) ... [2018-11-23 11:04:22,434 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 11:04:22,435 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 11:04:22,435 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 11:04:22,435 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 11:04:22,446 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:22" (1/1) ... [2018-11-23 11:04:22,446 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:22" (1/1) ... [2018-11-23 11:04:22,450 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:22" (1/1) ... [2018-11-23 11:04:22,451 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:22" (1/1) ... [2018-11-23 11:04:22,487 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:22" (1/1) ... [2018-11-23 11:04:22,502 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:22" (1/1) ... [2018-11-23 11:04:22,505 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:22" (1/1) ... [2018-11-23 11:04:22,509 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 11:04:22,509 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 11:04:22,509 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 11:04:22,509 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 11:04:22,510 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:04:22" (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:22,573 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 11:04:22,574 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2018-11-23 11:04:22,574 INFO L130 BoogieDeclarations]: Found specification of procedure exit [2018-11-23 11:04:22,574 INFO L138 BoogieDeclarations]: Found implementation of procedure exit [2018-11-23 11:04:22,574 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 11:04:22,574 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 11:04:22,574 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 11:04:22,575 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 11:04:22,575 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2018-11-23 11:04:22,575 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2018-11-23 11:04:22,575 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 11:04:22,575 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2018-11-23 11:04:22,576 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 11:04:22,576 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 11:04:23,392 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 11:04:23,393 INFO L280 CfgBuilder]: Removed 3 assue(true) statements. [2018-11-23 11:04:23,393 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:04:23 BoogieIcfgContainer [2018-11-23 11:04:23,394 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 11:04:23,394 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 11:04:23,395 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 11:04:23,399 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 11:04:23,400 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 11:04:21" (1/3) ... [2018-11-23 11:04:23,401 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@11870f0a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 11:04:23, skipping insertion in model container [2018-11-23 11:04:23,401 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 11:04:22" (2/3) ... [2018-11-23 11:04:23,401 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@11870f0a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 11:04:23, skipping insertion in model container [2018-11-23 11:04:23,402 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 11:04:23" (3/3) ... [2018-11-23 11:04:23,406 INFO L112 eAbstractionObserver]: Analyzing ICFG alternating_list_false-unreach-call_false-valid-memcleanup.i [2018-11-23 11:04:23,418 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 11:04:23,429 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 11:04:23,451 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 11:04:23,493 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 11:04:23,494 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 11:04:23,494 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 11:04:23,494 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 11:04:23,494 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 11:04:23,495 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 11:04:23,495 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 11:04:23,495 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 11:04:23,495 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 11:04:23,514 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states. [2018-11-23 11:04:23,525 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2018-11-23 11:04:23,525 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:04:23,526 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:04:23,529 INFO L423 AbstractCegarLoop]: === Iteration 1 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:04:23,536 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:04:23,536 INFO L82 PathProgramCache]: Analyzing trace with hash 545881779, now seen corresponding path program 1 times [2018-11-23 11:04:23,542 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:04:23,543 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:23,571 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:04:23,626 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:04:23,644 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:04:23,649 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:04:23,769 INFO L256 TraceCheckUtils]: 0: Hoare triple {37#true} call ULTIMATE.init(); {37#true} is VALID [2018-11-23 11:04:23,772 INFO L273 TraceCheckUtils]: 1: Hoare triple {37#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; {37#true} is VALID [2018-11-23 11:04:23,773 INFO L273 TraceCheckUtils]: 2: Hoare triple {37#true} assume true; {37#true} is VALID [2018-11-23 11:04:23,773 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {37#true} {37#true} #96#return; {37#true} is VALID [2018-11-23 11:04:23,773 INFO L256 TraceCheckUtils]: 4: Hoare triple {37#true} call #t~ret10 := main(); {37#true} is VALID [2018-11-23 11:04:23,773 INFO L273 TraceCheckUtils]: 5: Hoare triple {37#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; {37#true} is VALID [2018-11-23 11:04:23,774 INFO L273 TraceCheckUtils]: 6: Hoare triple {37#true} assume !(~a~0.base == 0bv32 && ~a~0.offset == 0bv32); {37#true} is VALID [2018-11-23 11:04:23,774 INFO L273 TraceCheckUtils]: 7: Hoare triple {37#true} havoc ~t~0.base, ~t~0.offset;~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; {37#true} is VALID [2018-11-23 11:04:23,774 INFO L273 TraceCheckUtils]: 8: Hoare triple {37#true} assume !(0bv32 != #t~nondet1);havoc #t~nondet1; {37#true} is VALID [2018-11-23 11:04:23,777 INFO L273 TraceCheckUtils]: 9: Hoare triple {37#true} call write~intINTTYPE4(3bv32, ~p~0.base, ~p~0.offset, 4bv32);~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset;~flag~0 := 1bv32; {69#(= (bvadd main_~flag~0 (_ bv4294967295 32)) (_ bv0 32))} is VALID [2018-11-23 11:04:23,780 INFO L273 TraceCheckUtils]: 10: Hoare triple {69#(= (bvadd main_~flag~0 (_ bv4294967295 32)) (_ bv0 32))} call #t~mem4 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); {69#(= (bvadd main_~flag~0 (_ bv4294967295 32)) (_ bv0 32))} is VALID [2018-11-23 11:04:23,782 INFO L273 TraceCheckUtils]: 11: Hoare triple {69#(= (bvadd main_~flag~0 (_ bv4294967295 32)) (_ bv0 32))} assume !!(3bv32 != #t~mem4);havoc #t~mem4; {69#(= (bvadd main_~flag~0 (_ bv4294967295 32)) (_ bv0 32))} is VALID [2018-11-23 11:04:23,799 INFO L273 TraceCheckUtils]: 12: Hoare triple {69#(= (bvadd main_~flag~0 (_ bv4294967295 32)) (_ bv0 32))} assume !(0bv32 != ~flag~0);~flag~0 := 1bv32;call #t~mem6 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); {38#false} is VALID [2018-11-23 11:04:23,800 INFO L273 TraceCheckUtils]: 13: Hoare triple {38#false} assume 2bv32 != #t~mem6;havoc #t~mem6; {38#false} is VALID [2018-11-23 11:04:23,800 INFO L273 TraceCheckUtils]: 14: Hoare triple {38#false} assume !false; {38#false} is VALID [2018-11-23 11:04:23,803 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:23,804 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 11:04:23,809 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:04:23,809 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 11:04:23,815 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 15 [2018-11-23 11:04:23,818 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 11:04:23,822 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states. [2018-11-23 11:04:23,889 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 15 edges. 15 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:04:23,889 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 11:04:23,898 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 11:04:23,898 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 11:04:23,901 INFO L87 Difference]: Start difference. First operand 34 states. Second operand 3 states. [2018-11-23 11:04:24,645 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:04:24,648 INFO L93 Difference]: Finished difference Result 78 states and 108 transitions. [2018-11-23 11:04:24,648 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 11:04:24,648 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 15 [2018-11-23 11:04:24,648 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:04:24,650 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2018-11-23 11:04:24,670 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 108 transitions. [2018-11-23 11:04:24,670 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2018-11-23 11:04:24,675 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 108 transitions. [2018-11-23 11:04:24,676 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 3 states and 108 transitions. [2018-11-23 11:04:25,266 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 108 edges. 108 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:04:25,279 INFO L225 Difference]: With dead ends: 78 [2018-11-23 11:04:25,279 INFO L226 Difference]: Without dead ends: 34 [2018-11-23 11:04:25,283 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 14 GetRequests, 13 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:25,299 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 34 states. [2018-11-23 11:04:25,335 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 34 to 31. [2018-11-23 11:04:25,336 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 11:04:25,336 INFO L82 GeneralOperation]: Start isEquivalent. First operand 34 states. Second operand 31 states. [2018-11-23 11:04:25,337 INFO L74 IsIncluded]: Start isIncluded. First operand 34 states. Second operand 31 states. [2018-11-23 11:04:25,337 INFO L87 Difference]: Start difference. First operand 34 states. Second operand 31 states. [2018-11-23 11:04:25,342 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:04:25,342 INFO L93 Difference]: Finished difference Result 34 states and 38 transitions. [2018-11-23 11:04:25,342 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 38 transitions. [2018-11-23 11:04:25,343 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:04:25,343 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:04:25,344 INFO L74 IsIncluded]: Start isIncluded. First operand 31 states. Second operand 34 states. [2018-11-23 11:04:25,344 INFO L87 Difference]: Start difference. First operand 31 states. Second operand 34 states. [2018-11-23 11:04:25,348 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:04:25,348 INFO L93 Difference]: Finished difference Result 34 states and 38 transitions. [2018-11-23 11:04:25,349 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 38 transitions. [2018-11-23 11:04:25,349 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:04:25,349 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:04:25,350 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 11:04:25,350 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 11:04:25,350 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 31 states. [2018-11-23 11:04:25,353 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 31 states and 36 transitions. [2018-11-23 11:04:25,355 INFO L78 Accepts]: Start accepts. Automaton has 31 states and 36 transitions. Word has length 15 [2018-11-23 11:04:25,355 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:04:25,355 INFO L480 AbstractCegarLoop]: Abstraction has 31 states and 36 transitions. [2018-11-23 11:04:25,355 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 11:04:25,356 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 36 transitions. [2018-11-23 11:04:25,356 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2018-11-23 11:04:25,357 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:04:25,357 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 11:04:25,357 INFO L423 AbstractCegarLoop]: === Iteration 2 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:04:25,358 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:04:25,358 INFO L82 PathProgramCache]: Analyzing trace with hash 545874835, now seen corresponding path program 1 times [2018-11-23 11:04:25,358 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:04:25,359 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:25,380 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:04:25,404 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:04:25,419 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 11:04:25,420 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 11:04:25,690 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:25,704 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:25,710 INFO L267 ElimStorePlain]: Start of recursive call 3: End of recursive call: and 1 xjuncts. [2018-11-23 11:04:25,715 INFO L267 ElimStorePlain]: Start of recursive call 2: 1 dim-1 vars, End of recursive call: and 1 xjuncts. [2018-11-23 11:04:25,724 INFO L267 ElimStorePlain]: Start of recursive call 1: 1 dim-2 vars, End of recursive call: and 1 xjuncts. [2018-11-23 11:04:25,725 INFO L202 ElimStorePlain]: Needed 3 recursive calls to eliminate 1 variables, input treesize:15, output treesize:11 [2018-11-23 11:04:25,838 INFO L256 TraceCheckUtils]: 0: Hoare triple {294#true} call ULTIMATE.init(); {294#true} is VALID [2018-11-23 11:04:25,839 INFO L273 TraceCheckUtils]: 1: Hoare triple {294#true} #NULL.base, #NULL.offset := 0bv32, 0bv32;#valid := #valid[0bv32 := 0bv1]; {294#true} is VALID [2018-11-23 11:04:25,839 INFO L273 TraceCheckUtils]: 2: Hoare triple {294#true} assume true; {294#true} is VALID [2018-11-23 11:04:25,840 INFO L268 TraceCheckUtils]: 3: Hoare quadruple {294#true} {294#true} #96#return; {294#true} is VALID [2018-11-23 11:04:25,840 INFO L256 TraceCheckUtils]: 4: Hoare triple {294#true} call #t~ret10 := main(); {294#true} is VALID [2018-11-23 11:04:25,841 INFO L273 TraceCheckUtils]: 5: Hoare triple {294#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; {314#(= main_~a~0.offset (_ bv0 32))} is VALID [2018-11-23 11:04:25,842 INFO L273 TraceCheckUtils]: 6: Hoare triple {314#(= main_~a~0.offset (_ bv0 32))} assume !(~a~0.base == 0bv32 && ~a~0.offset == 0bv32); {314#(= main_~a~0.offset (_ bv0 32))} is VALID [2018-11-23 11:04:25,843 INFO L273 TraceCheckUtils]: 7: Hoare triple {314#(= main_~a~0.offset (_ bv0 32))} havoc ~t~0.base, ~t~0.offset;~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; {321#(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:25,844 INFO L273 TraceCheckUtils]: 8: Hoare triple {321#(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; {321#(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:25,858 INFO L273 TraceCheckUtils]: 9: Hoare triple {321#(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);~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset;~flag~0 := 1bv32; {328#(and (= main_~p~0.offset (_ bv0 32)) (= (bvadd (select (select |#memory_int| main_~p~0.base) (_ bv0 32)) (_ bv4294967293 32)) (_ bv0 32)))} is VALID [2018-11-23 11:04:25,872 INFO L273 TraceCheckUtils]: 10: Hoare triple {328#(and (= main_~p~0.offset (_ bv0 32)) (= (bvadd (select (select |#memory_int| main_~p~0.base) (_ bv0 32)) (_ bv4294967293 32)) (_ bv0 32)))} call #t~mem4 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); {332#(and (= (select (select |#memory_int| main_~p~0.base) main_~p~0.offset) |main_#t~mem4|) (= main_~p~0.offset (_ bv0 32)) (= (bvadd (select (select |#memory_int| main_~p~0.base) (_ bv0 32)) (_ bv4294967293 32)) (_ bv0 32)))} is VALID [2018-11-23 11:04:25,887 INFO L273 TraceCheckUtils]: 11: Hoare triple {332#(and (= (select (select |#memory_int| main_~p~0.base) main_~p~0.offset) |main_#t~mem4|) (= main_~p~0.offset (_ bv0 32)) (= (bvadd (select (select |#memory_int| main_~p~0.base) (_ bv0 32)) (_ bv4294967293 32)) (_ bv0 32)))} assume !!(3bv32 != #t~mem4);havoc #t~mem4; {295#false} is VALID [2018-11-23 11:04:25,887 INFO L273 TraceCheckUtils]: 12: Hoare triple {295#false} assume 0bv32 != ~flag~0;~flag~0 := 0bv32;call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); {295#false} is VALID [2018-11-23 11:04:25,888 INFO L273 TraceCheckUtils]: 13: Hoare triple {295#false} assume 1bv32 != #t~mem5;havoc #t~mem5; {295#false} is VALID [2018-11-23 11:04:25,888 INFO L273 TraceCheckUtils]: 14: Hoare triple {295#false} assume !false; {295#false} is VALID [2018-11-23 11:04:25,890 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:25,890 INFO L312 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2018-11-23 11:04:25,899 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 11:04:25,899 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2018-11-23 11:04:25,901 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 15 [2018-11-23 11:04:25,904 INFO L84 Accepts]: Finished accepts. word is accepted. [2018-11-23 11:04:25,904 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 6 states. [2018-11-23 11:04:25,944 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 15 edges. 15 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:04:25,944 INFO L459 AbstractCegarLoop]: Interpolant automaton has 6 states [2018-11-23 11:04:25,944 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2018-11-23 11:04:25,944 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=19, Unknown=0, NotChecked=0, Total=30 [2018-11-23 11:04:25,945 INFO L87 Difference]: Start difference. First operand 31 states and 36 transitions. Second operand 6 states. [2018-11-23 11:04:26,676 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:04:26,676 INFO L93 Difference]: Finished difference Result 58 states and 66 transitions. [2018-11-23 11:04:26,677 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2018-11-23 11:04:26,677 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 15 [2018-11-23 11:04:26,677 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 11:04:26,677 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2018-11-23 11:04:26,680 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 52 transitions. [2018-11-23 11:04:26,680 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2018-11-23 11:04:26,683 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 52 transitions. [2018-11-23 11:04:26,683 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 6 states and 52 transitions. [2018-11-23 11:04:26,766 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 52 edges. 52 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2018-11-23 11:04:26,769 INFO L225 Difference]: With dead ends: 58 [2018-11-23 11:04:26,770 INFO L226 Difference]: Without dead ends: 43 [2018-11-23 11:04:26,771 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 16 GetRequests, 9 SyntacticMatches, 1 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.4s TimeCoverageRelationStatistics Valid=23, Invalid=33, Unknown=0, NotChecked=0, Total=56 [2018-11-23 11:04:26,772 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 43 states. [2018-11-23 11:04:26,813 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 43 to 32. [2018-11-23 11:04:26,813 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2018-11-23 11:04:26,813 INFO L82 GeneralOperation]: Start isEquivalent. First operand 43 states. Second operand 32 states. [2018-11-23 11:04:26,813 INFO L74 IsIncluded]: Start isIncluded. First operand 43 states. Second operand 32 states. [2018-11-23 11:04:26,813 INFO L87 Difference]: Start difference. First operand 43 states. Second operand 32 states. [2018-11-23 11:04:26,817 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:04:26,817 INFO L93 Difference]: Finished difference Result 43 states and 48 transitions. [2018-11-23 11:04:26,817 INFO L276 IsEmpty]: Start isEmpty. Operand 43 states and 48 transitions. [2018-11-23 11:04:26,818 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:04:26,818 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:04:26,818 INFO L74 IsIncluded]: Start isIncluded. First operand 32 states. Second operand 43 states. [2018-11-23 11:04:26,818 INFO L87 Difference]: Start difference. First operand 32 states. Second operand 43 states. [2018-11-23 11:04:26,821 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 11:04:26,821 INFO L93 Difference]: Finished difference Result 43 states and 48 transitions. [2018-11-23 11:04:26,822 INFO L276 IsEmpty]: Start isEmpty. Operand 43 states and 48 transitions. [2018-11-23 11:04:26,822 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-11-23 11:04:26,822 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2018-11-23 11:04:26,823 INFO L88 GeneralOperation]: Finished isEquivalent. [2018-11-23 11:04:26,823 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2018-11-23 11:04:26,823 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 32 states. [2018-11-23 11:04:26,825 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 32 states and 37 transitions. [2018-11-23 11:04:26,826 INFO L78 Accepts]: Start accepts. Automaton has 32 states and 37 transitions. Word has length 15 [2018-11-23 11:04:26,826 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 11:04:26,826 INFO L480 AbstractCegarLoop]: Abstraction has 32 states and 37 transitions. [2018-11-23 11:04:26,826 INFO L481 AbstractCegarLoop]: Interpolant automaton has 6 states. [2018-11-23 11:04:26,826 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 37 transitions. [2018-11-23 11:04:26,827 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2018-11-23 11:04:26,827 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 11:04:26,827 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] [2018-11-23 11:04:26,828 INFO L423 AbstractCegarLoop]: === Iteration 3 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 11:04:26,828 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 11:04:26,828 INFO L82 PathProgramCache]: Analyzing trace with hash 617946346, now seen corresponding path program 1 times [2018-11-23 11:04:26,829 INFO L223 ckRefinementStrategy]: Switched to mode CVC4_FPBP [2018-11-23 11:04:26,829 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:26,852 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 11:04:26,900 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:04:26,948 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 11:04:27,037 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 #96#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] CALL call #t~ret10 := 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=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32)] [?] assume !(~a~0.base == 0bv32 && ~a~0.offset == 0bv32); VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32)] [?] havoc ~t~0.base, ~t~0.offset;~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32)] [?] assume !!(0bv32 != #t~nondet1);havoc #t~nondet1; VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32)] [?] assume 0bv32 != ~flag~0;call write~intINTTYPE4(2bv32, ~p~0.base, ~p~0.offset, 4bv32);~flag~0 := 0bv32; VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 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=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] assume !(~t~0.base == 0bv32 && ~t~0.offset == 0bv32); VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 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=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv129 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] assume !(0bv32 != #t~nondet1);havoc #t~nondet1; VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv129 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] call write~intINTTYPE4(3bv32, ~p~0.base, ~p~0.offset, 4bv32);~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset;~flag~0 := 1bv32; VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] call #t~mem4 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 32), |main_#t~malloc2.offset|=(_ bv0 32), |main_#t~mem4|=(_ bv2 32)] [?] assume !!(3bv32 != #t~mem4);havoc #t~mem4; VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] assume 0bv32 != ~flag~0;~flag~0 := 0bv32;call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 32), |main_#t~malloc2.offset|=(_ bv0 32), |main_#t~mem5|=(_ bv2 32)] [?] assume 1bv32 != #t~mem5;havoc #t~mem5; VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] assume !false; VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 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~ret10 := 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=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~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=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0.base, ~t~0.offset; [L631] ~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32] [L632-L644] assume !!(0bv32 != #t~nondet1); [L632] havoc #t~nondet1; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32] [L633-L639] assume 0bv32 != ~flag~0; [L634] call write~intINTTYPE4(2bv32, ~p~0.base, ~p~0.offset, 4bv32); [L635] ~flag~0 := 0bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32] [L640] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(8bv32); [L640] ~t~0.base, ~t~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L641] assume !(~t~0.base == 0bv32 && ~t~0.offset == 0bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L642] call write~$Pointer$(~t~0.base, ~t~0.offset, ~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L643] call #t~mem3.base, #t~mem3.offset := read~$Pointer$(~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L643] ~p~0.base, ~p~0.offset := #t~mem3.base, #t~mem3.offset; [L643] havoc #t~mem3.base, #t~mem3.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=129bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L632-L644] assume !(0bv32 != #t~nondet1); [L632] havoc #t~nondet1; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=129bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L645] call write~intINTTYPE4(3bv32, ~p~0.base, ~p~0.offset, 4bv32); [L646] ~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; [L647] ~flag~0 := 1bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L648] call #t~mem4 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, #t~mem4=2bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L648-L659] assume !!(3bv32 != #t~mem4); [L648] havoc #t~mem4; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L649-L657] assume 0bv32 != ~flag~0; [L650] ~flag~0 := 0bv32; [L651] call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, #t~mem5=2bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L651-L652] assume 1bv32 != #t~mem5; [L651] havoc #t~mem5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L668] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~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~ret10 := 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=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~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=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0.base, ~t~0.offset; [L631] ~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32] [L632-L644] assume !!(0bv32 != #t~nondet1); [L632] havoc #t~nondet1; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32] [L633-L639] assume 0bv32 != ~flag~0; [L634] call write~intINTTYPE4(2bv32, ~p~0.base, ~p~0.offset, 4bv32); [L635] ~flag~0 := 0bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32] [L640] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(8bv32); [L640] ~t~0.base, ~t~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L641] assume !(~t~0.base == 0bv32 && ~t~0.offset == 0bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L642] call write~$Pointer$(~t~0.base, ~t~0.offset, ~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L643] call #t~mem3.base, #t~mem3.offset := read~$Pointer$(~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L643] ~p~0.base, ~p~0.offset := #t~mem3.base, #t~mem3.offset; [L643] havoc #t~mem3.base, #t~mem3.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=129bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L632-L644] assume !(0bv32 != #t~nondet1); [L632] havoc #t~nondet1; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=129bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L645] call write~intINTTYPE4(3bv32, ~p~0.base, ~p~0.offset, 4bv32); [L646] ~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; [L647] ~flag~0 := 1bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L648] call #t~mem4 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, #t~mem4=2bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L648-L659] assume !!(3bv32 != #t~mem4); [L648] havoc #t~mem4; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L649-L657] assume 0bv32 != ~flag~0; [L650] ~flag~0 := 0bv32; [L651] call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, #t~mem5=2bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L651-L652] assume 1bv32 != #t~mem5; [L651] havoc #t~mem5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L668] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~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~ret10 := 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=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~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=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0; [L631] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L632-L644] COND FALSE !(!(0bv32 != #t~nondet1)) [L632] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L633-L639] COND TRUE 0bv32 != ~flag~0 [L634] FCALL call write~intINTTYPE4(2bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L635] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L640] FCALL call #t~malloc2 := #Ultimate.alloc(8bv32); [L640] ~t~0 := #t~malloc2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L641] COND FALSE !(~t~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L642] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L643] FCALL call #t~mem3 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L643] ~p~0 := #t~mem3; [L643] havoc #t~mem3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=129bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L632-L644] COND TRUE !(0bv32 != #t~nondet1) [L632] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=129bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L645] FCALL call write~intINTTYPE4(3bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L646] ~p~0 := ~a~0; [L647] ~flag~0 := 1bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L648] FCALL call #t~mem4 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, #t~mem4=2bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L648-L659] COND FALSE !(!(3bv32 != #t~mem4)) [L648] havoc #t~mem4; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L649-L657] COND TRUE 0bv32 != ~flag~0 [L650] ~flag~0 := 0bv32; [L651] 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=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, #t~mem5=2bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L651] COND TRUE 1bv32 != #t~mem5 [L651] havoc #t~mem5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L668] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~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~ret10 := 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=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~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=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0; [L631] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L632-L644] COND FALSE !(!(0bv32 != #t~nondet1)) [L632] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L633-L639] COND TRUE 0bv32 != ~flag~0 [L634] FCALL call write~intINTTYPE4(2bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L635] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L640] FCALL call #t~malloc2 := #Ultimate.alloc(8bv32); [L640] ~t~0 := #t~malloc2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L641] COND FALSE !(~t~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L642] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L643] FCALL call #t~mem3 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L643] ~p~0 := #t~mem3; [L643] havoc #t~mem3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=129bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L632-L644] COND TRUE !(0bv32 != #t~nondet1) [L632] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=129bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L645] FCALL call write~intINTTYPE4(3bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L646] ~p~0 := ~a~0; [L647] ~flag~0 := 1bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L648] FCALL call #t~mem4 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, #t~mem4=2bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L648-L659] COND FALSE !(!(3bv32 != #t~mem4)) [L648] havoc #t~mem4; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L649-L657] COND TRUE 0bv32 != ~flag~0 [L650] ~flag~0 := 0bv32; [L651] 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=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, #t~mem5=2bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L651] COND TRUE 1bv32 != #t~mem5 [L651] havoc #t~mem5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L668] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~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~ret10 := 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=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~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=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0; [L631] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L632-L644] COND FALSE !(!(0bv32 != #t~nondet1)) [L632] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L633-L639] COND TRUE 0bv32 != ~flag~0 [L634] FCALL call write~intINTTYPE4(2bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L635] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L640] FCALL call #t~malloc2 := #Ultimate.alloc(8bv32); [L640] ~t~0 := #t~malloc2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L641] COND FALSE !(~t~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L642] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L643] FCALL call #t~mem3 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L643] ~p~0 := #t~mem3; [L643] havoc #t~mem3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=129bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L632-L644] COND TRUE !(0bv32 != #t~nondet1) [L632] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=129bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L645] FCALL call write~intINTTYPE4(3bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L646] ~p~0 := ~a~0; [L647] ~flag~0 := 1bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L648] FCALL call #t~mem4 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, #t~mem4=2bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L648-L659] COND FALSE !(!(3bv32 != #t~mem4)) [L648] havoc #t~mem4; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L649-L657] COND TRUE 0bv32 != ~flag~0 [L650] ~flag~0 := 0bv32; [L651] 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=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, #t~mem5=2bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L651] COND TRUE 1bv32 != #t~mem5 [L651] havoc #t~mem5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L668] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~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~ret10 := 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=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~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=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0; [L631] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L632-L644] COND FALSE !(!(0bv32 != #t~nondet1)) [L632] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L633-L639] COND TRUE 0bv32 != ~flag~0 [L634] FCALL call write~intINTTYPE4(2bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L635] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L640] FCALL call #t~malloc2 := #Ultimate.alloc(8bv32); [L640] ~t~0 := #t~malloc2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L641] COND FALSE !(~t~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L642] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L643] FCALL call #t~mem3 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L643] ~p~0 := #t~mem3; [L643] havoc #t~mem3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=129bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L632-L644] COND TRUE !(0bv32 != #t~nondet1) [L632] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=129bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L645] FCALL call write~intINTTYPE4(3bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L646] ~p~0 := ~a~0; [L647] ~flag~0 := 1bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L648] FCALL call #t~mem4 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, #t~mem4=2bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L648-L659] COND FALSE !(!(3bv32 != #t~mem4)) [L648] havoc #t~mem4; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L649-L657] COND TRUE 0bv32 != ~flag~0 [L650] ~flag~0 := 0bv32; [L651] 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=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, #t~mem5=2bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L651] COND TRUE 1bv32 != #t~mem5 [L651] havoc #t~mem5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L668] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L627] int flag = 1; [L628] List a = (List) malloc(sizeof(struct node)); VAL [a={-2130706176:0}, flag=1, malloc(sizeof(struct node))={-2130706176:0}] [L629] COND FALSE !(a == 0) VAL [a={-2130706176:0}, flag=1, malloc(sizeof(struct node))={-2130706176:0}] [L630] List t; [L631] List p = a; VAL [a={-2130706176:0}, flag=1, malloc(sizeof(struct node))={-2130706176:0}, p={-2130706176:0}] [L632] COND TRUE __VERIFIER_nondet_int() [L633] COND TRUE \read(flag) [L634] p->h = 2 [L635] flag = 0 VAL [a={-2130706176:0}, flag=0, malloc(sizeof(struct node))={-2130706176:0}, p={-2130706176:0}] [L640] t = (List) malloc(sizeof(struct node)) VAL [a={-2130706176:0}, flag=0, malloc(sizeof(struct node))={-2130706176:0}, malloc(sizeof(struct node))={129:0}, p={-2130706176:0}, t={129:0}] [L641] COND FALSE !(t == 0) VAL [a={-2130706176:0}, flag=0, malloc(sizeof(struct node))={-2130706176:0}, malloc(sizeof(struct node))={129:0}, p={-2130706176:0}, t={129:0}] [L642] p->n = t [L643] EXPR p->n [L643] p = p->n [L632] COND FALSE !(__VERIFIER_nondet_int()) [L645] p->h = 3 [L646] p = a [L647] flag = 1 VAL [a={-2130706176:0}, flag=1, malloc(sizeof(struct node))={-2130706176:0}, malloc(sizeof(struct node))={129:0}, p={-2130706176:0}, t={129:0}] [L648] EXPR p->h VAL [a={-2130706176:0}, flag=1, malloc(sizeof(struct node))={-2130706176:0}, malloc(sizeof(struct node))={129:0}, p={-2130706176:0}, p->h=2, t={129:0}] [L648] COND TRUE p->h != 3 [L649] COND TRUE \read(flag) [L650] flag = 0 [L651] EXPR p->h VAL [a={-2130706176:0}, flag=0, malloc(sizeof(struct node))={-2130706176:0}, malloc(sizeof(struct node))={129:0}, p={-2130706176:0}, p->h=2, t={129:0}] [L651] COND TRUE p->h != 1 [L668] __VERIFIER_error() VAL [a={-2130706176:0}, flag=0, malloc(sizeof(struct node))={-2130706176:0}, malloc(sizeof(struct node))={129:0}, p={-2130706176:0}, t={129:0}] ----- [2018-11-23 11:04:27,195 WARN L170 areAnnotationChecker]: exitENTRY has no Hoare annotation [2018-11-23 11:04:27,195 WARN L170 areAnnotationChecker]: ULTIMATE.initENTRY has no Hoare annotation [2018-11-23 11:04:27,195 WARN L170 areAnnotationChecker]: ULTIMATE.startENTRY has no Hoare annotation [2018-11-23 11:04:27,195 WARN L170 areAnnotationChecker]: ULTIMATE.startENTRY has no Hoare annotation [2018-11-23 11:04:27,196 WARN L170 areAnnotationChecker]: mainENTRY has no Hoare annotation [2018-11-23 11:04:27,196 WARN L170 areAnnotationChecker]: L624 has no Hoare annotation [2018-11-23 11:04:27,196 WARN L170 areAnnotationChecker]: ULTIMATE.initFINAL has no Hoare annotation [2018-11-23 11:04:27,196 WARN L170 areAnnotationChecker]: L-1 has no Hoare annotation [2018-11-23 11:04:27,196 WARN L170 areAnnotationChecker]: L-1 has no Hoare annotation [2018-11-23 11:04:27,196 WARN L170 areAnnotationChecker]: L629 has no Hoare annotation [2018-11-23 11:04:27,196 WARN L170 areAnnotationChecker]: L629 has no Hoare annotation [2018-11-23 11:04:27,197 WARN L170 areAnnotationChecker]: ULTIMATE.initEXIT has no Hoare annotation [2018-11-23 11:04:27,197 WARN L170 areAnnotationChecker]: ULTIMATE.startFINAL has no Hoare annotation [2018-11-23 11:04:27,197 WARN L170 areAnnotationChecker]: L629-1 has no Hoare annotation [2018-11-23 11:04:27,197 WARN L170 areAnnotationChecker]: L629-1 has no Hoare annotation [2018-11-23 11:04:27,197 WARN L170 areAnnotationChecker]: L629-3 has no Hoare annotation [2018-11-23 11:04:27,197 WARN L170 areAnnotationChecker]: L632-2 has no Hoare annotation [2018-11-23 11:04:27,197 WARN L170 areAnnotationChecker]: L632-2 has no Hoare annotation [2018-11-23 11:04:27,198 WARN L170 areAnnotationChecker]: L632-2 has no Hoare annotation [2018-11-23 11:04:27,198 WARN L170 areAnnotationChecker]: L632-3 has no Hoare annotation [2018-11-23 11:04:27,198 WARN L170 areAnnotationChecker]: L633 has no Hoare annotation [2018-11-23 11:04:27,198 WARN L170 areAnnotationChecker]: L633 has no Hoare annotation [2018-11-23 11:04:27,198 WARN L170 areAnnotationChecker]: L648-3 has no Hoare annotation [2018-11-23 11:04:27,198 WARN L170 areAnnotationChecker]: L648-3 has no Hoare annotation [2018-11-23 11:04:27,198 WARN L170 areAnnotationChecker]: L633-2 has no Hoare annotation [2018-11-23 11:04:27,199 WARN L170 areAnnotationChecker]: L648-4 has no Hoare annotation [2018-11-23 11:04:27,199 WARN L170 areAnnotationChecker]: L648-1 has no Hoare annotation [2018-11-23 11:04:27,199 WARN L170 areAnnotationChecker]: L648-1 has no Hoare annotation [2018-11-23 11:04:27,199 WARN L170 areAnnotationChecker]: L641 has no Hoare annotation [2018-11-23 11:04:27,199 WARN L170 areAnnotationChecker]: L641 has no Hoare annotation [2018-11-23 11:04:27,199 WARN L170 areAnnotationChecker]: L661-3 has no Hoare annotation [2018-11-23 11:04:27,200 WARN L170 areAnnotationChecker]: L661-3 has no Hoare annotation [2018-11-23 11:04:27,200 WARN L170 areAnnotationChecker]: L649 has no Hoare annotation [2018-11-23 11:04:27,200 WARN L170 areAnnotationChecker]: L649 has no Hoare annotation [2018-11-23 11:04:27,200 WARN L170 areAnnotationChecker]: L641-1 has no Hoare annotation [2018-11-23 11:04:27,200 WARN L170 areAnnotationChecker]: L641-1 has no Hoare annotation [2018-11-23 11:04:27,200 WARN L170 areAnnotationChecker]: L641-3 has no Hoare annotation [2018-11-23 11:04:27,200 WARN L170 areAnnotationChecker]: L661-4 has no Hoare annotation [2018-11-23 11:04:27,204 WARN L170 areAnnotationChecker]: L661-1 has no Hoare annotation [2018-11-23 11:04:27,205 WARN L170 areAnnotationChecker]: L661-1 has no Hoare annotation [2018-11-23 11:04:27,205 WARN L170 areAnnotationChecker]: L651 has no Hoare annotation [2018-11-23 11:04:27,205 WARN L170 areAnnotationChecker]: L651 has no Hoare annotation [2018-11-23 11:04:27,205 WARN L170 areAnnotationChecker]: L655 has no Hoare annotation [2018-11-23 11:04:27,205 WARN L170 areAnnotationChecker]: L655 has no Hoare annotation [2018-11-23 11:04:27,205 WARN L170 areAnnotationChecker]: mainFINAL has no Hoare annotation [2018-11-23 11:04:27,206 WARN L170 areAnnotationChecker]: L656 has no Hoare annotation [2018-11-23 11:04:27,206 WARN L170 areAnnotationChecker]: L656 has no Hoare annotation [2018-11-23 11:04:27,206 WARN L170 areAnnotationChecker]: L649-2 has no Hoare annotation [2018-11-23 11:04:27,206 WARN L170 areAnnotationChecker]: mainEXIT has no Hoare annotation [2018-11-23 11:04:27,206 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:27,215 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 11:04:27 BoogieIcfgContainer [2018-11-23 11:04:27,215 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 11:04:27,216 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 11:04:27,216 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 11:04:27,216 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 11:04:27,219 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:23" (3/4) ... [2018-11-23 11:04:27,222 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 #96#return; VAL [|#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32)] [?] CALL call #t~ret10 := 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=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32)] [?] assume !(~a~0.base == 0bv32 && ~a~0.offset == 0bv32); VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32)] [?] havoc ~t~0.base, ~t~0.offset;~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32)] [?] assume !!(0bv32 != #t~nondet1);havoc #t~nondet1; VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32)] [?] assume 0bv32 != ~flag~0;call write~intINTTYPE4(2bv32, ~p~0.base, ~p~0.offset, 4bv32);~flag~0 := 0bv32; VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 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=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] assume !(~t~0.base == 0bv32 && ~t~0.offset == 0bv32); VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 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=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv129 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] assume !(0bv32 != #t~nondet1);havoc #t~nondet1; VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv129 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] call write~intINTTYPE4(3bv32, ~p~0.base, ~p~0.offset, 4bv32);~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset;~flag~0 := 1bv32; VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] call #t~mem4 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 32), |main_#t~malloc2.offset|=(_ bv0 32), |main_#t~mem4|=(_ bv2 32)] [?] assume !!(3bv32 != #t~mem4);havoc #t~mem4; VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv1 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] assume 0bv32 != ~flag~0;~flag~0 := 0bv32;call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 32), |main_#t~malloc2.offset|=(_ bv0 32), |main_#t~mem5|=(_ bv2 32)] [?] assume 1bv32 != #t~mem5;havoc #t~mem5; VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 32), |main_#t~malloc2.offset|=(_ bv0 32)] [?] assume !false; VAL [main_~a~0.base=(_ bv2164261120 32), main_~a~0.offset=(_ bv0 32), main_~flag~0=(_ bv0 32), main_~p~0.base=(_ bv2164261120 32), main_~p~0.offset=(_ bv0 32), main_~t~0.base=(_ bv129 32), main_~t~0.offset=(_ bv0 32), |#NULL.base|=(_ bv0 32), |#NULL.offset|=(_ bv0 32), |main_#t~malloc0.base|=(_ bv2164261120 32), |main_#t~malloc0.offset|=(_ bv0 32), |main_#t~malloc2.base|=(_ bv129 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~ret10 := 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=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~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=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0.base, ~t~0.offset; [L631] ~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32] [L632-L644] assume !!(0bv32 != #t~nondet1); [L632] havoc #t~nondet1; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32] [L633-L639] assume 0bv32 != ~flag~0; [L634] call write~intINTTYPE4(2bv32, ~p~0.base, ~p~0.offset, 4bv32); [L635] ~flag~0 := 0bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32] [L640] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(8bv32); [L640] ~t~0.base, ~t~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L641] assume !(~t~0.base == 0bv32 && ~t~0.offset == 0bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L642] call write~$Pointer$(~t~0.base, ~t~0.offset, ~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L643] call #t~mem3.base, #t~mem3.offset := read~$Pointer$(~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L643] ~p~0.base, ~p~0.offset := #t~mem3.base, #t~mem3.offset; [L643] havoc #t~mem3.base, #t~mem3.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=129bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L632-L644] assume !(0bv32 != #t~nondet1); [L632] havoc #t~nondet1; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=129bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L645] call write~intINTTYPE4(3bv32, ~p~0.base, ~p~0.offset, 4bv32); [L646] ~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; [L647] ~flag~0 := 1bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L648] call #t~mem4 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, #t~mem4=2bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L648-L659] assume !!(3bv32 != #t~mem4); [L648] havoc #t~mem4; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L649-L657] assume 0bv32 != ~flag~0; [L650] ~flag~0 := 0bv32; [L651] call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, #t~mem5=2bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L651-L652] assume 1bv32 != #t~mem5; [L651] havoc #t~mem5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L668] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~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~ret10 := 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=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~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=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0.base, ~t~0.offset; [L631] ~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32] [L632-L644] assume !!(0bv32 != #t~nondet1); [L632] havoc #t~nondet1; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32] [L633-L639] assume 0bv32 != ~flag~0; [L634] call write~intINTTYPE4(2bv32, ~p~0.base, ~p~0.offset, 4bv32); [L635] ~flag~0 := 0bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32] [L640] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(8bv32); [L640] ~t~0.base, ~t~0.offset := #t~malloc2.base, #t~malloc2.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L641] assume !(~t~0.base == 0bv32 && ~t~0.offset == 0bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L642] call write~$Pointer$(~t~0.base, ~t~0.offset, ~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L643] call #t~mem3.base, #t~mem3.offset := read~$Pointer$(~p~0.base, ~bvadd32(4bv32, ~p~0.offset), 4bv32); [L643] ~p~0.base, ~p~0.offset := #t~mem3.base, #t~mem3.offset; [L643] havoc #t~mem3.base, #t~mem3.offset; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=129bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L632-L644] assume !(0bv32 != #t~nondet1); [L632] havoc #t~nondet1; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=129bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L645] call write~intINTTYPE4(3bv32, ~p~0.base, ~p~0.offset, 4bv32); [L646] ~p~0.base, ~p~0.offset := ~a~0.base, ~a~0.offset; [L647] ~flag~0 := 1bv32; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L648] call #t~mem4 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, #t~mem4=2bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L648-L659] assume !!(3bv32 != #t~mem4); [L648] havoc #t~mem4; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=1bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L649-L657] assume 0bv32 != ~flag~0; [L650] ~flag~0 := 0bv32; [L651] call #t~mem5 := read~intINTTYPE4(~p~0.base, ~p~0.offset, 4bv32); VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, #t~mem5=2bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L651-L652] assume 1bv32 != #t~mem5; [L651] havoc #t~mem5; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~t~0.offset=0bv32] [L668] assert false; VAL [#NULL.base=0bv32, #NULL.offset=0bv32, #t~malloc0.base=2164261120bv32, #t~malloc0.offset=0bv32, #t~malloc2.base=129bv32, #t~malloc2.offset=0bv32, ~a~0.base=2164261120bv32, ~a~0.offset=0bv32, ~flag~0=0bv32, ~p~0.base=2164261120bv32, ~p~0.offset=0bv32, ~t~0.base=129bv32, ~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~ret10 := 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=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~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=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0; [L631] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L632-L644] COND FALSE !(!(0bv32 != #t~nondet1)) [L632] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L633-L639] COND TRUE 0bv32 != ~flag~0 [L634] FCALL call write~intINTTYPE4(2bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L635] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L640] FCALL call #t~malloc2 := #Ultimate.alloc(8bv32); [L640] ~t~0 := #t~malloc2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L641] COND FALSE !(~t~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L642] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L643] FCALL call #t~mem3 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L643] ~p~0 := #t~mem3; [L643] havoc #t~mem3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=129bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L632-L644] COND TRUE !(0bv32 != #t~nondet1) [L632] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=129bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L645] FCALL call write~intINTTYPE4(3bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L646] ~p~0 := ~a~0; [L647] ~flag~0 := 1bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L648] FCALL call #t~mem4 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, #t~mem4=2bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L648-L659] COND FALSE !(!(3bv32 != #t~mem4)) [L648] havoc #t~mem4; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L649-L657] COND TRUE 0bv32 != ~flag~0 [L650] ~flag~0 := 0bv32; [L651] 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=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, #t~mem5=2bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L651] COND TRUE 1bv32 != #t~mem5 [L651] havoc #t~mem5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L668] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~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~ret10 := 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=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~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=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0; [L631] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L632-L644] COND FALSE !(!(0bv32 != #t~nondet1)) [L632] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L633-L639] COND TRUE 0bv32 != ~flag~0 [L634] FCALL call write~intINTTYPE4(2bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L635] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L640] FCALL call #t~malloc2 := #Ultimate.alloc(8bv32); [L640] ~t~0 := #t~malloc2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L641] COND FALSE !(~t~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L642] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L643] FCALL call #t~mem3 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L643] ~p~0 := #t~mem3; [L643] havoc #t~mem3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=129bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L632-L644] COND TRUE !(0bv32 != #t~nondet1) [L632] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=129bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L645] FCALL call write~intINTTYPE4(3bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L646] ~p~0 := ~a~0; [L647] ~flag~0 := 1bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L648] FCALL call #t~mem4 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, #t~mem4=2bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L648-L659] COND FALSE !(!(3bv32 != #t~mem4)) [L648] havoc #t~mem4; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L649-L657] COND TRUE 0bv32 != ~flag~0 [L650] ~flag~0 := 0bv32; [L651] 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=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, #t~mem5=2bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L651] COND TRUE 1bv32 != #t~mem5 [L651] havoc #t~mem5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L668] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~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~ret10 := 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=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~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=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0; [L631] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L632-L644] COND FALSE !(!(0bv32 != #t~nondet1)) [L632] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L633-L639] COND TRUE 0bv32 != ~flag~0 [L634] FCALL call write~intINTTYPE4(2bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L635] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L640] FCALL call #t~malloc2 := #Ultimate.alloc(8bv32); [L640] ~t~0 := #t~malloc2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L641] COND FALSE !(~t~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L642] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L643] FCALL call #t~mem3 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L643] ~p~0 := #t~mem3; [L643] havoc #t~mem3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=129bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L632-L644] COND TRUE !(0bv32 != #t~nondet1) [L632] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=129bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L645] FCALL call write~intINTTYPE4(3bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L646] ~p~0 := ~a~0; [L647] ~flag~0 := 1bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L648] FCALL call #t~mem4 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, #t~mem4=2bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L648-L659] COND FALSE !(!(3bv32 != #t~mem4)) [L648] havoc #t~mem4; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L649-L657] COND TRUE 0bv32 != ~flag~0 [L650] ~flag~0 := 0bv32; [L651] 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=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, #t~mem5=2bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L651] COND TRUE 1bv32 != #t~mem5 [L651] havoc #t~mem5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L668] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~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~ret10 := 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=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~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=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32] [L630] havoc ~t~0; [L631] ~p~0 := ~a~0; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L632-L644] COND FALSE !(!(0bv32 != #t~nondet1)) [L632] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L633-L639] COND TRUE 0bv32 != ~flag~0 [L634] FCALL call write~intINTTYPE4(2bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L635] ~flag~0 := 0bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32] [L640] FCALL call #t~malloc2 := #Ultimate.alloc(8bv32); [L640] ~t~0 := #t~malloc2; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L641] COND FALSE !(~t~0 == { base: 0bv32, offset: 0bv32 }) VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L642] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L643] FCALL call #t~mem3 := read~$Pointer$({ base: ~p~0!base, offset: ~bvadd32(4bv32, ~p~0!offset) }, 4bv32); [L643] ~p~0 := #t~mem3; [L643] havoc #t~mem3; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=129bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L632-L644] COND TRUE !(0bv32 != #t~nondet1) [L632] havoc #t~nondet1; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=129bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L645] FCALL call write~intINTTYPE4(3bv32, { base: ~p~0!base, offset: ~p~0!offset }, 4bv32); [L646] ~p~0 := ~a~0; [L647] ~flag~0 := 1bv32; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L648] FCALL call #t~mem4 := read~intINTTYPE4({ base: ~p~0!base, offset: ~p~0!offset }, 4bv32); VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, #t~mem4=2bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L648-L659] COND FALSE !(!(3bv32 != #t~mem4)) [L648] havoc #t~mem4; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=1bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L649-L657] COND TRUE 0bv32 != ~flag~0 [L650] ~flag~0 := 0bv32; [L651] 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=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, #t~mem5=2bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L651] COND TRUE 1bv32 != #t~mem5 [L651] havoc #t~mem5; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L668] assert false; VAL [#NULL!base=0bv32, #NULL!offset=0bv32, #t~malloc0!base=2164261120bv32, #t~malloc0!offset=0bv32, #t~malloc2!base=129bv32, #t~malloc2!offset=0bv32, ~a~0!base=2164261120bv32, ~a~0!offset=0bv32, ~flag~0=0bv32, ~p~0!base=2164261120bv32, ~p~0!offset=0bv32, ~t~0!base=129bv32, ~t~0!offset=0bv32] [L627] int flag = 1; [L628] List a = (List) malloc(sizeof(struct node)); VAL [a={-2130706176:0}, flag=1, malloc(sizeof(struct node))={-2130706176:0}] [L629] COND FALSE !(a == 0) VAL [a={-2130706176:0}, flag=1, malloc(sizeof(struct node))={-2130706176:0}] [L630] List t; [L631] List p = a; VAL [a={-2130706176:0}, flag=1, malloc(sizeof(struct node))={-2130706176:0}, p={-2130706176:0}] [L632] COND TRUE __VERIFIER_nondet_int() [L633] COND TRUE \read(flag) [L634] p->h = 2 [L635] flag = 0 VAL [a={-2130706176:0}, flag=0, malloc(sizeof(struct node))={-2130706176:0}, p={-2130706176:0}] [L640] t = (List) malloc(sizeof(struct node)) VAL [a={-2130706176:0}, flag=0, malloc(sizeof(struct node))={-2130706176:0}, malloc(sizeof(struct node))={129:0}, p={-2130706176:0}, t={129:0}] [L641] COND FALSE !(t == 0) VAL [a={-2130706176:0}, flag=0, malloc(sizeof(struct node))={-2130706176:0}, malloc(sizeof(struct node))={129:0}, p={-2130706176:0}, t={129:0}] [L642] p->n = t [L643] EXPR p->n [L643] p = p->n [L632] COND FALSE !(__VERIFIER_nondet_int()) [L645] p->h = 3 [L646] p = a [L647] flag = 1 VAL [a={-2130706176:0}, flag=1, malloc(sizeof(struct node))={-2130706176:0}, malloc(sizeof(struct node))={129:0}, p={-2130706176:0}, t={129:0}] [L648] EXPR p->h VAL [a={-2130706176:0}, flag=1, malloc(sizeof(struct node))={-2130706176:0}, malloc(sizeof(struct node))={129:0}, p={-2130706176:0}, p->h=2, t={129:0}] [L648] COND TRUE p->h != 3 [L649] COND TRUE \read(flag) [L650] flag = 0 [L651] EXPR p->h VAL [a={-2130706176:0}, flag=0, malloc(sizeof(struct node))={-2130706176:0}, malloc(sizeof(struct node))={129:0}, p={-2130706176:0}, p->h=2, t={129:0}] [L651] COND TRUE p->h != 1 [L668] __VERIFIER_error() VAL [a={-2130706176:0}, flag=0, malloc(sizeof(struct node))={-2130706176:0}, malloc(sizeof(struct node))={129:0}, p={-2130706176:0}, t={129:0}] ----- [2018-11-23 11:04:27,307 INFO L145 WitnessManager]: Wrote witness to /storage/repos/svcomp/c/list-properties/alternating_list_false-unreach-call_false-valid-memcleanup.i-witness.graphml [2018-11-23 11:04:27,308 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 11:04:27,309 INFO L168 Benchmark]: Toolchain (without parser) took 5754.55 ms. Allocated memory was 1.5 GB in the beginning and 2.3 GB in the end (delta: 747.6 MB). Free memory was 1.4 GB in the beginning and 2.0 GB in the end (delta: -551.4 MB). Peak memory consumption was 196.2 MB. Max. memory is 7.1 GB. [2018-11-23 11:04:27,311 INFO L168 Benchmark]: CDTParser took 0.21 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:27,312 INFO L168 Benchmark]: CACSL2BoogieTranslator took 818.82 ms. Allocated memory was 1.5 GB in the beginning and 2.3 GB in the end (delta: 747.6 MB). Free memory was 1.4 GB in the beginning and 2.2 GB in the end (delta: -806.9 MB). Peak memory consumption was 41.8 MB. Max. memory is 7.1 GB. [2018-11-23 11:04:27,313 INFO L168 Benchmark]: Boogie Procedure Inliner took 58.29 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.2 MB). Peak memory consumption was 13.2 MB. Max. memory is 7.1 GB. [2018-11-23 11:04:27,313 INFO L168 Benchmark]: Boogie Preprocessor took 74.25 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:27,314 INFO L168 Benchmark]: RCFGBuilder took 884.49 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: 36.9 MB). Peak memory consumption was 36.9 MB. Max. memory is 7.1 GB. [2018-11-23 11:04:27,314 INFO L168 Benchmark]: TraceAbstraction took 3820.77 ms. Allocated memory is still 2.3 GB. Free memory was 2.2 GB in the beginning and 2.0 GB in the end (delta: 192.2 MB). Peak memory consumption was 192.2 MB. Max. memory is 7.1 GB. [2018-11-23 11:04:27,315 INFO L168 Benchmark]: Witness Printer took 92.13 ms. Allocated memory is still 2.3 GB. Free memory was 2.0 GB in the beginning and 2.0 GB in the end (delta: 13.2 MB). Peak memory consumption was 13.2 MB. Max. memory is 7.1 GB. [2018-11-23 11:04:27,320 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.21 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 818.82 ms. Allocated memory was 1.5 GB in the beginning and 2.3 GB in the end (delta: 747.6 MB). Free memory was 1.4 GB in the beginning and 2.2 GB in the end (delta: -806.9 MB). Peak memory consumption was 41.8 MB. Max. memory is 7.1 GB. * Boogie Procedure Inliner took 58.29 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.2 MB). Peak memory consumption was 13.2 MB. Max. memory is 7.1 GB. * Boogie Preprocessor took 74.25 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 884.49 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: 36.9 MB). Peak memory consumption was 36.9 MB. Max. memory is 7.1 GB. * TraceAbstraction took 3820.77 ms. Allocated memory is still 2.3 GB. Free memory was 2.2 GB in the beginning and 2.0 GB in the end (delta: 192.2 MB). Peak memory consumption was 192.2 MB. Max. memory is 7.1 GB. * Witness Printer took 92.13 ms. Allocated memory is still 2.3 GB. Free memory was 2.0 GB in the beginning and 2.0 GB in the end (delta: 13.2 MB). Peak memory consumption was 13.2 MB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 668]: 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={-2130706176:0}, flag=1, malloc(sizeof(struct node))={-2130706176:0}] [L629] COND FALSE !(a == 0) VAL [a={-2130706176:0}, flag=1, malloc(sizeof(struct node))={-2130706176:0}] [L630] List t; [L631] List p = a; VAL [a={-2130706176:0}, flag=1, malloc(sizeof(struct node))={-2130706176:0}, p={-2130706176:0}] [L632] COND TRUE __VERIFIER_nondet_int() [L633] COND TRUE \read(flag) [L634] p->h = 2 [L635] flag = 0 VAL [a={-2130706176:0}, flag=0, malloc(sizeof(struct node))={-2130706176:0}, p={-2130706176:0}] [L640] t = (List) malloc(sizeof(struct node)) VAL [a={-2130706176:0}, flag=0, malloc(sizeof(struct node))={-2130706176:0}, malloc(sizeof(struct node))={129:0}, p={-2130706176:0}, t={129:0}] [L641] COND FALSE !(t == 0) VAL [a={-2130706176:0}, flag=0, malloc(sizeof(struct node))={-2130706176:0}, malloc(sizeof(struct node))={129:0}, p={-2130706176:0}, t={129:0}] [L642] p->n = t [L643] EXPR p->n [L643] p = p->n [L632] COND FALSE !(__VERIFIER_nondet_int()) [L645] p->h = 3 [L646] p = a [L647] flag = 1 VAL [a={-2130706176:0}, flag=1, malloc(sizeof(struct node))={-2130706176:0}, malloc(sizeof(struct node))={129:0}, p={-2130706176:0}, t={129:0}] [L648] EXPR p->h VAL [a={-2130706176:0}, flag=1, malloc(sizeof(struct node))={-2130706176:0}, malloc(sizeof(struct node))={129:0}, p={-2130706176:0}, p->h=2, t={129:0}] [L648] COND TRUE p->h != 3 [L649] COND TRUE \read(flag) [L650] flag = 0 [L651] EXPR p->h VAL [a={-2130706176:0}, flag=0, malloc(sizeof(struct node))={-2130706176:0}, malloc(sizeof(struct node))={129:0}, p={-2130706176:0}, p->h=2, t={129:0}] [L651] COND TRUE p->h != 1 [L668] __VERIFIER_error() VAL [a={-2130706176:0}, flag=0, malloc(sizeof(struct node))={-2130706176:0}, malloc(sizeof(struct node))={129:0}, p={-2130706176:0}, t={129:0}] - StatisticsResult: Ultimate Automizer benchmark data CFG has 4 procedures, 36 locations, 1 error locations. UNSAFE Result, 3.7s OverallTime, 3 OverallIterations, 1 TraceHistogramMax, 2.2s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 64 SDtfs, 51 SDslu, 67 SDs, 0 SdLazy, 32 SolverSat, 8 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.1s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 30 GetRequests, 22 SyntacticMatches, 1 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.4s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=34occurred in iteration=0, 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.1s AutomataMinimizationTime, 2 MinimizatonAttempts, 14 StatesRemovedByMinimization, 2 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.6s InterpolantComputationTime, 50 NumberOfCodeBlocks, 50 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 28 ConstructedInterpolants, 0 QuantifiedInterpolants, 1302 SizeOfPredicates, 4 NumberOfNonLiveVariables, 100 ConjunctsInSsa, 13 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...