./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/forester-heap/sll-rb-sentinel_false-unreach-call_false-valid-memcleanup.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version aa418289 Calling Ultimate with: java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/working_dir_31e9dce1-7ebf-41cf-af89-5b3facbe94a3/bin-2019/ukojak/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_31e9dce1-7ebf-41cf-af89-5b3facbe94a3/bin-2019/ukojak/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_31e9dce1-7ebf-41cf-af89-5b3facbe94a3/bin-2019/ukojak/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_31e9dce1-7ebf-41cf-af89-5b3facbe94a3/bin-2019/ukojak/config/KojakReach.xml -i ../../sv-benchmarks/c/forester-heap/sll-rb-sentinel_false-unreach-call_false-valid-memcleanup.i -s /tmp/vcloud-vcloud-master/worker/working_dir_31e9dce1-7ebf-41cf-af89-5b3facbe94a3/bin-2019/ukojak/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_31e9dce1-7ebf-41cf-af89-5b3facbe94a3/bin-2019/ukojak --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! call(__VERIFIER_error())) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash d9f9c3b0fdd5428a38e0eab9236fadbdbb3aa880 .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE --- Real Ultimate output --- This is Ultimate 0.1.23-aa41828 [2018-11-23 05:32:59,697 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 05:32:59,699 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 05:32:59,708 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 05:32:59,708 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 05:32:59,709 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 05:32:59,710 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 05:32:59,711 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 05:32:59,712 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 05:32:59,713 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 05:32:59,713 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 05:32:59,714 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 05:32:59,714 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 05:32:59,715 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 05:32:59,716 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 05:32:59,717 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 05:32:59,717 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 05:32:59,718 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 05:32:59,720 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 05:32:59,721 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 05:32:59,721 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 05:32:59,722 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 05:32:59,724 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 05:32:59,724 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 05:32:59,724 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 05:32:59,725 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 05:32:59,725 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 05:32:59,726 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 05:32:59,727 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 05:32:59,728 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 05:32:59,728 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 05:32:59,728 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 05:32:59,728 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 05:32:59,729 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 05:32:59,729 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 05:32:59,730 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 05:32:59,730 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_31e9dce1-7ebf-41cf-af89-5b3facbe94a3/bin-2019/ukojak/config/svcomp-Reach-32bit-Kojak_Default.epf [2018-11-23 05:32:59,741 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 05:32:59,741 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 05:32:59,742 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 05:32:59,742 INFO L133 SettingsManager]: * ... to procedures called more than once=ALWAYS [2018-11-23 05:32:59,742 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 05:32:59,743 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 05:32:59,743 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 05:32:59,743 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 05:32:59,743 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-23 05:32:59,743 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 05:32:59,743 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 05:32:59,743 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 05:32:59,744 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 05:32:59,744 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 05:32:59,744 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 05:32:59,744 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 05:32:59,744 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 05:32:59,744 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 05:32:59,744 INFO L131 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2018-11-23 05:32:59,745 INFO L133 SettingsManager]: * Timeout in seconds=1000000 [2018-11-23 05:32:59,745 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 05:32:59,745 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 05:32:59,745 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2018-11-23 05:32:59,745 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 05:32:59,745 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 05:32:59,745 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 05:32:59,746 INFO L133 SettingsManager]: * Trace refinement strategy=PENGUIN [2018-11-23 05:32:59,746 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 05:32:59,746 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-11-23 05:32:59,746 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud-vcloud-master/worker/working_dir_31e9dce1-7ebf-41cf-af89-5b3facbe94a3/bin-2019/ukojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G ! call(__VERIFIER_error())) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Kojak Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> d9f9c3b0fdd5428a38e0eab9236fadbdbb3aa880 [2018-11-23 05:32:59,766 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 05:32:59,774 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 05:32:59,775 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 05:32:59,776 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 05:32:59,777 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 05:32:59,777 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_31e9dce1-7ebf-41cf-af89-5b3facbe94a3/bin-2019/ukojak/../../sv-benchmarks/c/forester-heap/sll-rb-sentinel_false-unreach-call_false-valid-memcleanup.i [2018-11-23 05:32:59,813 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_31e9dce1-7ebf-41cf-af89-5b3facbe94a3/bin-2019/ukojak/data/cab206b4c/a802ada0b9104928af6a9310e25f3787/FLAG01ce2864a [2018-11-23 05:33:00,253 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 05:33:00,253 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_31e9dce1-7ebf-41cf-af89-5b3facbe94a3/sv-benchmarks/c/forester-heap/sll-rb-sentinel_false-unreach-call_false-valid-memcleanup.i [2018-11-23 05:33:00,259 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_31e9dce1-7ebf-41cf-af89-5b3facbe94a3/bin-2019/ukojak/data/cab206b4c/a802ada0b9104928af6a9310e25f3787/FLAG01ce2864a [2018-11-23 05:33:00,268 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_31e9dce1-7ebf-41cf-af89-5b3facbe94a3/bin-2019/ukojak/data/cab206b4c/a802ada0b9104928af6a9310e25f3787 [2018-11-23 05:33:00,269 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 05:33:00,270 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 05:33:00,271 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 05:33:00,271 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 05:33:00,273 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 05:33:00,273 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 05:33:00" (1/1) ... [2018-11-23 05:33:00,275 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6fa062a9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 05:33:00, skipping insertion in model container [2018-11-23 05:33:00,275 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 05:33:00" (1/1) ... [2018-11-23 05:33:00,281 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 05:33:00,310 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 05:33:00,515 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 05:33:00,524 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 05:33:00,603 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 05:33:00,633 INFO L195 MainTranslator]: Completed translation [2018-11-23 05:33:00,633 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 05:33:00 WrapperNode [2018-11-23 05:33:00,633 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 05:33:00,634 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 05:33:00,634 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 05:33:00,634 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 05:33:00,641 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 05:33:00" (1/1) ... [2018-11-23 05:33:00,654 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 05:33:00" (1/1) ... [2018-11-23 05:33:00,674 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 05:33:00,674 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 05:33:00,674 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 05:33:00,674 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 05:33:00,683 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 05:33:00" (1/1) ... [2018-11-23 05:33:00,684 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 05:33:00" (1/1) ... [2018-11-23 05:33:00,686 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 05:33:00" (1/1) ... [2018-11-23 05:33:00,686 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 05:33:00" (1/1) ... [2018-11-23 05:33:00,693 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 05:33:00" (1/1) ... [2018-11-23 05:33:00,698 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 05:33:00" (1/1) ... [2018-11-23 05:33:00,700 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 05:33:00" (1/1) ... [2018-11-23 05:33:00,702 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 05:33:00,702 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 05:33:00,702 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 05:33:00,702 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 05:33:00,703 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 05:33:00" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_31e9dce1-7ebf-41cf-af89-5b3facbe94a3/bin-2019/ukojak/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (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:10000 [2018-11-23 05:33:00,746 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 05:33:00,746 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-23 05:33:00,746 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-23 05:33:00,746 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2018-11-23 05:33:00,747 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2018-11-23 05:33:00,747 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 05:33:00,747 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 05:33:00,747 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 05:33:01,120 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 05:33:01,120 INFO L280 CfgBuilder]: Removed 15 assue(true) statements. [2018-11-23 05:33:01,121 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 05:33:01 BoogieIcfgContainer [2018-11-23 05:33:01,121 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 05:33:01,121 INFO L113 PluginConnector]: ------------------------CodeCheck---------------------------- [2018-11-23 05:33:01,121 INFO L271 PluginConnector]: Initializing CodeCheck... [2018-11-23 05:33:01,129 INFO L276 PluginConnector]: CodeCheck initialized [2018-11-23 05:33:01,129 INFO L185 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 05:33:01" (1/1) ... [2018-11-23 05:33:01,138 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 05:33:01,158 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 05:33:01,163 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 43 states to 27 states and 43 transitions. [2018-11-23 05:33:01,163 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 43 transitions. [2018-11-23 05:33:01,165 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2018-11-23 05:33:01,166 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 05:33:01,228 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 05:33:01,263 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 05:33:01,270 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 05:33:01,270 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 27 states and 39 transitions. [2018-11-23 05:33:01,271 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 39 transitions. [2018-11-23 05:33:01,271 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2018-11-23 05:33:01,271 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 05:33:01,284 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 05:33:01,350 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 05:33:01,443 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 05:33:01,443 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 37 states to 25 states and 37 transitions. [2018-11-23 05:33:01,444 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 37 transitions. [2018-11-23 05:33:01,445 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2018-11-23 05:33:01,445 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 05:33:01,457 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 05:33:01,502 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 05:33:01,738 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 05:33:01,738 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 43 states to 32 states and 43 transitions. [2018-11-23 05:33:01,739 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 43 transitions. [2018-11-23 05:33:01,739 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2018-11-23 05:33:01,739 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 05:33:01,781 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 05:33:01,919 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 05:33:02,223 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 05:33:02,224 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 48 states to 34 states and 48 transitions. [2018-11-23 05:33:02,224 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 48 transitions. [2018-11-23 05:33:02,226 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2018-11-23 05:33:02,226 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 05:33:02,233 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 05:33:02,304 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 05:33:02,410 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 05:33:02,411 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 36 states and 49 transitions. [2018-11-23 05:33:02,411 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 49 transitions. [2018-11-23 05:33:02,411 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2018-11-23 05:33:02,411 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 05:33:02,493 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 05:33:02,662 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 05:33:03,065 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 05:33:03,066 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 27 states and 36 transitions. [2018-11-23 05:33:03,066 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 36 transitions. [2018-11-23 05:33:03,066 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2018-11-23 05:33:03,067 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 05:33:03,072 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 05:33:03,187 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 1 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 05:33:04,117 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 05:33:04,117 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 37 states and 51 transitions. [2018-11-23 05:33:04,118 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 51 transitions. [2018-11-23 05:33:04,118 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2018-11-23 05:33:04,118 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 05:33:04,138 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 05:33:04,677 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 0 proven. 4 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 05:33:07,815 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 05:33:07,816 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 83 states to 51 states and 83 transitions. [2018-11-23 05:33:07,816 INFO L276 IsEmpty]: Start isEmpty. Operand 51 states and 83 transitions. [2018-11-23 05:33:07,816 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2018-11-23 05:33:07,816 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 05:33:07,820 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 05:33:07,831 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 5 proven. 1 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 05:33:08,174 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 05:33:08,175 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 84 states to 52 states and 84 transitions. [2018-11-23 05:33:08,175 INFO L276 IsEmpty]: Start isEmpty. Operand 52 states and 84 transitions. [2018-11-23 05:33:08,175 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2018-11-23 05:33:08,176 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 05:33:08,227 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 05:33:09,013 INFO L134 CoverageAnalysis]: Checked inductivity of 8 backedges. 0 proven. 8 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 05:33:12,736 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 05:33:12,737 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 71 states to 45 states and 71 transitions. [2018-11-23 05:33:12,737 INFO L276 IsEmpty]: Start isEmpty. Operand 45 states and 71 transitions. [2018-11-23 05:33:12,737 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2018-11-23 05:33:12,737 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 05:33:12,752 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 05:33:12,764 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 05:33:12,853 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 05:33:12,918 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 05:33:12,953 WARN L493 CodeCheckObserver]: This program is UNSAFE, Check terminated with 11 iterations. ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];havoc main_#res;havoc main_#t~malloc0.base, main_#t~malloc0.offset, main_#t~malloc1.base, main_#t~malloc1.offset, main_#t~malloc3.base, main_#t~malloc3.offset, main_#t~mem4.base, main_#t~mem4.offset, main_#t~nondet5, main_#t~malloc6.base, main_#t~malloc6.offset, main_#t~mem7.base, main_#t~mem7.offset, main_#t~nondet2, main_#t~mem8, main_#t~mem9, main_#t~mem10.base, main_#t~mem10.offset, main_#t~mem11, main_#t~mem12.base, main_#t~mem12.offset, main_#t~mem13, main_#t~mem14.base, main_#t~mem14.offset, main_#t~mem15.base, main_#t~mem15.offset, main_#t~mem16.base, main_#t~mem16.offset, main_~null~0.base, main_~null~0.offset, main_~list~0.base, main_~list~0.offset, main_~end~0.base, main_~end~0.offset;call main_#t~malloc0.base, main_#t~malloc0.offset := #Ultimate.alloc(8);main_~null~0.base, main_~null~0.offset := main_#t~malloc0.base, main_#t~malloc0.offset;call write~int(~unnamed1~0~BLACK, main_~null~0.base, 4 + main_~null~0.offset, 4);call write~$Pointer$(0, 0, main_~null~0.base, main_~null~0.offset, 4);call main_#t~malloc1.base, main_#t~malloc1.offset := #Ultimate.alloc(8);main_~list~0.base, main_~list~0.offset := main_#t~malloc1.base, main_#t~malloc1.offset;call write~$Pointer$(main_~null~0.base, main_~null~0.offset, main_~list~0.base, main_~list~0.offset, 4);call write~int(~unnamed1~0~BLACK, main_~list~0.base, 4 + main_~list~0.offset, 4);main_~end~0.base, main_~end~0.offset := main_~list~0.base, main_~list~0.offset; VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0] [?] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~nondet2|=(- 1)] [?] assume !!(0 != main_#t~nondet2);havoc main_#t~nondet2;call main_#t~malloc3.base, main_#t~malloc3.offset := #Ultimate.alloc(8);call write~$Pointer$(main_#t~malloc3.base, main_#t~malloc3.offset, main_~end~0.base, main_~end~0.offset, 4);call main_#t~mem4.base, main_#t~mem4.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4);main_~end~0.base, main_~end~0.offset := main_#t~mem4.base, main_#t~mem4.offset;havoc main_#t~mem4.base, main_#t~mem4.offset;call write~$Pointer$(main_~null~0.base, main_~null~0.offset, main_~end~0.base, main_~end~0.offset, 4);assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647;BeginParallelComposition{ParallelCodeBlock0: assume 0 != main_#t~nondet5;havoc main_#t~nondet5;call write~int(~unnamed1~0~BLACK, main_~end~0.base, 4 + main_~end~0.offset, 4);ParallelCodeBlock1: assume !(0 != main_#t~nondet5);havoc main_#t~nondet5;call write~int(~unnamed1~0~RED, main_~end~0.base, 4 + main_~end~0.offset, 4);call main_#t~malloc6.base, main_#t~malloc6.offset := #Ultimate.alloc(8);call write~$Pointer$(main_#t~malloc6.base, main_#t~malloc6.offset, main_~end~0.base, main_~end~0.offset, 4);call main_#t~mem7.base, main_#t~mem7.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4);main_~end~0.base, main_~end~0.offset := main_#t~mem7.base, main_#t~mem7.offset;havoc main_#t~mem7.base, main_#t~mem7.offset;call write~$Pointer$(main_~null~0.base, main_~null~0.offset, main_~end~0.base, main_~end~0.offset, 4);call write~int(~unnamed1~0~BLACK, main_~end~0.base, 4 + main_~end~0.offset, 4);}EndParallelComposition VAL [ULTIMATE.start_main_~end~0.base=14, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [ULTIMATE.start_main_~end~0.base=14, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0, |ULTIMATE.start_main_#t~nondet2|=0] [?] assume !(0 != main_#t~nondet2);havoc main_#t~nondet2; VAL [ULTIMATE.start_main_~end~0.base=14, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] main_~end~0.base, main_~end~0.offset := main_~null~0.base, main_~null~0.offset;main_~end~0.base, main_~end~0.offset := main_~list~0.base, main_~list~0.offset; VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] goto; VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] call main_#t~mem8 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0, |ULTIMATE.start_main_#t~mem8|=1] [?] assume !!(~unnamed1~0~BLACK == main_#t~mem8);havoc main_#t~mem8; VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] goto; VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset);call main_#t~mem9 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0, |ULTIMATE.start_main_#t~mem9|=1] [?] assume !(~unnamed1~0~RED == main_#t~mem9);havoc main_#t~mem9; VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] call main_#t~mem12.base, main_#t~mem12.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4);main_~end~0.base, main_~end~0.offset := main_#t~mem12.base, main_#t~mem12.offset;havoc main_#t~mem12.base, main_#t~mem12.offset; VAL [ULTIMATE.start_main_~end~0.base=22, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset);call main_#t~mem9 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [ULTIMATE.start_main_~end~0.base=22, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0, |ULTIMATE.start_main_#t~mem9|=0] [?] assume ~unnamed1~0~RED == main_#t~mem9;havoc main_#t~mem9;call main_#t~mem10.base, main_#t~mem10.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4);main_~end~0.base, main_~end~0.offset := main_#t~mem10.base, main_#t~mem10.offset;havoc main_#t~mem10.base, main_#t~mem10.offset; VAL [ULTIMATE.start_main_~end~0.base=14, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); VAL [ULTIMATE.start_main_~end~0.base=14, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] goto; VAL [ULTIMATE.start_main_~end~0.base=14, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] call main_#t~mem11 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [ULTIMATE.start_main_~end~0.base=14, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem11|=1, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] assume !(~unnamed1~0~BLACK != main_#t~mem11);havoc main_#t~mem11; VAL [ULTIMATE.start_main_~end~0.base=14, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] assume !false; VAL [ULTIMATE.start_main_~end~0.base=14, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [?] havoc main_#res; [?] havoc main_#t~malloc0.base, main_#t~malloc0.offset, main_#t~malloc1.base, main_#t~malloc1.offset, main_#t~malloc3.base, main_#t~malloc3.offset, main_#t~mem4.base, main_#t~mem4.offset, main_#t~nondet5, main_#t~malloc6.base, main_#t~malloc6.offset, main_#t~mem7.base, main_#t~mem7.offset, main_#t~nondet2, main_#t~mem8, main_#t~mem9, main_#t~mem10.base, main_#t~mem10.offset, main_#t~mem11, main_#t~mem12.base, main_#t~mem12.offset, main_#t~mem13, main_#t~mem14.base, main_#t~mem14.offset, main_#t~mem15.base, main_#t~mem15.offset, main_#t~mem16.base, main_#t~mem16.offset, main_~null~0.base, main_~null~0.offset, main_~list~0.base, main_~list~0.offset, main_~end~0.base, main_~end~0.offset; [L994] call main_#t~malloc0.base, main_#t~malloc0.offset := #Ultimate.alloc(8); [L994] main_~null~0.base, main_~null~0.offset := main_#t~malloc0.base, main_#t~malloc0.offset; [L995] call write~int(~unnamed1~0~BLACK, main_~null~0.base, 4 + main_~null~0.offset, 4); [L996] call write~$Pointer$(0, 0, main_~null~0.base, main_~null~0.offset, 4); [L998] call main_#t~malloc1.base, main_#t~malloc1.offset := #Ultimate.alloc(8); [L998] main_~list~0.base, main_~list~0.offset := main_#t~malloc1.base, main_#t~malloc1.offset; [L999] call write~$Pointer$(main_~null~0.base, main_~null~0.offset, main_~list~0.base, main_~list~0.offset, 4); [L1000] call write~int(~unnamed1~0~BLACK, main_~list~0.base, 4 + main_~list~0.offset, 4); [L1002] main_~end~0.base, main_~end~0.offset := main_~list~0.base, main_~list~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1005] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~nondet2=-1, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1005-L1024] assume !!(0 != main_#t~nondet2); [L1005] havoc main_#t~nondet2; [L1008] call main_#t~malloc3.base, main_#t~malloc3.offset := #Ultimate.alloc(8); [L1008] call write~$Pointer$(main_#t~malloc3.base, main_#t~malloc3.offset, main_~end~0.base, main_~end~0.offset, 4); [L1009] call main_#t~mem4.base, main_#t~mem4.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4); [L1009] main_~end~0.base, main_~end~0.offset := main_#t~mem4.base, main_#t~mem4.offset; [L1009] havoc main_#t~mem4.base, main_#t~mem4.offset; [L1010] call write~$Pointer$(main_~null~0.base, main_~null~0.offset, main_~end~0.base, main_~end~0.offset, 4); [L1012] assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647; [L1012-L1023] assume !(0 != main_#t~nondet5); [L1012] havoc main_#t~nondet5; [L1018] call write~int(~unnamed1~0~RED, main_~end~0.base, 4 + main_~end~0.offset, 4); [L1019] call main_#t~malloc6.base, main_#t~malloc6.offset := #Ultimate.alloc(8); [L1019] call write~$Pointer$(main_#t~malloc6.base, main_#t~malloc6.offset, main_~end~0.base, main_~end~0.offset, 4); [L1020] call main_#t~mem7.base, main_#t~mem7.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4); [L1020] main_~end~0.base, main_~end~0.offset := main_#t~mem7.base, main_#t~mem7.offset; [L1020] havoc main_#t~mem7.base, main_#t~mem7.offset; [L1021] call write~$Pointer$(main_~null~0.base, main_~null~0.offset, main_~end~0.base, main_~end~0.offset, 4); [L1022] call write~int(~unnamed1~0~BLACK, main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1005] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_#t~nondet2=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1005-L1024] assume !(0 != main_#t~nondet2); [L1005] havoc main_#t~nondet2; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1026] main_~end~0.base, main_~end~0.offset := main_~null~0.base, main_~null~0.offset; [L1027] main_~end~0.base, main_~end~0.offset := main_~list~0.base, main_~list~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1030] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1031] call main_#t~mem8 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_#t~mem8=1, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1031] assume !!(~unnamed1~0~BLACK == main_#t~mem8); [L1031] havoc main_#t~mem8; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1033-L1043] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); [L1035] call main_#t~mem9 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_#t~mem9=1, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1035-L1040] assume !(~unnamed1~0~RED == main_#t~mem9); [L1035] havoc main_#t~mem9; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1042] call main_#t~mem12.base, main_#t~mem12.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4); [L1042] main_~end~0.base, main_~end~0.offset := main_#t~mem12.base, main_#t~mem12.offset; [L1042] havoc main_#t~mem12.base, main_#t~mem12.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=22, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1033-L1043] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); [L1035] call main_#t~mem9 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_#t~mem9=0, main_~end~0.base=22, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1035-L1040] assume ~unnamed1~0~RED == main_#t~mem9; [L1035] havoc main_#t~mem9; [L1037] call main_#t~mem10.base, main_#t~mem10.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4); [L1037] main_~end~0.base, main_~end~0.offset := main_#t~mem10.base, main_#t~mem10.offset; [L1037] havoc main_#t~mem10.base, main_#t~mem10.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1038] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1039] call main_#t~mem11 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem11=1, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1039] assume !(~unnamed1~0~BLACK != main_#t~mem11); [L1039] havoc main_#t~mem11; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1039] assert false; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [?] havoc main_#res; [?] havoc main_#t~malloc0.base, main_#t~malloc0.offset, main_#t~malloc1.base, main_#t~malloc1.offset, main_#t~malloc3.base, main_#t~malloc3.offset, main_#t~mem4.base, main_#t~mem4.offset, main_#t~nondet5, main_#t~malloc6.base, main_#t~malloc6.offset, main_#t~mem7.base, main_#t~mem7.offset, main_#t~nondet2, main_#t~mem8, main_#t~mem9, main_#t~mem10.base, main_#t~mem10.offset, main_#t~mem11, main_#t~mem12.base, main_#t~mem12.offset, main_#t~mem13, main_#t~mem14.base, main_#t~mem14.offset, main_#t~mem15.base, main_#t~mem15.offset, main_#t~mem16.base, main_#t~mem16.offset, main_~null~0.base, main_~null~0.offset, main_~list~0.base, main_~list~0.offset, main_~end~0.base, main_~end~0.offset; [L994] call main_#t~malloc0.base, main_#t~malloc0.offset := #Ultimate.alloc(8); [L994] main_~null~0.base, main_~null~0.offset := main_#t~malloc0.base, main_#t~malloc0.offset; [L995] call write~int(~unnamed1~0~BLACK, main_~null~0.base, 4 + main_~null~0.offset, 4); [L996] call write~$Pointer$(0, 0, main_~null~0.base, main_~null~0.offset, 4); [L998] call main_#t~malloc1.base, main_#t~malloc1.offset := #Ultimate.alloc(8); [L998] main_~list~0.base, main_~list~0.offset := main_#t~malloc1.base, main_#t~malloc1.offset; [L999] call write~$Pointer$(main_~null~0.base, main_~null~0.offset, main_~list~0.base, main_~list~0.offset, 4); [L1000] call write~int(~unnamed1~0~BLACK, main_~list~0.base, 4 + main_~list~0.offset, 4); [L1002] main_~end~0.base, main_~end~0.offset := main_~list~0.base, main_~list~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1005] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~nondet2=-1, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1005-L1024] assume !!(0 != main_#t~nondet2); [L1005] havoc main_#t~nondet2; [L1008] call main_#t~malloc3.base, main_#t~malloc3.offset := #Ultimate.alloc(8); [L1008] call write~$Pointer$(main_#t~malloc3.base, main_#t~malloc3.offset, main_~end~0.base, main_~end~0.offset, 4); [L1009] call main_#t~mem4.base, main_#t~mem4.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4); [L1009] main_~end~0.base, main_~end~0.offset := main_#t~mem4.base, main_#t~mem4.offset; [L1009] havoc main_#t~mem4.base, main_#t~mem4.offset; [L1010] call write~$Pointer$(main_~null~0.base, main_~null~0.offset, main_~end~0.base, main_~end~0.offset, 4); [L1012] assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647; [L1012-L1023] assume !(0 != main_#t~nondet5); [L1012] havoc main_#t~nondet5; [L1018] call write~int(~unnamed1~0~RED, main_~end~0.base, 4 + main_~end~0.offset, 4); [L1019] call main_#t~malloc6.base, main_#t~malloc6.offset := #Ultimate.alloc(8); [L1019] call write~$Pointer$(main_#t~malloc6.base, main_#t~malloc6.offset, main_~end~0.base, main_~end~0.offset, 4); [L1020] call main_#t~mem7.base, main_#t~mem7.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4); [L1020] main_~end~0.base, main_~end~0.offset := main_#t~mem7.base, main_#t~mem7.offset; [L1020] havoc main_#t~mem7.base, main_#t~mem7.offset; [L1021] call write~$Pointer$(main_~null~0.base, main_~null~0.offset, main_~end~0.base, main_~end~0.offset, 4); [L1022] call write~int(~unnamed1~0~BLACK, main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1005] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_#t~nondet2=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1005-L1024] assume !(0 != main_#t~nondet2); [L1005] havoc main_#t~nondet2; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1026] main_~end~0.base, main_~end~0.offset := main_~null~0.base, main_~null~0.offset; [L1027] main_~end~0.base, main_~end~0.offset := main_~list~0.base, main_~list~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1030] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1031] call main_#t~mem8 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_#t~mem8=1, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1031] assume !!(~unnamed1~0~BLACK == main_#t~mem8); [L1031] havoc main_#t~mem8; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1033-L1043] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); [L1035] call main_#t~mem9 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_#t~mem9=1, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1035-L1040] assume !(~unnamed1~0~RED == main_#t~mem9); [L1035] havoc main_#t~mem9; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1042] call main_#t~mem12.base, main_#t~mem12.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4); [L1042] main_~end~0.base, main_~end~0.offset := main_#t~mem12.base, main_#t~mem12.offset; [L1042] havoc main_#t~mem12.base, main_#t~mem12.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=22, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1033-L1043] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); [L1035] call main_#t~mem9 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_#t~mem9=0, main_~end~0.base=22, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1035-L1040] assume ~unnamed1~0~RED == main_#t~mem9; [L1035] havoc main_#t~mem9; [L1037] call main_#t~mem10.base, main_#t~mem10.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4); [L1037] main_~end~0.base, main_~end~0.offset := main_#t~mem10.base, main_#t~mem10.offset; [L1037] havoc main_#t~mem10.base, main_#t~mem10.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1038] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1039] call main_#t~mem11 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem11=1, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1039] assume !(~unnamed1~0~BLACK != main_#t~mem11); [L1039] havoc main_#t~mem11; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1039] assert false; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [?] havoc main_#res; [?] havoc main_#t~malloc0, main_#t~malloc1, main_#t~malloc3, main_#t~mem4, main_#t~nondet5, main_#t~malloc6, main_#t~mem7, main_#t~nondet2, main_#t~mem8, main_#t~mem9, main_#t~mem10, main_#t~mem11, main_#t~mem12, main_#t~mem13, main_#t~mem14, main_#t~mem15, main_#t~mem16, main_~null~0, main_~list~0, main_~end~0; [L994] FCALL call main_#t~malloc0 := #Ultimate.alloc(8); [L994] main_~null~0 := main_#t~malloc0; [L995] FCALL call write~int(~unnamed1~0~BLACK, { base: main_~null~0!base, offset: 4 + main_~null~0!offset }, 4); [L996] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: main_~null~0!base, offset: main_~null~0!offset }, 4); [L998] FCALL call main_#t~malloc1 := #Ultimate.alloc(8); [L998] main_~list~0 := main_#t~malloc1; [L999] FCALL call write~$Pointer$(main_~null~0, { base: main_~list~0!base, offset: main_~list~0!offset }, 4); [L1000] FCALL call write~int(~unnamed1~0~BLACK, { base: main_~list~0!base, offset: 4 + main_~list~0!offset }, 4); [L1002] main_~end~0 := main_~list~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1005] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~nondet2=-1, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1005-L1024] COND FALSE !(!(0 != main_#t~nondet2)) [L1005] havoc main_#t~nondet2; [L1008] FCALL call main_#t~malloc3 := #Ultimate.alloc(8); [L1008] FCALL call write~$Pointer$(main_#t~malloc3, { base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1009] FCALL call main_#t~mem4 := read~$Pointer$({ base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1009] main_~end~0 := main_#t~mem4; [L1009] havoc main_#t~mem4; [L1010] FCALL call write~$Pointer$(main_~null~0, { base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1012] assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647; [L1012-L1023] COND FALSE !(0 != main_#t~nondet5) [L1012] havoc main_#t~nondet5; [L1018] FCALL call write~int(~unnamed1~0~RED, { base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); [L1019] FCALL call main_#t~malloc6 := #Ultimate.alloc(8); [L1019] FCALL call write~$Pointer$(main_#t~malloc6, { base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1020] FCALL call main_#t~mem7 := read~$Pointer$({ base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1020] main_~end~0 := main_#t~mem7; [L1020] havoc main_#t~mem7; [L1021] FCALL call write~$Pointer$(main_~null~0, { base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1022] FCALL call write~int(~unnamed1~0~BLACK, { base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1005] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_#t~nondet2=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1005-L1024] COND TRUE !(0 != main_#t~nondet2) [L1005] havoc main_#t~nondet2; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1026] main_~end~0 := main_~null~0; [L1027] main_~end~0 := main_~list~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1030] COND FALSE !(!(main_~null~0 != main_~end~0)) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1031] FCALL call main_#t~mem8 := read~int({ base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_#t~mem8=1, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1031] COND FALSE !(!(~unnamed1~0~BLACK == main_#t~mem8)) [L1031] havoc main_#t~mem8; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1033-L1043] COND FALSE !(!(main_~null~0 != main_~end~0)) [L1035] FCALL call main_#t~mem9 := read~int({ base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_#t~mem9=1, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1035] COND FALSE !(~unnamed1~0~RED == main_#t~mem9) [L1035] havoc main_#t~mem9; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1042] FCALL call main_#t~mem12 := read~$Pointer$({ base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1042] main_~end~0 := main_#t~mem12; [L1042] havoc main_#t~mem12; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=22, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1033-L1043] COND FALSE !(!(main_~null~0 != main_~end~0)) [L1035] FCALL call main_#t~mem9 := read~int({ base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_#t~mem9=0, main_~end~0!base=22, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1035] COND TRUE ~unnamed1~0~RED == main_#t~mem9 [L1035] havoc main_#t~mem9; [L1037] FCALL call main_#t~mem10 := read~$Pointer$({ base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1037] main_~end~0 := main_#t~mem10; [L1037] havoc main_#t~mem10; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1038] COND FALSE !(!(main_~null~0 != main_~end~0)) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1039] FCALL call main_#t~mem11 := read~int({ base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem11=1, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1039] COND TRUE !(~unnamed1~0~BLACK != main_#t~mem11) [L1039] havoc main_#t~mem11; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1039] assert false; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [?] havoc main_#res; [?] havoc main_#t~malloc0, main_#t~malloc1, main_#t~malloc3, main_#t~mem4, main_#t~nondet5, main_#t~malloc6, main_#t~mem7, main_#t~nondet2, main_#t~mem8, main_#t~mem9, main_#t~mem10, main_#t~mem11, main_#t~mem12, main_#t~mem13, main_#t~mem14, main_#t~mem15, main_#t~mem16, main_~null~0, main_~list~0, main_~end~0; [L994] FCALL call main_#t~malloc0 := #Ultimate.alloc(8); [L994] main_~null~0 := main_#t~malloc0; [L995] FCALL call write~int(~unnamed1~0~BLACK, { base: main_~null~0!base, offset: 4 + main_~null~0!offset }, 4); [L996] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: main_~null~0!base, offset: main_~null~0!offset }, 4); [L998] FCALL call main_#t~malloc1 := #Ultimate.alloc(8); [L998] main_~list~0 := main_#t~malloc1; [L999] FCALL call write~$Pointer$(main_~null~0, { base: main_~list~0!base, offset: main_~list~0!offset }, 4); [L1000] FCALL call write~int(~unnamed1~0~BLACK, { base: main_~list~0!base, offset: 4 + main_~list~0!offset }, 4); [L1002] main_~end~0 := main_~list~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1005] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~nondet2=-1, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1005-L1024] COND FALSE !(!(0 != main_#t~nondet2)) [L1005] havoc main_#t~nondet2; [L1008] FCALL call main_#t~malloc3 := #Ultimate.alloc(8); [L1008] FCALL call write~$Pointer$(main_#t~malloc3, { base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1009] FCALL call main_#t~mem4 := read~$Pointer$({ base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1009] main_~end~0 := main_#t~mem4; [L1009] havoc main_#t~mem4; [L1010] FCALL call write~$Pointer$(main_~null~0, { base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1012] assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647; [L1012-L1023] COND FALSE !(0 != main_#t~nondet5) [L1012] havoc main_#t~nondet5; [L1018] FCALL call write~int(~unnamed1~0~RED, { base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); [L1019] FCALL call main_#t~malloc6 := #Ultimate.alloc(8); [L1019] FCALL call write~$Pointer$(main_#t~malloc6, { base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1020] FCALL call main_#t~mem7 := read~$Pointer$({ base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1020] main_~end~0 := main_#t~mem7; [L1020] havoc main_#t~mem7; [L1021] FCALL call write~$Pointer$(main_~null~0, { base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1022] FCALL call write~int(~unnamed1~0~BLACK, { base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1005] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_#t~nondet2=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1005-L1024] COND TRUE !(0 != main_#t~nondet2) [L1005] havoc main_#t~nondet2; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1026] main_~end~0 := main_~null~0; [L1027] main_~end~0 := main_~list~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1030] COND FALSE !(!(main_~null~0 != main_~end~0)) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1031] FCALL call main_#t~mem8 := read~int({ base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_#t~mem8=1, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1031] COND FALSE !(!(~unnamed1~0~BLACK == main_#t~mem8)) [L1031] havoc main_#t~mem8; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1033-L1043] COND FALSE !(!(main_~null~0 != main_~end~0)) [L1035] FCALL call main_#t~mem9 := read~int({ base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_#t~mem9=1, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1035] COND FALSE !(~unnamed1~0~RED == main_#t~mem9) [L1035] havoc main_#t~mem9; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1042] FCALL call main_#t~mem12 := read~$Pointer$({ base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1042] main_~end~0 := main_#t~mem12; [L1042] havoc main_#t~mem12; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=22, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1033-L1043] COND FALSE !(!(main_~null~0 != main_~end~0)) [L1035] FCALL call main_#t~mem9 := read~int({ base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_#t~mem9=0, main_~end~0!base=22, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1035] COND TRUE ~unnamed1~0~RED == main_#t~mem9 [L1035] havoc main_#t~mem9; [L1037] FCALL call main_#t~mem10 := read~$Pointer$({ base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1037] main_~end~0 := main_#t~mem10; [L1037] havoc main_#t~mem10; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1038] COND FALSE !(!(main_~null~0 != main_~end~0)) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1039] FCALL call main_#t~mem11 := read~int({ base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem11=1, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1039] COND TRUE !(~unnamed1~0~BLACK != main_#t~mem11) [L1039] havoc main_#t~mem11; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1039] assert false; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L994] FCALL call #t~malloc0 := #Ultimate.alloc(8); [L994] ~null~0 := #t~malloc0; [L995] FCALL call write~int(~unnamed1~0~BLACK, { base: ~null~0!base, offset: 4 + ~null~0!offset }, 4); [L996] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~null~0!base, offset: ~null~0!offset }, 4); [L998] FCALL call #t~malloc1 := #Ultimate.alloc(8); [L998] ~list~0 := #t~malloc1; [L999] FCALL call write~$Pointer$(~null~0, { base: ~list~0!base, offset: ~list~0!offset }, 4); [L1000] FCALL call write~int(~unnamed1~0~BLACK, { base: ~list~0!base, offset: 4 + ~list~0!offset }, 4); [L1002] ~end~0 := ~list~0; VAL [#NULL!base=0, #NULL!offset=0] [L1005] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L1005-L1024] COND FALSE !(!(0 != #t~nondet2)) [L1005] havoc #t~nondet2; [L1008] FCALL call #t~malloc3 := #Ultimate.alloc(8); [L1008] FCALL call write~$Pointer$(#t~malloc3, { base: ~end~0!base, offset: ~end~0!offset }, 4); [L1009] FCALL call #t~mem4 := read~$Pointer$({ base: ~end~0!base, offset: ~end~0!offset }, 4); [L1009] ~end~0 := #t~mem4; [L1009] havoc #t~mem4; [L1010] FCALL call write~$Pointer$(~null~0, { base: ~end~0!base, offset: ~end~0!offset }, 4); [L1012] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; [L1012-L1023] COND FALSE !(0 != #t~nondet5) [L1012] havoc #t~nondet5; [L1018] FCALL call write~int(~unnamed1~0~RED, { base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); [L1019] FCALL call #t~malloc6 := #Ultimate.alloc(8); [L1019] FCALL call write~$Pointer$(#t~malloc6, { base: ~end~0!base, offset: ~end~0!offset }, 4); [L1020] FCALL call #t~mem7 := read~$Pointer$({ base: ~end~0!base, offset: ~end~0!offset }, 4); [L1020] ~end~0 := #t~mem7; [L1020] havoc #t~mem7; [L1021] FCALL call write~$Pointer$(~null~0, { base: ~end~0!base, offset: ~end~0!offset }, 4); [L1022] FCALL call write~int(~unnamed1~0~BLACK, { base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1005] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L1005-L1024] COND TRUE !(0 != #t~nondet2) [L1005] havoc #t~nondet2; VAL [#NULL!base=0, #NULL!offset=0] [L1026] ~end~0 := ~null~0; [L1027] ~end~0 := ~list~0; VAL [#NULL!base=0, #NULL!offset=0] [L1030] COND FALSE !(!(~null~0 != ~end~0)) VAL [#NULL!base=0, #NULL!offset=0] [L1031] FCALL call #t~mem8 := read~int({ base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1031] COND FALSE !(!(~unnamed1~0~BLACK == #t~mem8)) [L1031] havoc #t~mem8; VAL [#NULL!base=0, #NULL!offset=0] [L1033-L1043] COND FALSE !(!(~null~0 != ~end~0)) [L1035] FCALL call #t~mem9 := read~int({ base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1035] COND FALSE !(~unnamed1~0~RED == #t~mem9) [L1035] havoc #t~mem9; VAL [#NULL!base=0, #NULL!offset=0] [L1042] FCALL call #t~mem12 := read~$Pointer$({ base: ~end~0!base, offset: ~end~0!offset }, 4); [L1042] ~end~0 := #t~mem12; [L1042] havoc #t~mem12; VAL [#NULL!base=0, #NULL!offset=0] [L1033-L1043] COND FALSE !(!(~null~0 != ~end~0)) [L1035] FCALL call #t~mem9 := read~int({ base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1035] COND TRUE ~unnamed1~0~RED == #t~mem9 [L1035] havoc #t~mem9; [L1037] FCALL call #t~mem10 := read~$Pointer$({ base: ~end~0!base, offset: ~end~0!offset }, 4); [L1037] ~end~0 := #t~mem10; [L1037] havoc #t~mem10; VAL [#NULL!base=0, #NULL!offset=0] [L1038] COND FALSE !(!(~null~0 != ~end~0)) VAL [#NULL!base=0, #NULL!offset=0] [L1039] FCALL call #t~mem11 := read~int({ base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1039] COND TRUE !(~unnamed1~0~BLACK != #t~mem11) [L1039] havoc #t~mem11; VAL [#NULL!base=0, #NULL!offset=0] [L1039] assert false; VAL [#NULL!base=0, #NULL!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L994] FCALL call #t~malloc0 := #Ultimate.alloc(8); [L994] ~null~0 := #t~malloc0; [L995] FCALL call write~int(~unnamed1~0~BLACK, { base: ~null~0!base, offset: 4 + ~null~0!offset }, 4); [L996] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~null~0!base, offset: ~null~0!offset }, 4); [L998] FCALL call #t~malloc1 := #Ultimate.alloc(8); [L998] ~list~0 := #t~malloc1; [L999] FCALL call write~$Pointer$(~null~0, { base: ~list~0!base, offset: ~list~0!offset }, 4); [L1000] FCALL call write~int(~unnamed1~0~BLACK, { base: ~list~0!base, offset: 4 + ~list~0!offset }, 4); [L1002] ~end~0 := ~list~0; VAL [#NULL!base=0, #NULL!offset=0] [L1005] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L1005-L1024] COND FALSE !(!(0 != #t~nondet2)) [L1005] havoc #t~nondet2; [L1008] FCALL call #t~malloc3 := #Ultimate.alloc(8); [L1008] FCALL call write~$Pointer$(#t~malloc3, { base: ~end~0!base, offset: ~end~0!offset }, 4); [L1009] FCALL call #t~mem4 := read~$Pointer$({ base: ~end~0!base, offset: ~end~0!offset }, 4); [L1009] ~end~0 := #t~mem4; [L1009] havoc #t~mem4; [L1010] FCALL call write~$Pointer$(~null~0, { base: ~end~0!base, offset: ~end~0!offset }, 4); [L1012] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; [L1012-L1023] COND FALSE !(0 != #t~nondet5) [L1012] havoc #t~nondet5; [L1018] FCALL call write~int(~unnamed1~0~RED, { base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); [L1019] FCALL call #t~malloc6 := #Ultimate.alloc(8); [L1019] FCALL call write~$Pointer$(#t~malloc6, { base: ~end~0!base, offset: ~end~0!offset }, 4); [L1020] FCALL call #t~mem7 := read~$Pointer$({ base: ~end~0!base, offset: ~end~0!offset }, 4); [L1020] ~end~0 := #t~mem7; [L1020] havoc #t~mem7; [L1021] FCALL call write~$Pointer$(~null~0, { base: ~end~0!base, offset: ~end~0!offset }, 4); [L1022] FCALL call write~int(~unnamed1~0~BLACK, { base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1005] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L1005-L1024] COND TRUE !(0 != #t~nondet2) [L1005] havoc #t~nondet2; VAL [#NULL!base=0, #NULL!offset=0] [L1026] ~end~0 := ~null~0; [L1027] ~end~0 := ~list~0; VAL [#NULL!base=0, #NULL!offset=0] [L1030] COND FALSE !(!(~null~0 != ~end~0)) VAL [#NULL!base=0, #NULL!offset=0] [L1031] FCALL call #t~mem8 := read~int({ base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1031] COND FALSE !(!(~unnamed1~0~BLACK == #t~mem8)) [L1031] havoc #t~mem8; VAL [#NULL!base=0, #NULL!offset=0] [L1033-L1043] COND FALSE !(!(~null~0 != ~end~0)) [L1035] FCALL call #t~mem9 := read~int({ base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1035] COND FALSE !(~unnamed1~0~RED == #t~mem9) [L1035] havoc #t~mem9; VAL [#NULL!base=0, #NULL!offset=0] [L1042] FCALL call #t~mem12 := read~$Pointer$({ base: ~end~0!base, offset: ~end~0!offset }, 4); [L1042] ~end~0 := #t~mem12; [L1042] havoc #t~mem12; VAL [#NULL!base=0, #NULL!offset=0] [L1033-L1043] COND FALSE !(!(~null~0 != ~end~0)) [L1035] FCALL call #t~mem9 := read~int({ base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1035] COND TRUE ~unnamed1~0~RED == #t~mem9 [L1035] havoc #t~mem9; [L1037] FCALL call #t~mem10 := read~$Pointer$({ base: ~end~0!base, offset: ~end~0!offset }, 4); [L1037] ~end~0 := #t~mem10; [L1037] havoc #t~mem10; VAL [#NULL!base=0, #NULL!offset=0] [L1038] COND FALSE !(!(~null~0 != ~end~0)) VAL [#NULL!base=0, #NULL!offset=0] [L1039] FCALL call #t~mem11 := read~int({ base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1039] COND TRUE !(~unnamed1~0~BLACK != #t~mem11) [L1039] havoc #t~mem11; VAL [#NULL!base=0, #NULL!offset=0] [L1039] assert false; VAL [#NULL!base=0, #NULL!offset=0] [L994] SLL* null = malloc(sizeof(SLL)); [L995] null->colour = BLACK [L996] null->next = ((void*)0) [L998] SLL* list = malloc(sizeof(SLL)); [L999] list->next = null [L1000] list->colour = BLACK [L1002] SLL* end = list; [L1005] COND TRUE __VERIFIER_nondet_int() [L1008] end->next = malloc(sizeof(SLL)) [L1009] EXPR end->next [L1009] end = end->next [L1010] end->next = null [L1012] COND FALSE !(__VERIFIER_nondet_int()) [L1018] end->colour = RED [L1019] end->next = malloc(sizeof(SLL)) [L1020] EXPR end->next [L1020] end = end->next [L1021] end->next = null [L1022] end->colour = BLACK [L1005] COND FALSE !(__VERIFIER_nondet_int()) [L1026] end = null [L1027] end = list [L1030] COND FALSE !(!(null != end)) [L1031] EXPR end->colour [L1031] COND FALSE !(!(BLACK == end->colour)) [L1033] COND TRUE null != end [L1035] EXPR end->colour [L1035] COND FALSE !(RED == end->colour) [L1042] EXPR end->next [L1042] end = end->next [L1033] COND TRUE null != end [L1035] EXPR end->colour [L1035] COND TRUE RED == end->colour [L1037] EXPR end->next [L1037] end = end->next [L1038] COND FALSE !(!(null != end)) [L1039] EXPR end->colour [L1039] COND TRUE !(BLACK != end->colour) [L1039] __VERIFIER_error() ----- [2018-11-23 05:33:13,034 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 23.11 05:33:13 ImpRootNode [2018-11-23 05:33:13,034 INFO L132 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2018-11-23 05:33:13,034 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 05:33:13,034 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 05:33:13,034 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 05:33:13,035 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 05:33:01" (3/4) ... [2018-11-23 05:33:13,037 INFO L138 WitnessPrinter]: Generating witness for reachability counterexample ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];havoc main_#res;havoc main_#t~malloc0.base, main_#t~malloc0.offset, main_#t~malloc1.base, main_#t~malloc1.offset, main_#t~malloc3.base, main_#t~malloc3.offset, main_#t~mem4.base, main_#t~mem4.offset, main_#t~nondet5, main_#t~malloc6.base, main_#t~malloc6.offset, main_#t~mem7.base, main_#t~mem7.offset, main_#t~nondet2, main_#t~mem8, main_#t~mem9, main_#t~mem10.base, main_#t~mem10.offset, main_#t~mem11, main_#t~mem12.base, main_#t~mem12.offset, main_#t~mem13, main_#t~mem14.base, main_#t~mem14.offset, main_#t~mem15.base, main_#t~mem15.offset, main_#t~mem16.base, main_#t~mem16.offset, main_~null~0.base, main_~null~0.offset, main_~list~0.base, main_~list~0.offset, main_~end~0.base, main_~end~0.offset;call main_#t~malloc0.base, main_#t~malloc0.offset := #Ultimate.alloc(8);main_~null~0.base, main_~null~0.offset := main_#t~malloc0.base, main_#t~malloc0.offset;call write~int(~unnamed1~0~BLACK, main_~null~0.base, 4 + main_~null~0.offset, 4);call write~$Pointer$(0, 0, main_~null~0.base, main_~null~0.offset, 4);call main_#t~malloc1.base, main_#t~malloc1.offset := #Ultimate.alloc(8);main_~list~0.base, main_~list~0.offset := main_#t~malloc1.base, main_#t~malloc1.offset;call write~$Pointer$(main_~null~0.base, main_~null~0.offset, main_~list~0.base, main_~list~0.offset, 4);call write~int(~unnamed1~0~BLACK, main_~list~0.base, 4 + main_~list~0.offset, 4);main_~end~0.base, main_~end~0.offset := main_~list~0.base, main_~list~0.offset; VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0] [?] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~nondet2|=(- 1)] [?] assume !!(0 != main_#t~nondet2);havoc main_#t~nondet2;call main_#t~malloc3.base, main_#t~malloc3.offset := #Ultimate.alloc(8);call write~$Pointer$(main_#t~malloc3.base, main_#t~malloc3.offset, main_~end~0.base, main_~end~0.offset, 4);call main_#t~mem4.base, main_#t~mem4.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4);main_~end~0.base, main_~end~0.offset := main_#t~mem4.base, main_#t~mem4.offset;havoc main_#t~mem4.base, main_#t~mem4.offset;call write~$Pointer$(main_~null~0.base, main_~null~0.offset, main_~end~0.base, main_~end~0.offset, 4);assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647;BeginParallelComposition{ParallelCodeBlock0: assume 0 != main_#t~nondet5;havoc main_#t~nondet5;call write~int(~unnamed1~0~BLACK, main_~end~0.base, 4 + main_~end~0.offset, 4);ParallelCodeBlock1: assume !(0 != main_#t~nondet5);havoc main_#t~nondet5;call write~int(~unnamed1~0~RED, main_~end~0.base, 4 + main_~end~0.offset, 4);call main_#t~malloc6.base, main_#t~malloc6.offset := #Ultimate.alloc(8);call write~$Pointer$(main_#t~malloc6.base, main_#t~malloc6.offset, main_~end~0.base, main_~end~0.offset, 4);call main_#t~mem7.base, main_#t~mem7.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4);main_~end~0.base, main_~end~0.offset := main_#t~mem7.base, main_#t~mem7.offset;havoc main_#t~mem7.base, main_#t~mem7.offset;call write~$Pointer$(main_~null~0.base, main_~null~0.offset, main_~end~0.base, main_~end~0.offset, 4);call write~int(~unnamed1~0~BLACK, main_~end~0.base, 4 + main_~end~0.offset, 4);}EndParallelComposition VAL [ULTIMATE.start_main_~end~0.base=14, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [ULTIMATE.start_main_~end~0.base=14, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0, |ULTIMATE.start_main_#t~nondet2|=0] [?] assume !(0 != main_#t~nondet2);havoc main_#t~nondet2; VAL [ULTIMATE.start_main_~end~0.base=14, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] main_~end~0.base, main_~end~0.offset := main_~null~0.base, main_~null~0.offset;main_~end~0.base, main_~end~0.offset := main_~list~0.base, main_~list~0.offset; VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] goto; VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] call main_#t~mem8 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0, |ULTIMATE.start_main_#t~mem8|=1] [?] assume !!(~unnamed1~0~BLACK == main_#t~mem8);havoc main_#t~mem8; VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] goto; VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset);call main_#t~mem9 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0, |ULTIMATE.start_main_#t~mem9|=1] [?] assume !(~unnamed1~0~RED == main_#t~mem9);havoc main_#t~mem9; VAL [ULTIMATE.start_main_~end~0.base=5, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] call main_#t~mem12.base, main_#t~mem12.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4);main_~end~0.base, main_~end~0.offset := main_#t~mem12.base, main_#t~mem12.offset;havoc main_#t~mem12.base, main_#t~mem12.offset; VAL [ULTIMATE.start_main_~end~0.base=22, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset);call main_#t~mem9 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [ULTIMATE.start_main_~end~0.base=22, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0, |ULTIMATE.start_main_#t~mem9|=0] [?] assume ~unnamed1~0~RED == main_#t~mem9;havoc main_#t~mem9;call main_#t~mem10.base, main_#t~mem10.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4);main_~end~0.base, main_~end~0.offset := main_#t~mem10.base, main_#t~mem10.offset;havoc main_#t~mem10.base, main_#t~mem10.offset; VAL [ULTIMATE.start_main_~end~0.base=14, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); VAL [ULTIMATE.start_main_~end~0.base=14, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] goto; VAL [ULTIMATE.start_main_~end~0.base=14, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] call main_#t~mem11 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [ULTIMATE.start_main_~end~0.base=14, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem11|=1, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] assume !(~unnamed1~0~BLACK != main_#t~mem11);havoc main_#t~mem11; VAL [ULTIMATE.start_main_~end~0.base=14, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] assume !false; VAL [ULTIMATE.start_main_~end~0.base=14, ULTIMATE.start_main_~end~0.offset=0, ULTIMATE.start_main_~list~0.base=5, ULTIMATE.start_main_~list~0.offset=0, ULTIMATE.start_main_~null~0.base=3, ULTIMATE.start_main_~null~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc0.base|=3, |ULTIMATE.start_main_#t~malloc0.offset|=0, |ULTIMATE.start_main_#t~malloc1.base|=5, |ULTIMATE.start_main_#t~malloc1.offset|=0, |ULTIMATE.start_main_#t~malloc3.base|=22, |ULTIMATE.start_main_#t~malloc3.offset|=0, |ULTIMATE.start_main_#t~malloc6.base|=14, |ULTIMATE.start_main_#t~malloc6.offset|=0, |ULTIMATE.start_main_#t~mem7.base|=0, |ULTIMATE.start_main_#t~mem7.offset|=0] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [?] havoc main_#res; [?] havoc main_#t~malloc0.base, main_#t~malloc0.offset, main_#t~malloc1.base, main_#t~malloc1.offset, main_#t~malloc3.base, main_#t~malloc3.offset, main_#t~mem4.base, main_#t~mem4.offset, main_#t~nondet5, main_#t~malloc6.base, main_#t~malloc6.offset, main_#t~mem7.base, main_#t~mem7.offset, main_#t~nondet2, main_#t~mem8, main_#t~mem9, main_#t~mem10.base, main_#t~mem10.offset, main_#t~mem11, main_#t~mem12.base, main_#t~mem12.offset, main_#t~mem13, main_#t~mem14.base, main_#t~mem14.offset, main_#t~mem15.base, main_#t~mem15.offset, main_#t~mem16.base, main_#t~mem16.offset, main_~null~0.base, main_~null~0.offset, main_~list~0.base, main_~list~0.offset, main_~end~0.base, main_~end~0.offset; [L994] call main_#t~malloc0.base, main_#t~malloc0.offset := #Ultimate.alloc(8); [L994] main_~null~0.base, main_~null~0.offset := main_#t~malloc0.base, main_#t~malloc0.offset; [L995] call write~int(~unnamed1~0~BLACK, main_~null~0.base, 4 + main_~null~0.offset, 4); [L996] call write~$Pointer$(0, 0, main_~null~0.base, main_~null~0.offset, 4); [L998] call main_#t~malloc1.base, main_#t~malloc1.offset := #Ultimate.alloc(8); [L998] main_~list~0.base, main_~list~0.offset := main_#t~malloc1.base, main_#t~malloc1.offset; [L999] call write~$Pointer$(main_~null~0.base, main_~null~0.offset, main_~list~0.base, main_~list~0.offset, 4); [L1000] call write~int(~unnamed1~0~BLACK, main_~list~0.base, 4 + main_~list~0.offset, 4); [L1002] main_~end~0.base, main_~end~0.offset := main_~list~0.base, main_~list~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1005] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~nondet2=-1, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1005-L1024] assume !!(0 != main_#t~nondet2); [L1005] havoc main_#t~nondet2; [L1008] call main_#t~malloc3.base, main_#t~malloc3.offset := #Ultimate.alloc(8); [L1008] call write~$Pointer$(main_#t~malloc3.base, main_#t~malloc3.offset, main_~end~0.base, main_~end~0.offset, 4); [L1009] call main_#t~mem4.base, main_#t~mem4.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4); [L1009] main_~end~0.base, main_~end~0.offset := main_#t~mem4.base, main_#t~mem4.offset; [L1009] havoc main_#t~mem4.base, main_#t~mem4.offset; [L1010] call write~$Pointer$(main_~null~0.base, main_~null~0.offset, main_~end~0.base, main_~end~0.offset, 4); [L1012] assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647; [L1012-L1023] assume !(0 != main_#t~nondet5); [L1012] havoc main_#t~nondet5; [L1018] call write~int(~unnamed1~0~RED, main_~end~0.base, 4 + main_~end~0.offset, 4); [L1019] call main_#t~malloc6.base, main_#t~malloc6.offset := #Ultimate.alloc(8); [L1019] call write~$Pointer$(main_#t~malloc6.base, main_#t~malloc6.offset, main_~end~0.base, main_~end~0.offset, 4); [L1020] call main_#t~mem7.base, main_#t~mem7.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4); [L1020] main_~end~0.base, main_~end~0.offset := main_#t~mem7.base, main_#t~mem7.offset; [L1020] havoc main_#t~mem7.base, main_#t~mem7.offset; [L1021] call write~$Pointer$(main_~null~0.base, main_~null~0.offset, main_~end~0.base, main_~end~0.offset, 4); [L1022] call write~int(~unnamed1~0~BLACK, main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1005] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_#t~nondet2=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1005-L1024] assume !(0 != main_#t~nondet2); [L1005] havoc main_#t~nondet2; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1026] main_~end~0.base, main_~end~0.offset := main_~null~0.base, main_~null~0.offset; [L1027] main_~end~0.base, main_~end~0.offset := main_~list~0.base, main_~list~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1030] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1031] call main_#t~mem8 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_#t~mem8=1, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1031] assume !!(~unnamed1~0~BLACK == main_#t~mem8); [L1031] havoc main_#t~mem8; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1033-L1043] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); [L1035] call main_#t~mem9 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_#t~mem9=1, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1035-L1040] assume !(~unnamed1~0~RED == main_#t~mem9); [L1035] havoc main_#t~mem9; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1042] call main_#t~mem12.base, main_#t~mem12.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4); [L1042] main_~end~0.base, main_~end~0.offset := main_#t~mem12.base, main_#t~mem12.offset; [L1042] havoc main_#t~mem12.base, main_#t~mem12.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=22, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1033-L1043] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); [L1035] call main_#t~mem9 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_#t~mem9=0, main_~end~0.base=22, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1035-L1040] assume ~unnamed1~0~RED == main_#t~mem9; [L1035] havoc main_#t~mem9; [L1037] call main_#t~mem10.base, main_#t~mem10.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4); [L1037] main_~end~0.base, main_~end~0.offset := main_#t~mem10.base, main_#t~mem10.offset; [L1037] havoc main_#t~mem10.base, main_#t~mem10.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1038] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1039] call main_#t~mem11 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem11=1, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1039] assume !(~unnamed1~0~BLACK != main_#t~mem11); [L1039] havoc main_#t~mem11; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1039] assert false; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [?] havoc main_#res; [?] havoc main_#t~malloc0.base, main_#t~malloc0.offset, main_#t~malloc1.base, main_#t~malloc1.offset, main_#t~malloc3.base, main_#t~malloc3.offset, main_#t~mem4.base, main_#t~mem4.offset, main_#t~nondet5, main_#t~malloc6.base, main_#t~malloc6.offset, main_#t~mem7.base, main_#t~mem7.offset, main_#t~nondet2, main_#t~mem8, main_#t~mem9, main_#t~mem10.base, main_#t~mem10.offset, main_#t~mem11, main_#t~mem12.base, main_#t~mem12.offset, main_#t~mem13, main_#t~mem14.base, main_#t~mem14.offset, main_#t~mem15.base, main_#t~mem15.offset, main_#t~mem16.base, main_#t~mem16.offset, main_~null~0.base, main_~null~0.offset, main_~list~0.base, main_~list~0.offset, main_~end~0.base, main_~end~0.offset; [L994] call main_#t~malloc0.base, main_#t~malloc0.offset := #Ultimate.alloc(8); [L994] main_~null~0.base, main_~null~0.offset := main_#t~malloc0.base, main_#t~malloc0.offset; [L995] call write~int(~unnamed1~0~BLACK, main_~null~0.base, 4 + main_~null~0.offset, 4); [L996] call write~$Pointer$(0, 0, main_~null~0.base, main_~null~0.offset, 4); [L998] call main_#t~malloc1.base, main_#t~malloc1.offset := #Ultimate.alloc(8); [L998] main_~list~0.base, main_~list~0.offset := main_#t~malloc1.base, main_#t~malloc1.offset; [L999] call write~$Pointer$(main_~null~0.base, main_~null~0.offset, main_~list~0.base, main_~list~0.offset, 4); [L1000] call write~int(~unnamed1~0~BLACK, main_~list~0.base, 4 + main_~list~0.offset, 4); [L1002] main_~end~0.base, main_~end~0.offset := main_~list~0.base, main_~list~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1005] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~nondet2=-1, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1005-L1024] assume !!(0 != main_#t~nondet2); [L1005] havoc main_#t~nondet2; [L1008] call main_#t~malloc3.base, main_#t~malloc3.offset := #Ultimate.alloc(8); [L1008] call write~$Pointer$(main_#t~malloc3.base, main_#t~malloc3.offset, main_~end~0.base, main_~end~0.offset, 4); [L1009] call main_#t~mem4.base, main_#t~mem4.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4); [L1009] main_~end~0.base, main_~end~0.offset := main_#t~mem4.base, main_#t~mem4.offset; [L1009] havoc main_#t~mem4.base, main_#t~mem4.offset; [L1010] call write~$Pointer$(main_~null~0.base, main_~null~0.offset, main_~end~0.base, main_~end~0.offset, 4); [L1012] assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647; [L1012-L1023] assume !(0 != main_#t~nondet5); [L1012] havoc main_#t~nondet5; [L1018] call write~int(~unnamed1~0~RED, main_~end~0.base, 4 + main_~end~0.offset, 4); [L1019] call main_#t~malloc6.base, main_#t~malloc6.offset := #Ultimate.alloc(8); [L1019] call write~$Pointer$(main_#t~malloc6.base, main_#t~malloc6.offset, main_~end~0.base, main_~end~0.offset, 4); [L1020] call main_#t~mem7.base, main_#t~mem7.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4); [L1020] main_~end~0.base, main_~end~0.offset := main_#t~mem7.base, main_#t~mem7.offset; [L1020] havoc main_#t~mem7.base, main_#t~mem7.offset; [L1021] call write~$Pointer$(main_~null~0.base, main_~null~0.offset, main_~end~0.base, main_~end~0.offset, 4); [L1022] call write~int(~unnamed1~0~BLACK, main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1005] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_#t~nondet2=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1005-L1024] assume !(0 != main_#t~nondet2); [L1005] havoc main_#t~nondet2; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1026] main_~end~0.base, main_~end~0.offset := main_~null~0.base, main_~null~0.offset; [L1027] main_~end~0.base, main_~end~0.offset := main_~list~0.base, main_~list~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1030] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1031] call main_#t~mem8 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_#t~mem8=1, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1031] assume !!(~unnamed1~0~BLACK == main_#t~mem8); [L1031] havoc main_#t~mem8; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1033-L1043] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); [L1035] call main_#t~mem9 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_#t~mem9=1, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1035-L1040] assume !(~unnamed1~0~RED == main_#t~mem9); [L1035] havoc main_#t~mem9; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=5, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1042] call main_#t~mem12.base, main_#t~mem12.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4); [L1042] main_~end~0.base, main_~end~0.offset := main_#t~mem12.base, main_#t~mem12.offset; [L1042] havoc main_#t~mem12.base, main_#t~mem12.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=22, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1033-L1043] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); [L1035] call main_#t~mem9 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_#t~mem9=0, main_~end~0.base=22, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1035-L1040] assume ~unnamed1~0~RED == main_#t~mem9; [L1035] havoc main_#t~mem9; [L1037] call main_#t~mem10.base, main_#t~mem10.offset := read~$Pointer$(main_~end~0.base, main_~end~0.offset, 4); [L1037] main_~end~0.base, main_~end~0.offset := main_#t~mem10.base, main_#t~mem10.offset; [L1037] havoc main_#t~mem10.base, main_#t~mem10.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1038] assume !!(main_~null~0.base != main_~end~0.base || main_~null~0.offset != main_~end~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1039] call main_#t~mem11 := read~int(main_~end~0.base, 4 + main_~end~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem11=1, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1039] assume !(~unnamed1~0~BLACK != main_#t~mem11); [L1039] havoc main_#t~mem11; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [L1039] assert false; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc0.base=3, main_#t~malloc0.offset=0, main_#t~malloc1.base=5, main_#t~malloc1.offset=0, main_#t~malloc3.base=22, main_#t~malloc3.offset=0, main_#t~malloc6.base=14, main_#t~malloc6.offset=0, main_#t~mem7.base=0, main_#t~mem7.offset=0, main_~end~0.base=14, main_~end~0.offset=0, main_~list~0.base=5, main_~list~0.offset=0, main_~null~0.base=3, main_~null~0.offset=0] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [?] havoc main_#res; [?] havoc main_#t~malloc0, main_#t~malloc1, main_#t~malloc3, main_#t~mem4, main_#t~nondet5, main_#t~malloc6, main_#t~mem7, main_#t~nondet2, main_#t~mem8, main_#t~mem9, main_#t~mem10, main_#t~mem11, main_#t~mem12, main_#t~mem13, main_#t~mem14, main_#t~mem15, main_#t~mem16, main_~null~0, main_~list~0, main_~end~0; [L994] FCALL call main_#t~malloc0 := #Ultimate.alloc(8); [L994] main_~null~0 := main_#t~malloc0; [L995] FCALL call write~int(~unnamed1~0~BLACK, { base: main_~null~0!base, offset: 4 + main_~null~0!offset }, 4); [L996] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: main_~null~0!base, offset: main_~null~0!offset }, 4); [L998] FCALL call main_#t~malloc1 := #Ultimate.alloc(8); [L998] main_~list~0 := main_#t~malloc1; [L999] FCALL call write~$Pointer$(main_~null~0, { base: main_~list~0!base, offset: main_~list~0!offset }, 4); [L1000] FCALL call write~int(~unnamed1~0~BLACK, { base: main_~list~0!base, offset: 4 + main_~list~0!offset }, 4); [L1002] main_~end~0 := main_~list~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1005] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~nondet2=-1, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1005-L1024] COND FALSE !(!(0 != main_#t~nondet2)) [L1005] havoc main_#t~nondet2; [L1008] FCALL call main_#t~malloc3 := #Ultimate.alloc(8); [L1008] FCALL call write~$Pointer$(main_#t~malloc3, { base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1009] FCALL call main_#t~mem4 := read~$Pointer$({ base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1009] main_~end~0 := main_#t~mem4; [L1009] havoc main_#t~mem4; [L1010] FCALL call write~$Pointer$(main_~null~0, { base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1012] assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647; [L1012-L1023] COND FALSE !(0 != main_#t~nondet5) [L1012] havoc main_#t~nondet5; [L1018] FCALL call write~int(~unnamed1~0~RED, { base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); [L1019] FCALL call main_#t~malloc6 := #Ultimate.alloc(8); [L1019] FCALL call write~$Pointer$(main_#t~malloc6, { base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1020] FCALL call main_#t~mem7 := read~$Pointer$({ base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1020] main_~end~0 := main_#t~mem7; [L1020] havoc main_#t~mem7; [L1021] FCALL call write~$Pointer$(main_~null~0, { base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1022] FCALL call write~int(~unnamed1~0~BLACK, { base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1005] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_#t~nondet2=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1005-L1024] COND TRUE !(0 != main_#t~nondet2) [L1005] havoc main_#t~nondet2; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1026] main_~end~0 := main_~null~0; [L1027] main_~end~0 := main_~list~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1030] COND FALSE !(!(main_~null~0 != main_~end~0)) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1031] FCALL call main_#t~mem8 := read~int({ base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_#t~mem8=1, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1031] COND FALSE !(!(~unnamed1~0~BLACK == main_#t~mem8)) [L1031] havoc main_#t~mem8; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1033-L1043] COND FALSE !(!(main_~null~0 != main_~end~0)) [L1035] FCALL call main_#t~mem9 := read~int({ base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_#t~mem9=1, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1035] COND FALSE !(~unnamed1~0~RED == main_#t~mem9) [L1035] havoc main_#t~mem9; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1042] FCALL call main_#t~mem12 := read~$Pointer$({ base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1042] main_~end~0 := main_#t~mem12; [L1042] havoc main_#t~mem12; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=22, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1033-L1043] COND FALSE !(!(main_~null~0 != main_~end~0)) [L1035] FCALL call main_#t~mem9 := read~int({ base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_#t~mem9=0, main_~end~0!base=22, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1035] COND TRUE ~unnamed1~0~RED == main_#t~mem9 [L1035] havoc main_#t~mem9; [L1037] FCALL call main_#t~mem10 := read~$Pointer$({ base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1037] main_~end~0 := main_#t~mem10; [L1037] havoc main_#t~mem10; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1038] COND FALSE !(!(main_~null~0 != main_~end~0)) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1039] FCALL call main_#t~mem11 := read~int({ base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem11=1, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1039] COND TRUE !(~unnamed1~0~BLACK != main_#t~mem11) [L1039] havoc main_#t~mem11; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1039] assert false; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [?] havoc main_#res; [?] havoc main_#t~malloc0, main_#t~malloc1, main_#t~malloc3, main_#t~mem4, main_#t~nondet5, main_#t~malloc6, main_#t~mem7, main_#t~nondet2, main_#t~mem8, main_#t~mem9, main_#t~mem10, main_#t~mem11, main_#t~mem12, main_#t~mem13, main_#t~mem14, main_#t~mem15, main_#t~mem16, main_~null~0, main_~list~0, main_~end~0; [L994] FCALL call main_#t~malloc0 := #Ultimate.alloc(8); [L994] main_~null~0 := main_#t~malloc0; [L995] FCALL call write~int(~unnamed1~0~BLACK, { base: main_~null~0!base, offset: 4 + main_~null~0!offset }, 4); [L996] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: main_~null~0!base, offset: main_~null~0!offset }, 4); [L998] FCALL call main_#t~malloc1 := #Ultimate.alloc(8); [L998] main_~list~0 := main_#t~malloc1; [L999] FCALL call write~$Pointer$(main_~null~0, { base: main_~list~0!base, offset: main_~list~0!offset }, 4); [L1000] FCALL call write~int(~unnamed1~0~BLACK, { base: main_~list~0!base, offset: 4 + main_~list~0!offset }, 4); [L1002] main_~end~0 := main_~list~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1005] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~nondet2=-1, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1005-L1024] COND FALSE !(!(0 != main_#t~nondet2)) [L1005] havoc main_#t~nondet2; [L1008] FCALL call main_#t~malloc3 := #Ultimate.alloc(8); [L1008] FCALL call write~$Pointer$(main_#t~malloc3, { base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1009] FCALL call main_#t~mem4 := read~$Pointer$({ base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1009] main_~end~0 := main_#t~mem4; [L1009] havoc main_#t~mem4; [L1010] FCALL call write~$Pointer$(main_~null~0, { base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1012] assume -2147483648 <= main_#t~nondet5 && main_#t~nondet5 <= 2147483647; [L1012-L1023] COND FALSE !(0 != main_#t~nondet5) [L1012] havoc main_#t~nondet5; [L1018] FCALL call write~int(~unnamed1~0~RED, { base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); [L1019] FCALL call main_#t~malloc6 := #Ultimate.alloc(8); [L1019] FCALL call write~$Pointer$(main_#t~malloc6, { base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1020] FCALL call main_#t~mem7 := read~$Pointer$({ base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1020] main_~end~0 := main_#t~mem7; [L1020] havoc main_#t~mem7; [L1021] FCALL call write~$Pointer$(main_~null~0, { base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1022] FCALL call write~int(~unnamed1~0~BLACK, { base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1005] assume -2147483648 <= main_#t~nondet2 && main_#t~nondet2 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_#t~nondet2=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1005-L1024] COND TRUE !(0 != main_#t~nondet2) [L1005] havoc main_#t~nondet2; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1026] main_~end~0 := main_~null~0; [L1027] main_~end~0 := main_~list~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1030] COND FALSE !(!(main_~null~0 != main_~end~0)) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1031] FCALL call main_#t~mem8 := read~int({ base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_#t~mem8=1, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1031] COND FALSE !(!(~unnamed1~0~BLACK == main_#t~mem8)) [L1031] havoc main_#t~mem8; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1033-L1043] COND FALSE !(!(main_~null~0 != main_~end~0)) [L1035] FCALL call main_#t~mem9 := read~int({ base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_#t~mem9=1, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1035] COND FALSE !(~unnamed1~0~RED == main_#t~mem9) [L1035] havoc main_#t~mem9; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=5, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1042] FCALL call main_#t~mem12 := read~$Pointer$({ base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1042] main_~end~0 := main_#t~mem12; [L1042] havoc main_#t~mem12; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=22, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1033-L1043] COND FALSE !(!(main_~null~0 != main_~end~0)) [L1035] FCALL call main_#t~mem9 := read~int({ base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_#t~mem9=0, main_~end~0!base=22, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1035] COND TRUE ~unnamed1~0~RED == main_#t~mem9 [L1035] havoc main_#t~mem9; [L1037] FCALL call main_#t~mem10 := read~$Pointer$({ base: main_~end~0!base, offset: main_~end~0!offset }, 4); [L1037] main_~end~0 := main_#t~mem10; [L1037] havoc main_#t~mem10; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1038] COND FALSE !(!(main_~null~0 != main_~end~0)) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1039] FCALL call main_#t~mem11 := read~int({ base: main_~end~0!base, offset: 4 + main_~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem11=1, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1039] COND TRUE !(~unnamed1~0~BLACK != main_#t~mem11) [L1039] havoc main_#t~mem11; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [L1039] assert false; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc0!base=3, main_#t~malloc0!offset=0, main_#t~malloc1!base=5, main_#t~malloc1!offset=0, main_#t~malloc3!base=22, main_#t~malloc3!offset=0, main_#t~malloc6!base=14, main_#t~malloc6!offset=0, main_#t~mem7!base=0, main_#t~mem7!offset=0, main_~end~0!base=14, main_~end~0!offset=0, main_~list~0!base=5, main_~list~0!offset=0, main_~null~0!base=3, main_~null~0!offset=0] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L994] FCALL call #t~malloc0 := #Ultimate.alloc(8); [L994] ~null~0 := #t~malloc0; [L995] FCALL call write~int(~unnamed1~0~BLACK, { base: ~null~0!base, offset: 4 + ~null~0!offset }, 4); [L996] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~null~0!base, offset: ~null~0!offset }, 4); [L998] FCALL call #t~malloc1 := #Ultimate.alloc(8); [L998] ~list~0 := #t~malloc1; [L999] FCALL call write~$Pointer$(~null~0, { base: ~list~0!base, offset: ~list~0!offset }, 4); [L1000] FCALL call write~int(~unnamed1~0~BLACK, { base: ~list~0!base, offset: 4 + ~list~0!offset }, 4); [L1002] ~end~0 := ~list~0; VAL [#NULL!base=0, #NULL!offset=0] [L1005] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L1005-L1024] COND FALSE !(!(0 != #t~nondet2)) [L1005] havoc #t~nondet2; [L1008] FCALL call #t~malloc3 := #Ultimate.alloc(8); [L1008] FCALL call write~$Pointer$(#t~malloc3, { base: ~end~0!base, offset: ~end~0!offset }, 4); [L1009] FCALL call #t~mem4 := read~$Pointer$({ base: ~end~0!base, offset: ~end~0!offset }, 4); [L1009] ~end~0 := #t~mem4; [L1009] havoc #t~mem4; [L1010] FCALL call write~$Pointer$(~null~0, { base: ~end~0!base, offset: ~end~0!offset }, 4); [L1012] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; [L1012-L1023] COND FALSE !(0 != #t~nondet5) [L1012] havoc #t~nondet5; [L1018] FCALL call write~int(~unnamed1~0~RED, { base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); [L1019] FCALL call #t~malloc6 := #Ultimate.alloc(8); [L1019] FCALL call write~$Pointer$(#t~malloc6, { base: ~end~0!base, offset: ~end~0!offset }, 4); [L1020] FCALL call #t~mem7 := read~$Pointer$({ base: ~end~0!base, offset: ~end~0!offset }, 4); [L1020] ~end~0 := #t~mem7; [L1020] havoc #t~mem7; [L1021] FCALL call write~$Pointer$(~null~0, { base: ~end~0!base, offset: ~end~0!offset }, 4); [L1022] FCALL call write~int(~unnamed1~0~BLACK, { base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1005] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L1005-L1024] COND TRUE !(0 != #t~nondet2) [L1005] havoc #t~nondet2; VAL [#NULL!base=0, #NULL!offset=0] [L1026] ~end~0 := ~null~0; [L1027] ~end~0 := ~list~0; VAL [#NULL!base=0, #NULL!offset=0] [L1030] COND FALSE !(!(~null~0 != ~end~0)) VAL [#NULL!base=0, #NULL!offset=0] [L1031] FCALL call #t~mem8 := read~int({ base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1031] COND FALSE !(!(~unnamed1~0~BLACK == #t~mem8)) [L1031] havoc #t~mem8; VAL [#NULL!base=0, #NULL!offset=0] [L1033-L1043] COND FALSE !(!(~null~0 != ~end~0)) [L1035] FCALL call #t~mem9 := read~int({ base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1035] COND FALSE !(~unnamed1~0~RED == #t~mem9) [L1035] havoc #t~mem9; VAL [#NULL!base=0, #NULL!offset=0] [L1042] FCALL call #t~mem12 := read~$Pointer$({ base: ~end~0!base, offset: ~end~0!offset }, 4); [L1042] ~end~0 := #t~mem12; [L1042] havoc #t~mem12; VAL [#NULL!base=0, #NULL!offset=0] [L1033-L1043] COND FALSE !(!(~null~0 != ~end~0)) [L1035] FCALL call #t~mem9 := read~int({ base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1035] COND TRUE ~unnamed1~0~RED == #t~mem9 [L1035] havoc #t~mem9; [L1037] FCALL call #t~mem10 := read~$Pointer$({ base: ~end~0!base, offset: ~end~0!offset }, 4); [L1037] ~end~0 := #t~mem10; [L1037] havoc #t~mem10; VAL [#NULL!base=0, #NULL!offset=0] [L1038] COND FALSE !(!(~null~0 != ~end~0)) VAL [#NULL!base=0, #NULL!offset=0] [L1039] FCALL call #t~mem11 := read~int({ base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1039] COND TRUE !(~unnamed1~0~BLACK != #t~mem11) [L1039] havoc #t~mem11; VAL [#NULL!base=0, #NULL!offset=0] [L1039] assert false; VAL [#NULL!base=0, #NULL!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L994] FCALL call #t~malloc0 := #Ultimate.alloc(8); [L994] ~null~0 := #t~malloc0; [L995] FCALL call write~int(~unnamed1~0~BLACK, { base: ~null~0!base, offset: 4 + ~null~0!offset }, 4); [L996] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~null~0!base, offset: ~null~0!offset }, 4); [L998] FCALL call #t~malloc1 := #Ultimate.alloc(8); [L998] ~list~0 := #t~malloc1; [L999] FCALL call write~$Pointer$(~null~0, { base: ~list~0!base, offset: ~list~0!offset }, 4); [L1000] FCALL call write~int(~unnamed1~0~BLACK, { base: ~list~0!base, offset: 4 + ~list~0!offset }, 4); [L1002] ~end~0 := ~list~0; VAL [#NULL!base=0, #NULL!offset=0] [L1005] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L1005-L1024] COND FALSE !(!(0 != #t~nondet2)) [L1005] havoc #t~nondet2; [L1008] FCALL call #t~malloc3 := #Ultimate.alloc(8); [L1008] FCALL call write~$Pointer$(#t~malloc3, { base: ~end~0!base, offset: ~end~0!offset }, 4); [L1009] FCALL call #t~mem4 := read~$Pointer$({ base: ~end~0!base, offset: ~end~0!offset }, 4); [L1009] ~end~0 := #t~mem4; [L1009] havoc #t~mem4; [L1010] FCALL call write~$Pointer$(~null~0, { base: ~end~0!base, offset: ~end~0!offset }, 4); [L1012] assume -2147483648 <= #t~nondet5 && #t~nondet5 <= 2147483647; [L1012-L1023] COND FALSE !(0 != #t~nondet5) [L1012] havoc #t~nondet5; [L1018] FCALL call write~int(~unnamed1~0~RED, { base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); [L1019] FCALL call #t~malloc6 := #Ultimate.alloc(8); [L1019] FCALL call write~$Pointer$(#t~malloc6, { base: ~end~0!base, offset: ~end~0!offset }, 4); [L1020] FCALL call #t~mem7 := read~$Pointer$({ base: ~end~0!base, offset: ~end~0!offset }, 4); [L1020] ~end~0 := #t~mem7; [L1020] havoc #t~mem7; [L1021] FCALL call write~$Pointer$(~null~0, { base: ~end~0!base, offset: ~end~0!offset }, 4); [L1022] FCALL call write~int(~unnamed1~0~BLACK, { base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1005] assume -2147483648 <= #t~nondet2 && #t~nondet2 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L1005-L1024] COND TRUE !(0 != #t~nondet2) [L1005] havoc #t~nondet2; VAL [#NULL!base=0, #NULL!offset=0] [L1026] ~end~0 := ~null~0; [L1027] ~end~0 := ~list~0; VAL [#NULL!base=0, #NULL!offset=0] [L1030] COND FALSE !(!(~null~0 != ~end~0)) VAL [#NULL!base=0, #NULL!offset=0] [L1031] FCALL call #t~mem8 := read~int({ base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1031] COND FALSE !(!(~unnamed1~0~BLACK == #t~mem8)) [L1031] havoc #t~mem8; VAL [#NULL!base=0, #NULL!offset=0] [L1033-L1043] COND FALSE !(!(~null~0 != ~end~0)) [L1035] FCALL call #t~mem9 := read~int({ base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1035] COND FALSE !(~unnamed1~0~RED == #t~mem9) [L1035] havoc #t~mem9; VAL [#NULL!base=0, #NULL!offset=0] [L1042] FCALL call #t~mem12 := read~$Pointer$({ base: ~end~0!base, offset: ~end~0!offset }, 4); [L1042] ~end~0 := #t~mem12; [L1042] havoc #t~mem12; VAL [#NULL!base=0, #NULL!offset=0] [L1033-L1043] COND FALSE !(!(~null~0 != ~end~0)) [L1035] FCALL call #t~mem9 := read~int({ base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1035] COND TRUE ~unnamed1~0~RED == #t~mem9 [L1035] havoc #t~mem9; [L1037] FCALL call #t~mem10 := read~$Pointer$({ base: ~end~0!base, offset: ~end~0!offset }, 4); [L1037] ~end~0 := #t~mem10; [L1037] havoc #t~mem10; VAL [#NULL!base=0, #NULL!offset=0] [L1038] COND FALSE !(!(~null~0 != ~end~0)) VAL [#NULL!base=0, #NULL!offset=0] [L1039] FCALL call #t~mem11 := read~int({ base: ~end~0!base, offset: 4 + ~end~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L1039] COND TRUE !(~unnamed1~0~BLACK != #t~mem11) [L1039] havoc #t~mem11; VAL [#NULL!base=0, #NULL!offset=0] [L1039] assert false; VAL [#NULL!base=0, #NULL!offset=0] [L994] SLL* null = malloc(sizeof(SLL)); [L995] null->colour = BLACK [L996] null->next = ((void*)0) [L998] SLL* list = malloc(sizeof(SLL)); [L999] list->next = null [L1000] list->colour = BLACK [L1002] SLL* end = list; [L1005] COND TRUE __VERIFIER_nondet_int() [L1008] end->next = malloc(sizeof(SLL)) [L1009] EXPR end->next [L1009] end = end->next [L1010] end->next = null [L1012] COND FALSE !(__VERIFIER_nondet_int()) [L1018] end->colour = RED [L1019] end->next = malloc(sizeof(SLL)) [L1020] EXPR end->next [L1020] end = end->next [L1021] end->next = null [L1022] end->colour = BLACK [L1005] COND FALSE !(__VERIFIER_nondet_int()) [L1026] end = null [L1027] end = list [L1030] COND FALSE !(!(null != end)) [L1031] EXPR end->colour [L1031] COND FALSE !(!(BLACK == end->colour)) [L1033] COND TRUE null != end [L1035] EXPR end->colour [L1035] COND FALSE !(RED == end->colour) [L1042] EXPR end->next [L1042] end = end->next [L1033] COND TRUE null != end [L1035] EXPR end->colour [L1035] COND TRUE RED == end->colour [L1037] EXPR end->next [L1037] end = end->next [L1038] COND FALSE !(!(null != end)) [L1039] EXPR end->colour [L1039] COND TRUE !(BLACK != end->colour) [L1039] __VERIFIER_error() ----- [2018-11-23 05:33:13,232 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_31e9dce1-7ebf-41cf-af89-5b3facbe94a3/bin-2019/ukojak/witness.graphml [2018-11-23 05:33:13,232 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 05:33:13,233 INFO L168 Benchmark]: Toolchain (without parser) took 12962.85 ms. Allocated memory was 1.0 GB in the beginning and 1.4 GB in the end (delta: 371.2 MB). Free memory was 951.1 MB in the beginning and 861.8 MB in the end (delta: 89.2 MB). Peak memory consumption was 460.4 MB. Max. memory is 11.5 GB. [2018-11-23 05:33:13,234 INFO L168 Benchmark]: CDTParser took 0.11 ms. Allocated memory is still 1.0 GB. Free memory is still 980.1 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 05:33:13,234 INFO L168 Benchmark]: CACSL2BoogieTranslator took 362.56 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 164.6 MB). Free memory was 951.1 MB in the beginning and 1.2 GB in the end (delta: -201.0 MB). Peak memory consumption was 28.9 MB. Max. memory is 11.5 GB. [2018-11-23 05:33:13,235 INFO L168 Benchmark]: Boogie Procedure Inliner took 40.51 ms. Allocated memory is still 1.2 GB. Free memory was 1.2 GB in the beginning and 1.1 GB in the end (delta: 3.4 MB). Peak memory consumption was 3.4 MB. Max. memory is 11.5 GB. [2018-11-23 05:33:13,235 INFO L168 Benchmark]: Boogie Preprocessor took 27.44 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 3.4 MB). Peak memory consumption was 3.4 MB. Max. memory is 11.5 GB. [2018-11-23 05:33:13,236 INFO L168 Benchmark]: RCFGBuilder took 418.87 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 42.9 MB). Peak memory consumption was 42.9 MB. Max. memory is 11.5 GB. [2018-11-23 05:33:13,236 INFO L168 Benchmark]: CodeCheck took 11912.89 ms. Allocated memory was 1.2 GB in the beginning and 1.4 GB in the end (delta: 206.6 MB). Free memory was 1.1 GB in the beginning and 871.7 MB in the end (delta: 230.7 MB). Peak memory consumption was 437.3 MB. Max. memory is 11.5 GB. [2018-11-23 05:33:13,236 INFO L168 Benchmark]: Witness Printer took 197.80 ms. Allocated memory is still 1.4 GB. Free memory was 871.7 MB in the beginning and 861.8 MB in the end (delta: 9.9 MB). Peak memory consumption was 9.9 MB. Max. memory is 11.5 GB. [2018-11-23 05:33:13,245 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 1 procedures, 33 locations, 4 error locations. UNSAFE Result, 11.8s OverallTime, 11 OverallIterations, 0 TraceHistogramMax, 0.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 7232 SDtfs, 6004 SDslu, 6406 SDs, 0 SdLazy, 17192 SolverSat, 4518 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 5.0s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 1245 GetRequests, 1047 SyntacticMatches, 24 SemanticMatches, 174 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 11407 ImplicationChecksByTransitivity, 9.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, traceCheckStatistics: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 1.9s InterpolantComputationTime, 151 NumberOfCodeBlocks, 151 NumberOfCodeBlocksAsserted, 11 NumberOfCheckSat, 120 ConstructedInterpolants, 0 QuantifiedInterpolants, 33297 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 10 InterpolantComputations, 4 PerfectInterpolantSequences, 7/29 InterpolantCoveringCapability, 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: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - CounterExampleResult [Line: 1039]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L994] SLL* null = malloc(sizeof(SLL)); [L995] null->colour = BLACK [L996] null->next = ((void*)0) [L998] SLL* list = malloc(sizeof(SLL)); [L999] list->next = null [L1000] list->colour = BLACK [L1002] SLL* end = list; [L1005] COND TRUE __VERIFIER_nondet_int() [L1008] end->next = malloc(sizeof(SLL)) [L1009] EXPR end->next [L1009] end = end->next [L1010] end->next = null [L1012] COND FALSE !(__VERIFIER_nondet_int()) [L1018] end->colour = RED [L1019] end->next = malloc(sizeof(SLL)) [L1020] EXPR end->next [L1020] end = end->next [L1021] end->next = null [L1022] end->colour = BLACK [L1005] COND FALSE !(__VERIFIER_nondet_int()) [L1026] end = null [L1027] end = list [L1030] COND FALSE !(!(null != end)) [L1031] EXPR end->colour [L1031] COND FALSE !(!(BLACK == end->colour)) [L1033] COND TRUE null != end [L1035] EXPR end->colour [L1035] COND FALSE !(RED == end->colour) [L1042] EXPR end->next [L1042] end = end->next [L1033] COND TRUE null != end [L1035] EXPR end->colour [L1035] COND TRUE RED == end->colour [L1037] EXPR end->next [L1037] end = end->next [L1038] COND FALSE !(!(null != end)) [L1039] EXPR end->colour [L1039] COND TRUE !(BLACK != end->colour) [L1039] __VERIFIER_error() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.11 ms. Allocated memory is still 1.0 GB. Free memory is still 980.1 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 362.56 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 164.6 MB). Free memory was 951.1 MB in the beginning and 1.2 GB in the end (delta: -201.0 MB). Peak memory consumption was 28.9 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 40.51 ms. Allocated memory is still 1.2 GB. Free memory was 1.2 GB in the beginning and 1.1 GB in the end (delta: 3.4 MB). Peak memory consumption was 3.4 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 27.44 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 3.4 MB). Peak memory consumption was 3.4 MB. Max. memory is 11.5 GB. * RCFGBuilder took 418.87 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 42.9 MB). Peak memory consumption was 42.9 MB. Max. memory is 11.5 GB. * CodeCheck took 11912.89 ms. Allocated memory was 1.2 GB in the beginning and 1.4 GB in the end (delta: 206.6 MB). Free memory was 1.1 GB in the beginning and 871.7 MB in the end (delta: 230.7 MB). Peak memory consumption was 437.3 MB. Max. memory is 11.5 GB. * Witness Printer took 197.80 ms. Allocated memory is still 1.4 GB. Free memory was 871.7 MB in the beginning and 861.8 MB in the end (delta: 9.9 MB). Peak memory consumption was 9.9 MB. Max. memory is 11.5 GB. RESULT: Ultimate proved your program to be incorrect! Received shutdown request...