./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/list-ext2-properties/list_and_tree_cnstr_false-unreach-call_false-termination.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_2d0d08d8-c65b-4b42-8cd3-12eaec2f065a/bin-2019/ukojak/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_2d0d08d8-c65b-4b42-8cd3-12eaec2f065a/bin-2019/ukojak/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_2d0d08d8-c65b-4b42-8cd3-12eaec2f065a/bin-2019/ukojak/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_2d0d08d8-c65b-4b42-8cd3-12eaec2f065a/bin-2019/ukojak/config/KojakReach.xml -i ../../sv-benchmarks/c/list-ext2-properties/list_and_tree_cnstr_false-unreach-call_false-termination.i -s /tmp/vcloud-vcloud-master/worker/working_dir_2d0d08d8-c65b-4b42-8cd3-12eaec2f065a/bin-2019/ukojak/config/svcomp-Reach-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_2d0d08d8-c65b-4b42-8cd3-12eaec2f065a/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 ce077c63676f801e14160b963d91b2f98c313404 ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 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 04:56:40,856 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 04:56:40,858 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 04:56:40,863 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 04:56:40,864 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 04:56:40,864 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 04:56:40,865 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 04:56:40,866 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 04:56:40,867 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 04:56:40,868 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 04:56:40,868 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 04:56:40,869 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 04:56:40,869 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 04:56:40,870 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 04:56:40,871 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 04:56:40,871 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 04:56:40,872 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 04:56:40,873 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 04:56:40,874 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 04:56:40,875 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 04:56:40,876 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 04:56:40,877 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 04:56:40,878 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 04:56:40,878 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 04:56:40,879 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 04:56:40,879 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 04:56:40,880 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 04:56:40,880 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 04:56:40,881 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 04:56:40,882 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 04:56:40,882 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 04:56:40,882 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 04:56:40,883 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 04:56:40,883 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 04:56:40,883 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 04:56:40,884 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 04:56:40,884 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_2d0d08d8-c65b-4b42-8cd3-12eaec2f065a/bin-2019/ukojak/config/svcomp-Reach-32bit-Kojak_Default.epf [2018-11-23 04:56:40,893 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 04:56:40,893 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 04:56:40,894 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 04:56:40,894 INFO L133 SettingsManager]: * ... to procedures called more than once=ALWAYS [2018-11-23 04:56:40,894 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 04:56:40,894 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 04:56:40,895 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 04:56:40,895 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 04:56:40,895 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-23 04:56:40,895 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 04:56:40,895 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 04:56:40,895 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 04:56:40,896 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 04:56:40,896 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 04:56:40,896 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 04:56:40,896 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 04:56:40,896 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 04:56:40,896 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 04:56:40,896 INFO L131 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2018-11-23 04:56:40,897 INFO L133 SettingsManager]: * Timeout in seconds=1000000 [2018-11-23 04:56:40,897 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 04:56:40,897 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 04:56:40,897 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2018-11-23 04:56:40,897 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 04:56:40,897 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 04:56:40,898 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 04:56:40,898 INFO L133 SettingsManager]: * Trace refinement strategy=PENGUIN [2018-11-23 04:56:40,898 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 04:56:40,898 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-11-23 04:56:40,898 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_2d0d08d8-c65b-4b42-8cd3-12eaec2f065a/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 -> ce077c63676f801e14160b963d91b2f98c313404 [2018-11-23 04:56:40,924 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 04:56:40,932 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 04:56:40,935 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 04:56:40,936 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 04:56:40,936 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 04:56:40,936 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_2d0d08d8-c65b-4b42-8cd3-12eaec2f065a/bin-2019/ukojak/../../sv-benchmarks/c/list-ext2-properties/list_and_tree_cnstr_false-unreach-call_false-termination.i [2018-11-23 04:56:40,967 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_2d0d08d8-c65b-4b42-8cd3-12eaec2f065a/bin-2019/ukojak/data/bb2e970be/c2ea090d497c49f1a1c019801f9dc93a/FLAG6f77819aa [2018-11-23 04:56:41,400 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 04:56:41,401 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_2d0d08d8-c65b-4b42-8cd3-12eaec2f065a/sv-benchmarks/c/list-ext2-properties/list_and_tree_cnstr_false-unreach-call_false-termination.i [2018-11-23 04:56:41,407 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_2d0d08d8-c65b-4b42-8cd3-12eaec2f065a/bin-2019/ukojak/data/bb2e970be/c2ea090d497c49f1a1c019801f9dc93a/FLAG6f77819aa [2018-11-23 04:56:41,414 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_2d0d08d8-c65b-4b42-8cd3-12eaec2f065a/bin-2019/ukojak/data/bb2e970be/c2ea090d497c49f1a1c019801f9dc93a [2018-11-23 04:56:41,416 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 04:56:41,417 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 04:56:41,418 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 04:56:41,418 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 04:56:41,421 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 04:56:41,421 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 04:56:41" (1/1) ... [2018-11-23 04:56:41,423 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@172b0922 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:56:41, skipping insertion in model container [2018-11-23 04:56:41,423 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 04:56:41" (1/1) ... [2018-11-23 04:56:41,429 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 04:56:41,457 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 04:56:41,642 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 04:56:41,649 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 04:56:41,723 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 04:56:41,745 INFO L195 MainTranslator]: Completed translation [2018-11-23 04:56:41,746 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:56:41 WrapperNode [2018-11-23 04:56:41,746 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 04:56:41,746 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 04:56:41,746 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 04:56:41,746 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 04:56:41,751 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:56:41" (1/1) ... [2018-11-23 04:56:41,763 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:56:41" (1/1) ... [2018-11-23 04:56:41,782 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 04:56:41,783 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 04:56:41,783 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 04:56:41,783 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 04:56:41,789 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:56:41" (1/1) ... [2018-11-23 04:56:41,789 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:56:41" (1/1) ... [2018-11-23 04:56:41,791 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:56:41" (1/1) ... [2018-11-23 04:56:41,791 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:56:41" (1/1) ... [2018-11-23 04:56:41,797 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:56:41" (1/1) ... [2018-11-23 04:56:41,800 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:56:41" (1/1) ... [2018-11-23 04:56:41,802 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:56:41" (1/1) ... [2018-11-23 04:56:41,803 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 04:56:41,804 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 04:56:41,804 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 04:56:41,804 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 04:56:41,804 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:56:41" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_2d0d08d8-c65b-4b42-8cd3-12eaec2f065a/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 04:56:41,841 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 04:56:41,841 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-23 04:56:41,842 INFO L130 BoogieDeclarations]: Found specification of procedure exit [2018-11-23 04:56:41,842 INFO L138 BoogieDeclarations]: Found implementation of procedure exit [2018-11-23 04:56:41,842 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-23 04:56:41,842 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2018-11-23 04:56:41,842 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2018-11-23 04:56:41,842 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 04:56:41,843 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 04:56:41,843 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 04:56:42,437 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 04:56:42,437 INFO L280 CfgBuilder]: Removed 12 assue(true) statements. [2018-11-23 04:56:42,438 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 04:56:42 BoogieIcfgContainer [2018-11-23 04:56:42,438 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 04:56:42,438 INFO L113 PluginConnector]: ------------------------CodeCheck---------------------------- [2018-11-23 04:56:42,438 INFO L271 PluginConnector]: Initializing CodeCheck... [2018-11-23 04:56:42,450 INFO L276 PluginConnector]: CodeCheck initialized [2018-11-23 04:56:42,450 INFO L185 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 04:56:42" (1/1) ... [2018-11-23 04:56:42,460 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 04:56:42,485 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 04:56:42,493 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 55 states to 37 states and 55 transitions. [2018-11-23 04:56:42,494 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 55 transitions. [2018-11-23 04:56:42,496 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2018-11-23 04:56:42,496 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 04:56:42,563 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 04:56:42,595 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 04:56:42,604 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 04:56:42,605 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 37 states and 49 transitions. [2018-11-23 04:56:42,605 INFO L276 IsEmpty]: Start isEmpty. Operand 37 states and 49 transitions. [2018-11-23 04:56:42,605 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2018-11-23 04:56:42,606 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 04:56:42,618 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 04:56:42,656 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 04:56:42,711 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 04:56:42,711 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 56 states to 41 states and 56 transitions. [2018-11-23 04:56:42,712 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 56 transitions. [2018-11-23 04:56:42,712 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 23 [2018-11-23 04:56:42,712 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 04:56:42,721 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 04:56:42,730 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 04:56:42,735 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 04:56:42,736 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 55 states to 41 states and 55 transitions. [2018-11-23 04:56:42,736 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 55 transitions. [2018-11-23 04:56:42,736 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2018-11-23 04:56:42,736 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 04:56:42,743 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 04:56:42,751 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 04:56:42,756 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 04:56:42,756 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 54 states to 41 states and 54 transitions. [2018-11-23 04:56:42,757 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 54 transitions. [2018-11-23 04:56:42,757 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2018-11-23 04:56:42,757 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 04:56:42,774 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 04:56:42,841 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 04:56:42,945 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 04:56:42,946 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 75 states to 52 states and 75 transitions. [2018-11-23 04:56:42,946 INFO L276 IsEmpty]: Start isEmpty. Operand 52 states and 75 transitions. [2018-11-23 04:56:42,947 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2018-11-23 04:56:42,947 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 04:56:42,961 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 04:56:43,022 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 04:56:43,095 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 04:56:43,095 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 73 states to 52 states and 73 transitions. [2018-11-23 04:56:43,096 INFO L276 IsEmpty]: Start isEmpty. Operand 52 states and 73 transitions. [2018-11-23 04:56:43,096 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2018-11-23 04:56:43,096 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 04:56:43,107 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 04:56:43,156 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 04:56:43,238 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 04:56:43,238 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 71 states to 52 states and 71 transitions. [2018-11-23 04:56:43,238 INFO L276 IsEmpty]: Start isEmpty. Operand 52 states and 71 transitions. [2018-11-23 04:56:43,239 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 28 [2018-11-23 04:56:43,239 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 04:56:43,251 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 04:56:43,403 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 04:56:43,721 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 04:56:43,722 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 91 states to 63 states and 91 transitions. [2018-11-23 04:56:43,722 INFO L276 IsEmpty]: Start isEmpty. Operand 63 states and 91 transitions. [2018-11-23 04:56:43,724 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 28 [2018-11-23 04:56:43,724 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 04:56:43,737 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 04:56:43,907 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 04:56:44,413 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 04:56:44,414 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 109 states to 74 states and 109 transitions. [2018-11-23 04:56:44,414 INFO L276 IsEmpty]: Start isEmpty. Operand 74 states and 109 transitions. [2018-11-23 04:56:44,414 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2018-11-23 04:56:44,414 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 04:56:44,431 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 04:56:44,724 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 0 proven. 5 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 04:56:45,747 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 04:56:45,748 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 141 states to 92 states and 141 transitions. [2018-11-23 04:56:45,748 INFO L276 IsEmpty]: Start isEmpty. Operand 92 states and 141 transitions. [2018-11-23 04:56:45,749 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2018-11-23 04:56:45,749 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 04:56:45,761 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 04:56:45,888 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 0 proven. 5 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 04:56:46,798 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 04:56:46,798 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 160 states to 103 states and 160 transitions. [2018-11-23 04:56:46,798 INFO L276 IsEmpty]: Start isEmpty. Operand 103 states and 160 transitions. [2018-11-23 04:56:46,799 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 32 [2018-11-23 04:56:46,799 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 04:56:46,809 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 04:56:47,059 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 8 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 04:56:47,349 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 04:56:47,349 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 168 states to 105 states and 168 transitions. [2018-11-23 04:56:47,349 INFO L276 IsEmpty]: Start isEmpty. Operand 105 states and 168 transitions. [2018-11-23 04:56:47,350 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 32 [2018-11-23 04:56:47,350 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 04:56:47,358 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 04:56:47,776 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 0 proven. 4 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 04:56:48,015 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 04:56:48,016 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 176 states to 107 states and 176 transitions. [2018-11-23 04:56:48,016 INFO L276 IsEmpty]: Start isEmpty. Operand 107 states and 176 transitions. [2018-11-23 04:56:48,016 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 32 [2018-11-23 04:56:48,017 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 04:56:48,026 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 04:56:48,242 INFO L134 CoverageAnalysis]: Checked inductivity of 9 backedges. 0 proven. 8 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 04:56:48,367 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 04:56:48,368 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 184 states to 109 states and 184 transitions. [2018-11-23 04:56:48,368 INFO L276 IsEmpty]: Start isEmpty. Operand 109 states and 184 transitions. [2018-11-23 04:56:48,368 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 34 [2018-11-23 04:56:48,368 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 04:56:48,382 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 04:56:48,980 INFO L134 CoverageAnalysis]: Checked inductivity of 11 backedges. 0 proven. 11 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 04:56:50,780 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2018-11-23 04:56:50,780 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 206 states to 118 states and 206 transitions. [2018-11-23 04:56:50,780 INFO L276 IsEmpty]: Start isEmpty. Operand 118 states and 206 transitions. [2018-11-23 04:56:50,781 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 34 [2018-11-23 04:56:50,781 INFO L427 CodeCheckObserver]: Error Path is FOUND. [2018-11-23 04:56:50,795 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 04:56:50,807 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 04:56:51,107 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 04:56:51,470 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 04:56:51,505 WARN L493 CodeCheckObserver]: This program is UNSAFE, Check terminated with 16 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~malloc2.base, main_#t~malloc2.offset, main_#t~nondet7, main_#t~mem8.base, main_#t~mem8.offset, main_#t~mem9.base, main_#t~mem9.offset, main_#t~mem4.base, main_#t~mem4.offset, main_#t~mem5.base, main_#t~mem5.offset, main_#t~short6, main_#t~mem10.base, main_#t~mem10.offset, main_#t~nondet11, main_#t~short12, main_#t~malloc13.base, main_#t~malloc13.offset, 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_#t~nondet17, main_#t~short18, main_#t~malloc19.base, main_#t~malloc19.offset, main_#t~mem20.base, main_#t~mem20.offset, main_#t~mem21.base, main_#t~mem21.offset, main_#t~nondet3, main_#t~mem25.base, main_#t~mem25.offset, main_#t~mem26.base, main_#t~mem26.offset, main_#t~mem27.base, main_#t~mem27.offset, main_#t~mem22.base, main_#t~mem22.offset, main_#t~mem23.base, main_#t~mem23.offset, main_#t~short24, main_#t~mem28.base, main_#t~mem28.offset, main_#t~malloc29.base, main_#t~malloc29.offset, main_#t~malloc31.base, main_#t~malloc31.offset, main_#t~mem32.base, main_#t~mem32.offset, main_#t~nondet30, main_#t~malloc34.base, main_#t~malloc34.offset, main_#t~mem35.base, main_#t~mem35.offset, main_#t~nondet33, main_#t~mem37.base, main_#t~mem37.offset, main_#t~mem36, main_#t~mem39.base, main_#t~mem39.offset, main_#t~mem38, main_#t~mem40, main_~root~0.base, main_~root~0.offset, main_~n~0.base, main_~n~0.offset, main_~pred~0.base, main_~pred~0.offset, main_~a~0.base, main_~a~0.offset, main_~t~0.base, main_~t~0.offset, main_~p~0.base, main_~p~0.offset;call main_#t~malloc2.base, main_#t~malloc2.offset := #Ultimate.alloc(8);main_~root~0.base, main_~root~0.offset := main_#t~malloc2.base, main_#t~malloc2.offset;havoc main_~n~0.base, main_~n~0.offset;call write~$Pointer$(0, 0, main_~root~0.base, main_~root~0.offset, 4);call write~$Pointer$(0, 0, main_~root~0.base, 4 + main_~root~0.offset, 4); VAL [ULTIMATE.start_main_~root~0.base=17, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0] [?] assume -2147483648 <= main_#t~nondet3 && main_#t~nondet3 <= 2147483647; VAL [ULTIMATE.start_main_~root~0.base=17, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~nondet3|=0] [?] assume !(0 != main_#t~nondet3);havoc main_#t~nondet3; VAL [ULTIMATE.start_main_~root~0.base=17, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0] [?] main_~n~0.base, main_~n~0.offset := 0, 0;havoc main_~pred~0.base, main_~pred~0.offset; VAL [ULTIMATE.start_main_~n~0.base=0, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~root~0.base=17, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0] [?] assume !!(main_~root~0.base != 0 || main_~root~0.offset != 0);main_~pred~0.base, main_~pred~0.offset := 0, 0;main_~n~0.base, main_~n~0.offset := main_~root~0.base, main_~root~0.offset; VAL [ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~root~0.base=17, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0] [?] call main_#t~mem22.base, main_#t~mem22.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4);main_#t~short24 := main_#t~mem22.base != 0 || main_#t~mem22.offset != 0;BeginParallelComposition{ParallelCodeBlock0: assume main_#t~short24;ParallelCodeBlock1: assume !main_#t~short24;call main_#t~mem23.base, main_#t~mem23.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4);main_#t~short24 := main_#t~mem23.base != 0 || main_#t~mem23.offset != 0;}EndParallelComposition VAL [ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~root~0.base=17, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~mem22.base|=0, |ULTIMATE.start_main_#t~mem22.offset|=0, |ULTIMATE.start_main_#t~mem23.base|=0, |ULTIMATE.start_main_#t~mem23.offset|=0, |ULTIMATE.start_main_#t~short24|=false] [?] assume !main_#t~short24;havoc main_#t~mem23.base, main_#t~mem23.offset;havoc main_#t~short24;havoc main_#t~mem22.base, main_#t~mem22.offset; VAL [ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~root~0.base=17, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0] [?] BeginParallelComposition{ParallelCodeBlock0: assume !(main_~pred~0.base != 0 || main_~pred~0.offset != 0);main_~root~0.base, main_~root~0.offset := 0, 0;ParallelCodeBlock1: assume main_~pred~0.base != 0 || main_~pred~0.offset != 0;call main_#t~mem28.base, main_#t~mem28.offset := read~$Pointer$(main_~pred~0.base, main_~pred~0.offset, 4);BeginParallelComposition{ParallelCodeBlock0: assume main_~n~0.base == main_#t~mem28.base && main_~n~0.offset == main_#t~mem28.offset;havoc main_#t~mem28.base, main_#t~mem28.offset;call write~$Pointer$(0, 0, main_~pred~0.base, main_~pred~0.offset, 4);ParallelCodeBlock1: assume !(main_~n~0.base == main_#t~mem28.base && main_~n~0.offset == main_#t~mem28.offset);havoc main_#t~mem28.base, main_#t~mem28.offset;call write~$Pointer$(0, 0, main_~pred~0.base, 4 + main_~pred~0.offset, 4);}EndParallelComposition}EndParallelCompositioncall ULTIMATE.dealloc(main_~n~0.base, main_~n~0.offset); VAL [ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] BeginParallelComposition{ParallelCodeBlock0: assume !true;ParallelCodeBlock1: assume !(main_~root~0.base != 0 || main_~root~0.offset != 0);}EndParallelCompositioncall main_#t~malloc29.base, main_#t~malloc29.offset := #Ultimate.alloc(8);main_~a~0.base, main_~a~0.offset := main_#t~malloc29.base, main_#t~malloc29.offset; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] assume !(main_~a~0.base == 0 && main_~a~0.offset == 0); VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] havoc main_~t~0.base, main_~t~0.offset;main_~p~0.base, main_~p~0.offset := main_~a~0.base, main_~a~0.offset; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=12, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=12, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9, |ULTIMATE.start_main_#t~nondet30|=(- 1)] [?] assume !!(0 != main_#t~nondet30);havoc main_#t~nondet30;call write~int(1, main_~p~0.base, main_~p~0.offset, 4);call main_#t~malloc31.base, main_#t~malloc31.offset := #Ultimate.alloc(8);main_~t~0.base, main_~t~0.offset := main_#t~malloc31.base, main_#t~malloc31.offset; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=12, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=14, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] assume !(main_~t~0.base == 0 && main_~t~0.offset == 0); VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=12, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=14, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] call write~$Pointer$(main_~t~0.base, main_~t~0.offset, main_~p~0.base, 4 + main_~p~0.offset, 4);call main_#t~mem32.base, main_#t~mem32.offset := read~$Pointer$(main_~p~0.base, 4 + main_~p~0.offset, 4);main_~p~0.base, main_~p~0.offset := main_#t~mem32.base, main_#t~mem32.offset;havoc main_#t~mem32.base, main_#t~mem32.offset; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=14, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=14, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9, |ULTIMATE.start_main_#t~nondet30|=0] [?] assume !(0 != main_#t~nondet30);havoc main_#t~nondet30; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=14, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=14, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9, |ULTIMATE.start_main_#t~nondet33|=(- 1)] [?] assume !!(0 != main_#t~nondet33);havoc main_#t~nondet33;call write~int(2, main_~p~0.base, main_~p~0.offset, 4);call main_#t~malloc34.base, main_#t~malloc34.offset := #Ultimate.alloc(8);main_~t~0.base, main_~t~0.offset := main_#t~malloc34.base, main_#t~malloc34.offset; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] assume !(main_~t~0.base == 0 && main_~t~0.offset == 0); VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] call write~$Pointer$(main_~t~0.base, main_~t~0.offset, main_~p~0.base, 4 + main_~p~0.offset, 4);call main_#t~mem35.base, main_#t~mem35.offset := read~$Pointer$(main_~p~0.base, 4 + main_~p~0.offset, 4);main_~p~0.base, main_~p~0.offset := main_#t~mem35.base, main_#t~mem35.offset;havoc main_#t~mem35.base, main_#t~mem35.offset; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=17, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=17, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9, |ULTIMATE.start_main_#t~nondet33|=0] [?] assume !(0 != main_#t~nondet33);havoc main_#t~nondet33; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=17, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] call write~int(3, main_~p~0.base, main_~p~0.offset, 4);main_~p~0.base, main_~p~0.offset := main_~a~0.base, main_~a~0.offset; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=12, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] call main_#t~mem36 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=12, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9, |ULTIMATE.start_main_#t~mem36|=1] [?] assume !(2 == main_#t~mem36);havoc main_#t~mem36; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=12, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] call main_#t~mem38 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=12, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9, |ULTIMATE.start_main_#t~mem38|=1] [?] assume !!(1 == main_#t~mem38);havoc main_#t~mem38;call main_#t~mem39.base, main_#t~mem39.offset := read~$Pointer$(main_~p~0.base, 4 + main_~p~0.offset, 4);main_~p~0.base, main_~p~0.offset := main_#t~mem39.base, main_#t~mem39.offset;havoc main_#t~mem39.base, main_#t~mem39.offset; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] call main_#t~mem38 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9, |ULTIMATE.start_main_#t~mem38|=2] [?] assume !(1 == main_#t~mem38);havoc main_#t~mem38; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] call main_#t~mem40 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9, |ULTIMATE.start_main_#t~mem40|=2] [?] assume 3 != main_#t~mem40;havoc main_#t~mem40; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] assume !false; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [?] havoc main_#res; [?] havoc main_#t~malloc2.base, main_#t~malloc2.offset, main_#t~nondet7, main_#t~mem8.base, main_#t~mem8.offset, main_#t~mem9.base, main_#t~mem9.offset, main_#t~mem4.base, main_#t~mem4.offset, main_#t~mem5.base, main_#t~mem5.offset, main_#t~short6, main_#t~mem10.base, main_#t~mem10.offset, main_#t~nondet11, main_#t~short12, main_#t~malloc13.base, main_#t~malloc13.offset, 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_#t~nondet17, main_#t~short18, main_#t~malloc19.base, main_#t~malloc19.offset, main_#t~mem20.base, main_#t~mem20.offset, main_#t~mem21.base, main_#t~mem21.offset, main_#t~nondet3, main_#t~mem25.base, main_#t~mem25.offset, main_#t~mem26.base, main_#t~mem26.offset, main_#t~mem27.base, main_#t~mem27.offset, main_#t~mem22.base, main_#t~mem22.offset, main_#t~mem23.base, main_#t~mem23.offset, main_#t~short24, main_#t~mem28.base, main_#t~mem28.offset, main_#t~malloc29.base, main_#t~malloc29.offset, main_#t~malloc31.base, main_#t~malloc31.offset, main_#t~mem32.base, main_#t~mem32.offset, main_#t~nondet30, main_#t~malloc34.base, main_#t~malloc34.offset, main_#t~mem35.base, main_#t~mem35.offset, main_#t~nondet33, main_#t~mem37.base, main_#t~mem37.offset, main_#t~mem36, main_#t~mem39.base, main_#t~mem39.offset, main_#t~mem38, main_#t~mem40, main_~root~0.base, main_~root~0.offset, main_~n~0.base, main_~n~0.offset, main_~pred~0.base, main_~pred~0.offset, main_~a~0.base, main_~a~0.offset, main_~t~0.base, main_~t~0.offset, main_~p~0.base, main_~p~0.offset; [L541] call main_#t~malloc2.base, main_#t~malloc2.offset := #Ultimate.alloc(8); [L541] main_~root~0.base, main_~root~0.offset := main_#t~malloc2.base, main_#t~malloc2.offset; [L541] havoc main_~n~0.base, main_~n~0.offset; [L542] call write~$Pointer$(0, 0, main_~root~0.base, main_~root~0.offset, 4); [L543] call write~$Pointer$(0, 0, main_~root~0.base, 4 + main_~root~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L544] assume -2147483648 <= main_#t~nondet3 && main_#t~nondet3 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~nondet3=0, main_~root~0.base=17, main_~root~0.offset=0] [L544-L562] assume !(0 != main_#t~nondet3); [L544] havoc main_#t~nondet3; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L563] main_~n~0.base, main_~n~0.offset := 0, 0; [L564] havoc main_~pred~0.base, main_~pred~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~n~0.base=0, main_~n~0.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L565-L583] assume !!(main_~root~0.base != 0 || main_~root~0.offset != 0); [L566] main_~pred~0.base, main_~pred~0.offset := 0, 0; [L567] main_~n~0.base, main_~n~0.offset := main_~root~0.base, main_~root~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L568] call main_#t~mem22.base, main_#t~mem22.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); [L568] main_#t~short24 := main_#t~mem22.base != 0 || main_#t~mem22.offset != 0; [L568] assume !main_#t~short24; [L568] call main_#t~mem23.base, main_#t~mem23.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); [L568] main_#t~short24 := main_#t~mem23.base != 0 || main_#t~mem23.offset != 0; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~mem22.base=0, main_#t~mem22.offset=0, main_#t~mem23.base=0, main_#t~mem23.offset=0, main_#t~short24=false, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L568-L574] assume !main_#t~short24; [L568] havoc main_#t~mem23.base, main_#t~mem23.offset; [L568] havoc main_#t~short24; [L568] havoc main_#t~mem22.base, main_#t~mem22.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L575-L581] assume !(main_~pred~0.base != 0 || main_~pred~0.offset != 0); [L581] main_~root~0.base, main_~root~0.offset := 0, 0; [L582] call ULTIMATE.dealloc(main_~n~0.base, main_~n~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L565-L583] assume !(main_~root~0.base != 0 || main_~root~0.offset != 0); [L584] call main_#t~malloc29.base, main_#t~malloc29.offset := #Ultimate.alloc(8); [L584] main_~a~0.base, main_~a~0.offset := main_#t~malloc29.base, main_#t~malloc29.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L585] assume !(main_~a~0.base == 0 && main_~a~0.offset == 0); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L586] havoc main_~t~0.base, main_~t~0.offset; [L587] main_~p~0.base, main_~p~0.offset := main_~a~0.base, main_~a~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L588] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~nondet30=-1, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L588-L594] assume !!(0 != main_#t~nondet30); [L588] havoc main_#t~nondet30; [L589] call write~int(1, main_~p~0.base, main_~p~0.offset, 4); [L590] call main_#t~malloc31.base, main_#t~malloc31.offset := #Ultimate.alloc(8); [L590] main_~t~0.base, main_~t~0.offset := main_#t~malloc31.base, main_#t~malloc31.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L591] assume !(main_~t~0.base == 0 && main_~t~0.offset == 0); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L592] call write~$Pointer$(main_~t~0.base, main_~t~0.offset, main_~p~0.base, 4 + main_~p~0.offset, 4); [L593] call main_#t~mem32.base, main_#t~mem32.offset := read~$Pointer$(main_~p~0.base, 4 + main_~p~0.offset, 4); [L593] main_~p~0.base, main_~p~0.offset := main_#t~mem32.base, main_#t~mem32.offset; [L593] havoc main_#t~mem32.base, main_#t~mem32.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L588] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~nondet30=0, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L588-L594] assume !(0 != main_#t~nondet30); [L588] havoc main_#t~nondet30; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L595] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~nondet33=-1, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L595-L601] assume !!(0 != main_#t~nondet33); [L595] havoc main_#t~nondet33; [L596] call write~int(2, main_~p~0.base, main_~p~0.offset, 4); [L597] call main_#t~malloc34.base, main_#t~malloc34.offset := #Ultimate.alloc(8); [L597] main_~t~0.base, main_~t~0.offset := main_#t~malloc34.base, main_#t~malloc34.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L598] assume !(main_~t~0.base == 0 && main_~t~0.offset == 0); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L599] call write~$Pointer$(main_~t~0.base, main_~t~0.offset, main_~p~0.base, 4 + main_~p~0.offset, 4); [L600] call main_#t~mem35.base, main_#t~mem35.offset := read~$Pointer$(main_~p~0.base, 4 + main_~p~0.offset, 4); [L600] main_~p~0.base, main_~p~0.offset := main_#t~mem35.base, main_#t~mem35.offset; [L600] havoc main_#t~mem35.base, main_#t~mem35.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=17, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L595] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~nondet33=0, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=17, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L595-L601] assume !(0 != main_#t~nondet33); [L595] havoc main_#t~nondet33; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=17, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L602] call write~int(3, main_~p~0.base, main_~p~0.offset, 4); [L603] main_~p~0.base, main_~p~0.offset := main_~a~0.base, main_~a~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L604] call main_#t~mem36 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~mem36=1, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L604-L605] assume !(2 == main_#t~mem36); [L604] havoc main_#t~mem36; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L606] call main_#t~mem38 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~mem38=1, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L606-L607] assume !!(1 == main_#t~mem38); [L606] havoc main_#t~mem38; [L607] call main_#t~mem39.base, main_#t~mem39.offset := read~$Pointer$(main_~p~0.base, 4 + main_~p~0.offset, 4); [L607] main_~p~0.base, main_~p~0.offset := main_#t~mem39.base, main_#t~mem39.offset; [L607] havoc main_#t~mem39.base, main_#t~mem39.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L606] call main_#t~mem38 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~mem38=2, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L606-L607] assume !(1 == main_#t~mem38); [L606] havoc main_#t~mem38; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L608] call main_#t~mem40 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~mem40=2, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L608-L609] assume 3 != main_#t~mem40; [L608] havoc main_#t~mem40; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L609] assert false; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~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~malloc2.base, main_#t~malloc2.offset, main_#t~nondet7, main_#t~mem8.base, main_#t~mem8.offset, main_#t~mem9.base, main_#t~mem9.offset, main_#t~mem4.base, main_#t~mem4.offset, main_#t~mem5.base, main_#t~mem5.offset, main_#t~short6, main_#t~mem10.base, main_#t~mem10.offset, main_#t~nondet11, main_#t~short12, main_#t~malloc13.base, main_#t~malloc13.offset, 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_#t~nondet17, main_#t~short18, main_#t~malloc19.base, main_#t~malloc19.offset, main_#t~mem20.base, main_#t~mem20.offset, main_#t~mem21.base, main_#t~mem21.offset, main_#t~nondet3, main_#t~mem25.base, main_#t~mem25.offset, main_#t~mem26.base, main_#t~mem26.offset, main_#t~mem27.base, main_#t~mem27.offset, main_#t~mem22.base, main_#t~mem22.offset, main_#t~mem23.base, main_#t~mem23.offset, main_#t~short24, main_#t~mem28.base, main_#t~mem28.offset, main_#t~malloc29.base, main_#t~malloc29.offset, main_#t~malloc31.base, main_#t~malloc31.offset, main_#t~mem32.base, main_#t~mem32.offset, main_#t~nondet30, main_#t~malloc34.base, main_#t~malloc34.offset, main_#t~mem35.base, main_#t~mem35.offset, main_#t~nondet33, main_#t~mem37.base, main_#t~mem37.offset, main_#t~mem36, main_#t~mem39.base, main_#t~mem39.offset, main_#t~mem38, main_#t~mem40, main_~root~0.base, main_~root~0.offset, main_~n~0.base, main_~n~0.offset, main_~pred~0.base, main_~pred~0.offset, main_~a~0.base, main_~a~0.offset, main_~t~0.base, main_~t~0.offset, main_~p~0.base, main_~p~0.offset; [L541] call main_#t~malloc2.base, main_#t~malloc2.offset := #Ultimate.alloc(8); [L541] main_~root~0.base, main_~root~0.offset := main_#t~malloc2.base, main_#t~malloc2.offset; [L541] havoc main_~n~0.base, main_~n~0.offset; [L542] call write~$Pointer$(0, 0, main_~root~0.base, main_~root~0.offset, 4); [L543] call write~$Pointer$(0, 0, main_~root~0.base, 4 + main_~root~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L544] assume -2147483648 <= main_#t~nondet3 && main_#t~nondet3 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~nondet3=0, main_~root~0.base=17, main_~root~0.offset=0] [L544-L562] assume !(0 != main_#t~nondet3); [L544] havoc main_#t~nondet3; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L563] main_~n~0.base, main_~n~0.offset := 0, 0; [L564] havoc main_~pred~0.base, main_~pred~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~n~0.base=0, main_~n~0.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L565-L583] assume !!(main_~root~0.base != 0 || main_~root~0.offset != 0); [L566] main_~pred~0.base, main_~pred~0.offset := 0, 0; [L567] main_~n~0.base, main_~n~0.offset := main_~root~0.base, main_~root~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L568] call main_#t~mem22.base, main_#t~mem22.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); [L568] main_#t~short24 := main_#t~mem22.base != 0 || main_#t~mem22.offset != 0; [L568] assume !main_#t~short24; [L568] call main_#t~mem23.base, main_#t~mem23.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); [L568] main_#t~short24 := main_#t~mem23.base != 0 || main_#t~mem23.offset != 0; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~mem22.base=0, main_#t~mem22.offset=0, main_#t~mem23.base=0, main_#t~mem23.offset=0, main_#t~short24=false, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L568-L574] assume !main_#t~short24; [L568] havoc main_#t~mem23.base, main_#t~mem23.offset; [L568] havoc main_#t~short24; [L568] havoc main_#t~mem22.base, main_#t~mem22.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L575-L581] assume !(main_~pred~0.base != 0 || main_~pred~0.offset != 0); [L581] main_~root~0.base, main_~root~0.offset := 0, 0; [L582] call ULTIMATE.dealloc(main_~n~0.base, main_~n~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L565-L583] assume !(main_~root~0.base != 0 || main_~root~0.offset != 0); [L584] call main_#t~malloc29.base, main_#t~malloc29.offset := #Ultimate.alloc(8); [L584] main_~a~0.base, main_~a~0.offset := main_#t~malloc29.base, main_#t~malloc29.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L585] assume !(main_~a~0.base == 0 && main_~a~0.offset == 0); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L586] havoc main_~t~0.base, main_~t~0.offset; [L587] main_~p~0.base, main_~p~0.offset := main_~a~0.base, main_~a~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L588] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~nondet30=-1, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L588-L594] assume !!(0 != main_#t~nondet30); [L588] havoc main_#t~nondet30; [L589] call write~int(1, main_~p~0.base, main_~p~0.offset, 4); [L590] call main_#t~malloc31.base, main_#t~malloc31.offset := #Ultimate.alloc(8); [L590] main_~t~0.base, main_~t~0.offset := main_#t~malloc31.base, main_#t~malloc31.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L591] assume !(main_~t~0.base == 0 && main_~t~0.offset == 0); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L592] call write~$Pointer$(main_~t~0.base, main_~t~0.offset, main_~p~0.base, 4 + main_~p~0.offset, 4); [L593] call main_#t~mem32.base, main_#t~mem32.offset := read~$Pointer$(main_~p~0.base, 4 + main_~p~0.offset, 4); [L593] main_~p~0.base, main_~p~0.offset := main_#t~mem32.base, main_#t~mem32.offset; [L593] havoc main_#t~mem32.base, main_#t~mem32.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L588] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~nondet30=0, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L588-L594] assume !(0 != main_#t~nondet30); [L588] havoc main_#t~nondet30; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L595] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~nondet33=-1, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L595-L601] assume !!(0 != main_#t~nondet33); [L595] havoc main_#t~nondet33; [L596] call write~int(2, main_~p~0.base, main_~p~0.offset, 4); [L597] call main_#t~malloc34.base, main_#t~malloc34.offset := #Ultimate.alloc(8); [L597] main_~t~0.base, main_~t~0.offset := main_#t~malloc34.base, main_#t~malloc34.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L598] assume !(main_~t~0.base == 0 && main_~t~0.offset == 0); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L599] call write~$Pointer$(main_~t~0.base, main_~t~0.offset, main_~p~0.base, 4 + main_~p~0.offset, 4); [L600] call main_#t~mem35.base, main_#t~mem35.offset := read~$Pointer$(main_~p~0.base, 4 + main_~p~0.offset, 4); [L600] main_~p~0.base, main_~p~0.offset := main_#t~mem35.base, main_#t~mem35.offset; [L600] havoc main_#t~mem35.base, main_#t~mem35.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=17, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L595] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~nondet33=0, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=17, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L595-L601] assume !(0 != main_#t~nondet33); [L595] havoc main_#t~nondet33; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=17, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L602] call write~int(3, main_~p~0.base, main_~p~0.offset, 4); [L603] main_~p~0.base, main_~p~0.offset := main_~a~0.base, main_~a~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L604] call main_#t~mem36 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~mem36=1, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L604-L605] assume !(2 == main_#t~mem36); [L604] havoc main_#t~mem36; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L606] call main_#t~mem38 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~mem38=1, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L606-L607] assume !!(1 == main_#t~mem38); [L606] havoc main_#t~mem38; [L607] call main_#t~mem39.base, main_#t~mem39.offset := read~$Pointer$(main_~p~0.base, 4 + main_~p~0.offset, 4); [L607] main_~p~0.base, main_~p~0.offset := main_#t~mem39.base, main_#t~mem39.offset; [L607] havoc main_#t~mem39.base, main_#t~mem39.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L606] call main_#t~mem38 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~mem38=2, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L606-L607] assume !(1 == main_#t~mem38); [L606] havoc main_#t~mem38; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L608] call main_#t~mem40 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~mem40=2, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L608-L609] assume 3 != main_#t~mem40; [L608] havoc main_#t~mem40; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L609] assert false; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [?] havoc main_#res; [?] havoc main_#t~malloc2, main_#t~nondet7, main_#t~mem8, main_#t~mem9, main_#t~mem4, main_#t~mem5, main_#t~short6, main_#t~mem10, main_#t~nondet11, main_#t~short12, main_#t~malloc13, main_#t~mem14, main_#t~mem15, main_#t~mem16, main_#t~nondet17, main_#t~short18, main_#t~malloc19, main_#t~mem20, main_#t~mem21, main_#t~nondet3, main_#t~mem25, main_#t~mem26, main_#t~mem27, main_#t~mem22, main_#t~mem23, main_#t~short24, main_#t~mem28, main_#t~malloc29, main_#t~malloc31, main_#t~mem32, main_#t~nondet30, main_#t~malloc34, main_#t~mem35, main_#t~nondet33, main_#t~mem37, main_#t~mem36, main_#t~mem39, main_#t~mem38, main_#t~mem40, main_~root~0, main_~n~0, main_~pred~0, main_~a~0, main_~t~0, main_~p~0; [L541] FCALL call main_#t~malloc2 := #Ultimate.alloc(8); [L541] main_~root~0 := main_#t~malloc2; [L541] havoc main_~n~0; [L542] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: main_~root~0!base, offset: main_~root~0!offset }, 4); [L543] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: main_~root~0!base, offset: 4 + main_~root~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L544] assume -2147483648 <= main_#t~nondet3 && main_#t~nondet3 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~nondet3=0, main_~root~0!base=17, main_~root~0!offset=0] [L544-L562] COND TRUE !(0 != main_#t~nondet3) [L544] havoc main_#t~nondet3; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L563] main_~n~0 := { base: 0, offset: 0 }; [L564] havoc main_~pred~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~n~0!base=0, main_~n~0!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L565-L583] COND FALSE !(!(main_~root~0 != { base: 0, offset: 0 })) [L566] main_~pred~0 := { base: 0, offset: 0 }; [L567] main_~n~0 := main_~root~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L568] FCALL call main_#t~mem22 := read~$Pointer$({ base: main_~n~0!base, offset: main_~n~0!offset }, 4); [L568] main_#t~short24 := main_#t~mem22 != { base: 0, offset: 0 }; [L568] COND FALSE !(main_#t~short24) [L568] FCALL call main_#t~mem23 := read~$Pointer$({ base: main_~n~0!base, offset: 4 + main_~n~0!offset }, 4); [L568] main_#t~short24 := main_#t~mem23 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~mem22!base=0, main_#t~mem22!offset=0, main_#t~mem23!base=0, main_#t~mem23!offset=0, main_#t~short24=false, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L568-L574] COND TRUE !main_#t~short24 [L568] havoc main_#t~mem23; [L568] havoc main_#t~short24; [L568] havoc main_#t~mem22; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L575-L581] COND FALSE !(main_~pred~0 != { base: 0, offset: 0 }) [L581] main_~root~0 := { base: 0, offset: 0 }; [L582] FCALL call ULTIMATE.dealloc(main_~n~0); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L565-L583] COND TRUE !(main_~root~0 != { base: 0, offset: 0 }) [L584] FCALL call main_#t~malloc29 := #Ultimate.alloc(8); [L584] main_~a~0 := main_#t~malloc29; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L585] COND FALSE !(main_~a~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L586] havoc main_~t~0; [L587] main_~p~0 := main_~a~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L588] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~nondet30=-1, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L588-L594] COND FALSE !(!(0 != main_#t~nondet30)) [L588] havoc main_#t~nondet30; [L589] FCALL call write~int(1, { base: main_~p~0!base, offset: main_~p~0!offset }, 4); [L590] FCALL call main_#t~malloc31 := #Ultimate.alloc(8); [L590] main_~t~0 := main_#t~malloc31; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L591] COND FALSE !(main_~t~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L592] FCALL call write~$Pointer$(main_~t~0, { base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L593] FCALL call main_#t~mem32 := read~$Pointer$({ base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L593] main_~p~0 := main_#t~mem32; [L593] havoc main_#t~mem32; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L588] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~nondet30=0, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L588-L594] COND TRUE !(0 != main_#t~nondet30) [L588] havoc main_#t~nondet30; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L595] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~nondet33=-1, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L595-L601] COND FALSE !(!(0 != main_#t~nondet33)) [L595] havoc main_#t~nondet33; [L596] FCALL call write~int(2, { base: main_~p~0!base, offset: main_~p~0!offset }, 4); [L597] FCALL call main_#t~malloc34 := #Ultimate.alloc(8); [L597] main_~t~0 := main_#t~malloc34; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L598] COND FALSE !(main_~t~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L599] FCALL call write~$Pointer$(main_~t~0, { base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L600] FCALL call main_#t~mem35 := read~$Pointer$({ base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L600] main_~p~0 := main_#t~mem35; [L600] havoc main_#t~mem35; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=17, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L595] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~nondet33=0, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=17, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L595-L601] COND TRUE !(0 != main_#t~nondet33) [L595] havoc main_#t~nondet33; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=17, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L602] FCALL call write~int(3, { base: main_~p~0!base, offset: main_~p~0!offset }, 4); [L603] main_~p~0 := main_~a~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L604] FCALL call main_#t~mem36 := read~int({ base: main_~p~0!base, offset: main_~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~mem36=1, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L604-L605] COND TRUE !(2 == main_#t~mem36) [L604] havoc main_#t~mem36; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L606] FCALL call main_#t~mem38 := read~int({ base: main_~p~0!base, offset: main_~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~mem38=1, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L606-L607] COND FALSE !(!(1 == main_#t~mem38)) [L606] havoc main_#t~mem38; [L607] FCALL call main_#t~mem39 := read~$Pointer$({ base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L607] main_~p~0 := main_#t~mem39; [L607] havoc main_#t~mem39; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L606] FCALL call main_#t~mem38 := read~int({ base: main_~p~0!base, offset: main_~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~mem38=2, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L606-L607] COND TRUE !(1 == main_#t~mem38) [L606] havoc main_#t~mem38; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L608] FCALL call main_#t~mem40 := read~int({ base: main_~p~0!base, offset: main_~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~mem40=2, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L608] COND TRUE 3 != main_#t~mem40 [L608] havoc main_#t~mem40; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L609] assert false; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~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~malloc2, main_#t~nondet7, main_#t~mem8, main_#t~mem9, main_#t~mem4, main_#t~mem5, main_#t~short6, main_#t~mem10, main_#t~nondet11, main_#t~short12, main_#t~malloc13, main_#t~mem14, main_#t~mem15, main_#t~mem16, main_#t~nondet17, main_#t~short18, main_#t~malloc19, main_#t~mem20, main_#t~mem21, main_#t~nondet3, main_#t~mem25, main_#t~mem26, main_#t~mem27, main_#t~mem22, main_#t~mem23, main_#t~short24, main_#t~mem28, main_#t~malloc29, main_#t~malloc31, main_#t~mem32, main_#t~nondet30, main_#t~malloc34, main_#t~mem35, main_#t~nondet33, main_#t~mem37, main_#t~mem36, main_#t~mem39, main_#t~mem38, main_#t~mem40, main_~root~0, main_~n~0, main_~pred~0, main_~a~0, main_~t~0, main_~p~0; [L541] FCALL call main_#t~malloc2 := #Ultimate.alloc(8); [L541] main_~root~0 := main_#t~malloc2; [L541] havoc main_~n~0; [L542] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: main_~root~0!base, offset: main_~root~0!offset }, 4); [L543] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: main_~root~0!base, offset: 4 + main_~root~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L544] assume -2147483648 <= main_#t~nondet3 && main_#t~nondet3 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~nondet3=0, main_~root~0!base=17, main_~root~0!offset=0] [L544-L562] COND TRUE !(0 != main_#t~nondet3) [L544] havoc main_#t~nondet3; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L563] main_~n~0 := { base: 0, offset: 0 }; [L564] havoc main_~pred~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~n~0!base=0, main_~n~0!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L565-L583] COND FALSE !(!(main_~root~0 != { base: 0, offset: 0 })) [L566] main_~pred~0 := { base: 0, offset: 0 }; [L567] main_~n~0 := main_~root~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L568] FCALL call main_#t~mem22 := read~$Pointer$({ base: main_~n~0!base, offset: main_~n~0!offset }, 4); [L568] main_#t~short24 := main_#t~mem22 != { base: 0, offset: 0 }; [L568] COND FALSE !(main_#t~short24) [L568] FCALL call main_#t~mem23 := read~$Pointer$({ base: main_~n~0!base, offset: 4 + main_~n~0!offset }, 4); [L568] main_#t~short24 := main_#t~mem23 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~mem22!base=0, main_#t~mem22!offset=0, main_#t~mem23!base=0, main_#t~mem23!offset=0, main_#t~short24=false, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L568-L574] COND TRUE !main_#t~short24 [L568] havoc main_#t~mem23; [L568] havoc main_#t~short24; [L568] havoc main_#t~mem22; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L575-L581] COND FALSE !(main_~pred~0 != { base: 0, offset: 0 }) [L581] main_~root~0 := { base: 0, offset: 0 }; [L582] FCALL call ULTIMATE.dealloc(main_~n~0); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L565-L583] COND TRUE !(main_~root~0 != { base: 0, offset: 0 }) [L584] FCALL call main_#t~malloc29 := #Ultimate.alloc(8); [L584] main_~a~0 := main_#t~malloc29; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L585] COND FALSE !(main_~a~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L586] havoc main_~t~0; [L587] main_~p~0 := main_~a~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L588] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~nondet30=-1, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L588-L594] COND FALSE !(!(0 != main_#t~nondet30)) [L588] havoc main_#t~nondet30; [L589] FCALL call write~int(1, { base: main_~p~0!base, offset: main_~p~0!offset }, 4); [L590] FCALL call main_#t~malloc31 := #Ultimate.alloc(8); [L590] main_~t~0 := main_#t~malloc31; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L591] COND FALSE !(main_~t~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L592] FCALL call write~$Pointer$(main_~t~0, { base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L593] FCALL call main_#t~mem32 := read~$Pointer$({ base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L593] main_~p~0 := main_#t~mem32; [L593] havoc main_#t~mem32; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L588] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~nondet30=0, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L588-L594] COND TRUE !(0 != main_#t~nondet30) [L588] havoc main_#t~nondet30; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L595] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~nondet33=-1, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L595-L601] COND FALSE !(!(0 != main_#t~nondet33)) [L595] havoc main_#t~nondet33; [L596] FCALL call write~int(2, { base: main_~p~0!base, offset: main_~p~0!offset }, 4); [L597] FCALL call main_#t~malloc34 := #Ultimate.alloc(8); [L597] main_~t~0 := main_#t~malloc34; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L598] COND FALSE !(main_~t~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L599] FCALL call write~$Pointer$(main_~t~0, { base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L600] FCALL call main_#t~mem35 := read~$Pointer$({ base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L600] main_~p~0 := main_#t~mem35; [L600] havoc main_#t~mem35; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=17, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L595] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~nondet33=0, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=17, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L595-L601] COND TRUE !(0 != main_#t~nondet33) [L595] havoc main_#t~nondet33; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=17, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L602] FCALL call write~int(3, { base: main_~p~0!base, offset: main_~p~0!offset }, 4); [L603] main_~p~0 := main_~a~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L604] FCALL call main_#t~mem36 := read~int({ base: main_~p~0!base, offset: main_~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~mem36=1, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L604-L605] COND TRUE !(2 == main_#t~mem36) [L604] havoc main_#t~mem36; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L606] FCALL call main_#t~mem38 := read~int({ base: main_~p~0!base, offset: main_~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~mem38=1, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L606-L607] COND FALSE !(!(1 == main_#t~mem38)) [L606] havoc main_#t~mem38; [L607] FCALL call main_#t~mem39 := read~$Pointer$({ base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L607] main_~p~0 := main_#t~mem39; [L607] havoc main_#t~mem39; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L606] FCALL call main_#t~mem38 := read~int({ base: main_~p~0!base, offset: main_~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~mem38=2, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L606-L607] COND TRUE !(1 == main_#t~mem38) [L606] havoc main_#t~mem38; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L608] FCALL call main_#t~mem40 := read~int({ base: main_~p~0!base, offset: main_~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~mem40=2, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L608] COND TRUE 3 != main_#t~mem40 [L608] havoc main_#t~mem40; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L609] assert false; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L541] FCALL call #t~malloc2 := #Ultimate.alloc(8); [L541] ~root~0 := #t~malloc2; [L541] havoc ~n~0; [L542] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~root~0!base, offset: ~root~0!offset }, 4); [L543] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~root~0!base, offset: 4 + ~root~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L544] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L544-L562] COND TRUE !(0 != #t~nondet3) [L544] havoc #t~nondet3; VAL [#NULL!base=0, #NULL!offset=0] [L563] ~n~0 := { base: 0, offset: 0 }; [L564] havoc ~pred~0; VAL [#NULL!base=0, #NULL!offset=0] [L565-L583] COND FALSE !(!(~root~0 != { base: 0, offset: 0 })) [L566] ~pred~0 := { base: 0, offset: 0 }; [L567] ~n~0 := ~root~0; VAL [#NULL!base=0, #NULL!offset=0] [L568] FCALL call #t~mem22 := read~$Pointer$({ base: ~n~0!base, offset: ~n~0!offset }, 4); [L568] #t~short24 := #t~mem22 != { base: 0, offset: 0 }; [L568] COND FALSE !(#t~short24) [L568] FCALL call #t~mem23 := read~$Pointer$({ base: ~n~0!base, offset: 4 + ~n~0!offset }, 4); [L568] #t~short24 := #t~mem23 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [L568-L574] COND TRUE !#t~short24 [L568] havoc #t~mem23; [L568] havoc #t~short24; [L568] havoc #t~mem22; VAL [#NULL!base=0, #NULL!offset=0] [L575-L581] COND FALSE !(~pred~0 != { base: 0, offset: 0 }) [L581] ~root~0 := { base: 0, offset: 0 }; [L582] FCALL call ULTIMATE.dealloc(~n~0); VAL [#NULL!base=0, #NULL!offset=0] [L565-L583] COND TRUE !(~root~0 != { base: 0, offset: 0 }) [L584] FCALL call #t~malloc29 := #Ultimate.alloc(8); [L584] ~a~0 := #t~malloc29; VAL [#NULL!base=0, #NULL!offset=0] [L585] COND FALSE !(~a~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0] [L586] havoc ~t~0; [L587] ~p~0 := ~a~0; VAL [#NULL!base=0, #NULL!offset=0] [L588] assume -2147483648 <= #t~nondet30 && #t~nondet30 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L588-L594] COND FALSE !(!(0 != #t~nondet30)) [L588] havoc #t~nondet30; [L589] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset }, 4); [L590] FCALL call #t~malloc31 := #Ultimate.alloc(8); [L590] ~t~0 := #t~malloc31; VAL [#NULL!base=0, #NULL!offset=0] [L591] COND FALSE !(~t~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0] [L592] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L593] FCALL call #t~mem32 := read~$Pointer$({ base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L593] ~p~0 := #t~mem32; [L593] havoc #t~mem32; VAL [#NULL!base=0, #NULL!offset=0] [L588] assume -2147483648 <= #t~nondet30 && #t~nondet30 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L588-L594] COND TRUE !(0 != #t~nondet30) [L588] havoc #t~nondet30; VAL [#NULL!base=0, #NULL!offset=0] [L595] assume -2147483648 <= #t~nondet33 && #t~nondet33 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L595-L601] COND FALSE !(!(0 != #t~nondet33)) [L595] havoc #t~nondet33; [L596] FCALL call write~int(2, { base: ~p~0!base, offset: ~p~0!offset }, 4); [L597] FCALL call #t~malloc34 := #Ultimate.alloc(8); [L597] ~t~0 := #t~malloc34; VAL [#NULL!base=0, #NULL!offset=0] [L598] COND FALSE !(~t~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0] [L599] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L600] FCALL call #t~mem35 := read~$Pointer$({ base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L600] ~p~0 := #t~mem35; [L600] havoc #t~mem35; VAL [#NULL!base=0, #NULL!offset=0] [L595] assume -2147483648 <= #t~nondet33 && #t~nondet33 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L595-L601] COND TRUE !(0 != #t~nondet33) [L595] havoc #t~nondet33; VAL [#NULL!base=0, #NULL!offset=0] [L602] FCALL call write~int(3, { base: ~p~0!base, offset: ~p~0!offset }, 4); [L603] ~p~0 := ~a~0; VAL [#NULL!base=0, #NULL!offset=0] [L604] FCALL call #t~mem36 := read~int({ base: ~p~0!base, offset: ~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L604-L605] COND TRUE !(2 == #t~mem36) [L604] havoc #t~mem36; VAL [#NULL!base=0, #NULL!offset=0] [L606] FCALL call #t~mem38 := read~int({ base: ~p~0!base, offset: ~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L606-L607] COND FALSE !(!(1 == #t~mem38)) [L606] havoc #t~mem38; [L607] FCALL call #t~mem39 := read~$Pointer$({ base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L607] ~p~0 := #t~mem39; [L607] havoc #t~mem39; VAL [#NULL!base=0, #NULL!offset=0] [L606] FCALL call #t~mem38 := read~int({ base: ~p~0!base, offset: ~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L606-L607] COND TRUE !(1 == #t~mem38) [L606] havoc #t~mem38; VAL [#NULL!base=0, #NULL!offset=0] [L608] FCALL call #t~mem40 := read~int({ base: ~p~0!base, offset: ~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L608] COND TRUE 3 != #t~mem40 [L608] havoc #t~mem40; VAL [#NULL!base=0, #NULL!offset=0] [L609] 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; [L541] FCALL call #t~malloc2 := #Ultimate.alloc(8); [L541] ~root~0 := #t~malloc2; [L541] havoc ~n~0; [L542] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~root~0!base, offset: ~root~0!offset }, 4); [L543] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~root~0!base, offset: 4 + ~root~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L544] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L544-L562] COND TRUE !(0 != #t~nondet3) [L544] havoc #t~nondet3; VAL [#NULL!base=0, #NULL!offset=0] [L563] ~n~0 := { base: 0, offset: 0 }; [L564] havoc ~pred~0; VAL [#NULL!base=0, #NULL!offset=0] [L565-L583] COND FALSE !(!(~root~0 != { base: 0, offset: 0 })) [L566] ~pred~0 := { base: 0, offset: 0 }; [L567] ~n~0 := ~root~0; VAL [#NULL!base=0, #NULL!offset=0] [L568] FCALL call #t~mem22 := read~$Pointer$({ base: ~n~0!base, offset: ~n~0!offset }, 4); [L568] #t~short24 := #t~mem22 != { base: 0, offset: 0 }; [L568] COND FALSE !(#t~short24) [L568] FCALL call #t~mem23 := read~$Pointer$({ base: ~n~0!base, offset: 4 + ~n~0!offset }, 4); [L568] #t~short24 := #t~mem23 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [L568-L574] COND TRUE !#t~short24 [L568] havoc #t~mem23; [L568] havoc #t~short24; [L568] havoc #t~mem22; VAL [#NULL!base=0, #NULL!offset=0] [L575-L581] COND FALSE !(~pred~0 != { base: 0, offset: 0 }) [L581] ~root~0 := { base: 0, offset: 0 }; [L582] FCALL call ULTIMATE.dealloc(~n~0); VAL [#NULL!base=0, #NULL!offset=0] [L565-L583] COND TRUE !(~root~0 != { base: 0, offset: 0 }) [L584] FCALL call #t~malloc29 := #Ultimate.alloc(8); [L584] ~a~0 := #t~malloc29; VAL [#NULL!base=0, #NULL!offset=0] [L585] COND FALSE !(~a~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0] [L586] havoc ~t~0; [L587] ~p~0 := ~a~0; VAL [#NULL!base=0, #NULL!offset=0] [L588] assume -2147483648 <= #t~nondet30 && #t~nondet30 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L588-L594] COND FALSE !(!(0 != #t~nondet30)) [L588] havoc #t~nondet30; [L589] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset }, 4); [L590] FCALL call #t~malloc31 := #Ultimate.alloc(8); [L590] ~t~0 := #t~malloc31; VAL [#NULL!base=0, #NULL!offset=0] [L591] COND FALSE !(~t~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0] [L592] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L593] FCALL call #t~mem32 := read~$Pointer$({ base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L593] ~p~0 := #t~mem32; [L593] havoc #t~mem32; VAL [#NULL!base=0, #NULL!offset=0] [L588] assume -2147483648 <= #t~nondet30 && #t~nondet30 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L588-L594] COND TRUE !(0 != #t~nondet30) [L588] havoc #t~nondet30; VAL [#NULL!base=0, #NULL!offset=0] [L595] assume -2147483648 <= #t~nondet33 && #t~nondet33 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L595-L601] COND FALSE !(!(0 != #t~nondet33)) [L595] havoc #t~nondet33; [L596] FCALL call write~int(2, { base: ~p~0!base, offset: ~p~0!offset }, 4); [L597] FCALL call #t~malloc34 := #Ultimate.alloc(8); [L597] ~t~0 := #t~malloc34; VAL [#NULL!base=0, #NULL!offset=0] [L598] COND FALSE !(~t~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0] [L599] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L600] FCALL call #t~mem35 := read~$Pointer$({ base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L600] ~p~0 := #t~mem35; [L600] havoc #t~mem35; VAL [#NULL!base=0, #NULL!offset=0] [L595] assume -2147483648 <= #t~nondet33 && #t~nondet33 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L595-L601] COND TRUE !(0 != #t~nondet33) [L595] havoc #t~nondet33; VAL [#NULL!base=0, #NULL!offset=0] [L602] FCALL call write~int(3, { base: ~p~0!base, offset: ~p~0!offset }, 4); [L603] ~p~0 := ~a~0; VAL [#NULL!base=0, #NULL!offset=0] [L604] FCALL call #t~mem36 := read~int({ base: ~p~0!base, offset: ~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L604-L605] COND TRUE !(2 == #t~mem36) [L604] havoc #t~mem36; VAL [#NULL!base=0, #NULL!offset=0] [L606] FCALL call #t~mem38 := read~int({ base: ~p~0!base, offset: ~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L606-L607] COND FALSE !(!(1 == #t~mem38)) [L606] havoc #t~mem38; [L607] FCALL call #t~mem39 := read~$Pointer$({ base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L607] ~p~0 := #t~mem39; [L607] havoc #t~mem39; VAL [#NULL!base=0, #NULL!offset=0] [L606] FCALL call #t~mem38 := read~int({ base: ~p~0!base, offset: ~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L606-L607] COND TRUE !(1 == #t~mem38) [L606] havoc #t~mem38; VAL [#NULL!base=0, #NULL!offset=0] [L608] FCALL call #t~mem40 := read~int({ base: ~p~0!base, offset: ~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L608] COND TRUE 3 != #t~mem40 [L608] havoc #t~mem40; VAL [#NULL!base=0, #NULL!offset=0] [L609] assert false; VAL [#NULL!base=0, #NULL!offset=0] [L541] struct TreeNode* root = malloc(sizeof(*root)), *n; [L542] root->left = ((void *)0) [L543] root->right = ((void *)0) [L544] COND FALSE !(__VERIFIER_nondet_int()) [L563] n = ((void *)0) [L564] struct TreeNode* pred; [L565] COND TRUE \read(*root) [L566] pred = ((void *)0) [L567] n = root [L568] EXPR n->left [L568] n->left || n->right [L568] EXPR n->right [L568] n->left || n->right [L568] COND FALSE !(n->left || n->right) [L575] COND FALSE !(\read(*pred)) [L581] root = ((void *)0) [L565] COND FALSE !(\read(*root)) [L584] List a = (List) malloc(sizeof(struct node)); [L585] COND FALSE !(a == 0) [L586] List t; [L587] List p = a; [L588] COND TRUE __VERIFIER_nondet_int() [L589] p->h = 1 [L590] t = (List) malloc(sizeof(struct node)) [L591] COND FALSE !(t == 0) [L592] p->n = t [L593] EXPR p->n [L593] p = p->n [L588] COND FALSE !(__VERIFIER_nondet_int()) [L595] COND TRUE __VERIFIER_nondet_int() [L596] p->h = 2 [L597] t = (List) malloc(sizeof(struct node)) [L598] COND FALSE !(t == 0) [L599] p->n = t [L600] EXPR p->n [L600] p = p->n [L595] COND FALSE !(__VERIFIER_nondet_int()) [L602] p->h = 3 [L603] p = a [L604] EXPR p->h [L604] COND FALSE !(p->h == 2) [L606] EXPR p->h [L606] COND TRUE p->h == 1 [L607] EXPR p->n [L607] p = p->n [L606] EXPR p->h [L606] COND FALSE !(p->h == 1) [L608] EXPR p->h [L608] COND TRUE p->h != 3 [L609] __VERIFIER_error() ----- [2018-11-23 04:56:51,607 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 23.11 04:56:51 ImpRootNode [2018-11-23 04:56:51,607 INFO L132 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2018-11-23 04:56:51,607 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 04:56:51,607 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 04:56:51,607 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 04:56:51,608 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 04:56:42" (3/4) ... [2018-11-23 04:56:51,610 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~malloc2.base, main_#t~malloc2.offset, main_#t~nondet7, main_#t~mem8.base, main_#t~mem8.offset, main_#t~mem9.base, main_#t~mem9.offset, main_#t~mem4.base, main_#t~mem4.offset, main_#t~mem5.base, main_#t~mem5.offset, main_#t~short6, main_#t~mem10.base, main_#t~mem10.offset, main_#t~nondet11, main_#t~short12, main_#t~malloc13.base, main_#t~malloc13.offset, 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_#t~nondet17, main_#t~short18, main_#t~malloc19.base, main_#t~malloc19.offset, main_#t~mem20.base, main_#t~mem20.offset, main_#t~mem21.base, main_#t~mem21.offset, main_#t~nondet3, main_#t~mem25.base, main_#t~mem25.offset, main_#t~mem26.base, main_#t~mem26.offset, main_#t~mem27.base, main_#t~mem27.offset, main_#t~mem22.base, main_#t~mem22.offset, main_#t~mem23.base, main_#t~mem23.offset, main_#t~short24, main_#t~mem28.base, main_#t~mem28.offset, main_#t~malloc29.base, main_#t~malloc29.offset, main_#t~malloc31.base, main_#t~malloc31.offset, main_#t~mem32.base, main_#t~mem32.offset, main_#t~nondet30, main_#t~malloc34.base, main_#t~malloc34.offset, main_#t~mem35.base, main_#t~mem35.offset, main_#t~nondet33, main_#t~mem37.base, main_#t~mem37.offset, main_#t~mem36, main_#t~mem39.base, main_#t~mem39.offset, main_#t~mem38, main_#t~mem40, main_~root~0.base, main_~root~0.offset, main_~n~0.base, main_~n~0.offset, main_~pred~0.base, main_~pred~0.offset, main_~a~0.base, main_~a~0.offset, main_~t~0.base, main_~t~0.offset, main_~p~0.base, main_~p~0.offset;call main_#t~malloc2.base, main_#t~malloc2.offset := #Ultimate.alloc(8);main_~root~0.base, main_~root~0.offset := main_#t~malloc2.base, main_#t~malloc2.offset;havoc main_~n~0.base, main_~n~0.offset;call write~$Pointer$(0, 0, main_~root~0.base, main_~root~0.offset, 4);call write~$Pointer$(0, 0, main_~root~0.base, 4 + main_~root~0.offset, 4); VAL [ULTIMATE.start_main_~root~0.base=17, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0] [?] assume -2147483648 <= main_#t~nondet3 && main_#t~nondet3 <= 2147483647; VAL [ULTIMATE.start_main_~root~0.base=17, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~nondet3|=0] [?] assume !(0 != main_#t~nondet3);havoc main_#t~nondet3; VAL [ULTIMATE.start_main_~root~0.base=17, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0] [?] main_~n~0.base, main_~n~0.offset := 0, 0;havoc main_~pred~0.base, main_~pred~0.offset; VAL [ULTIMATE.start_main_~n~0.base=0, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~root~0.base=17, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0] [?] assume !!(main_~root~0.base != 0 || main_~root~0.offset != 0);main_~pred~0.base, main_~pred~0.offset := 0, 0;main_~n~0.base, main_~n~0.offset := main_~root~0.base, main_~root~0.offset; VAL [ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~root~0.base=17, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0] [?] call main_#t~mem22.base, main_#t~mem22.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4);main_#t~short24 := main_#t~mem22.base != 0 || main_#t~mem22.offset != 0;BeginParallelComposition{ParallelCodeBlock0: assume main_#t~short24;ParallelCodeBlock1: assume !main_#t~short24;call main_#t~mem23.base, main_#t~mem23.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4);main_#t~short24 := main_#t~mem23.base != 0 || main_#t~mem23.offset != 0;}EndParallelComposition VAL [ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~root~0.base=17, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~mem22.base|=0, |ULTIMATE.start_main_#t~mem22.offset|=0, |ULTIMATE.start_main_#t~mem23.base|=0, |ULTIMATE.start_main_#t~mem23.offset|=0, |ULTIMATE.start_main_#t~short24|=false] [?] assume !main_#t~short24;havoc main_#t~mem23.base, main_#t~mem23.offset;havoc main_#t~short24;havoc main_#t~mem22.base, main_#t~mem22.offset; VAL [ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~root~0.base=17, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0] [?] BeginParallelComposition{ParallelCodeBlock0: assume !(main_~pred~0.base != 0 || main_~pred~0.offset != 0);main_~root~0.base, main_~root~0.offset := 0, 0;ParallelCodeBlock1: assume main_~pred~0.base != 0 || main_~pred~0.offset != 0;call main_#t~mem28.base, main_#t~mem28.offset := read~$Pointer$(main_~pred~0.base, main_~pred~0.offset, 4);BeginParallelComposition{ParallelCodeBlock0: assume main_~n~0.base == main_#t~mem28.base && main_~n~0.offset == main_#t~mem28.offset;havoc main_#t~mem28.base, main_#t~mem28.offset;call write~$Pointer$(0, 0, main_~pred~0.base, main_~pred~0.offset, 4);ParallelCodeBlock1: assume !(main_~n~0.base == main_#t~mem28.base && main_~n~0.offset == main_#t~mem28.offset);havoc main_#t~mem28.base, main_#t~mem28.offset;call write~$Pointer$(0, 0, main_~pred~0.base, 4 + main_~pred~0.offset, 4);}EndParallelComposition}EndParallelCompositioncall ULTIMATE.dealloc(main_~n~0.base, main_~n~0.offset); VAL [ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] BeginParallelComposition{ParallelCodeBlock0: assume !true;ParallelCodeBlock1: assume !(main_~root~0.base != 0 || main_~root~0.offset != 0);}EndParallelCompositioncall main_#t~malloc29.base, main_#t~malloc29.offset := #Ultimate.alloc(8);main_~a~0.base, main_~a~0.offset := main_#t~malloc29.base, main_#t~malloc29.offset; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] assume !(main_~a~0.base == 0 && main_~a~0.offset == 0); VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] havoc main_~t~0.base, main_~t~0.offset;main_~p~0.base, main_~p~0.offset := main_~a~0.base, main_~a~0.offset; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=12, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=12, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9, |ULTIMATE.start_main_#t~nondet30|=(- 1)] [?] assume !!(0 != main_#t~nondet30);havoc main_#t~nondet30;call write~int(1, main_~p~0.base, main_~p~0.offset, 4);call main_#t~malloc31.base, main_#t~malloc31.offset := #Ultimate.alloc(8);main_~t~0.base, main_~t~0.offset := main_#t~malloc31.base, main_#t~malloc31.offset; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=12, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=14, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] assume !(main_~t~0.base == 0 && main_~t~0.offset == 0); VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=12, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=14, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] call write~$Pointer$(main_~t~0.base, main_~t~0.offset, main_~p~0.base, 4 + main_~p~0.offset, 4);call main_#t~mem32.base, main_#t~mem32.offset := read~$Pointer$(main_~p~0.base, 4 + main_~p~0.offset, 4);main_~p~0.base, main_~p~0.offset := main_#t~mem32.base, main_#t~mem32.offset;havoc main_#t~mem32.base, main_#t~mem32.offset; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=14, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=14, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9, |ULTIMATE.start_main_#t~nondet30|=0] [?] assume !(0 != main_#t~nondet30);havoc main_#t~nondet30; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=14, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=14, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9, |ULTIMATE.start_main_#t~nondet33|=(- 1)] [?] assume !!(0 != main_#t~nondet33);havoc main_#t~nondet33;call write~int(2, main_~p~0.base, main_~p~0.offset, 4);call main_#t~malloc34.base, main_#t~malloc34.offset := #Ultimate.alloc(8);main_~t~0.base, main_~t~0.offset := main_#t~malloc34.base, main_#t~malloc34.offset; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] assume !(main_~t~0.base == 0 && main_~t~0.offset == 0); VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] call write~$Pointer$(main_~t~0.base, main_~t~0.offset, main_~p~0.base, 4 + main_~p~0.offset, 4);call main_#t~mem35.base, main_#t~mem35.offset := read~$Pointer$(main_~p~0.base, 4 + main_~p~0.offset, 4);main_~p~0.base, main_~p~0.offset := main_#t~mem35.base, main_#t~mem35.offset;havoc main_#t~mem35.base, main_#t~mem35.offset; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=17, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=17, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9, |ULTIMATE.start_main_#t~nondet33|=0] [?] assume !(0 != main_#t~nondet33);havoc main_#t~nondet33; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=17, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] call write~int(3, main_~p~0.base, main_~p~0.offset, 4);main_~p~0.base, main_~p~0.offset := main_~a~0.base, main_~a~0.offset; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=12, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] call main_#t~mem36 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=12, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9, |ULTIMATE.start_main_#t~mem36|=1] [?] assume !(2 == main_#t~mem36);havoc main_#t~mem36; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=12, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] call main_#t~mem38 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=12, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9, |ULTIMATE.start_main_#t~mem38|=1] [?] assume !!(1 == main_#t~mem38);havoc main_#t~mem38;call main_#t~mem39.base, main_#t~mem39.offset := read~$Pointer$(main_~p~0.base, 4 + main_~p~0.offset, 4);main_~p~0.base, main_~p~0.offset := main_#t~mem39.base, main_#t~mem39.offset;havoc main_#t~mem39.base, main_#t~mem39.offset; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] call main_#t~mem38 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9, |ULTIMATE.start_main_#t~mem38|=2] [?] assume !(1 == main_#t~mem38);havoc main_#t~mem38; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] call main_#t~mem40 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9, |ULTIMATE.start_main_#t~mem40|=2] [?] assume 3 != main_#t~mem40;havoc main_#t~mem40; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] assume !false; VAL [ULTIMATE.start_main_~a~0.base=12, ULTIMATE.start_main_~a~0.offset=0, ULTIMATE.start_main_~n~0.base=17, ULTIMATE.start_main_~n~0.offset=0, ULTIMATE.start_main_~pred~0.base=0, ULTIMATE.start_main_~pred~0.offset=0, ULTIMATE.start_main_~p~0.base=14, ULTIMATE.start_main_~p~0.offset=0, ULTIMATE.start_main_~root~0.base=0, ULTIMATE.start_main_~root~0.offset=0, ULTIMATE.start_main_~t~0.base=17, ULTIMATE.start_main_~t~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |ULTIMATE.start_main_#t~malloc2.base|=17, |ULTIMATE.start_main_#t~malloc2.offset|=0, |ULTIMATE.start_main_#t~malloc29.base|=12, |ULTIMATE.start_main_#t~malloc29.offset|=0, |ULTIMATE.start_main_#t~malloc31.base|=14, |ULTIMATE.start_main_#t~malloc31.offset|=0, |ULTIMATE.start_main_#t~malloc34.base|=17, |ULTIMATE.start_main_#t~malloc34.offset|=0, |ULTIMATE.start_main_#t~mem28.base|=7, |ULTIMATE.start_main_#t~mem28.offset|=9] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [?] havoc main_#res; [?] havoc main_#t~malloc2.base, main_#t~malloc2.offset, main_#t~nondet7, main_#t~mem8.base, main_#t~mem8.offset, main_#t~mem9.base, main_#t~mem9.offset, main_#t~mem4.base, main_#t~mem4.offset, main_#t~mem5.base, main_#t~mem5.offset, main_#t~short6, main_#t~mem10.base, main_#t~mem10.offset, main_#t~nondet11, main_#t~short12, main_#t~malloc13.base, main_#t~malloc13.offset, 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_#t~nondet17, main_#t~short18, main_#t~malloc19.base, main_#t~malloc19.offset, main_#t~mem20.base, main_#t~mem20.offset, main_#t~mem21.base, main_#t~mem21.offset, main_#t~nondet3, main_#t~mem25.base, main_#t~mem25.offset, main_#t~mem26.base, main_#t~mem26.offset, main_#t~mem27.base, main_#t~mem27.offset, main_#t~mem22.base, main_#t~mem22.offset, main_#t~mem23.base, main_#t~mem23.offset, main_#t~short24, main_#t~mem28.base, main_#t~mem28.offset, main_#t~malloc29.base, main_#t~malloc29.offset, main_#t~malloc31.base, main_#t~malloc31.offset, main_#t~mem32.base, main_#t~mem32.offset, main_#t~nondet30, main_#t~malloc34.base, main_#t~malloc34.offset, main_#t~mem35.base, main_#t~mem35.offset, main_#t~nondet33, main_#t~mem37.base, main_#t~mem37.offset, main_#t~mem36, main_#t~mem39.base, main_#t~mem39.offset, main_#t~mem38, main_#t~mem40, main_~root~0.base, main_~root~0.offset, main_~n~0.base, main_~n~0.offset, main_~pred~0.base, main_~pred~0.offset, main_~a~0.base, main_~a~0.offset, main_~t~0.base, main_~t~0.offset, main_~p~0.base, main_~p~0.offset; [L541] call main_#t~malloc2.base, main_#t~malloc2.offset := #Ultimate.alloc(8); [L541] main_~root~0.base, main_~root~0.offset := main_#t~malloc2.base, main_#t~malloc2.offset; [L541] havoc main_~n~0.base, main_~n~0.offset; [L542] call write~$Pointer$(0, 0, main_~root~0.base, main_~root~0.offset, 4); [L543] call write~$Pointer$(0, 0, main_~root~0.base, 4 + main_~root~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L544] assume -2147483648 <= main_#t~nondet3 && main_#t~nondet3 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~nondet3=0, main_~root~0.base=17, main_~root~0.offset=0] [L544-L562] assume !(0 != main_#t~nondet3); [L544] havoc main_#t~nondet3; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L563] main_~n~0.base, main_~n~0.offset := 0, 0; [L564] havoc main_~pred~0.base, main_~pred~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~n~0.base=0, main_~n~0.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L565-L583] assume !!(main_~root~0.base != 0 || main_~root~0.offset != 0); [L566] main_~pred~0.base, main_~pred~0.offset := 0, 0; [L567] main_~n~0.base, main_~n~0.offset := main_~root~0.base, main_~root~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L568] call main_#t~mem22.base, main_#t~mem22.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); [L568] main_#t~short24 := main_#t~mem22.base != 0 || main_#t~mem22.offset != 0; [L568] assume !main_#t~short24; [L568] call main_#t~mem23.base, main_#t~mem23.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); [L568] main_#t~short24 := main_#t~mem23.base != 0 || main_#t~mem23.offset != 0; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~mem22.base=0, main_#t~mem22.offset=0, main_#t~mem23.base=0, main_#t~mem23.offset=0, main_#t~short24=false, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L568-L574] assume !main_#t~short24; [L568] havoc main_#t~mem23.base, main_#t~mem23.offset; [L568] havoc main_#t~short24; [L568] havoc main_#t~mem22.base, main_#t~mem22.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L575-L581] assume !(main_~pred~0.base != 0 || main_~pred~0.offset != 0); [L581] main_~root~0.base, main_~root~0.offset := 0, 0; [L582] call ULTIMATE.dealloc(main_~n~0.base, main_~n~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L565-L583] assume !(main_~root~0.base != 0 || main_~root~0.offset != 0); [L584] call main_#t~malloc29.base, main_#t~malloc29.offset := #Ultimate.alloc(8); [L584] main_~a~0.base, main_~a~0.offset := main_#t~malloc29.base, main_#t~malloc29.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L585] assume !(main_~a~0.base == 0 && main_~a~0.offset == 0); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L586] havoc main_~t~0.base, main_~t~0.offset; [L587] main_~p~0.base, main_~p~0.offset := main_~a~0.base, main_~a~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L588] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~nondet30=-1, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L588-L594] assume !!(0 != main_#t~nondet30); [L588] havoc main_#t~nondet30; [L589] call write~int(1, main_~p~0.base, main_~p~0.offset, 4); [L590] call main_#t~malloc31.base, main_#t~malloc31.offset := #Ultimate.alloc(8); [L590] main_~t~0.base, main_~t~0.offset := main_#t~malloc31.base, main_#t~malloc31.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L591] assume !(main_~t~0.base == 0 && main_~t~0.offset == 0); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L592] call write~$Pointer$(main_~t~0.base, main_~t~0.offset, main_~p~0.base, 4 + main_~p~0.offset, 4); [L593] call main_#t~mem32.base, main_#t~mem32.offset := read~$Pointer$(main_~p~0.base, 4 + main_~p~0.offset, 4); [L593] main_~p~0.base, main_~p~0.offset := main_#t~mem32.base, main_#t~mem32.offset; [L593] havoc main_#t~mem32.base, main_#t~mem32.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L588] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~nondet30=0, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L588-L594] assume !(0 != main_#t~nondet30); [L588] havoc main_#t~nondet30; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L595] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~nondet33=-1, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L595-L601] assume !!(0 != main_#t~nondet33); [L595] havoc main_#t~nondet33; [L596] call write~int(2, main_~p~0.base, main_~p~0.offset, 4); [L597] call main_#t~malloc34.base, main_#t~malloc34.offset := #Ultimate.alloc(8); [L597] main_~t~0.base, main_~t~0.offset := main_#t~malloc34.base, main_#t~malloc34.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L598] assume !(main_~t~0.base == 0 && main_~t~0.offset == 0); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L599] call write~$Pointer$(main_~t~0.base, main_~t~0.offset, main_~p~0.base, 4 + main_~p~0.offset, 4); [L600] call main_#t~mem35.base, main_#t~mem35.offset := read~$Pointer$(main_~p~0.base, 4 + main_~p~0.offset, 4); [L600] main_~p~0.base, main_~p~0.offset := main_#t~mem35.base, main_#t~mem35.offset; [L600] havoc main_#t~mem35.base, main_#t~mem35.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=17, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L595] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~nondet33=0, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=17, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L595-L601] assume !(0 != main_#t~nondet33); [L595] havoc main_#t~nondet33; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=17, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L602] call write~int(3, main_~p~0.base, main_~p~0.offset, 4); [L603] main_~p~0.base, main_~p~0.offset := main_~a~0.base, main_~a~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L604] call main_#t~mem36 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~mem36=1, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L604-L605] assume !(2 == main_#t~mem36); [L604] havoc main_#t~mem36; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L606] call main_#t~mem38 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~mem38=1, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L606-L607] assume !!(1 == main_#t~mem38); [L606] havoc main_#t~mem38; [L607] call main_#t~mem39.base, main_#t~mem39.offset := read~$Pointer$(main_~p~0.base, 4 + main_~p~0.offset, 4); [L607] main_~p~0.base, main_~p~0.offset := main_#t~mem39.base, main_#t~mem39.offset; [L607] havoc main_#t~mem39.base, main_#t~mem39.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L606] call main_#t~mem38 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~mem38=2, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L606-L607] assume !(1 == main_#t~mem38); [L606] havoc main_#t~mem38; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L608] call main_#t~mem40 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~mem40=2, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L608-L609] assume 3 != main_#t~mem40; [L608] havoc main_#t~mem40; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L609] assert false; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~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~malloc2.base, main_#t~malloc2.offset, main_#t~nondet7, main_#t~mem8.base, main_#t~mem8.offset, main_#t~mem9.base, main_#t~mem9.offset, main_#t~mem4.base, main_#t~mem4.offset, main_#t~mem5.base, main_#t~mem5.offset, main_#t~short6, main_#t~mem10.base, main_#t~mem10.offset, main_#t~nondet11, main_#t~short12, main_#t~malloc13.base, main_#t~malloc13.offset, 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_#t~nondet17, main_#t~short18, main_#t~malloc19.base, main_#t~malloc19.offset, main_#t~mem20.base, main_#t~mem20.offset, main_#t~mem21.base, main_#t~mem21.offset, main_#t~nondet3, main_#t~mem25.base, main_#t~mem25.offset, main_#t~mem26.base, main_#t~mem26.offset, main_#t~mem27.base, main_#t~mem27.offset, main_#t~mem22.base, main_#t~mem22.offset, main_#t~mem23.base, main_#t~mem23.offset, main_#t~short24, main_#t~mem28.base, main_#t~mem28.offset, main_#t~malloc29.base, main_#t~malloc29.offset, main_#t~malloc31.base, main_#t~malloc31.offset, main_#t~mem32.base, main_#t~mem32.offset, main_#t~nondet30, main_#t~malloc34.base, main_#t~malloc34.offset, main_#t~mem35.base, main_#t~mem35.offset, main_#t~nondet33, main_#t~mem37.base, main_#t~mem37.offset, main_#t~mem36, main_#t~mem39.base, main_#t~mem39.offset, main_#t~mem38, main_#t~mem40, main_~root~0.base, main_~root~0.offset, main_~n~0.base, main_~n~0.offset, main_~pred~0.base, main_~pred~0.offset, main_~a~0.base, main_~a~0.offset, main_~t~0.base, main_~t~0.offset, main_~p~0.base, main_~p~0.offset; [L541] call main_#t~malloc2.base, main_#t~malloc2.offset := #Ultimate.alloc(8); [L541] main_~root~0.base, main_~root~0.offset := main_#t~malloc2.base, main_#t~malloc2.offset; [L541] havoc main_~n~0.base, main_~n~0.offset; [L542] call write~$Pointer$(0, 0, main_~root~0.base, main_~root~0.offset, 4); [L543] call write~$Pointer$(0, 0, main_~root~0.base, 4 + main_~root~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L544] assume -2147483648 <= main_#t~nondet3 && main_#t~nondet3 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~nondet3=0, main_~root~0.base=17, main_~root~0.offset=0] [L544-L562] assume !(0 != main_#t~nondet3); [L544] havoc main_#t~nondet3; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L563] main_~n~0.base, main_~n~0.offset := 0, 0; [L564] havoc main_~pred~0.base, main_~pred~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~n~0.base=0, main_~n~0.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L565-L583] assume !!(main_~root~0.base != 0 || main_~root~0.offset != 0); [L566] main_~pred~0.base, main_~pred~0.offset := 0, 0; [L567] main_~n~0.base, main_~n~0.offset := main_~root~0.base, main_~root~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L568] call main_#t~mem22.base, main_#t~mem22.offset := read~$Pointer$(main_~n~0.base, main_~n~0.offset, 4); [L568] main_#t~short24 := main_#t~mem22.base != 0 || main_#t~mem22.offset != 0; [L568] assume !main_#t~short24; [L568] call main_#t~mem23.base, main_#t~mem23.offset := read~$Pointer$(main_~n~0.base, 4 + main_~n~0.offset, 4); [L568] main_#t~short24 := main_#t~mem23.base != 0 || main_#t~mem23.offset != 0; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~mem22.base=0, main_#t~mem22.offset=0, main_#t~mem23.base=0, main_#t~mem23.offset=0, main_#t~short24=false, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L568-L574] assume !main_#t~short24; [L568] havoc main_#t~mem23.base, main_#t~mem23.offset; [L568] havoc main_#t~short24; [L568] havoc main_#t~mem22.base, main_#t~mem22.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=17, main_~root~0.offset=0] [L575-L581] assume !(main_~pred~0.base != 0 || main_~pred~0.offset != 0); [L581] main_~root~0.base, main_~root~0.offset := 0, 0; [L582] call ULTIMATE.dealloc(main_~n~0.base, main_~n~0.offset); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L565-L583] assume !(main_~root~0.base != 0 || main_~root~0.offset != 0); [L584] call main_#t~malloc29.base, main_#t~malloc29.offset := #Ultimate.alloc(8); [L584] main_~a~0.base, main_~a~0.offset := main_#t~malloc29.base, main_#t~malloc29.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L585] assume !(main_~a~0.base == 0 && main_~a~0.offset == 0); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L586] havoc main_~t~0.base, main_~t~0.offset; [L587] main_~p~0.base, main_~p~0.offset := main_~a~0.base, main_~a~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L588] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~nondet30=-1, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0] [L588-L594] assume !!(0 != main_#t~nondet30); [L588] havoc main_#t~nondet30; [L589] call write~int(1, main_~p~0.base, main_~p~0.offset, 4); [L590] call main_#t~malloc31.base, main_#t~malloc31.offset := #Ultimate.alloc(8); [L590] main_~t~0.base, main_~t~0.offset := main_#t~malloc31.base, main_#t~malloc31.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L591] assume !(main_~t~0.base == 0 && main_~t~0.offset == 0); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L592] call write~$Pointer$(main_~t~0.base, main_~t~0.offset, main_~p~0.base, 4 + main_~p~0.offset, 4); [L593] call main_#t~mem32.base, main_#t~mem32.offset := read~$Pointer$(main_~p~0.base, 4 + main_~p~0.offset, 4); [L593] main_~p~0.base, main_~p~0.offset := main_#t~mem32.base, main_#t~mem32.offset; [L593] havoc main_#t~mem32.base, main_#t~mem32.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L588] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~nondet30=0, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L588-L594] assume !(0 != main_#t~nondet30); [L588] havoc main_#t~nondet30; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L595] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~nondet33=-1, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=14, main_~t~0.offset=0] [L595-L601] assume !!(0 != main_#t~nondet33); [L595] havoc main_#t~nondet33; [L596] call write~int(2, main_~p~0.base, main_~p~0.offset, 4); [L597] call main_#t~malloc34.base, main_#t~malloc34.offset := #Ultimate.alloc(8); [L597] main_~t~0.base, main_~t~0.offset := main_#t~malloc34.base, main_#t~malloc34.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L598] assume !(main_~t~0.base == 0 && main_~t~0.offset == 0); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L599] call write~$Pointer$(main_~t~0.base, main_~t~0.offset, main_~p~0.base, 4 + main_~p~0.offset, 4); [L600] call main_#t~mem35.base, main_#t~mem35.offset := read~$Pointer$(main_~p~0.base, 4 + main_~p~0.offset, 4); [L600] main_~p~0.base, main_~p~0.offset := main_#t~mem35.base, main_#t~mem35.offset; [L600] havoc main_#t~mem35.base, main_#t~mem35.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=17, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L595] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~nondet33=0, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=17, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L595-L601] assume !(0 != main_#t~nondet33); [L595] havoc main_#t~nondet33; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=17, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L602] call write~int(3, main_~p~0.base, main_~p~0.offset, 4); [L603] main_~p~0.base, main_~p~0.offset := main_~a~0.base, main_~a~0.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L604] call main_#t~mem36 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~mem36=1, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L604-L605] assume !(2 == main_#t~mem36); [L604] havoc main_#t~mem36; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L606] call main_#t~mem38 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~mem38=1, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=12, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L606-L607] assume !!(1 == main_#t~mem38); [L606] havoc main_#t~mem38; [L607] call main_#t~mem39.base, main_#t~mem39.offset := read~$Pointer$(main_~p~0.base, 4 + main_~p~0.offset, 4); [L607] main_~p~0.base, main_~p~0.offset := main_#t~mem39.base, main_#t~mem39.offset; [L607] havoc main_#t~mem39.base, main_#t~mem39.offset; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L606] call main_#t~mem38 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~mem38=2, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L606-L607] assume !(1 == main_#t~mem38); [L606] havoc main_#t~mem38; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L608] call main_#t~mem40 := read~int(main_~p~0.base, main_~p~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_#t~mem40=2, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L608-L609] assume 3 != main_#t~mem40; [L608] havoc main_#t~mem40; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [L609] assert false; VAL [#NULL.base=0, #NULL.offset=0, main_#t~malloc2.base=17, main_#t~malloc2.offset=0, main_#t~malloc29.base=12, main_#t~malloc29.offset=0, main_#t~malloc31.base=14, main_#t~malloc31.offset=0, main_#t~malloc34.base=17, main_#t~malloc34.offset=0, main_#t~mem28.base=7, main_#t~mem28.offset=9, main_~a~0.base=12, main_~a~0.offset=0, main_~n~0.base=17, main_~n~0.offset=0, main_~pred~0.base=0, main_~pred~0.offset=0, main_~p~0.base=14, main_~p~0.offset=0, main_~root~0.base=0, main_~root~0.offset=0, main_~t~0.base=17, main_~t~0.offset=0] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [?] havoc main_#res; [?] havoc main_#t~malloc2, main_#t~nondet7, main_#t~mem8, main_#t~mem9, main_#t~mem4, main_#t~mem5, main_#t~short6, main_#t~mem10, main_#t~nondet11, main_#t~short12, main_#t~malloc13, main_#t~mem14, main_#t~mem15, main_#t~mem16, main_#t~nondet17, main_#t~short18, main_#t~malloc19, main_#t~mem20, main_#t~mem21, main_#t~nondet3, main_#t~mem25, main_#t~mem26, main_#t~mem27, main_#t~mem22, main_#t~mem23, main_#t~short24, main_#t~mem28, main_#t~malloc29, main_#t~malloc31, main_#t~mem32, main_#t~nondet30, main_#t~malloc34, main_#t~mem35, main_#t~nondet33, main_#t~mem37, main_#t~mem36, main_#t~mem39, main_#t~mem38, main_#t~mem40, main_~root~0, main_~n~0, main_~pred~0, main_~a~0, main_~t~0, main_~p~0; [L541] FCALL call main_#t~malloc2 := #Ultimate.alloc(8); [L541] main_~root~0 := main_#t~malloc2; [L541] havoc main_~n~0; [L542] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: main_~root~0!base, offset: main_~root~0!offset }, 4); [L543] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: main_~root~0!base, offset: 4 + main_~root~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L544] assume -2147483648 <= main_#t~nondet3 && main_#t~nondet3 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~nondet3=0, main_~root~0!base=17, main_~root~0!offset=0] [L544-L562] COND TRUE !(0 != main_#t~nondet3) [L544] havoc main_#t~nondet3; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L563] main_~n~0 := { base: 0, offset: 0 }; [L564] havoc main_~pred~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~n~0!base=0, main_~n~0!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L565-L583] COND FALSE !(!(main_~root~0 != { base: 0, offset: 0 })) [L566] main_~pred~0 := { base: 0, offset: 0 }; [L567] main_~n~0 := main_~root~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L568] FCALL call main_#t~mem22 := read~$Pointer$({ base: main_~n~0!base, offset: main_~n~0!offset }, 4); [L568] main_#t~short24 := main_#t~mem22 != { base: 0, offset: 0 }; [L568] COND FALSE !(main_#t~short24) [L568] FCALL call main_#t~mem23 := read~$Pointer$({ base: main_~n~0!base, offset: 4 + main_~n~0!offset }, 4); [L568] main_#t~short24 := main_#t~mem23 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~mem22!base=0, main_#t~mem22!offset=0, main_#t~mem23!base=0, main_#t~mem23!offset=0, main_#t~short24=false, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L568-L574] COND TRUE !main_#t~short24 [L568] havoc main_#t~mem23; [L568] havoc main_#t~short24; [L568] havoc main_#t~mem22; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L575-L581] COND FALSE !(main_~pred~0 != { base: 0, offset: 0 }) [L581] main_~root~0 := { base: 0, offset: 0 }; [L582] FCALL call ULTIMATE.dealloc(main_~n~0); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L565-L583] COND TRUE !(main_~root~0 != { base: 0, offset: 0 }) [L584] FCALL call main_#t~malloc29 := #Ultimate.alloc(8); [L584] main_~a~0 := main_#t~malloc29; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L585] COND FALSE !(main_~a~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L586] havoc main_~t~0; [L587] main_~p~0 := main_~a~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L588] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~nondet30=-1, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L588-L594] COND FALSE !(!(0 != main_#t~nondet30)) [L588] havoc main_#t~nondet30; [L589] FCALL call write~int(1, { base: main_~p~0!base, offset: main_~p~0!offset }, 4); [L590] FCALL call main_#t~malloc31 := #Ultimate.alloc(8); [L590] main_~t~0 := main_#t~malloc31; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L591] COND FALSE !(main_~t~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L592] FCALL call write~$Pointer$(main_~t~0, { base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L593] FCALL call main_#t~mem32 := read~$Pointer$({ base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L593] main_~p~0 := main_#t~mem32; [L593] havoc main_#t~mem32; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L588] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~nondet30=0, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L588-L594] COND TRUE !(0 != main_#t~nondet30) [L588] havoc main_#t~nondet30; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L595] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~nondet33=-1, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L595-L601] COND FALSE !(!(0 != main_#t~nondet33)) [L595] havoc main_#t~nondet33; [L596] FCALL call write~int(2, { base: main_~p~0!base, offset: main_~p~0!offset }, 4); [L597] FCALL call main_#t~malloc34 := #Ultimate.alloc(8); [L597] main_~t~0 := main_#t~malloc34; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L598] COND FALSE !(main_~t~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L599] FCALL call write~$Pointer$(main_~t~0, { base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L600] FCALL call main_#t~mem35 := read~$Pointer$({ base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L600] main_~p~0 := main_#t~mem35; [L600] havoc main_#t~mem35; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=17, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L595] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~nondet33=0, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=17, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L595-L601] COND TRUE !(0 != main_#t~nondet33) [L595] havoc main_#t~nondet33; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=17, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L602] FCALL call write~int(3, { base: main_~p~0!base, offset: main_~p~0!offset }, 4); [L603] main_~p~0 := main_~a~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L604] FCALL call main_#t~mem36 := read~int({ base: main_~p~0!base, offset: main_~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~mem36=1, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L604-L605] COND TRUE !(2 == main_#t~mem36) [L604] havoc main_#t~mem36; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L606] FCALL call main_#t~mem38 := read~int({ base: main_~p~0!base, offset: main_~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~mem38=1, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L606-L607] COND FALSE !(!(1 == main_#t~mem38)) [L606] havoc main_#t~mem38; [L607] FCALL call main_#t~mem39 := read~$Pointer$({ base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L607] main_~p~0 := main_#t~mem39; [L607] havoc main_#t~mem39; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L606] FCALL call main_#t~mem38 := read~int({ base: main_~p~0!base, offset: main_~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~mem38=2, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L606-L607] COND TRUE !(1 == main_#t~mem38) [L606] havoc main_#t~mem38; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L608] FCALL call main_#t~mem40 := read~int({ base: main_~p~0!base, offset: main_~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~mem40=2, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L608] COND TRUE 3 != main_#t~mem40 [L608] havoc main_#t~mem40; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L609] assert false; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~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~malloc2, main_#t~nondet7, main_#t~mem8, main_#t~mem9, main_#t~mem4, main_#t~mem5, main_#t~short6, main_#t~mem10, main_#t~nondet11, main_#t~short12, main_#t~malloc13, main_#t~mem14, main_#t~mem15, main_#t~mem16, main_#t~nondet17, main_#t~short18, main_#t~malloc19, main_#t~mem20, main_#t~mem21, main_#t~nondet3, main_#t~mem25, main_#t~mem26, main_#t~mem27, main_#t~mem22, main_#t~mem23, main_#t~short24, main_#t~mem28, main_#t~malloc29, main_#t~malloc31, main_#t~mem32, main_#t~nondet30, main_#t~malloc34, main_#t~mem35, main_#t~nondet33, main_#t~mem37, main_#t~mem36, main_#t~mem39, main_#t~mem38, main_#t~mem40, main_~root~0, main_~n~0, main_~pred~0, main_~a~0, main_~t~0, main_~p~0; [L541] FCALL call main_#t~malloc2 := #Ultimate.alloc(8); [L541] main_~root~0 := main_#t~malloc2; [L541] havoc main_~n~0; [L542] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: main_~root~0!base, offset: main_~root~0!offset }, 4); [L543] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: main_~root~0!base, offset: 4 + main_~root~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L544] assume -2147483648 <= main_#t~nondet3 && main_#t~nondet3 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~nondet3=0, main_~root~0!base=17, main_~root~0!offset=0] [L544-L562] COND TRUE !(0 != main_#t~nondet3) [L544] havoc main_#t~nondet3; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L563] main_~n~0 := { base: 0, offset: 0 }; [L564] havoc main_~pred~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~n~0!base=0, main_~n~0!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L565-L583] COND FALSE !(!(main_~root~0 != { base: 0, offset: 0 })) [L566] main_~pred~0 := { base: 0, offset: 0 }; [L567] main_~n~0 := main_~root~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L568] FCALL call main_#t~mem22 := read~$Pointer$({ base: main_~n~0!base, offset: main_~n~0!offset }, 4); [L568] main_#t~short24 := main_#t~mem22 != { base: 0, offset: 0 }; [L568] COND FALSE !(main_#t~short24) [L568] FCALL call main_#t~mem23 := read~$Pointer$({ base: main_~n~0!base, offset: 4 + main_~n~0!offset }, 4); [L568] main_#t~short24 := main_#t~mem23 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~mem22!base=0, main_#t~mem22!offset=0, main_#t~mem23!base=0, main_#t~mem23!offset=0, main_#t~short24=false, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L568-L574] COND TRUE !main_#t~short24 [L568] havoc main_#t~mem23; [L568] havoc main_#t~short24; [L568] havoc main_#t~mem22; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=17, main_~root~0!offset=0] [L575-L581] COND FALSE !(main_~pred~0 != { base: 0, offset: 0 }) [L581] main_~root~0 := { base: 0, offset: 0 }; [L582] FCALL call ULTIMATE.dealloc(main_~n~0); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L565-L583] COND TRUE !(main_~root~0 != { base: 0, offset: 0 }) [L584] FCALL call main_#t~malloc29 := #Ultimate.alloc(8); [L584] main_~a~0 := main_#t~malloc29; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L585] COND FALSE !(main_~a~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L586] havoc main_~t~0; [L587] main_~p~0 := main_~a~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L588] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~nondet30=-1, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0] [L588-L594] COND FALSE !(!(0 != main_#t~nondet30)) [L588] havoc main_#t~nondet30; [L589] FCALL call write~int(1, { base: main_~p~0!base, offset: main_~p~0!offset }, 4); [L590] FCALL call main_#t~malloc31 := #Ultimate.alloc(8); [L590] main_~t~0 := main_#t~malloc31; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L591] COND FALSE !(main_~t~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L592] FCALL call write~$Pointer$(main_~t~0, { base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L593] FCALL call main_#t~mem32 := read~$Pointer$({ base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L593] main_~p~0 := main_#t~mem32; [L593] havoc main_#t~mem32; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L588] assume -2147483648 <= main_#t~nondet30 && main_#t~nondet30 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~nondet30=0, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L588-L594] COND TRUE !(0 != main_#t~nondet30) [L588] havoc main_#t~nondet30; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L595] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~nondet33=-1, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=14, main_~t~0!offset=0] [L595-L601] COND FALSE !(!(0 != main_#t~nondet33)) [L595] havoc main_#t~nondet33; [L596] FCALL call write~int(2, { base: main_~p~0!base, offset: main_~p~0!offset }, 4); [L597] FCALL call main_#t~malloc34 := #Ultimate.alloc(8); [L597] main_~t~0 := main_#t~malloc34; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L598] COND FALSE !(main_~t~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L599] FCALL call write~$Pointer$(main_~t~0, { base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L600] FCALL call main_#t~mem35 := read~$Pointer$({ base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L600] main_~p~0 := main_#t~mem35; [L600] havoc main_#t~mem35; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=17, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L595] assume -2147483648 <= main_#t~nondet33 && main_#t~nondet33 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~nondet33=0, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=17, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L595-L601] COND TRUE !(0 != main_#t~nondet33) [L595] havoc main_#t~nondet33; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=17, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L602] FCALL call write~int(3, { base: main_~p~0!base, offset: main_~p~0!offset }, 4); [L603] main_~p~0 := main_~a~0; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L604] FCALL call main_#t~mem36 := read~int({ base: main_~p~0!base, offset: main_~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~mem36=1, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L604-L605] COND TRUE !(2 == main_#t~mem36) [L604] havoc main_#t~mem36; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L606] FCALL call main_#t~mem38 := read~int({ base: main_~p~0!base, offset: main_~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~mem38=1, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=12, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L606-L607] COND FALSE !(!(1 == main_#t~mem38)) [L606] havoc main_#t~mem38; [L607] FCALL call main_#t~mem39 := read~$Pointer$({ base: main_~p~0!base, offset: 4 + main_~p~0!offset }, 4); [L607] main_~p~0 := main_#t~mem39; [L607] havoc main_#t~mem39; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L606] FCALL call main_#t~mem38 := read~int({ base: main_~p~0!base, offset: main_~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~mem38=2, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L606-L607] COND TRUE !(1 == main_#t~mem38) [L606] havoc main_#t~mem38; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L608] FCALL call main_#t~mem40 := read~int({ base: main_~p~0!base, offset: main_~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_#t~mem40=2, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L608] COND TRUE 3 != main_#t~mem40 [L608] havoc main_#t~mem40; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [L609] assert false; VAL [#NULL!base=0, #NULL!offset=0, main_#t~malloc2!base=17, main_#t~malloc2!offset=0, main_#t~malloc29!base=12, main_#t~malloc29!offset=0, main_#t~malloc31!base=14, main_#t~malloc31!offset=0, main_#t~malloc34!base=17, main_#t~malloc34!offset=0, main_#t~mem28!base=7, main_#t~mem28!offset=9, main_~a~0!base=12, main_~a~0!offset=0, main_~n~0!base=17, main_~n~0!offset=0, main_~pred~0!base=0, main_~pred~0!offset=0, main_~p~0!base=14, main_~p~0!offset=0, main_~root~0!base=0, main_~root~0!offset=0, main_~t~0!base=17, main_~t~0!offset=0] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L541] FCALL call #t~malloc2 := #Ultimate.alloc(8); [L541] ~root~0 := #t~malloc2; [L541] havoc ~n~0; [L542] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~root~0!base, offset: ~root~0!offset }, 4); [L543] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~root~0!base, offset: 4 + ~root~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L544] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L544-L562] COND TRUE !(0 != #t~nondet3) [L544] havoc #t~nondet3; VAL [#NULL!base=0, #NULL!offset=0] [L563] ~n~0 := { base: 0, offset: 0 }; [L564] havoc ~pred~0; VAL [#NULL!base=0, #NULL!offset=0] [L565-L583] COND FALSE !(!(~root~0 != { base: 0, offset: 0 })) [L566] ~pred~0 := { base: 0, offset: 0 }; [L567] ~n~0 := ~root~0; VAL [#NULL!base=0, #NULL!offset=0] [L568] FCALL call #t~mem22 := read~$Pointer$({ base: ~n~0!base, offset: ~n~0!offset }, 4); [L568] #t~short24 := #t~mem22 != { base: 0, offset: 0 }; [L568] COND FALSE !(#t~short24) [L568] FCALL call #t~mem23 := read~$Pointer$({ base: ~n~0!base, offset: 4 + ~n~0!offset }, 4); [L568] #t~short24 := #t~mem23 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [L568-L574] COND TRUE !#t~short24 [L568] havoc #t~mem23; [L568] havoc #t~short24; [L568] havoc #t~mem22; VAL [#NULL!base=0, #NULL!offset=0] [L575-L581] COND FALSE !(~pred~0 != { base: 0, offset: 0 }) [L581] ~root~0 := { base: 0, offset: 0 }; [L582] FCALL call ULTIMATE.dealloc(~n~0); VAL [#NULL!base=0, #NULL!offset=0] [L565-L583] COND TRUE !(~root~0 != { base: 0, offset: 0 }) [L584] FCALL call #t~malloc29 := #Ultimate.alloc(8); [L584] ~a~0 := #t~malloc29; VAL [#NULL!base=0, #NULL!offset=0] [L585] COND FALSE !(~a~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0] [L586] havoc ~t~0; [L587] ~p~0 := ~a~0; VAL [#NULL!base=0, #NULL!offset=0] [L588] assume -2147483648 <= #t~nondet30 && #t~nondet30 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L588-L594] COND FALSE !(!(0 != #t~nondet30)) [L588] havoc #t~nondet30; [L589] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset }, 4); [L590] FCALL call #t~malloc31 := #Ultimate.alloc(8); [L590] ~t~0 := #t~malloc31; VAL [#NULL!base=0, #NULL!offset=0] [L591] COND FALSE !(~t~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0] [L592] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L593] FCALL call #t~mem32 := read~$Pointer$({ base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L593] ~p~0 := #t~mem32; [L593] havoc #t~mem32; VAL [#NULL!base=0, #NULL!offset=0] [L588] assume -2147483648 <= #t~nondet30 && #t~nondet30 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L588-L594] COND TRUE !(0 != #t~nondet30) [L588] havoc #t~nondet30; VAL [#NULL!base=0, #NULL!offset=0] [L595] assume -2147483648 <= #t~nondet33 && #t~nondet33 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L595-L601] COND FALSE !(!(0 != #t~nondet33)) [L595] havoc #t~nondet33; [L596] FCALL call write~int(2, { base: ~p~0!base, offset: ~p~0!offset }, 4); [L597] FCALL call #t~malloc34 := #Ultimate.alloc(8); [L597] ~t~0 := #t~malloc34; VAL [#NULL!base=0, #NULL!offset=0] [L598] COND FALSE !(~t~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0] [L599] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L600] FCALL call #t~mem35 := read~$Pointer$({ base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L600] ~p~0 := #t~mem35; [L600] havoc #t~mem35; VAL [#NULL!base=0, #NULL!offset=0] [L595] assume -2147483648 <= #t~nondet33 && #t~nondet33 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L595-L601] COND TRUE !(0 != #t~nondet33) [L595] havoc #t~nondet33; VAL [#NULL!base=0, #NULL!offset=0] [L602] FCALL call write~int(3, { base: ~p~0!base, offset: ~p~0!offset }, 4); [L603] ~p~0 := ~a~0; VAL [#NULL!base=0, #NULL!offset=0] [L604] FCALL call #t~mem36 := read~int({ base: ~p~0!base, offset: ~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L604-L605] COND TRUE !(2 == #t~mem36) [L604] havoc #t~mem36; VAL [#NULL!base=0, #NULL!offset=0] [L606] FCALL call #t~mem38 := read~int({ base: ~p~0!base, offset: ~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L606-L607] COND FALSE !(!(1 == #t~mem38)) [L606] havoc #t~mem38; [L607] FCALL call #t~mem39 := read~$Pointer$({ base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L607] ~p~0 := #t~mem39; [L607] havoc #t~mem39; VAL [#NULL!base=0, #NULL!offset=0] [L606] FCALL call #t~mem38 := read~int({ base: ~p~0!base, offset: ~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L606-L607] COND TRUE !(1 == #t~mem38) [L606] havoc #t~mem38; VAL [#NULL!base=0, #NULL!offset=0] [L608] FCALL call #t~mem40 := read~int({ base: ~p~0!base, offset: ~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L608] COND TRUE 3 != #t~mem40 [L608] havoc #t~mem40; VAL [#NULL!base=0, #NULL!offset=0] [L609] 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; [L541] FCALL call #t~malloc2 := #Ultimate.alloc(8); [L541] ~root~0 := #t~malloc2; [L541] havoc ~n~0; [L542] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~root~0!base, offset: ~root~0!offset }, 4); [L543] FCALL call write~$Pointer$({ base: 0, offset: 0 }, { base: ~root~0!base, offset: 4 + ~root~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L544] assume -2147483648 <= #t~nondet3 && #t~nondet3 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L544-L562] COND TRUE !(0 != #t~nondet3) [L544] havoc #t~nondet3; VAL [#NULL!base=0, #NULL!offset=0] [L563] ~n~0 := { base: 0, offset: 0 }; [L564] havoc ~pred~0; VAL [#NULL!base=0, #NULL!offset=0] [L565-L583] COND FALSE !(!(~root~0 != { base: 0, offset: 0 })) [L566] ~pred~0 := { base: 0, offset: 0 }; [L567] ~n~0 := ~root~0; VAL [#NULL!base=0, #NULL!offset=0] [L568] FCALL call #t~mem22 := read~$Pointer$({ base: ~n~0!base, offset: ~n~0!offset }, 4); [L568] #t~short24 := #t~mem22 != { base: 0, offset: 0 }; [L568] COND FALSE !(#t~short24) [L568] FCALL call #t~mem23 := read~$Pointer$({ base: ~n~0!base, offset: 4 + ~n~0!offset }, 4); [L568] #t~short24 := #t~mem23 != { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0] [L568-L574] COND TRUE !#t~short24 [L568] havoc #t~mem23; [L568] havoc #t~short24; [L568] havoc #t~mem22; VAL [#NULL!base=0, #NULL!offset=0] [L575-L581] COND FALSE !(~pred~0 != { base: 0, offset: 0 }) [L581] ~root~0 := { base: 0, offset: 0 }; [L582] FCALL call ULTIMATE.dealloc(~n~0); VAL [#NULL!base=0, #NULL!offset=0] [L565-L583] COND TRUE !(~root~0 != { base: 0, offset: 0 }) [L584] FCALL call #t~malloc29 := #Ultimate.alloc(8); [L584] ~a~0 := #t~malloc29; VAL [#NULL!base=0, #NULL!offset=0] [L585] COND FALSE !(~a~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0] [L586] havoc ~t~0; [L587] ~p~0 := ~a~0; VAL [#NULL!base=0, #NULL!offset=0] [L588] assume -2147483648 <= #t~nondet30 && #t~nondet30 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L588-L594] COND FALSE !(!(0 != #t~nondet30)) [L588] havoc #t~nondet30; [L589] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset }, 4); [L590] FCALL call #t~malloc31 := #Ultimate.alloc(8); [L590] ~t~0 := #t~malloc31; VAL [#NULL!base=0, #NULL!offset=0] [L591] COND FALSE !(~t~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0] [L592] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L593] FCALL call #t~mem32 := read~$Pointer$({ base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L593] ~p~0 := #t~mem32; [L593] havoc #t~mem32; VAL [#NULL!base=0, #NULL!offset=0] [L588] assume -2147483648 <= #t~nondet30 && #t~nondet30 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L588-L594] COND TRUE !(0 != #t~nondet30) [L588] havoc #t~nondet30; VAL [#NULL!base=0, #NULL!offset=0] [L595] assume -2147483648 <= #t~nondet33 && #t~nondet33 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L595-L601] COND FALSE !(!(0 != #t~nondet33)) [L595] havoc #t~nondet33; [L596] FCALL call write~int(2, { base: ~p~0!base, offset: ~p~0!offset }, 4); [L597] FCALL call #t~malloc34 := #Ultimate.alloc(8); [L597] ~t~0 := #t~malloc34; VAL [#NULL!base=0, #NULL!offset=0] [L598] COND FALSE !(~t~0 == { base: 0, offset: 0 }) VAL [#NULL!base=0, #NULL!offset=0] [L599] FCALL call write~$Pointer$(~t~0, { base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L600] FCALL call #t~mem35 := read~$Pointer$({ base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L600] ~p~0 := #t~mem35; [L600] havoc #t~mem35; VAL [#NULL!base=0, #NULL!offset=0] [L595] assume -2147483648 <= #t~nondet33 && #t~nondet33 <= 2147483647; VAL [#NULL!base=0, #NULL!offset=0] [L595-L601] COND TRUE !(0 != #t~nondet33) [L595] havoc #t~nondet33; VAL [#NULL!base=0, #NULL!offset=0] [L602] FCALL call write~int(3, { base: ~p~0!base, offset: ~p~0!offset }, 4); [L603] ~p~0 := ~a~0; VAL [#NULL!base=0, #NULL!offset=0] [L604] FCALL call #t~mem36 := read~int({ base: ~p~0!base, offset: ~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L604-L605] COND TRUE !(2 == #t~mem36) [L604] havoc #t~mem36; VAL [#NULL!base=0, #NULL!offset=0] [L606] FCALL call #t~mem38 := read~int({ base: ~p~0!base, offset: ~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L606-L607] COND FALSE !(!(1 == #t~mem38)) [L606] havoc #t~mem38; [L607] FCALL call #t~mem39 := read~$Pointer$({ base: ~p~0!base, offset: 4 + ~p~0!offset }, 4); [L607] ~p~0 := #t~mem39; [L607] havoc #t~mem39; VAL [#NULL!base=0, #NULL!offset=0] [L606] FCALL call #t~mem38 := read~int({ base: ~p~0!base, offset: ~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L606-L607] COND TRUE !(1 == #t~mem38) [L606] havoc #t~mem38; VAL [#NULL!base=0, #NULL!offset=0] [L608] FCALL call #t~mem40 := read~int({ base: ~p~0!base, offset: ~p~0!offset }, 4); VAL [#NULL!base=0, #NULL!offset=0] [L608] COND TRUE 3 != #t~mem40 [L608] havoc #t~mem40; VAL [#NULL!base=0, #NULL!offset=0] [L609] assert false; VAL [#NULL!base=0, #NULL!offset=0] [L541] struct TreeNode* root = malloc(sizeof(*root)), *n; [L542] root->left = ((void *)0) [L543] root->right = ((void *)0) [L544] COND FALSE !(__VERIFIER_nondet_int()) [L563] n = ((void *)0) [L564] struct TreeNode* pred; [L565] COND TRUE \read(*root) [L566] pred = ((void *)0) [L567] n = root [L568] EXPR n->left [L568] n->left || n->right [L568] EXPR n->right [L568] n->left || n->right [L568] COND FALSE !(n->left || n->right) [L575] COND FALSE !(\read(*pred)) [L581] root = ((void *)0) [L565] COND FALSE !(\read(*root)) [L584] List a = (List) malloc(sizeof(struct node)); [L585] COND FALSE !(a == 0) [L586] List t; [L587] List p = a; [L588] COND TRUE __VERIFIER_nondet_int() [L589] p->h = 1 [L590] t = (List) malloc(sizeof(struct node)) [L591] COND FALSE !(t == 0) [L592] p->n = t [L593] EXPR p->n [L593] p = p->n [L588] COND FALSE !(__VERIFIER_nondet_int()) [L595] COND TRUE __VERIFIER_nondet_int() [L596] p->h = 2 [L597] t = (List) malloc(sizeof(struct node)) [L598] COND FALSE !(t == 0) [L599] p->n = t [L600] EXPR p->n [L600] p = p->n [L595] COND FALSE !(__VERIFIER_nondet_int()) [L602] p->h = 3 [L603] p = a [L604] EXPR p->h [L604] COND FALSE !(p->h == 2) [L606] EXPR p->h [L606] COND TRUE p->h == 1 [L607] EXPR p->n [L607] p = p->n [L606] EXPR p->h [L606] COND FALSE !(p->h == 1) [L608] EXPR p->h [L608] COND TRUE p->h != 3 [L609] __VERIFIER_error() ----- [2018-11-23 04:56:51,839 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_2d0d08d8-c65b-4b42-8cd3-12eaec2f065a/bin-2019/ukojak/witness.graphml [2018-11-23 04:56:51,839 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 04:56:51,840 INFO L168 Benchmark]: Toolchain (without parser) took 10423.32 ms. Allocated memory was 1.0 GB in the beginning and 1.4 GB in the end (delta: 369.6 MB). Free memory was 956.4 MB in the beginning and 852.1 MB in the end (delta: 104.4 MB). Peak memory consumption was 474.0 MB. Max. memory is 11.5 GB. [2018-11-23 04:56:51,841 INFO L168 Benchmark]: CDTParser took 0.10 ms. Allocated memory is still 1.0 GB. Free memory is still 985.4 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 04:56:51,841 INFO L168 Benchmark]: CACSL2BoogieTranslator took 328.27 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 135.8 MB). Free memory was 956.4 MB in the beginning and 1.1 GB in the end (delta: -162.8 MB). Peak memory consumption was 34.6 MB. Max. memory is 11.5 GB. [2018-11-23 04:56:51,842 INFO L168 Benchmark]: Boogie Procedure Inliner took 36.54 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 04:56:51,842 INFO L168 Benchmark]: Boogie Preprocessor took 20.49 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 04:56:51,843 INFO L168 Benchmark]: RCFGBuilder took 634.44 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.0 GB in the end (delta: 73.3 MB). Peak memory consumption was 73.3 MB. Max. memory is 11.5 GB. [2018-11-23 04:56:51,843 INFO L168 Benchmark]: CodeCheck took 9168.65 ms. Allocated memory was 1.2 GB in the beginning and 1.4 GB in the end (delta: 233.8 MB). Free memory was 1.0 GB in the beginning and 862.4 MB in the end (delta: 180.1 MB). Peak memory consumption was 413.9 MB. Max. memory is 11.5 GB. [2018-11-23 04:56:51,844 INFO L168 Benchmark]: Witness Printer took 232.21 ms. Allocated memory is still 1.4 GB. Free memory was 862.4 MB in the beginning and 852.1 MB in the end (delta: 10.3 MB). Peak memory consumption was 10.3 MB. Max. memory is 11.5 GB. [2018-11-23 04:56:51,846 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 2 procedures, 54 locations, 1 error locations. UNSAFE Result, 9.0s OverallTime, 16 OverallIterations, 0 TraceHistogramMax, 0.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 651520 SDtfs, 139792 SDslu, 167460 SDs, 0 SdLazy, 248228 SolverSat, 56784 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 2.3s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 3182 GetRequests, 2903 SyntacticMatches, 107 SemanticMatches, 172 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 14287 ImplicationChecksByTransitivity, 7.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, traceCheckStatistics: 0.0s SsaConstructionTime, 0.4s SatisfiabilityAnalysisTime, 2.4s InterpolantComputationTime, 422 NumberOfCodeBlocks, 422 NumberOfCodeBlocksAsserted, 16 NumberOfCheckSat, 374 ConstructedInterpolants, 0 QuantifiedInterpolants, 84496 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 15 InterpolantComputations, 7 PerfectInterpolantSequences, 15/60 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: 609]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L541] struct TreeNode* root = malloc(sizeof(*root)), *n; [L542] root->left = ((void *)0) [L543] root->right = ((void *)0) [L544] COND FALSE !(__VERIFIER_nondet_int()) [L563] n = ((void *)0) [L564] struct TreeNode* pred; [L565] COND TRUE \read(*root) [L566] pred = ((void *)0) [L567] n = root [L568] EXPR n->left [L568] n->left || n->right [L568] EXPR n->right [L568] n->left || n->right [L568] COND FALSE !(n->left || n->right) [L575] COND FALSE !(\read(*pred)) [L581] root = ((void *)0) [L565] COND FALSE !(\read(*root)) [L584] List a = (List) malloc(sizeof(struct node)); [L585] COND FALSE !(a == 0) [L586] List t; [L587] List p = a; [L588] COND TRUE __VERIFIER_nondet_int() [L589] p->h = 1 [L590] t = (List) malloc(sizeof(struct node)) [L591] COND FALSE !(t == 0) [L592] p->n = t [L593] EXPR p->n [L593] p = p->n [L588] COND FALSE !(__VERIFIER_nondet_int()) [L595] COND TRUE __VERIFIER_nondet_int() [L596] p->h = 2 [L597] t = (List) malloc(sizeof(struct node)) [L598] COND FALSE !(t == 0) [L599] p->n = t [L600] EXPR p->n [L600] p = p->n [L595] COND FALSE !(__VERIFIER_nondet_int()) [L602] p->h = 3 [L603] p = a [L604] EXPR p->h [L604] COND FALSE !(p->h == 2) [L606] EXPR p->h [L606] COND TRUE p->h == 1 [L607] EXPR p->n [L607] p = p->n [L606] EXPR p->h [L606] COND FALSE !(p->h == 1) [L608] EXPR p->h [L608] COND TRUE p->h != 3 [L609] __VERIFIER_error() * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.10 ms. Allocated memory is still 1.0 GB. Free memory is still 985.4 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 328.27 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 135.8 MB). Free memory was 956.4 MB in the beginning and 1.1 GB in the end (delta: -162.8 MB). Peak memory consumption was 34.6 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 36.54 ms. Allocated memory is still 1.2 GB. Free memory is still 1.1 GB. There was no memory consumed. Max. memory is 11.5 GB. * Boogie Preprocessor took 20.49 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 634.44 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.0 GB in the end (delta: 73.3 MB). Peak memory consumption was 73.3 MB. Max. memory is 11.5 GB. * CodeCheck took 9168.65 ms. Allocated memory was 1.2 GB in the beginning and 1.4 GB in the end (delta: 233.8 MB). Free memory was 1.0 GB in the beginning and 862.4 MB in the end (delta: 180.1 MB). Peak memory consumption was 413.9 MB. Max. memory is 11.5 GB. * Witness Printer took 232.21 ms. Allocated memory is still 1.4 GB. Free memory was 862.4 MB in the beginning and 852.1 MB in the end (delta: 10.3 MB). Peak memory consumption was 10.3 MB. Max. memory is 11.5 GB. RESULT: Ultimate proved your program to be incorrect! Received shutdown request...