./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/ldv-regression/alt_test_true-termination.c_false-unreach-call.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_d418ce12-018c-4bb3-a953-27a73f0a8bc6/bin-2019/utaipan/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_d418ce12-018c-4bb3-a953-27a73f0a8bc6/bin-2019/utaipan/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_d418ce12-018c-4bb3-a953-27a73f0a8bc6/bin-2019/utaipan/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_d418ce12-018c-4bb3-a953-27a73f0a8bc6/bin-2019/utaipan/config/TaipanReach.xml -i ../../sv-benchmarks/c/ldv-regression/alt_test_true-termination.c_false-unreach-call.i -s /tmp/vcloud-vcloud-master/worker/working_dir_d418ce12-018c-4bb3-a953-27a73f0a8bc6/bin-2019/utaipan/config/svcomp-Reach-32bit-Taipan_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_d418ce12-018c-4bb3-a953-27a73f0a8bc6/bin-2019/utaipan --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 Taipan --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 28a1c96d0dcbab8e66df0b7e0c92c558fac63e78 ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 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 08:35:21,606 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 08:35:21,607 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 08:35:21,614 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 08:35:21,614 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 08:35:21,615 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 08:35:21,616 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 08:35:21,617 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 08:35:21,618 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 08:35:21,619 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 08:35:21,619 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 08:35:21,619 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 08:35:21,620 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 08:35:21,621 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 08:35:21,622 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 08:35:21,622 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 08:35:21,623 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 08:35:21,624 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 08:35:21,625 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 08:35:21,626 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 08:35:21,627 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 08:35:21,628 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 08:35:21,629 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 08:35:21,629 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 08:35:21,630 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 08:35:21,630 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 08:35:21,631 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 08:35:21,632 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 08:35:21,632 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 08:35:21,633 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 08:35:21,633 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 08:35:21,633 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 08:35:21,634 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 08:35:21,634 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 08:35:21,634 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 08:35:21,635 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 08:35:21,635 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_d418ce12-018c-4bb3-a953-27a73f0a8bc6/bin-2019/utaipan/config/svcomp-Reach-32bit-Taipan_Default.epf [2018-11-23 08:35:21,643 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 08:35:21,643 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 08:35:21,644 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 08:35:21,644 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 08:35:21,644 INFO L133 SettingsManager]: * User list type=DISABLED [2018-11-23 08:35:21,645 INFO L131 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2018-11-23 08:35:21,645 INFO L133 SettingsManager]: * Explicit value domain=true [2018-11-23 08:35:21,645 INFO L133 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2018-11-23 08:35:21,645 INFO L133 SettingsManager]: * Octagon Domain=false [2018-11-23 08:35:21,645 INFO L133 SettingsManager]: * Abstract domain=CompoundDomain [2018-11-23 08:35:21,645 INFO L133 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2018-11-23 08:35:21,645 INFO L133 SettingsManager]: * Use the RCFG-of-the-future interface=true [2018-11-23 08:35:21,646 INFO L133 SettingsManager]: * Interval Domain=false [2018-11-23 08:35:21,646 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 08:35:21,646 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 08:35:21,646 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-23 08:35:21,647 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 08:35:21,647 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 08:35:21,647 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 08:35:21,647 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 08:35:21,647 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 08:35:21,647 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 08:35:21,648 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 08:35:21,648 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 08:35:21,648 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 08:35:21,648 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 08:35:21,648 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 08:35:21,648 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 08:35:21,649 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 08:35:21,649 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 08:35:21,649 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 08:35:21,649 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 08:35:21,649 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 08:35:21,649 INFO L133 SettingsManager]: * Trace refinement strategy=TAIPAN [2018-11-23 08:35:21,649 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 08:35:21,650 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-11-23 08:35:21,650 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2018-11-23 08:35:21,650 INFO L133 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES 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_d418ce12-018c-4bb3-a953-27a73f0a8bc6/bin-2019/utaipan 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 -> Taipan 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 -> 28a1c96d0dcbab8e66df0b7e0c92c558fac63e78 [2018-11-23 08:35:21,670 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 08:35:21,678 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 08:35:21,680 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 08:35:21,681 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 08:35:21,682 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 08:35:21,682 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_d418ce12-018c-4bb3-a953-27a73f0a8bc6/bin-2019/utaipan/../../sv-benchmarks/c/ldv-regression/alt_test_true-termination.c_false-unreach-call.i [2018-11-23 08:35:21,718 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_d418ce12-018c-4bb3-a953-27a73f0a8bc6/bin-2019/utaipan/data/a953d8e87/18c53ede72674dd4b6f7e1f845341caa/FLAGd10759af0 [2018-11-23 08:35:22,167 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 08:35:22,167 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_d418ce12-018c-4bb3-a953-27a73f0a8bc6/sv-benchmarks/c/ldv-regression/alt_test_true-termination.c_false-unreach-call.i [2018-11-23 08:35:22,177 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_d418ce12-018c-4bb3-a953-27a73f0a8bc6/bin-2019/utaipan/data/a953d8e87/18c53ede72674dd4b6f7e1f845341caa/FLAGd10759af0 [2018-11-23 08:35:22,186 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_d418ce12-018c-4bb3-a953-27a73f0a8bc6/bin-2019/utaipan/data/a953d8e87/18c53ede72674dd4b6f7e1f845341caa [2018-11-23 08:35:22,188 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 08:35:22,189 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 08:35:22,189 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 08:35:22,189 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 08:35:22,191 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 08:35:22,192 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 08:35:22" (1/1) ... [2018-11-23 08:35:22,193 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@27b999c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:35:22, skipping insertion in model container [2018-11-23 08:35:22,194 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 08:35:22" (1/1) ... [2018-11-23 08:35:22,199 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 08:35:22,231 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 08:35:22,448 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 08:35:22,451 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 08:35:22,529 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 08:35:22,591 INFO L195 MainTranslator]: Completed translation [2018-11-23 08:35:22,592 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:35:22 WrapperNode [2018-11-23 08:35:22,592 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 08:35:22,593 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 08:35:22,593 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 08:35:22,593 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 08:35:22,600 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:35:22" (1/1) ... [2018-11-23 08:35:22,613 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:35:22" (1/1) ... [2018-11-23 08:35:22,621 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 08:35:22,621 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 08:35:22,621 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 08:35:22,621 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 08:35:22,629 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:35:22" (1/1) ... [2018-11-23 08:35:22,629 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:35:22" (1/1) ... [2018-11-23 08:35:22,631 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:35:22" (1/1) ... [2018-11-23 08:35:22,631 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:35:22" (1/1) ... [2018-11-23 08:35:22,635 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:35:22" (1/1) ... [2018-11-23 08:35:22,637 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:35:22" (1/1) ... [2018-11-23 08:35:22,638 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:35:22" (1/1) ... [2018-11-23 08:35:22,639 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 08:35:22,640 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 08:35:22,640 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 08:35:22,640 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 08:35:22,641 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:35:22" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_d418ce12-018c-4bb3-a953-27a73f0a8bc6/bin-2019/utaipan/z3 Starting monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 1 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 08:35:22,686 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 08:35:22,686 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 08:35:22,686 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 08:35:22,686 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 08:35:22,686 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 08:35:22,686 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 08:35:22,687 INFO L130 BoogieDeclarations]: Found specification of procedure __blast_assert [2018-11-23 08:35:22,687 INFO L138 BoogieDeclarations]: Found implementation of procedure __blast_assert [2018-11-23 08:35:22,687 INFO L130 BoogieDeclarations]: Found specification of procedure l_malloc [2018-11-23 08:35:22,687 INFO L138 BoogieDeclarations]: Found implementation of procedure l_malloc [2018-11-23 08:35:22,687 INFO L130 BoogieDeclarations]: Found specification of procedure l_free [2018-11-23 08:35:22,687 INFO L138 BoogieDeclarations]: Found implementation of procedure l_free [2018-11-23 08:35:22,687 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 08:35:22,687 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 08:35:22,868 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 08:35:22,868 INFO L280 CfgBuilder]: Removed 0 assue(true) statements. [2018-11-23 08:35:22,868 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:35:22 BoogieIcfgContainer [2018-11-23 08:35:22,868 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 08:35:22,869 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 08:35:22,869 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 08:35:22,871 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 08:35:22,871 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 08:35:22" (1/3) ... [2018-11-23 08:35:22,872 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6617f0be and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 08:35:22, skipping insertion in model container [2018-11-23 08:35:22,872 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 08:35:22" (2/3) ... [2018-11-23 08:35:22,872 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6617f0be and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 08:35:22, skipping insertion in model container [2018-11-23 08:35:22,873 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:35:22" (3/3) ... [2018-11-23 08:35:22,874 INFO L112 eAbstractionObserver]: Analyzing ICFG alt_test_true-termination.c_false-unreach-call.i [2018-11-23 08:35:22,883 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 08:35:22,889 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 08:35:22,903 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 08:35:22,925 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 08:35:22,925 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 08:35:22,925 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 08:35:22,925 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 08:35:22,925 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 08:35:22,925 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 08:35:22,925 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 08:35:22,925 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 08:35:22,937 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states. [2018-11-23 08:35:22,941 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2018-11-23 08:35:22,942 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 08:35:22,942 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 08:35:22,944 INFO L423 AbstractCegarLoop]: === Iteration 1 === [__blast_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 08:35:22,949 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 08:35:22,949 INFO L82 PathProgramCache]: Analyzing trace with hash 1044108918, now seen corresponding path program 1 times [2018-11-23 08:35:22,951 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-11-23 08:35:23,001 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 08:35:23,001 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 08:35:23,001 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 08:35:23,001 INFO L286 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-11-23 08:35:23,041 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 08:35:23,099 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 08:35:23,101 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 08:35:23,101 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 08:35:23,101 INFO L256 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-11-23 08:35:23,104 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 08:35:23,111 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 08:35:23,112 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 08:35:23,113 INFO L87 Difference]: Start difference. First operand 31 states. Second operand 3 states. [2018-11-23 08:35:23,145 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 08:35:23,145 INFO L93 Difference]: Finished difference Result 55 states and 66 transitions. [2018-11-23 08:35:23,146 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 08:35:23,147 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 19 [2018-11-23 08:35:23,147 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 08:35:23,154 INFO L225 Difference]: With dead ends: 55 [2018-11-23 08:35:23,154 INFO L226 Difference]: Without dead ends: 33 [2018-11-23 08:35:23,156 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 1 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 08:35:23,166 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 33 states. [2018-11-23 08:35:23,180 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 33 to 32. [2018-11-23 08:35:23,182 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 32 states. [2018-11-23 08:35:23,183 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 32 states and 36 transitions. [2018-11-23 08:35:23,184 INFO L78 Accepts]: Start accepts. Automaton has 32 states and 36 transitions. Word has length 19 [2018-11-23 08:35:23,184 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 08:35:23,184 INFO L480 AbstractCegarLoop]: Abstraction has 32 states and 36 transitions. [2018-11-23 08:35:23,184 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 08:35:23,184 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 36 transitions. [2018-11-23 08:35:23,186 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2018-11-23 08:35:23,186 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 08:35:23,186 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 08:35:23,186 INFO L423 AbstractCegarLoop]: === Iteration 2 === [__blast_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 08:35:23,186 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 08:35:23,187 INFO L82 PathProgramCache]: Analyzing trace with hash 1745173496, now seen corresponding path program 1 times [2018-11-23 08:35:23,187 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-11-23 08:35:23,188 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 08:35:23,188 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 08:35:23,189 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 08:35:23,189 INFO L286 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-11-23 08:35:23,199 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 08:35:23,225 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 08:35:23,225 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 08:35:23,225 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 08:35:23,226 INFO L256 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-11-23 08:35:23,227 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 08:35:23,227 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 08:35:23,227 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 08:35:23,227 INFO L87 Difference]: Start difference. First operand 32 states and 36 transitions. Second operand 3 states. [2018-11-23 08:35:23,236 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 08:35:23,236 INFO L93 Difference]: Finished difference Result 42 states and 46 transitions. [2018-11-23 08:35:23,237 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 08:35:23,237 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 19 [2018-11-23 08:35:23,237 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 08:35:23,239 INFO L225 Difference]: With dead ends: 42 [2018-11-23 08:35:23,239 INFO L226 Difference]: Without dead ends: 27 [2018-11-23 08:35:23,240 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 08:35:23,240 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 27 states. [2018-11-23 08:35:23,243 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 27 to 27. [2018-11-23 08:35:23,244 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 27 states. [2018-11-23 08:35:23,245 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 27 states and 29 transitions. [2018-11-23 08:35:23,245 INFO L78 Accepts]: Start accepts. Automaton has 27 states and 29 transitions. Word has length 19 [2018-11-23 08:35:23,245 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 08:35:23,245 INFO L480 AbstractCegarLoop]: Abstraction has 27 states and 29 transitions. [2018-11-23 08:35:23,246 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 08:35:23,246 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 29 transitions. [2018-11-23 08:35:23,246 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2018-11-23 08:35:23,246 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 08:35:23,246 INFO L402 BasicCegarLoop]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 08:35:23,247 INFO L423 AbstractCegarLoop]: === Iteration 3 === [__blast_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 08:35:23,247 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 08:35:23,247 INFO L82 PathProgramCache]: Analyzing trace with hash 124895752, now seen corresponding path program 1 times [2018-11-23 08:35:23,247 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-11-23 08:35:23,248 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 08:35:23,249 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 08:35:23,249 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 08:35:23,249 INFO L286 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-11-23 08:35:23,259 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 08:35:23,333 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 08:35:23,333 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 08:35:23,334 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [8] imperfect sequences [] total 8 [2018-11-23 08:35:23,334 INFO L256 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-11-23 08:35:23,334 INFO L459 AbstractCegarLoop]: Interpolant automaton has 8 states [2018-11-23 08:35:23,334 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2018-11-23 08:35:23,334 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=43, Unknown=0, NotChecked=0, Total=56 [2018-11-23 08:35:23,335 INFO L87 Difference]: Start difference. First operand 27 states and 29 transitions. Second operand 8 states. [2018-11-23 08:35:23,390 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 08:35:23,390 INFO L93 Difference]: Finished difference Result 40 states and 42 transitions. [2018-11-23 08:35:23,391 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2018-11-23 08:35:23,391 INFO L78 Accepts]: Start accepts. Automaton has 8 states. Word has length 25 [2018-11-23 08:35:23,391 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 08:35:23,391 INFO L225 Difference]: With dead ends: 40 [2018-11-23 08:35:23,391 INFO L226 Difference]: Without dead ends: 27 [2018-11-23 08:35:23,392 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 10 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=21, Invalid=69, Unknown=0, NotChecked=0, Total=90 [2018-11-23 08:35:23,392 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 27 states. [2018-11-23 08:35:23,394 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 27 to 27. [2018-11-23 08:35:23,394 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 27 states. [2018-11-23 08:35:23,395 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 27 states and 27 transitions. [2018-11-23 08:35:23,395 INFO L78 Accepts]: Start accepts. Automaton has 27 states and 27 transitions. Word has length 25 [2018-11-23 08:35:23,395 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 08:35:23,395 INFO L480 AbstractCegarLoop]: Abstraction has 27 states and 27 transitions. [2018-11-23 08:35:23,395 INFO L481 AbstractCegarLoop]: Interpolant automaton has 8 states. [2018-11-23 08:35:23,395 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 27 transitions. [2018-11-23 08:35:23,396 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 27 [2018-11-23 08:35:23,396 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 08:35:23,396 INFO L402 BasicCegarLoop]: trace histogram [2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 08:35:23,396 INFO L423 AbstractCegarLoop]: === Iteration 4 === [__blast_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 08:35:23,396 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 08:35:23,397 INFO L82 PathProgramCache]: Analyzing trace with hash 1592798083, now seen corresponding path program 1 times [2018-11-23 08:35:23,397 INFO L69 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-11-23 08:35:23,398 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 08:35:23,398 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 08:35:23,398 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 08:35:23,398 INFO L286 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-11-23 08:35:23,407 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 08:35:23,418 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 08:35:23,437 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=10, |#NULL.offset|=5, |old(#NULL.base)|=10, |old(#NULL.offset)|=5, |old(~globalState~0)|=8, ~globalState~0=8] [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];~globalState~0 := 0; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=10, |old(#NULL.offset)|=5, |old(~globalState~0)|=8, ~globalState~0=0] [?] assume true; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=10, |old(#NULL.offset)|=5, |old(~globalState~0)|=8, ~globalState~0=0] [?] RET #43#return; VAL [|#NULL.base|=0, |#NULL.offset|=0, ~globalState~0=0] [?] CALL call #t~ret32 := main(#in~argc, #in~argv.base, #in~argv.offset); VAL [|#NULL.base|=0, |#NULL.offset|=0, |main_#in~argc|=11, |main_#in~argv.base|=9, |main_#in~argv.offset|=6, |old(~globalState~0)|=0, ~globalState~0=0] [?] ~argc := #in~argc;~argv.base, ~argv.offset := #in~argv.base, #in~argv.offset; VAL [main_~argc=11, main_~argv.base=9, main_~argv.offset=6, |#NULL.base|=0, |#NULL.offset|=0, |main_#in~argc|=11, |main_#in~argv.base|=9, |main_#in~argv.offset|=6, |old(~globalState~0)|=0, ~globalState~0=0] [?] CALL call #t~ret30.base, #t~ret30.offset := l_malloc(4); VAL [|#NULL.base|=0, |#NULL.offset|=0, |l_malloc_#in~size|=4, |old(~globalState~0)|=0, ~globalState~0=0] [?] ~size := #in~size;call #t~malloc31.base, #t~malloc31.offset := #Ultimate.alloc(~size);~retVal~0.base, ~retVal~0.offset := #t~malloc31.base, #t~malloc31.offset; VAL [l_malloc_~retVal~0.base=7, l_malloc_~retVal~0.offset=0, l_malloc_~size=4, |#NULL.base|=0, |#NULL.offset|=0, |l_malloc_#in~size|=4, |l_malloc_#t~malloc31.base|=7, |l_malloc_#t~malloc31.offset|=0, |old(~globalState~0)|=0, ~globalState~0=0] [?] assume ~retVal~0.base != 0 || ~retVal~0.offset != 0;~globalState~0 := 1; VAL [l_malloc_~retVal~0.base=7, l_malloc_~retVal~0.offset=0, l_malloc_~size=4, |#NULL.base|=0, |#NULL.offset|=0, |l_malloc_#in~size|=4, |l_malloc_#t~malloc31.base|=7, |l_malloc_#t~malloc31.offset|=0, |old(~globalState~0)|=0, ~globalState~0=1] [?] #res.base, #res.offset := ~retVal~0.base, ~retVal~0.offset; VAL [l_malloc_~retVal~0.base=7, l_malloc_~retVal~0.offset=0, l_malloc_~size=4, |#NULL.base|=0, |#NULL.offset|=0, |l_malloc_#in~size|=4, |l_malloc_#res.base|=7, |l_malloc_#res.offset|=0, |l_malloc_#t~malloc31.base|=7, |l_malloc_#t~malloc31.offset|=0, |old(~globalState~0)|=0, ~globalState~0=1] [?] assume true; VAL [l_malloc_~retVal~0.base=7, l_malloc_~retVal~0.offset=0, l_malloc_~size=4, |#NULL.base|=0, |#NULL.offset|=0, |l_malloc_#in~size|=4, |l_malloc_#res.base|=7, |l_malloc_#res.offset|=0, |l_malloc_#t~malloc31.base|=7, |l_malloc_#t~malloc31.offset|=0, |old(~globalState~0)|=0, ~globalState~0=1] [?] RET #47#return; VAL [main_~argc=11, main_~argv.base=9, main_~argv.offset=6, |#NULL.base|=0, |#NULL.offset|=0, |main_#in~argc|=11, |main_#in~argv.base|=9, |main_#in~argv.offset|=6, |main_#t~ret30.base|=7, |main_#t~ret30.offset|=0, |old(~globalState~0)|=0, ~globalState~0=1] [?] ~a~0.base, ~a~0.offset := #t~ret30.base, #t~ret30.offset;havoc #t~ret30.base, #t~ret30.offset; VAL [main_~argc=11, main_~argv.base=9, main_~argv.offset=6, main_~a~0.base=7, main_~a~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#in~argc|=11, |main_#in~argv.base|=9, |main_#in~argv.offset|=6, |old(~globalState~0)|=0, ~globalState~0=1] [?] CALL call l_free(~a~0.base, ~a~0.offset); VAL [|#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=1, ~globalState~0=1] [?] ~ptr.base, ~ptr.offset := #in~ptr.base, #in~ptr.offset; VAL [l_free_~ptr.base=7, l_free_~ptr.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=1, ~globalState~0=1] [?] assume ~ptr.base != 0 || ~ptr.offset != 0; VAL [l_free_~ptr.base=7, l_free_~ptr.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=1, ~globalState~0=1] [?] assume 1 == ~globalState~0; VAL [l_free_~ptr.base=7, l_free_~ptr.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=1, ~globalState~0=1] [?] ~globalState~0 := 0;call ULTIMATE.dealloc(~ptr.base, ~ptr.offset); VAL [l_free_~ptr.base=7, l_free_~ptr.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=1, ~globalState~0=0] [?] assume true; VAL [l_free_~ptr.base=7, l_free_~ptr.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=1, ~globalState~0=0] [?] RET #49#return; VAL [main_~argc=11, main_~argv.base=9, main_~argv.offset=6, main_~a~0.base=7, main_~a~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#in~argc|=11, |main_#in~argv.base|=9, |main_#in~argv.offset|=6, |old(~globalState~0)|=0, ~globalState~0=0] [?] CALL call l_free(~a~0.base, ~a~0.offset); VAL [|#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=0, ~globalState~0=0] [?] ~ptr.base, ~ptr.offset := #in~ptr.base, #in~ptr.offset; VAL [l_free_~ptr.base=7, l_free_~ptr.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=0, ~globalState~0=0] [?] assume ~ptr.base != 0 || ~ptr.offset != 0; VAL [l_free_~ptr.base=7, l_free_~ptr.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=0, ~globalState~0=0] [?] assume !(1 == ~globalState~0); VAL [l_free_~ptr.base=7, l_free_~ptr.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=0, ~globalState~0=0] [?] CALL call __blast_assert(); VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(~globalState~0)|=0, ~globalState~0=0] [?] assume !false; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(~globalState~0)|=0, ~globalState~0=0] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=10, #NULL.offset=5, old(#NULL.base)=10, old(#NULL.offset)=5, old(~globalState~0)=8, ~globalState~0=8] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [L1606] ~globalState~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=10, old(#NULL.offset)=5, old(~globalState~0)=8, ~globalState~0=0] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=10, old(#NULL.offset)=5, old(~globalState~0)=8, ~globalState~0=0] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0, ~globalState~0=0] [?] CALL call #t~ret32 := main(#in~argc, #in~argv.base, #in~argv.offset); VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1610-L1616] ~argc := #in~argc; [L1610-L1616] ~argv.base, ~argv.offset := #in~argv.base, #in~argv.offset; VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~argc=11, ~argv.base=9, ~argv.offset=6, ~globalState~0=0] [L1612] CALL call #t~ret30.base, #t~ret30.offset := l_malloc(4); VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1618-L1623] ~size := #in~size; [L1619] call #t~malloc31.base, #t~malloc31.offset := #Ultimate.alloc(~size); [L1619] ~retVal~0.base, ~retVal~0.offset := #t~malloc31.base, #t~malloc31.offset; VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, #t~malloc31.base=7, #t~malloc31.offset=0, old(~globalState~0)=0, ~globalState~0=0, ~retVal~0.base=7, ~retVal~0.offset=0, ~size=4] [L1620-L1621] assume ~retVal~0.base != 0 || ~retVal~0.offset != 0; [L1621] ~globalState~0 := 1; VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, #t~malloc31.base=7, #t~malloc31.offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0.base=7, ~retVal~0.offset=0, ~size=4] [L1622] #res.base, #res.offset := ~retVal~0.base, ~retVal~0.offset; VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, #res.base=7, #res.offset=0, #t~malloc31.base=7, #t~malloc31.offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0.base=7, ~retVal~0.offset=0, ~size=4] [L1607] ensures true; VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, #res.base=7, #res.offset=0, #t~malloc31.base=7, #t~malloc31.offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0.base=7, ~retVal~0.offset=0, ~size=4] [L1612] RET call #t~ret30.base, #t~ret30.offset := l_malloc(4); VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, #t~ret30.base=7, #t~ret30.offset=0, old(~globalState~0)=0, ~argc=11, ~argv.base=9, ~argv.offset=6, ~globalState~0=1] [L1612] ~a~0.base, ~a~0.offset := #t~ret30.base, #t~ret30.offset; [L1612] havoc #t~ret30.base, #t~ret30.offset; VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~argc=11, ~argv.base=9, ~argv.offset=6, ~a~0.base=7, ~a~0.offset=0, ~globalState~0=1] [L1613] CALL call l_free(~a~0.base, ~a~0.offset); VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=1] [L1625-L1632] ~ptr.base, ~ptr.offset := #in~ptr.base, #in~ptr.offset; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr.base=7, ~ptr.offset=0] [L1629] assume ~ptr.base != 0 || ~ptr.offset != 0; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr.base=7, ~ptr.offset=0] [L1629] assume 1 == ~globalState~0; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr.base=7, ~ptr.offset=0] [L1630] ~globalState~0 := 0; [L1631] call ULTIMATE.dealloc(~ptr.base, ~ptr.offset); VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1608] ensures true; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1613] RET call l_free(~a~0.base, ~a~0.offset); VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~argc=11, ~argv.base=9, ~argv.offset=6, ~a~0.base=7, ~a~0.offset=0, ~globalState~0=0] [L1614] CALL call l_free(~a~0.base, ~a~0.offset); VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1625-L1632] ~ptr.base, ~ptr.offset := #in~ptr.base, #in~ptr.offset; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1629] assume ~ptr.base != 0 || ~ptr.offset != 0; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1629] assume !(1 == ~globalState~0); VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1629] CALL call __blast_assert(); VAL [#NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1601] assert false; VAL [#NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=10, #NULL.offset=5, old(#NULL.base)=10, old(#NULL.offset)=5, old(~globalState~0)=8, ~globalState~0=8] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [L1606] ~globalState~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=10, old(#NULL.offset)=5, old(~globalState~0)=8, ~globalState~0=0] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=10, old(#NULL.offset)=5, old(~globalState~0)=8, ~globalState~0=0] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0, ~globalState~0=0] [?] CALL call #t~ret32 := main(#in~argc, #in~argv.base, #in~argv.offset); VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1610-L1616] ~argc := #in~argc; [L1610-L1616] ~argv.base, ~argv.offset := #in~argv.base, #in~argv.offset; VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~argc=11, ~argv.base=9, ~argv.offset=6, ~globalState~0=0] [L1612] CALL call #t~ret30.base, #t~ret30.offset := l_malloc(4); VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1618-L1623] ~size := #in~size; [L1619] call #t~malloc31.base, #t~malloc31.offset := #Ultimate.alloc(~size); [L1619] ~retVal~0.base, ~retVal~0.offset := #t~malloc31.base, #t~malloc31.offset; VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, #t~malloc31.base=7, #t~malloc31.offset=0, old(~globalState~0)=0, ~globalState~0=0, ~retVal~0.base=7, ~retVal~0.offset=0, ~size=4] [L1620-L1621] assume ~retVal~0.base != 0 || ~retVal~0.offset != 0; [L1621] ~globalState~0 := 1; VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, #t~malloc31.base=7, #t~malloc31.offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0.base=7, ~retVal~0.offset=0, ~size=4] [L1622] #res.base, #res.offset := ~retVal~0.base, ~retVal~0.offset; VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, #res.base=7, #res.offset=0, #t~malloc31.base=7, #t~malloc31.offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0.base=7, ~retVal~0.offset=0, ~size=4] [L1607] ensures true; VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, #res.base=7, #res.offset=0, #t~malloc31.base=7, #t~malloc31.offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0.base=7, ~retVal~0.offset=0, ~size=4] [L1612] RET call #t~ret30.base, #t~ret30.offset := l_malloc(4); VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, #t~ret30.base=7, #t~ret30.offset=0, old(~globalState~0)=0, ~argc=11, ~argv.base=9, ~argv.offset=6, ~globalState~0=1] [L1612] ~a~0.base, ~a~0.offset := #t~ret30.base, #t~ret30.offset; [L1612] havoc #t~ret30.base, #t~ret30.offset; VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~argc=11, ~argv.base=9, ~argv.offset=6, ~a~0.base=7, ~a~0.offset=0, ~globalState~0=1] [L1613] CALL call l_free(~a~0.base, ~a~0.offset); VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=1] [L1625-L1632] ~ptr.base, ~ptr.offset := #in~ptr.base, #in~ptr.offset; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr.base=7, ~ptr.offset=0] [L1629] assume ~ptr.base != 0 || ~ptr.offset != 0; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr.base=7, ~ptr.offset=0] [L1629] assume 1 == ~globalState~0; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr.base=7, ~ptr.offset=0] [L1630] ~globalState~0 := 0; [L1631] call ULTIMATE.dealloc(~ptr.base, ~ptr.offset); VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1608] ensures true; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1613] RET call l_free(~a~0.base, ~a~0.offset); VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~argc=11, ~argv.base=9, ~argv.offset=6, ~a~0.base=7, ~a~0.offset=0, ~globalState~0=0] [L1614] CALL call l_free(~a~0.base, ~a~0.offset); VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1625-L1632] ~ptr.base, ~ptr.offset := #in~ptr.base, #in~ptr.offset; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1629] assume ~ptr.base != 0 || ~ptr.offset != 0; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1629] assume !(1 == ~globalState~0); VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1629] CALL call __blast_assert(); VAL [#NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1601] assert false; VAL [#NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=10, #NULL!offset=5, old(#NULL!base)=10, old(#NULL!offset)=5, old(~globalState~0)=8, ~globalState~0=8] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L1606] ~globalState~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=10, old(#NULL!offset)=5, old(~globalState~0)=8, ~globalState~0=0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~globalState~0=0] [?] CALL call #t~ret32 := main(#in~argc, #in~argv); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1610-L1616] ~argc := #in~argc; [L1610-L1616] ~argv := #in~argv; VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~globalState~0=0] [L1612] CALL call #t~ret30 := l_malloc(4); VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1618-L1623] ~size := #in~size; [L1619] FCALL call #t~malloc31 := #Ultimate.alloc(~size); [L1619] ~retVal~0 := #t~malloc31; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1620] COND TRUE ~retVal~0 != { base: 0, offset: 0 } [L1621] ~globalState~0 := 1; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1622] #res := ~retVal~0; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #res!base=7, #res!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1612] RET call #t~ret30 := l_malloc(4); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, #t~ret30!base=7, #t~ret30!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~globalState~0=1] [L1612] ~a~0 := #t~ret30; [L1612] havoc #t~ret30; VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~a~0!base=7, ~a~0!offset=0, ~globalState~0=1] [L1613] CALL call l_free(~a~0); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1] [L1625-L1632] ~ptr := #in~ptr; VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE ~ptr != { base: 0, offset: 0 } VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE 1 == ~globalState~0 VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1630] ~globalState~0 := 0; [L1631] FCALL call ULTIMATE.dealloc(~ptr); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1613] RET call l_free(~a~0); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~a~0!base=7, ~a~0!offset=0, ~globalState~0=0] [L1614] CALL call l_free(~a~0); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1625-L1632] ~ptr := #in~ptr; VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE ~ptr != { base: 0, offset: 0 } VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] COND FALSE !(1 == ~globalState~0) VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] CALL call __blast_assert(); VAL [#NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1601] assert false; VAL [#NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=10, #NULL!offset=5, old(#NULL!base)=10, old(#NULL!offset)=5, old(~globalState~0)=8, ~globalState~0=8] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L1606] ~globalState~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=10, old(#NULL!offset)=5, old(~globalState~0)=8, ~globalState~0=0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~globalState~0=0] [?] CALL call #t~ret32 := main(#in~argc, #in~argv); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1610-L1616] ~argc := #in~argc; [L1610-L1616] ~argv := #in~argv; VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~globalState~0=0] [L1612] CALL call #t~ret30 := l_malloc(4); VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1618-L1623] ~size := #in~size; [L1619] FCALL call #t~malloc31 := #Ultimate.alloc(~size); [L1619] ~retVal~0 := #t~malloc31; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1620] COND TRUE ~retVal~0 != { base: 0, offset: 0 } [L1621] ~globalState~0 := 1; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1622] #res := ~retVal~0; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #res!base=7, #res!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1612] RET call #t~ret30 := l_malloc(4); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, #t~ret30!base=7, #t~ret30!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~globalState~0=1] [L1612] ~a~0 := #t~ret30; [L1612] havoc #t~ret30; VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~a~0!base=7, ~a~0!offset=0, ~globalState~0=1] [L1613] CALL call l_free(~a~0); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1] [L1625-L1632] ~ptr := #in~ptr; VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE ~ptr != { base: 0, offset: 0 } VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE 1 == ~globalState~0 VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1630] ~globalState~0 := 0; [L1631] FCALL call ULTIMATE.dealloc(~ptr); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1613] RET call l_free(~a~0); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~a~0!base=7, ~a~0!offset=0, ~globalState~0=0] [L1614] CALL call l_free(~a~0); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1625-L1632] ~ptr := #in~ptr; VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE ~ptr != { base: 0, offset: 0 } VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] COND FALSE !(1 == ~globalState~0) VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] CALL call __blast_assert(); VAL [#NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1601] assert false; VAL [#NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=10, #NULL!offset=5, old(#NULL!base)=10, old(#NULL!offset)=5, old(~globalState~0)=8, ~globalState~0=8] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L1606] ~globalState~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=10, old(#NULL!offset)=5, old(~globalState~0)=8, ~globalState~0=0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~globalState~0=0] [?] CALL call #t~ret32 := main(#in~argc, #in~argv); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1610-L1616] ~argc := #in~argc; [L1610-L1616] ~argv := #in~argv; VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~globalState~0=0] [L1612] CALL call #t~ret30 := l_malloc(4); VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1618-L1623] ~size := #in~size; [L1619] FCALL call #t~malloc31 := #Ultimate.alloc(~size); [L1619] ~retVal~0 := #t~malloc31; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1620] COND TRUE ~retVal~0 != { base: 0, offset: 0 } [L1621] ~globalState~0 := 1; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1622] #res := ~retVal~0; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #res!base=7, #res!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1612] RET call #t~ret30 := l_malloc(4); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, #t~ret30!base=7, #t~ret30!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~globalState~0=1] [L1612] ~a~0 := #t~ret30; [L1612] havoc #t~ret30; VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~a~0!base=7, ~a~0!offset=0, ~globalState~0=1] [L1613] CALL call l_free(~a~0); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1] [L1625-L1632] ~ptr := #in~ptr; VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE ~ptr != { base: 0, offset: 0 } VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE 1 == ~globalState~0 VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1630] ~globalState~0 := 0; [L1631] FCALL call ULTIMATE.dealloc(~ptr); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1613] RET call l_free(~a~0); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~a~0!base=7, ~a~0!offset=0, ~globalState~0=0] [L1614] CALL call l_free(~a~0); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1625-L1632] ~ptr := #in~ptr; VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE ~ptr != { base: 0, offset: 0 } VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] COND FALSE !(1 == ~globalState~0) VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] CALL call __blast_assert(); VAL [#NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1601] assert false; VAL [#NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=10, #NULL!offset=5, old(#NULL!base)=10, old(#NULL!offset)=5, old(~globalState~0)=8, ~globalState~0=8] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L1606] ~globalState~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=10, old(#NULL!offset)=5, old(~globalState~0)=8, ~globalState~0=0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~globalState~0=0] [?] CALL call #t~ret32 := main(#in~argc, #in~argv); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1610-L1616] ~argc := #in~argc; [L1610-L1616] ~argv := #in~argv; VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~globalState~0=0] [L1612] CALL call #t~ret30 := l_malloc(4); VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1618-L1623] ~size := #in~size; [L1619] FCALL call #t~malloc31 := #Ultimate.alloc(~size); [L1619] ~retVal~0 := #t~malloc31; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1620] COND TRUE ~retVal~0 != { base: 0, offset: 0 } [L1621] ~globalState~0 := 1; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1622] #res := ~retVal~0; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #res!base=7, #res!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1612] RET call #t~ret30 := l_malloc(4); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, #t~ret30!base=7, #t~ret30!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~globalState~0=1] [L1612] ~a~0 := #t~ret30; [L1612] havoc #t~ret30; VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~a~0!base=7, ~a~0!offset=0, ~globalState~0=1] [L1613] CALL call l_free(~a~0); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1] [L1625-L1632] ~ptr := #in~ptr; VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE ~ptr != { base: 0, offset: 0 } VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE 1 == ~globalState~0 VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1630] ~globalState~0 := 0; [L1631] FCALL call ULTIMATE.dealloc(~ptr); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1613] RET call l_free(~a~0); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~a~0!base=7, ~a~0!offset=0, ~globalState~0=0] [L1614] CALL call l_free(~a~0); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1625-L1632] ~ptr := #in~ptr; VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE ~ptr != { base: 0, offset: 0 } VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] COND FALSE !(1 == ~globalState~0) VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] CALL call __blast_assert(); VAL [#NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1601] assert false; VAL [#NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1606] int globalState = 0; VAL [\old(globalState)=8, globalState=0] [L1612] CALL, EXPR l_malloc(sizeof(int)) VAL [\old(globalState)=0, \old(size)=4, globalState=0] [L1619] void *retVal = malloc(size); VAL [\old(globalState)=0, \old(size)=4, globalState=0, malloc(size)={7:0}, retVal={7:0}, size=4] [L1620] COND TRUE retVal != ((void *)0) [L1621] globalState=1 VAL [\old(globalState)=0, \old(size)=4, globalState=1, malloc(size)={7:0}, retVal={7:0}, size=4] [L1622] return retVal; VAL [\old(globalState)=0, \old(size)=4, \result={7:0}, globalState=1, malloc(size)={7:0}, retVal={7:0}, size=4] [L1612] RET, EXPR l_malloc(sizeof(int)) VAL [\old(argc)=11, \old(globalState)=0, argc=11, argv={9:6}, argv={9:6}, globalState=1, l_malloc(sizeof(int))={7:0}] [L1612] int *a = (int*) l_malloc(sizeof(int)); [L1613] CALL l_free(a) VAL [\old(globalState)=1, globalState=1, ptr={7:0}] [L1629] COND TRUE ptr!=((void *)0) VAL [\old(globalState)=1, globalState=1, ptr={7:0}, ptr={7:0}] [L1629] (globalState == 1) ? (0) : __blast_assert () VAL [\old(globalState)=1, globalState=1, ptr={7:0}, ptr={7:0}] [L1630] globalState = 0 [L1613] RET l_free(a) VAL [\old(argc)=11, \old(globalState)=0, a={7:0}, argc=11, argv={9:6}, argv={9:6}, globalState=0] [L1614] CALL l_free(a) VAL [\old(globalState)=0, globalState=0, ptr={7:0}] [L1629] COND TRUE ptr!=((void *)0) VAL [\old(globalState)=0, globalState=0, ptr={7:0}, ptr={7:0}] [L1629] (globalState == 1) ? (0) : __blast_assert () VAL [\old(globalState)=0, globalState=0, ptr={7:0}, ptr={7:0}] [L1629] CALL __blast_assert () VAL [\old(globalState)=0, globalState=0] [L1601] __VERIFIER_error() VAL [\old(globalState)=0, globalState=0] ----- [2018-11-23 08:35:23,478 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 08:35:23 BoogieIcfgContainer [2018-11-23 08:35:23,478 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 08:35:23,478 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 08:35:23,478 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 08:35:23,478 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 08:35:23,479 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 08:35:22" (3/4) ... [2018-11-23 08:35:23,481 INFO L138 WitnessPrinter]: Generating witness for reachability counterexample ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=10, |#NULL.offset|=5, |old(#NULL.base)|=10, |old(#NULL.offset)|=5, |old(~globalState~0)|=8, ~globalState~0=8] [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];~globalState~0 := 0; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=10, |old(#NULL.offset)|=5, |old(~globalState~0)|=8, ~globalState~0=0] [?] assume true; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=10, |old(#NULL.offset)|=5, |old(~globalState~0)|=8, ~globalState~0=0] [?] RET #43#return; VAL [|#NULL.base|=0, |#NULL.offset|=0, ~globalState~0=0] [?] CALL call #t~ret32 := main(#in~argc, #in~argv.base, #in~argv.offset); VAL [|#NULL.base|=0, |#NULL.offset|=0, |main_#in~argc|=11, |main_#in~argv.base|=9, |main_#in~argv.offset|=6, |old(~globalState~0)|=0, ~globalState~0=0] [?] ~argc := #in~argc;~argv.base, ~argv.offset := #in~argv.base, #in~argv.offset; VAL [main_~argc=11, main_~argv.base=9, main_~argv.offset=6, |#NULL.base|=0, |#NULL.offset|=0, |main_#in~argc|=11, |main_#in~argv.base|=9, |main_#in~argv.offset|=6, |old(~globalState~0)|=0, ~globalState~0=0] [?] CALL call #t~ret30.base, #t~ret30.offset := l_malloc(4); VAL [|#NULL.base|=0, |#NULL.offset|=0, |l_malloc_#in~size|=4, |old(~globalState~0)|=0, ~globalState~0=0] [?] ~size := #in~size;call #t~malloc31.base, #t~malloc31.offset := #Ultimate.alloc(~size);~retVal~0.base, ~retVal~0.offset := #t~malloc31.base, #t~malloc31.offset; VAL [l_malloc_~retVal~0.base=7, l_malloc_~retVal~0.offset=0, l_malloc_~size=4, |#NULL.base|=0, |#NULL.offset|=0, |l_malloc_#in~size|=4, |l_malloc_#t~malloc31.base|=7, |l_malloc_#t~malloc31.offset|=0, |old(~globalState~0)|=0, ~globalState~0=0] [?] assume ~retVal~0.base != 0 || ~retVal~0.offset != 0;~globalState~0 := 1; VAL [l_malloc_~retVal~0.base=7, l_malloc_~retVal~0.offset=0, l_malloc_~size=4, |#NULL.base|=0, |#NULL.offset|=0, |l_malloc_#in~size|=4, |l_malloc_#t~malloc31.base|=7, |l_malloc_#t~malloc31.offset|=0, |old(~globalState~0)|=0, ~globalState~0=1] [?] #res.base, #res.offset := ~retVal~0.base, ~retVal~0.offset; VAL [l_malloc_~retVal~0.base=7, l_malloc_~retVal~0.offset=0, l_malloc_~size=4, |#NULL.base|=0, |#NULL.offset|=0, |l_malloc_#in~size|=4, |l_malloc_#res.base|=7, |l_malloc_#res.offset|=0, |l_malloc_#t~malloc31.base|=7, |l_malloc_#t~malloc31.offset|=0, |old(~globalState~0)|=0, ~globalState~0=1] [?] assume true; VAL [l_malloc_~retVal~0.base=7, l_malloc_~retVal~0.offset=0, l_malloc_~size=4, |#NULL.base|=0, |#NULL.offset|=0, |l_malloc_#in~size|=4, |l_malloc_#res.base|=7, |l_malloc_#res.offset|=0, |l_malloc_#t~malloc31.base|=7, |l_malloc_#t~malloc31.offset|=0, |old(~globalState~0)|=0, ~globalState~0=1] [?] RET #47#return; VAL [main_~argc=11, main_~argv.base=9, main_~argv.offset=6, |#NULL.base|=0, |#NULL.offset|=0, |main_#in~argc|=11, |main_#in~argv.base|=9, |main_#in~argv.offset|=6, |main_#t~ret30.base|=7, |main_#t~ret30.offset|=0, |old(~globalState~0)|=0, ~globalState~0=1] [?] ~a~0.base, ~a~0.offset := #t~ret30.base, #t~ret30.offset;havoc #t~ret30.base, #t~ret30.offset; VAL [main_~argc=11, main_~argv.base=9, main_~argv.offset=6, main_~a~0.base=7, main_~a~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#in~argc|=11, |main_#in~argv.base|=9, |main_#in~argv.offset|=6, |old(~globalState~0)|=0, ~globalState~0=1] [?] CALL call l_free(~a~0.base, ~a~0.offset); VAL [|#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=1, ~globalState~0=1] [?] ~ptr.base, ~ptr.offset := #in~ptr.base, #in~ptr.offset; VAL [l_free_~ptr.base=7, l_free_~ptr.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=1, ~globalState~0=1] [?] assume ~ptr.base != 0 || ~ptr.offset != 0; VAL [l_free_~ptr.base=7, l_free_~ptr.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=1, ~globalState~0=1] [?] assume 1 == ~globalState~0; VAL [l_free_~ptr.base=7, l_free_~ptr.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=1, ~globalState~0=1] [?] ~globalState~0 := 0;call ULTIMATE.dealloc(~ptr.base, ~ptr.offset); VAL [l_free_~ptr.base=7, l_free_~ptr.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=1, ~globalState~0=0] [?] assume true; VAL [l_free_~ptr.base=7, l_free_~ptr.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=1, ~globalState~0=0] [?] RET #49#return; VAL [main_~argc=11, main_~argv.base=9, main_~argv.offset=6, main_~a~0.base=7, main_~a~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#in~argc|=11, |main_#in~argv.base|=9, |main_#in~argv.offset|=6, |old(~globalState~0)|=0, ~globalState~0=0] [?] CALL call l_free(~a~0.base, ~a~0.offset); VAL [|#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=0, ~globalState~0=0] [?] ~ptr.base, ~ptr.offset := #in~ptr.base, #in~ptr.offset; VAL [l_free_~ptr.base=7, l_free_~ptr.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=0, ~globalState~0=0] [?] assume ~ptr.base != 0 || ~ptr.offset != 0; VAL [l_free_~ptr.base=7, l_free_~ptr.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=0, ~globalState~0=0] [?] assume !(1 == ~globalState~0); VAL [l_free_~ptr.base=7, l_free_~ptr.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |l_free_#in~ptr.base|=7, |l_free_#in~ptr.offset|=0, |old(~globalState~0)|=0, ~globalState~0=0] [?] CALL call __blast_assert(); VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(~globalState~0)|=0, ~globalState~0=0] [?] assume !false; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(~globalState~0)|=0, ~globalState~0=0] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=10, #NULL.offset=5, old(#NULL.base)=10, old(#NULL.offset)=5, old(~globalState~0)=8, ~globalState~0=8] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [L1606] ~globalState~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=10, old(#NULL.offset)=5, old(~globalState~0)=8, ~globalState~0=0] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=10, old(#NULL.offset)=5, old(~globalState~0)=8, ~globalState~0=0] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0, ~globalState~0=0] [?] CALL call #t~ret32 := main(#in~argc, #in~argv.base, #in~argv.offset); VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1610-L1616] ~argc := #in~argc; [L1610-L1616] ~argv.base, ~argv.offset := #in~argv.base, #in~argv.offset; VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~argc=11, ~argv.base=9, ~argv.offset=6, ~globalState~0=0] [L1612] CALL call #t~ret30.base, #t~ret30.offset := l_malloc(4); VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1618-L1623] ~size := #in~size; [L1619] call #t~malloc31.base, #t~malloc31.offset := #Ultimate.alloc(~size); [L1619] ~retVal~0.base, ~retVal~0.offset := #t~malloc31.base, #t~malloc31.offset; VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, #t~malloc31.base=7, #t~malloc31.offset=0, old(~globalState~0)=0, ~globalState~0=0, ~retVal~0.base=7, ~retVal~0.offset=0, ~size=4] [L1620-L1621] assume ~retVal~0.base != 0 || ~retVal~0.offset != 0; [L1621] ~globalState~0 := 1; VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, #t~malloc31.base=7, #t~malloc31.offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0.base=7, ~retVal~0.offset=0, ~size=4] [L1622] #res.base, #res.offset := ~retVal~0.base, ~retVal~0.offset; VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, #res.base=7, #res.offset=0, #t~malloc31.base=7, #t~malloc31.offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0.base=7, ~retVal~0.offset=0, ~size=4] [L1607] ensures true; VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, #res.base=7, #res.offset=0, #t~malloc31.base=7, #t~malloc31.offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0.base=7, ~retVal~0.offset=0, ~size=4] [L1612] RET call #t~ret30.base, #t~ret30.offset := l_malloc(4); VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, #t~ret30.base=7, #t~ret30.offset=0, old(~globalState~0)=0, ~argc=11, ~argv.base=9, ~argv.offset=6, ~globalState~0=1] [L1612] ~a~0.base, ~a~0.offset := #t~ret30.base, #t~ret30.offset; [L1612] havoc #t~ret30.base, #t~ret30.offset; VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~argc=11, ~argv.base=9, ~argv.offset=6, ~a~0.base=7, ~a~0.offset=0, ~globalState~0=1] [L1613] CALL call l_free(~a~0.base, ~a~0.offset); VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=1] [L1625-L1632] ~ptr.base, ~ptr.offset := #in~ptr.base, #in~ptr.offset; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr.base=7, ~ptr.offset=0] [L1629] assume ~ptr.base != 0 || ~ptr.offset != 0; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr.base=7, ~ptr.offset=0] [L1629] assume 1 == ~globalState~0; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr.base=7, ~ptr.offset=0] [L1630] ~globalState~0 := 0; [L1631] call ULTIMATE.dealloc(~ptr.base, ~ptr.offset); VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1608] ensures true; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1613] RET call l_free(~a~0.base, ~a~0.offset); VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~argc=11, ~argv.base=9, ~argv.offset=6, ~a~0.base=7, ~a~0.offset=0, ~globalState~0=0] [L1614] CALL call l_free(~a~0.base, ~a~0.offset); VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1625-L1632] ~ptr.base, ~ptr.offset := #in~ptr.base, #in~ptr.offset; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1629] assume ~ptr.base != 0 || ~ptr.offset != 0; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1629] assume !(1 == ~globalState~0); VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1629] CALL call __blast_assert(); VAL [#NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1601] assert false; VAL [#NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=10, #NULL.offset=5, old(#NULL.base)=10, old(#NULL.offset)=5, old(~globalState~0)=8, ~globalState~0=8] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [L1606] ~globalState~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=10, old(#NULL.offset)=5, old(~globalState~0)=8, ~globalState~0=0] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=10, old(#NULL.offset)=5, old(~globalState~0)=8, ~globalState~0=0] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0, ~globalState~0=0] [?] CALL call #t~ret32 := main(#in~argc, #in~argv.base, #in~argv.offset); VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1610-L1616] ~argc := #in~argc; [L1610-L1616] ~argv.base, ~argv.offset := #in~argv.base, #in~argv.offset; VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~argc=11, ~argv.base=9, ~argv.offset=6, ~globalState~0=0] [L1612] CALL call #t~ret30.base, #t~ret30.offset := l_malloc(4); VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1618-L1623] ~size := #in~size; [L1619] call #t~malloc31.base, #t~malloc31.offset := #Ultimate.alloc(~size); [L1619] ~retVal~0.base, ~retVal~0.offset := #t~malloc31.base, #t~malloc31.offset; VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, #t~malloc31.base=7, #t~malloc31.offset=0, old(~globalState~0)=0, ~globalState~0=0, ~retVal~0.base=7, ~retVal~0.offset=0, ~size=4] [L1620-L1621] assume ~retVal~0.base != 0 || ~retVal~0.offset != 0; [L1621] ~globalState~0 := 1; VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, #t~malloc31.base=7, #t~malloc31.offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0.base=7, ~retVal~0.offset=0, ~size=4] [L1622] #res.base, #res.offset := ~retVal~0.base, ~retVal~0.offset; VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, #res.base=7, #res.offset=0, #t~malloc31.base=7, #t~malloc31.offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0.base=7, ~retVal~0.offset=0, ~size=4] [L1607] ensures true; VAL [#in~size=4, #NULL.base=0, #NULL.offset=0, #res.base=7, #res.offset=0, #t~malloc31.base=7, #t~malloc31.offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0.base=7, ~retVal~0.offset=0, ~size=4] [L1612] RET call #t~ret30.base, #t~ret30.offset := l_malloc(4); VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, #t~ret30.base=7, #t~ret30.offset=0, old(~globalState~0)=0, ~argc=11, ~argv.base=9, ~argv.offset=6, ~globalState~0=1] [L1612] ~a~0.base, ~a~0.offset := #t~ret30.base, #t~ret30.offset; [L1612] havoc #t~ret30.base, #t~ret30.offset; VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~argc=11, ~argv.base=9, ~argv.offset=6, ~a~0.base=7, ~a~0.offset=0, ~globalState~0=1] [L1613] CALL call l_free(~a~0.base, ~a~0.offset); VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=1] [L1625-L1632] ~ptr.base, ~ptr.offset := #in~ptr.base, #in~ptr.offset; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr.base=7, ~ptr.offset=0] [L1629] assume ~ptr.base != 0 || ~ptr.offset != 0; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr.base=7, ~ptr.offset=0] [L1629] assume 1 == ~globalState~0; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr.base=7, ~ptr.offset=0] [L1630] ~globalState~0 := 0; [L1631] call ULTIMATE.dealloc(~ptr.base, ~ptr.offset); VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1608] ensures true; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=1, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1613] RET call l_free(~a~0.base, ~a~0.offset); VAL [#in~argc=11, #in~argv.base=9, #in~argv.offset=6, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~argc=11, ~argv.base=9, ~argv.offset=6, ~a~0.base=7, ~a~0.offset=0, ~globalState~0=0] [L1614] CALL call l_free(~a~0.base, ~a~0.offset); VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1625-L1632] ~ptr.base, ~ptr.offset := #in~ptr.base, #in~ptr.offset; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1629] assume ~ptr.base != 0 || ~ptr.offset != 0; VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1629] assume !(1 == ~globalState~0); VAL [#in~ptr.base=7, #in~ptr.offset=0, #NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr.base=7, ~ptr.offset=0] [L1629] CALL call __blast_assert(); VAL [#NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1601] assert false; VAL [#NULL.base=0, #NULL.offset=0, old(~globalState~0)=0, ~globalState~0=0] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=10, #NULL!offset=5, old(#NULL!base)=10, old(#NULL!offset)=5, old(~globalState~0)=8, ~globalState~0=8] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L1606] ~globalState~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=10, old(#NULL!offset)=5, old(~globalState~0)=8, ~globalState~0=0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~globalState~0=0] [?] CALL call #t~ret32 := main(#in~argc, #in~argv); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1610-L1616] ~argc := #in~argc; [L1610-L1616] ~argv := #in~argv; VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~globalState~0=0] [L1612] CALL call #t~ret30 := l_malloc(4); VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1618-L1623] ~size := #in~size; [L1619] FCALL call #t~malloc31 := #Ultimate.alloc(~size); [L1619] ~retVal~0 := #t~malloc31; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1620] COND TRUE ~retVal~0 != { base: 0, offset: 0 } [L1621] ~globalState~0 := 1; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1622] #res := ~retVal~0; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #res!base=7, #res!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1612] RET call #t~ret30 := l_malloc(4); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, #t~ret30!base=7, #t~ret30!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~globalState~0=1] [L1612] ~a~0 := #t~ret30; [L1612] havoc #t~ret30; VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~a~0!base=7, ~a~0!offset=0, ~globalState~0=1] [L1613] CALL call l_free(~a~0); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1] [L1625-L1632] ~ptr := #in~ptr; VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE ~ptr != { base: 0, offset: 0 } VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE 1 == ~globalState~0 VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1630] ~globalState~0 := 0; [L1631] FCALL call ULTIMATE.dealloc(~ptr); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1613] RET call l_free(~a~0); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~a~0!base=7, ~a~0!offset=0, ~globalState~0=0] [L1614] CALL call l_free(~a~0); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1625-L1632] ~ptr := #in~ptr; VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE ~ptr != { base: 0, offset: 0 } VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] COND FALSE !(1 == ~globalState~0) VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] CALL call __blast_assert(); VAL [#NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1601] assert false; VAL [#NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=10, #NULL!offset=5, old(#NULL!base)=10, old(#NULL!offset)=5, old(~globalState~0)=8, ~globalState~0=8] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L1606] ~globalState~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=10, old(#NULL!offset)=5, old(~globalState~0)=8, ~globalState~0=0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~globalState~0=0] [?] CALL call #t~ret32 := main(#in~argc, #in~argv); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1610-L1616] ~argc := #in~argc; [L1610-L1616] ~argv := #in~argv; VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~globalState~0=0] [L1612] CALL call #t~ret30 := l_malloc(4); VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1618-L1623] ~size := #in~size; [L1619] FCALL call #t~malloc31 := #Ultimate.alloc(~size); [L1619] ~retVal~0 := #t~malloc31; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1620] COND TRUE ~retVal~0 != { base: 0, offset: 0 } [L1621] ~globalState~0 := 1; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1622] #res := ~retVal~0; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #res!base=7, #res!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1612] RET call #t~ret30 := l_malloc(4); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, #t~ret30!base=7, #t~ret30!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~globalState~0=1] [L1612] ~a~0 := #t~ret30; [L1612] havoc #t~ret30; VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~a~0!base=7, ~a~0!offset=0, ~globalState~0=1] [L1613] CALL call l_free(~a~0); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1] [L1625-L1632] ~ptr := #in~ptr; VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE ~ptr != { base: 0, offset: 0 } VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE 1 == ~globalState~0 VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1630] ~globalState~0 := 0; [L1631] FCALL call ULTIMATE.dealloc(~ptr); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1613] RET call l_free(~a~0); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~a~0!base=7, ~a~0!offset=0, ~globalState~0=0] [L1614] CALL call l_free(~a~0); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1625-L1632] ~ptr := #in~ptr; VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE ~ptr != { base: 0, offset: 0 } VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] COND FALSE !(1 == ~globalState~0) VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] CALL call __blast_assert(); VAL [#NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1601] assert false; VAL [#NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=10, #NULL!offset=5, old(#NULL!base)=10, old(#NULL!offset)=5, old(~globalState~0)=8, ~globalState~0=8] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L1606] ~globalState~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=10, old(#NULL!offset)=5, old(~globalState~0)=8, ~globalState~0=0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~globalState~0=0] [?] CALL call #t~ret32 := main(#in~argc, #in~argv); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1610-L1616] ~argc := #in~argc; [L1610-L1616] ~argv := #in~argv; VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~globalState~0=0] [L1612] CALL call #t~ret30 := l_malloc(4); VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1618-L1623] ~size := #in~size; [L1619] FCALL call #t~malloc31 := #Ultimate.alloc(~size); [L1619] ~retVal~0 := #t~malloc31; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1620] COND TRUE ~retVal~0 != { base: 0, offset: 0 } [L1621] ~globalState~0 := 1; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1622] #res := ~retVal~0; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #res!base=7, #res!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1612] RET call #t~ret30 := l_malloc(4); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, #t~ret30!base=7, #t~ret30!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~globalState~0=1] [L1612] ~a~0 := #t~ret30; [L1612] havoc #t~ret30; VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~a~0!base=7, ~a~0!offset=0, ~globalState~0=1] [L1613] CALL call l_free(~a~0); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1] [L1625-L1632] ~ptr := #in~ptr; VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE ~ptr != { base: 0, offset: 0 } VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE 1 == ~globalState~0 VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1630] ~globalState~0 := 0; [L1631] FCALL call ULTIMATE.dealloc(~ptr); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1613] RET call l_free(~a~0); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~a~0!base=7, ~a~0!offset=0, ~globalState~0=0] [L1614] CALL call l_free(~a~0); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1625-L1632] ~ptr := #in~ptr; VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE ~ptr != { base: 0, offset: 0 } VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] COND FALSE !(1 == ~globalState~0) VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] CALL call __blast_assert(); VAL [#NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1601] assert false; VAL [#NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=10, #NULL!offset=5, old(#NULL!base)=10, old(#NULL!offset)=5, old(~globalState~0)=8, ~globalState~0=8] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L1606] ~globalState~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=10, old(#NULL!offset)=5, old(~globalState~0)=8, ~globalState~0=0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~globalState~0=0] [?] CALL call #t~ret32 := main(#in~argc, #in~argv); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1610-L1616] ~argc := #in~argc; [L1610-L1616] ~argv := #in~argv; VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~globalState~0=0] [L1612] CALL call #t~ret30 := l_malloc(4); VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1618-L1623] ~size := #in~size; [L1619] FCALL call #t~malloc31 := #Ultimate.alloc(~size); [L1619] ~retVal~0 := #t~malloc31; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1620] COND TRUE ~retVal~0 != { base: 0, offset: 0 } [L1621] ~globalState~0 := 1; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1622] #res := ~retVal~0; VAL [#in~size=4, #NULL!base=0, #NULL!offset=0, #res!base=7, #res!offset=0, #t~malloc31!base=7, #t~malloc31!offset=0, old(~globalState~0)=0, ~globalState~0=1, ~retVal~0!base=7, ~retVal~0!offset=0, ~size=4] [L1612] RET call #t~ret30 := l_malloc(4); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, #t~ret30!base=7, #t~ret30!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~globalState~0=1] [L1612] ~a~0 := #t~ret30; [L1612] havoc #t~ret30; VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~a~0!base=7, ~a~0!offset=0, ~globalState~0=1] [L1613] CALL call l_free(~a~0); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1] [L1625-L1632] ~ptr := #in~ptr; VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE ~ptr != { base: 0, offset: 0 } VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE 1 == ~globalState~0 VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=1, ~ptr!base=7, ~ptr!offset=0] [L1630] ~globalState~0 := 0; [L1631] FCALL call ULTIMATE.dealloc(~ptr); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=1, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1613] RET call l_free(~a~0); VAL [#in~argc=11, #in~argv!base=9, #in~argv!offset=6, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~argc=11, ~argv!base=9, ~argv!offset=6, ~a~0!base=7, ~a~0!offset=0, ~globalState~0=0] [L1614] CALL call l_free(~a~0); VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1625-L1632] ~ptr := #in~ptr; VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] COND TRUE ~ptr != { base: 0, offset: 0 } VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] COND FALSE !(1 == ~globalState~0) VAL [#in~ptr!base=7, #in~ptr!offset=0, #NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0, ~ptr!base=7, ~ptr!offset=0] [L1629] CALL call __blast_assert(); VAL [#NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1601] assert false; VAL [#NULL!base=0, #NULL!offset=0, old(~globalState~0)=0, ~globalState~0=0] [L1606] int globalState = 0; VAL [\old(globalState)=8, globalState=0] [L1612] CALL, EXPR l_malloc(sizeof(int)) VAL [\old(globalState)=0, \old(size)=4, globalState=0] [L1619] void *retVal = malloc(size); VAL [\old(globalState)=0, \old(size)=4, globalState=0, malloc(size)={7:0}, retVal={7:0}, size=4] [L1620] COND TRUE retVal != ((void *)0) [L1621] globalState=1 VAL [\old(globalState)=0, \old(size)=4, globalState=1, malloc(size)={7:0}, retVal={7:0}, size=4] [L1622] return retVal; VAL [\old(globalState)=0, \old(size)=4, \result={7:0}, globalState=1, malloc(size)={7:0}, retVal={7:0}, size=4] [L1612] RET, EXPR l_malloc(sizeof(int)) VAL [\old(argc)=11, \old(globalState)=0, argc=11, argv={9:6}, argv={9:6}, globalState=1, l_malloc(sizeof(int))={7:0}] [L1612] int *a = (int*) l_malloc(sizeof(int)); [L1613] CALL l_free(a) VAL [\old(globalState)=1, globalState=1, ptr={7:0}] [L1629] COND TRUE ptr!=((void *)0) VAL [\old(globalState)=1, globalState=1, ptr={7:0}, ptr={7:0}] [L1629] (globalState == 1) ? (0) : __blast_assert () VAL [\old(globalState)=1, globalState=1, ptr={7:0}, ptr={7:0}] [L1630] globalState = 0 [L1613] RET l_free(a) VAL [\old(argc)=11, \old(globalState)=0, a={7:0}, argc=11, argv={9:6}, argv={9:6}, globalState=0] [L1614] CALL l_free(a) VAL [\old(globalState)=0, globalState=0, ptr={7:0}] [L1629] COND TRUE ptr!=((void *)0) VAL [\old(globalState)=0, globalState=0, ptr={7:0}, ptr={7:0}] [L1629] (globalState == 1) ? (0) : __blast_assert () VAL [\old(globalState)=0, globalState=0, ptr={7:0}, ptr={7:0}] [L1629] CALL __blast_assert () VAL [\old(globalState)=0, globalState=0] [L1601] __VERIFIER_error() VAL [\old(globalState)=0, globalState=0] ----- [2018-11-23 08:35:23,540 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_d418ce12-018c-4bb3-a953-27a73f0a8bc6/bin-2019/utaipan/witness.graphml [2018-11-23 08:35:23,540 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 08:35:23,541 INFO L168 Benchmark]: Toolchain (without parser) took 1352.41 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 147.3 MB). Free memory was 951.1 MB in the beginning and 1.0 GB in the end (delta: -78.5 MB). Peak memory consumption was 68.8 MB. Max. memory is 11.5 GB. [2018-11-23 08:35:23,542 INFO L168 Benchmark]: CDTParser took 0.12 ms. Allocated memory is still 1.0 GB. Free memory is still 980.1 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 08:35:23,542 INFO L168 Benchmark]: CACSL2BoogieTranslator took 403.14 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 147.3 MB). Free memory was 951.1 MB in the beginning and 1.1 GB in the end (delta: -166.1 MB). Peak memory consumption was 41.5 MB. Max. memory is 11.5 GB. [2018-11-23 08:35:23,543 INFO L168 Benchmark]: Boogie Procedure Inliner took 28.28 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 08:35:23,543 INFO L168 Benchmark]: Boogie Preprocessor took 18.28 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 08:35:23,544 INFO L168 Benchmark]: RCFGBuilder took 228.64 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: 23.9 MB). Peak memory consumption was 23.9 MB. Max. memory is 11.5 GB. [2018-11-23 08:35:23,544 INFO L168 Benchmark]: TraceAbstraction took 609.19 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: 57.0 MB). Peak memory consumption was 57.0 MB. Max. memory is 11.5 GB. [2018-11-23 08:35:23,545 INFO L168 Benchmark]: Witness Printer took 61.88 ms. Allocated memory is still 1.2 GB. Free memory was 1.0 GB in the beginning and 1.0 GB in the end (delta: 3.4 MB). Peak memory consumption was 3.4 MB. Max. memory is 11.5 GB. [2018-11-23 08:35:23,548 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.12 ms. Allocated memory is still 1.0 GB. Free memory is still 980.1 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 403.14 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 147.3 MB). Free memory was 951.1 MB in the beginning and 1.1 GB in the end (delta: -166.1 MB). Peak memory consumption was 41.5 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 28.28 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. * Boogie Preprocessor took 18.28 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. * RCFGBuilder took 228.64 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: 23.9 MB). Peak memory consumption was 23.9 MB. Max. memory is 11.5 GB. * TraceAbstraction took 609.19 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: 57.0 MB). Peak memory consumption was 57.0 MB. Max. memory is 11.5 GB. * Witness Printer took 61.88 ms. Allocated memory is still 1.2 GB. Free memory was 1.0 GB in the beginning and 1.0 GB in the end (delta: 3.4 MB). Peak memory consumption was 3.4 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 1601]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L1606] int globalState = 0; VAL [\old(globalState)=8, globalState=0] [L1612] CALL, EXPR l_malloc(sizeof(int)) VAL [\old(globalState)=0, \old(size)=4, globalState=0] [L1619] void *retVal = malloc(size); VAL [\old(globalState)=0, \old(size)=4, globalState=0, malloc(size)={7:0}, retVal={7:0}, size=4] [L1620] COND TRUE retVal != ((void *)0) [L1621] globalState=1 VAL [\old(globalState)=0, \old(size)=4, globalState=1, malloc(size)={7:0}, retVal={7:0}, size=4] [L1622] return retVal; VAL [\old(globalState)=0, \old(size)=4, \result={7:0}, globalState=1, malloc(size)={7:0}, retVal={7:0}, size=4] [L1612] RET, EXPR l_malloc(sizeof(int)) VAL [\old(argc)=11, \old(globalState)=0, argc=11, argv={9:6}, argv={9:6}, globalState=1, l_malloc(sizeof(int))={7:0}] [L1612] int *a = (int*) l_malloc(sizeof(int)); [L1613] CALL l_free(a) VAL [\old(globalState)=1, globalState=1, ptr={7:0}] [L1629] COND TRUE ptr!=((void *)0) VAL [\old(globalState)=1, globalState=1, ptr={7:0}, ptr={7:0}] [L1629] (globalState == 1) ? (0) : __blast_assert () VAL [\old(globalState)=1, globalState=1, ptr={7:0}, ptr={7:0}] [L1630] globalState = 0 [L1613] RET l_free(a) VAL [\old(argc)=11, \old(globalState)=0, a={7:0}, argc=11, argv={9:6}, argv={9:6}, globalState=0] [L1614] CALL l_free(a) VAL [\old(globalState)=0, globalState=0, ptr={7:0}] [L1629] COND TRUE ptr!=((void *)0) VAL [\old(globalState)=0, globalState=0, ptr={7:0}, ptr={7:0}] [L1629] (globalState == 1) ? (0) : __blast_assert () VAL [\old(globalState)=0, globalState=0, ptr={7:0}, ptr={7:0}] [L1629] CALL __blast_assert () VAL [\old(globalState)=0, globalState=0] [L1601] __VERIFIER_error() VAL [\old(globalState)=0, globalState=0] - StatisticsResult: Ultimate Automizer benchmark data CFG has 6 procedures, 31 locations, 1 error locations. UNSAFE Result, 0.5s OverallTime, 4 OverallIterations, 2 TraceHistogramMax, 0.1s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 72 SDtfs, 15 SDslu, 143 SDs, 0 SdLazy, 51 SolverSat, 1 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 17 GetRequests, 6 SyntacticMatches, 1 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=32occurred in iteration=1, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 3 MinimizatonAttempts, 1 StatesRemovedByMinimization, 1 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 89 NumberOfCodeBlocks, 89 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 60 ConstructedInterpolants, 0 QuantifiedInterpolants, 2190 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 2/2 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...