./Ultimate.py --spec ../../sv-benchmarks/c/properties/unreach-call.prp --file ../../sv-benchmarks/c/ldv-regression/test08_false-unreach-call_true-termination.c --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_9d5f7111-5e82-4f5d-98e9-5a4993c7701e/bin-2019/uautomizer/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_9d5f7111-5e82-4f5d-98e9-5a4993c7701e/bin-2019/uautomizer/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_9d5f7111-5e82-4f5d-98e9-5a4993c7701e/bin-2019/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_9d5f7111-5e82-4f5d-98e9-5a4993c7701e/bin-2019/uautomizer/config/AutomizerReach.xml -i ../../sv-benchmarks/c/ldv-regression/test08_false-unreach-call_true-termination.c -s /tmp/vcloud-vcloud-master/worker/working_dir_9d5f7111-5e82-4f5d-98e9-5a4993c7701e/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_9d5f7111-5e82-4f5d-98e9-5a4993c7701e/bin-2019/uautomizer --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 Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 0ea43f38c40f327c4a0a1045134d36b3760cf289 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE --- Real Ultimate output --- This is Ultimate 0.1.23-aa41828 [2018-11-23 04:55:33,552 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 04:55:33,553 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 04:55:33,562 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 04:55:33,562 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 04:55:33,563 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 04:55:33,564 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 04:55:33,565 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 04:55:33,566 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 04:55:33,567 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 04:55:33,567 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 04:55:33,567 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 04:55:33,568 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 04:55:33,569 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 04:55:33,570 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 04:55:33,571 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 04:55:33,571 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 04:55:33,573 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 04:55:33,574 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 04:55:33,575 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 04:55:33,576 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 04:55:33,577 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 04:55:33,578 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 04:55:33,579 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 04:55:33,579 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 04:55:33,579 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 04:55:33,580 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 04:55:33,581 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 04:55:33,581 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 04:55:33,582 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 04:55:33,582 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 04:55:33,583 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 04:55:33,583 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 04:55:33,583 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 04:55:33,584 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 04:55:33,584 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 04:55:33,584 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_9d5f7111-5e82-4f5d-98e9-5a4993c7701e/bin-2019/uautomizer/config/svcomp-Reach-32bit-Automizer_Default.epf [2018-11-23 04:55:33,594 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 04:55:33,594 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 04:55:33,595 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 04:55:33,595 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 04:55:33,595 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 04:55:33,595 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 04:55:33,596 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 04:55:33,596 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 04:55:33,596 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 04:55:33,596 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-23 04:55:33,596 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 04:55:33,596 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 04:55:33,596 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-11-23 04:55:33,597 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 04:55:33,597 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-11-23 04:55:33,597 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 04:55:33,598 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-11-23 04:55:33,598 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 04:55:33,598 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-11-23 04:55:33,599 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 04:55:33,599 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 04:55:33,599 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 04:55:33,599 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 04:55:33,599 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 04:55:33,599 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 04:55:33,599 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 04:55:33,600 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-11-23 04:55:33,600 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-11-23 04:55:33,600 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 04:55:33,600 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-11-23 04:55:33,600 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud-vcloud-master/worker/working_dir_9d5f7111-5e82-4f5d-98e9-5a4993c7701e/bin-2019/uautomizer 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 -> Automizer 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 -> 0ea43f38c40f327c4a0a1045134d36b3760cf289 [2018-11-23 04:55:33,620 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 04:55:33,630 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 04:55:33,632 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 04:55:33,633 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 04:55:33,633 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 04:55:33,634 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_9d5f7111-5e82-4f5d-98e9-5a4993c7701e/bin-2019/uautomizer/../../sv-benchmarks/c/ldv-regression/test08_false-unreach-call_true-termination.c [2018-11-23 04:55:33,672 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_9d5f7111-5e82-4f5d-98e9-5a4993c7701e/bin-2019/uautomizer/data/14f68d6df/c83293aba1c044849adcf2c552c82b9d/FLAG35e394541 [2018-11-23 04:55:33,969 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 04:55:33,970 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_9d5f7111-5e82-4f5d-98e9-5a4993c7701e/sv-benchmarks/c/ldv-regression/test08_false-unreach-call_true-termination.c [2018-11-23 04:55:33,973 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_9d5f7111-5e82-4f5d-98e9-5a4993c7701e/bin-2019/uautomizer/data/14f68d6df/c83293aba1c044849adcf2c552c82b9d/FLAG35e394541 [2018-11-23 04:55:33,983 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_9d5f7111-5e82-4f5d-98e9-5a4993c7701e/bin-2019/uautomizer/data/14f68d6df/c83293aba1c044849adcf2c552c82b9d [2018-11-23 04:55:33,986 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 04:55:33,986 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2018-11-23 04:55:33,987 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 04:55:33,987 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 04:55:33,989 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 04:55:33,989 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 04:55:33" (1/1) ... [2018-11-23 04:55:33,991 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6370e18f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:55:33, skipping insertion in model container [2018-11-23 04:55:33,991 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 04:55:33" (1/1) ... [2018-11-23 04:55:33,997 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 04:55:34,007 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 04:55:34,110 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 04:55:34,117 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 04:55:34,126 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 04:55:34,136 INFO L195 MainTranslator]: Completed translation [2018-11-23 04:55:34,136 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:55:34 WrapperNode [2018-11-23 04:55:34,136 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 04:55:34,137 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2018-11-23 04:55:34,137 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2018-11-23 04:55:34,137 INFO L276 PluginConnector]: Boogie Procedure Inliner initialized [2018-11-23 04:55:34,142 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:55:34" (1/1) ... [2018-11-23 04:55:34,148 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:55:34" (1/1) ... [2018-11-23 04:55:34,152 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2018-11-23 04:55:34,153 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 04:55:34,153 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 04:55:34,153 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 04:55:34,159 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:55:34" (1/1) ... [2018-11-23 04:55:34,159 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:55:34" (1/1) ... [2018-11-23 04:55:34,160 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:55:34" (1/1) ... [2018-11-23 04:55:34,160 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:55:34" (1/1) ... [2018-11-23 04:55:34,163 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:55:34" (1/1) ... [2018-11-23 04:55:34,165 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:55:34" (1/1) ... [2018-11-23 04:55:34,166 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:55:34" (1/1) ... [2018-11-23 04:55:34,167 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 04:55:34,168 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 04:55:34,168 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 04:55:34,168 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 04:55:34,169 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:55:34" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_9d5f7111-5e82-4f5d-98e9-5a4993c7701e/bin-2019/uautomizer/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 04:55:34,249 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-23 04:55:34,249 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 04:55:34,249 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 04:55:34,250 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 04:55:34,250 INFO L130 BoogieDeclarations]: Found specification of procedure f [2018-11-23 04:55:34,250 INFO L138 BoogieDeclarations]: Found implementation of procedure f [2018-11-23 04:55:34,250 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 04:55:34,250 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 04:55:34,250 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-23 04:55:34,250 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 04:55:34,250 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 04:55:34,250 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2018-11-23 04:55:34,391 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 04:55:34,391 INFO L280 CfgBuilder]: Removed 0 assue(true) statements. [2018-11-23 04:55:34,391 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 04:55:34 BoogieIcfgContainer [2018-11-23 04:55:34,391 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 04:55:34,392 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 04:55:34,392 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 04:55:34,394 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 04:55:34,394 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 04:55:33" (1/3) ... [2018-11-23 04:55:34,395 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5a122d95 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 04:55:34, skipping insertion in model container [2018-11-23 04:55:34,395 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 04:55:34" (2/3) ... [2018-11-23 04:55:34,396 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5a122d95 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 04:55:34, skipping insertion in model container [2018-11-23 04:55:34,396 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 04:55:34" (3/3) ... [2018-11-23 04:55:34,397 INFO L112 eAbstractionObserver]: Analyzing ICFG test08_false-unreach-call_true-termination.c [2018-11-23 04:55:34,406 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 04:55:34,412 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2018-11-23 04:55:34,425 INFO L257 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2018-11-23 04:55:34,450 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 04:55:34,451 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 04:55:34,451 INFO L383 AbstractCegarLoop]: Hoare is true [2018-11-23 04:55:34,451 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 04:55:34,451 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 04:55:34,452 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 04:55:34,452 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 04:55:34,452 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 04:55:34,452 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 04:55:34,465 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states. [2018-11-23 04:55:34,470 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2018-11-23 04:55:34,470 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 04:55:34,471 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 04:55:34,472 INFO L423 AbstractCegarLoop]: === Iteration 1 === [mainErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2018-11-23 04:55:34,475 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 04:55:34,475 INFO L82 PathProgramCache]: Analyzing trace with hash 1889415219, now seen corresponding path program 1 times [2018-11-23 04:55:34,477 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 04:55:34,477 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 04:55:34,517 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 04:55:34,518 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 04:55:34,518 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 04:55:34,574 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 04:55:34,594 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 04:55:34,611 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=14, |#NULL.offset|=8, |old(#NULL.base)|=14, |old(#NULL.offset)|=8, |old(~#a~0.base)|=11, |old(~#a~0.offset)|=5, |old(~#b~0.base)|=15, |old(~#b~0.offset)|=9, |old(~p1~0.base)|=10, |old(~p1~0.offset)|=16, |old(~p2~0.base)|=13, |old(~p2~0.offset)|=6, |~#a~0.base|=11, |~#a~0.offset|=5, |~#b~0.base|=15, |~#b~0.offset|=9, ~p1~0.base=10, ~p1~0.offset=16, ~p2~0.base=13, ~p2~0.offset=6] [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(4);call write~init~int(0, ~#a~0.base, ~#a~0.offset, 4);call ~#b~0.base, ~#b~0.offset := #Ultimate.alloc(4);call write~init~int(0, ~#b~0.base, ~#b~0.offset, 4);~p1~0.base, ~p1~0.offset := 0, 0;~p2~0.base, ~p2~0.offset := 0, 0; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=14, |old(#NULL.offset)|=8, |old(~#a~0.base)|=11, |old(~#a~0.offset)|=5, |old(~#b~0.base)|=15, |old(~#b~0.offset)|=9, |old(~p1~0.base)|=10, |old(~p1~0.offset)|=16, |old(~p2~0.base)|=13, |old(~p2~0.offset)|=6, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] assume true; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=14, |old(#NULL.offset)|=8, |old(~#a~0.base)|=11, |old(~#a~0.offset)|=5, |old(~#b~0.base)|=15, |old(~#b~0.offset)|=9, |old(~p1~0.base)|=10, |old(~p1~0.offset)|=16, |old(~p2~0.base)|=13, |old(~p2~0.offset)|=6, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] RET #23#return; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] CALL call #t~ret7 := main(); VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(~p1~0.base)|=0, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] ~p1~0.base, ~p1~0.offset := ~#a~0.base, ~#a~0.offset;~p2~0.base, ~p2~0.offset := ~#b~0.base, ~#b~0.offset;call write~int(1, ~#b~0.base, ~#b~0.offset, 4);call write~int(5, ~#a~0.base, ~#a~0.offset, 4);call #t~mem3 := read~int(~#a~0.base, ~#a~0.offset, 4);#t~post4 := #t~mem3;call write~int(#t~post4 - 1, ~#a~0.base, ~#a~0.offset, 4);havoc #t~mem3;havoc #t~post4; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(~p1~0.base)|=0, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=12, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] CALL call #t~ret5 := f(); VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(~p1~0.base)|=12, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=12, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] call #t~mem0 := read~int(~p1~0.base, ~p1~0.offset, 4);call #t~mem1 := read~int(~p2~0.base, ~p2~0.offset, 4);call #t~mem2 := read~int(~#a~0.base, ~#a~0.offset, 4);~v~0 := #t~mem0 + #t~mem1 - #t~mem2;havoc #t~mem1;havoc #t~mem2;havoc #t~mem0; VAL [f_~v~0=1, |#NULL.base|=0, |#NULL.offset|=0, |old(~p1~0.base)|=12, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=12, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] assume 1 == ~v~0;~p1~0.base, ~p1~0.offset := ~p2~0.base, ~p2~0.offset;#res := ~v~0; VAL [f_~v~0=1, |#NULL.base|=0, |#NULL.offset|=0, |f_#res|=1, |old(~p1~0.base)|=12, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] assume true; VAL [f_~v~0=1, |#NULL.base|=0, |#NULL.offset|=0, |f_#res|=1, |old(~p1~0.base)|=12, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] RET #27#return; VAL [|#NULL.base|=0, |#NULL.offset|=0, |main_#t~ret5|=1, |old(~p1~0.base)|=0, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647;call write~int(#t~ret5, ~#a~0.base, ~#a~0.offset, 4);havoc #t~ret5;call #t~mem6 := read~int(~#a~0.base, ~#a~0.offset, 4); VAL [|#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem6|=1, |old(~p1~0.base)|=0, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] assume 0 != #t~mem6 && ~p1~0.base == ~p2~0.base && ~p1~0.offset == ~p2~0.offset;havoc #t~mem6; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(~p1~0.base)|=0, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] assume !false; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(~p1~0.base)|=0, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=14, #NULL.offset=8, old(#NULL.base)=14, old(#NULL.offset)=8, old(~#a~0.base)=11, old(~#a~0.offset)=5, old(~#b~0.base)=15, old(~#b~0.offset)=9, old(~p1~0.base)=10, old(~p1~0.offset)=16, old(~p2~0.base)=13, old(~p2~0.offset)=6, ~#a~0.base=11, ~#a~0.offset=5, ~#b~0.base=15, ~#b~0.offset=9, ~p1~0.base=10, ~p1~0.offset=16, ~p2~0.base=13, ~p2~0.offset=6] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [L4] call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(4); [L4] call write~init~int(0, ~#a~0.base, ~#a~0.offset, 4); [L4] call ~#b~0.base, ~#b~0.offset := #Ultimate.alloc(4); [L4] call write~init~int(0, ~#b~0.base, ~#b~0.offset, 4); [L5] ~p1~0.base, ~p1~0.offset := 0, 0; [L5] ~p2~0.base, ~p2~0.offset := 0, 0; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=14, old(#NULL.offset)=8, old(~#a~0.base)=11, old(~#a~0.offset)=5, old(~#b~0.base)=15, old(~#b~0.offset)=9, old(~p1~0.base)=10, old(~p1~0.offset)=16, old(~p2~0.base)=13, old(~p2~0.offset)=6, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=14, old(#NULL.offset)=8, old(~#a~0.base)=11, old(~#a~0.offset)=5, old(~#b~0.base)=15, old(~#b~0.offset)=9, old(~p1~0.base)=10, old(~p1~0.offset)=16, old(~p2~0.base)=13, old(~p2~0.offset)=6, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [L19] ~p1~0.base, ~p1~0.offset := ~#a~0.base, ~#a~0.offset; [L20] ~p2~0.base, ~p2~0.offset := ~#b~0.base, ~#b~0.offset; [L22] call write~int(1, ~#b~0.base, ~#b~0.offset, 4); [L23] call write~int(5, ~#a~0.base, ~#a~0.offset, 4); [L25] call #t~mem3 := read~int(~#a~0.base, ~#a~0.offset, 4); [L25] #t~post4 := #t~mem3; [L25] call write~int(#t~post4 - 1, ~#a~0.base, ~#a~0.offset, 4); [L25] havoc #t~mem3; [L25] havoc #t~post4; VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=12, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L27] CALL call #t~ret5 := f(); VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=12, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=12, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L8] call #t~mem0 := read~int(~p1~0.base, ~p1~0.offset, 4); [L8] call #t~mem1 := read~int(~p2~0.base, ~p2~0.offset, 4); [L8] call #t~mem2 := read~int(~#a~0.base, ~#a~0.offset, 4); [L8] ~v~0 := #t~mem0 + #t~mem1 - #t~mem2; [L8] havoc #t~mem1; [L8] havoc #t~mem2; [L8] havoc #t~mem0; VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=12, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=12, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0, ~v~0=1] [L9-L14] assume 1 == ~v~0; [L10] ~p1~0.base, ~p1~0.offset := ~p2~0.base, ~p2~0.offset; [L11] #res := ~v~0; VAL [#NULL.base=0, #NULL.offset=0, #res=1, old(~p1~0.base)=12, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0, ~v~0=1] [L7-L15] ensures true; VAL [#NULL.base=0, #NULL.offset=0, #res=1, old(~p1~0.base)=12, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0, ~v~0=1] [L27] RET call #t~ret5 := f(); VAL [#NULL.base=0, #NULL.offset=0, #t~ret5=1, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L27] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L27] call write~int(#t~ret5, ~#a~0.base, ~#a~0.offset, 4); [L27] havoc #t~ret5; [L29] call #t~mem6 := read~int(~#a~0.base, ~#a~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~mem6=1, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L29-L32] assume 0 != #t~mem6 && ~p1~0.base == ~p2~0.base && ~p1~0.offset == ~p2~0.offset; [L29] havoc #t~mem6; VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L36] assert false; VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=14, #NULL.offset=8, old(#NULL.base)=14, old(#NULL.offset)=8, old(~#a~0.base)=11, old(~#a~0.offset)=5, old(~#b~0.base)=15, old(~#b~0.offset)=9, old(~p1~0.base)=10, old(~p1~0.offset)=16, old(~p2~0.base)=13, old(~p2~0.offset)=6, ~#a~0.base=11, ~#a~0.offset=5, ~#b~0.base=15, ~#b~0.offset=9, ~p1~0.base=10, ~p1~0.offset=16, ~p2~0.base=13, ~p2~0.offset=6] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [L4] call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(4); [L4] call write~init~int(0, ~#a~0.base, ~#a~0.offset, 4); [L4] call ~#b~0.base, ~#b~0.offset := #Ultimate.alloc(4); [L4] call write~init~int(0, ~#b~0.base, ~#b~0.offset, 4); [L5] ~p1~0.base, ~p1~0.offset := 0, 0; [L5] ~p2~0.base, ~p2~0.offset := 0, 0; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=14, old(#NULL.offset)=8, old(~#a~0.base)=11, old(~#a~0.offset)=5, old(~#b~0.base)=15, old(~#b~0.offset)=9, old(~p1~0.base)=10, old(~p1~0.offset)=16, old(~p2~0.base)=13, old(~p2~0.offset)=6, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=14, old(#NULL.offset)=8, old(~#a~0.base)=11, old(~#a~0.offset)=5, old(~#b~0.base)=15, old(~#b~0.offset)=9, old(~p1~0.base)=10, old(~p1~0.offset)=16, old(~p2~0.base)=13, old(~p2~0.offset)=6, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [L19] ~p1~0.base, ~p1~0.offset := ~#a~0.base, ~#a~0.offset; [L20] ~p2~0.base, ~p2~0.offset := ~#b~0.base, ~#b~0.offset; [L22] call write~int(1, ~#b~0.base, ~#b~0.offset, 4); [L23] call write~int(5, ~#a~0.base, ~#a~0.offset, 4); [L25] call #t~mem3 := read~int(~#a~0.base, ~#a~0.offset, 4); [L25] #t~post4 := #t~mem3; [L25] call write~int(#t~post4 - 1, ~#a~0.base, ~#a~0.offset, 4); [L25] havoc #t~mem3; [L25] havoc #t~post4; VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=12, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L27] CALL call #t~ret5 := f(); VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=12, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=12, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L8] call #t~mem0 := read~int(~p1~0.base, ~p1~0.offset, 4); [L8] call #t~mem1 := read~int(~p2~0.base, ~p2~0.offset, 4); [L8] call #t~mem2 := read~int(~#a~0.base, ~#a~0.offset, 4); [L8] ~v~0 := #t~mem0 + #t~mem1 - #t~mem2; [L8] havoc #t~mem1; [L8] havoc #t~mem2; [L8] havoc #t~mem0; VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=12, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=12, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0, ~v~0=1] [L9-L14] assume 1 == ~v~0; [L10] ~p1~0.base, ~p1~0.offset := ~p2~0.base, ~p2~0.offset; [L11] #res := ~v~0; VAL [#NULL.base=0, #NULL.offset=0, #res=1, old(~p1~0.base)=12, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0, ~v~0=1] [L7-L15] ensures true; VAL [#NULL.base=0, #NULL.offset=0, #res=1, old(~p1~0.base)=12, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0, ~v~0=1] [L27] RET call #t~ret5 := f(); VAL [#NULL.base=0, #NULL.offset=0, #t~ret5=1, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L27] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L27] call write~int(#t~ret5, ~#a~0.base, ~#a~0.offset, 4); [L27] havoc #t~ret5; [L29] call #t~mem6 := read~int(~#a~0.base, ~#a~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~mem6=1, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L29-L32] assume 0 != #t~mem6 && ~p1~0.base == ~p2~0.base && ~p1~0.offset == ~p2~0.offset; [L29] havoc #t~mem6; VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L36] assert false; VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=14, #NULL!offset=8, old(#NULL!base)=14, old(#NULL!offset)=8, old(~#a~0!base)=11, old(~#a~0!offset)=5, old(~#b~0!base)=15, old(~#b~0!offset)=9, old(~p1~0!base)=10, old(~p1~0!offset)=16, old(~p2~0!base)=13, old(~p2~0!offset)=6, ~#a~0!base=11, ~#a~0!offset=5, ~#b~0!base=15, ~#b~0!offset=9, ~p1~0!base=10, ~p1~0!offset=16, ~p2~0!base=13, ~p2~0!offset=6] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L4] FCALL call ~#a~0 := #Ultimate.alloc(4); [L4] FCALL call write~init~int(0, ~#a~0, 4); [L4] FCALL call ~#b~0 := #Ultimate.alloc(4); [L4] FCALL call write~init~int(0, ~#b~0, 4); [L5] ~p1~0 := { base: 0, offset: 0 }; [L5] ~p2~0 := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=14, old(#NULL!offset)=8, old(~#a~0!base)=11, old(~#a~0!offset)=5, old(~#b~0!base)=15, old(~#b~0!offset)=9, old(~p1~0!base)=10, old(~p1~0!offset)=16, old(~p2~0!base)=13, old(~p2~0!offset)=6, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [L19] ~p1~0 := ~#a~0; [L20] ~p2~0 := ~#b~0; [L22] FCALL call write~int(1, ~#b~0, 4); [L23] FCALL call write~int(5, ~#a~0, 4); [L25] FCALL call #t~mem3 := read~int(~#a~0, 4); [L25] #t~post4 := #t~mem3; [L25] FCALL call write~int(#t~post4 - 1, ~#a~0, 4); [L25] havoc #t~mem3; [L25] havoc #t~post4; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L27] CALL call #t~ret5 := f(); VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L8] FCALL call #t~mem0 := read~int(~p1~0, 4); [L8] FCALL call #t~mem1 := read~int(~p2~0, 4); [L8] FCALL call #t~mem2 := read~int(~#a~0, 4); [L8] ~v~0 := #t~mem0 + #t~mem1 - #t~mem2; [L8] havoc #t~mem1; [L8] havoc #t~mem2; [L8] havoc #t~mem0; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0, ~v~0=1] [L9] COND TRUE 1 == ~v~0 [L10] ~p1~0 := ~p2~0; [L11] #res := ~v~0; VAL [#NULL!base=0, #NULL!offset=0, #res=1, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0, ~v~0=1] [L27] RET call #t~ret5 := f(); VAL [#NULL!base=0, #NULL!offset=0, #t~ret5=1, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L27] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L27] FCALL call write~int(#t~ret5, ~#a~0, 4); [L27] havoc #t~ret5; [L29] FCALL call #t~mem6 := read~int(~#a~0, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem6=1, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L29] COND TRUE 0 != #t~mem6 && ~p1~0 == ~p2~0 [L29] havoc #t~mem6; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L36] assert false; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=14, #NULL!offset=8, old(#NULL!base)=14, old(#NULL!offset)=8, old(~#a~0!base)=11, old(~#a~0!offset)=5, old(~#b~0!base)=15, old(~#b~0!offset)=9, old(~p1~0!base)=10, old(~p1~0!offset)=16, old(~p2~0!base)=13, old(~p2~0!offset)=6, ~#a~0!base=11, ~#a~0!offset=5, ~#b~0!base=15, ~#b~0!offset=9, ~p1~0!base=10, ~p1~0!offset=16, ~p2~0!base=13, ~p2~0!offset=6] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L4] FCALL call ~#a~0 := #Ultimate.alloc(4); [L4] FCALL call write~init~int(0, ~#a~0, 4); [L4] FCALL call ~#b~0 := #Ultimate.alloc(4); [L4] FCALL call write~init~int(0, ~#b~0, 4); [L5] ~p1~0 := { base: 0, offset: 0 }; [L5] ~p2~0 := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=14, old(#NULL!offset)=8, old(~#a~0!base)=11, old(~#a~0!offset)=5, old(~#b~0!base)=15, old(~#b~0!offset)=9, old(~p1~0!base)=10, old(~p1~0!offset)=16, old(~p2~0!base)=13, old(~p2~0!offset)=6, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [L19] ~p1~0 := ~#a~0; [L20] ~p2~0 := ~#b~0; [L22] FCALL call write~int(1, ~#b~0, 4); [L23] FCALL call write~int(5, ~#a~0, 4); [L25] FCALL call #t~mem3 := read~int(~#a~0, 4); [L25] #t~post4 := #t~mem3; [L25] FCALL call write~int(#t~post4 - 1, ~#a~0, 4); [L25] havoc #t~mem3; [L25] havoc #t~post4; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L27] CALL call #t~ret5 := f(); VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L8] FCALL call #t~mem0 := read~int(~p1~0, 4); [L8] FCALL call #t~mem1 := read~int(~p2~0, 4); [L8] FCALL call #t~mem2 := read~int(~#a~0, 4); [L8] ~v~0 := #t~mem0 + #t~mem1 - #t~mem2; [L8] havoc #t~mem1; [L8] havoc #t~mem2; [L8] havoc #t~mem0; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0, ~v~0=1] [L9] COND TRUE 1 == ~v~0 [L10] ~p1~0 := ~p2~0; [L11] #res := ~v~0; VAL [#NULL!base=0, #NULL!offset=0, #res=1, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0, ~v~0=1] [L27] RET call #t~ret5 := f(); VAL [#NULL!base=0, #NULL!offset=0, #t~ret5=1, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L27] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L27] FCALL call write~int(#t~ret5, ~#a~0, 4); [L27] havoc #t~ret5; [L29] FCALL call #t~mem6 := read~int(~#a~0, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem6=1, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L29] COND TRUE 0 != #t~mem6 && ~p1~0 == ~p2~0 [L29] havoc #t~mem6; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L36] assert false; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=14, #NULL!offset=8, old(#NULL!base)=14, old(#NULL!offset)=8, old(~#a~0!base)=11, old(~#a~0!offset)=5, old(~#b~0!base)=15, old(~#b~0!offset)=9, old(~p1~0!base)=10, old(~p1~0!offset)=16, old(~p2~0!base)=13, old(~p2~0!offset)=6, ~#a~0!base=11, ~#a~0!offset=5, ~#b~0!base=15, ~#b~0!offset=9, ~p1~0!base=10, ~p1~0!offset=16, ~p2~0!base=13, ~p2~0!offset=6] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L4] FCALL call ~#a~0 := #Ultimate.alloc(4); [L4] FCALL call write~init~int(0, ~#a~0, 4); [L4] FCALL call ~#b~0 := #Ultimate.alloc(4); [L4] FCALL call write~init~int(0, ~#b~0, 4); [L5] ~p1~0 := { base: 0, offset: 0 }; [L5] ~p2~0 := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=14, old(#NULL!offset)=8, old(~#a~0!base)=11, old(~#a~0!offset)=5, old(~#b~0!base)=15, old(~#b~0!offset)=9, old(~p1~0!base)=10, old(~p1~0!offset)=16, old(~p2~0!base)=13, old(~p2~0!offset)=6, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [L19] ~p1~0 := ~#a~0; [L20] ~p2~0 := ~#b~0; [L22] FCALL call write~int(1, ~#b~0, 4); [L23] FCALL call write~int(5, ~#a~0, 4); [L25] FCALL call #t~mem3 := read~int(~#a~0, 4); [L25] #t~post4 := #t~mem3; [L25] FCALL call write~int(#t~post4 - 1, ~#a~0, 4); [L25] havoc #t~mem3; [L25] havoc #t~post4; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L27] CALL call #t~ret5 := f(); VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L8] FCALL call #t~mem0 := read~int(~p1~0, 4); [L8] FCALL call #t~mem1 := read~int(~p2~0, 4); [L8] FCALL call #t~mem2 := read~int(~#a~0, 4); [L8] ~v~0 := #t~mem0 + #t~mem1 - #t~mem2; [L8] havoc #t~mem1; [L8] havoc #t~mem2; [L8] havoc #t~mem0; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0, ~v~0=1] [L9] COND TRUE 1 == ~v~0 [L10] ~p1~0 := ~p2~0; [L11] #res := ~v~0; VAL [#NULL!base=0, #NULL!offset=0, #res=1, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0, ~v~0=1] [L27] RET call #t~ret5 := f(); VAL [#NULL!base=0, #NULL!offset=0, #t~ret5=1, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L27] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L27] FCALL call write~int(#t~ret5, ~#a~0, 4); [L27] havoc #t~ret5; [L29] FCALL call #t~mem6 := read~int(~#a~0, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem6=1, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L29] COND TRUE 0 != #t~mem6 && ~p1~0 == ~p2~0 [L29] havoc #t~mem6; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L36] assert false; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=14, #NULL!offset=8, old(#NULL!base)=14, old(#NULL!offset)=8, old(~#a~0!base)=11, old(~#a~0!offset)=5, old(~#b~0!base)=15, old(~#b~0!offset)=9, old(~p1~0!base)=10, old(~p1~0!offset)=16, old(~p2~0!base)=13, old(~p2~0!offset)=6, ~#a~0!base=11, ~#a~0!offset=5, ~#b~0!base=15, ~#b~0!offset=9, ~p1~0!base=10, ~p1~0!offset=16, ~p2~0!base=13, ~p2~0!offset=6] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L4] FCALL call ~#a~0 := #Ultimate.alloc(4); [L4] FCALL call write~init~int(0, ~#a~0, 4); [L4] FCALL call ~#b~0 := #Ultimate.alloc(4); [L4] FCALL call write~init~int(0, ~#b~0, 4); [L5] ~p1~0 := { base: 0, offset: 0 }; [L5] ~p2~0 := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=14, old(#NULL!offset)=8, old(~#a~0!base)=11, old(~#a~0!offset)=5, old(~#b~0!base)=15, old(~#b~0!offset)=9, old(~p1~0!base)=10, old(~p1~0!offset)=16, old(~p2~0!base)=13, old(~p2~0!offset)=6, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [L19] ~p1~0 := ~#a~0; [L20] ~p2~0 := ~#b~0; [L22] FCALL call write~int(1, ~#b~0, 4); [L23] FCALL call write~int(5, ~#a~0, 4); [L25] FCALL call #t~mem3 := read~int(~#a~0, 4); [L25] #t~post4 := #t~mem3; [L25] FCALL call write~int(#t~post4 - 1, ~#a~0, 4); [L25] havoc #t~mem3; [L25] havoc #t~post4; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L27] CALL call #t~ret5 := f(); VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L8] FCALL call #t~mem0 := read~int(~p1~0, 4); [L8] FCALL call #t~mem1 := read~int(~p2~0, 4); [L8] FCALL call #t~mem2 := read~int(~#a~0, 4); [L8] ~v~0 := #t~mem0 + #t~mem1 - #t~mem2; [L8] havoc #t~mem1; [L8] havoc #t~mem2; [L8] havoc #t~mem0; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0, ~v~0=1] [L9] COND TRUE 1 == ~v~0 [L10] ~p1~0 := ~p2~0; [L11] #res := ~v~0; VAL [#NULL!base=0, #NULL!offset=0, #res=1, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0, ~v~0=1] [L27] RET call #t~ret5 := f(); VAL [#NULL!base=0, #NULL!offset=0, #t~ret5=1, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L27] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L27] FCALL call write~int(#t~ret5, ~#a~0, 4); [L27] havoc #t~ret5; [L29] FCALL call #t~mem6 := read~int(~#a~0, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem6=1, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L29] COND TRUE 0 != #t~mem6 && ~p1~0 == ~p2~0 [L29] havoc #t~mem6; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L36] assert false; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L4] int a, b; [L5] int *p1, *p2; VAL [\old(a)=5, \old(a)=11, \old(b)=9, \old(b)=15, \old(p1)=16, \old(p1)=10, \old(p2)=13, \old(p2)=6, a={12:0}, b={7:0}, p1={0:0}, p2={0:0}] [L19] p1 = &a [L20] p2 = &b [L22] b = 1 [L23] a = 5 [L25] EXPR \read(a) [L25] a-- [L27] CALL, EXPR f() VAL [\old(p1)=0, \old(p1)=12, \old(p2)=0, \old(p2)=0, a={12:0}, b={7:0}, p1={12:0}, p2={7:0}] [L8] EXPR \read(*p1) [L8] EXPR \read(*p2) [L8] EXPR \read(a) [L8] int v = *p1 + *p2 - a; [L9] COND TRUE v == 1 [L10] p1 = p2 [L11] return v; VAL [\old(p1)=0, \old(p1)=12, \old(p2)=0, \old(p2)=0, \result=1, a={12:0}, b={7:0}, p1={7:0}, p2={7:0}, v=1] [L27] RET, EXPR f() VAL [\old(p1)=0, \old(p1)=0, \old(p2)=0, \old(p2)=0, a={12:0}, b={7:0}, f()=1, p1={7:0}, p2={7:0}] [L27] a = f() [L29] EXPR \read(a) VAL [\old(p1)=0, \old(p1)=0, \old(p2)=0, \old(p2)=0, \read(a)=1, a={12:0}, b={7:0}, p1={7:0}, p2={7:0}] [L29] COND TRUE a && p1 == p2 [L36] __VERIFIER_error() VAL [\old(p1)=0, \old(p1)=0, \old(p2)=0, \old(p2)=0, a={12:0}, b={7:0}, p1={7:0}, p2={7:0}] ----- [2018-11-23 04:55:34,660 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 04:55:34 BoogieIcfgContainer [2018-11-23 04:55:34,660 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 04:55:34,660 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 04:55:34,660 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 04:55:34,660 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 04:55:34,661 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 04:55:34" (3/4) ... [2018-11-23 04:55:34,663 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|=14, |#NULL.offset|=8, |old(#NULL.base)|=14, |old(#NULL.offset)|=8, |old(~#a~0.base)|=11, |old(~#a~0.offset)|=5, |old(~#b~0.base)|=15, |old(~#b~0.offset)|=9, |old(~p1~0.base)|=10, |old(~p1~0.offset)|=16, |old(~p2~0.base)|=13, |old(~p2~0.offset)|=6, |~#a~0.base|=11, |~#a~0.offset|=5, |~#b~0.base|=15, |~#b~0.offset|=9, ~p1~0.base=10, ~p1~0.offset=16, ~p2~0.base=13, ~p2~0.offset=6] [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(4);call write~init~int(0, ~#a~0.base, ~#a~0.offset, 4);call ~#b~0.base, ~#b~0.offset := #Ultimate.alloc(4);call write~init~int(0, ~#b~0.base, ~#b~0.offset, 4);~p1~0.base, ~p1~0.offset := 0, 0;~p2~0.base, ~p2~0.offset := 0, 0; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=14, |old(#NULL.offset)|=8, |old(~#a~0.base)|=11, |old(~#a~0.offset)|=5, |old(~#b~0.base)|=15, |old(~#b~0.offset)|=9, |old(~p1~0.base)|=10, |old(~p1~0.offset)|=16, |old(~p2~0.base)|=13, |old(~p2~0.offset)|=6, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] assume true; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=14, |old(#NULL.offset)|=8, |old(~#a~0.base)|=11, |old(~#a~0.offset)|=5, |old(~#b~0.base)|=15, |old(~#b~0.offset)|=9, |old(~p1~0.base)|=10, |old(~p1~0.offset)|=16, |old(~p2~0.base)|=13, |old(~p2~0.offset)|=6, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] RET #23#return; VAL [|#NULL.base|=0, |#NULL.offset|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] CALL call #t~ret7 := main(); VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(~p1~0.base)|=0, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] ~p1~0.base, ~p1~0.offset := ~#a~0.base, ~#a~0.offset;~p2~0.base, ~p2~0.offset := ~#b~0.base, ~#b~0.offset;call write~int(1, ~#b~0.base, ~#b~0.offset, 4);call write~int(5, ~#a~0.base, ~#a~0.offset, 4);call #t~mem3 := read~int(~#a~0.base, ~#a~0.offset, 4);#t~post4 := #t~mem3;call write~int(#t~post4 - 1, ~#a~0.base, ~#a~0.offset, 4);havoc #t~mem3;havoc #t~post4; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(~p1~0.base)|=0, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=12, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] CALL call #t~ret5 := f(); VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(~p1~0.base)|=12, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=12, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] call #t~mem0 := read~int(~p1~0.base, ~p1~0.offset, 4);call #t~mem1 := read~int(~p2~0.base, ~p2~0.offset, 4);call #t~mem2 := read~int(~#a~0.base, ~#a~0.offset, 4);~v~0 := #t~mem0 + #t~mem1 - #t~mem2;havoc #t~mem1;havoc #t~mem2;havoc #t~mem0; VAL [f_~v~0=1, |#NULL.base|=0, |#NULL.offset|=0, |old(~p1~0.base)|=12, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=12, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] assume 1 == ~v~0;~p1~0.base, ~p1~0.offset := ~p2~0.base, ~p2~0.offset;#res := ~v~0; VAL [f_~v~0=1, |#NULL.base|=0, |#NULL.offset|=0, |f_#res|=1, |old(~p1~0.base)|=12, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] assume true; VAL [f_~v~0=1, |#NULL.base|=0, |#NULL.offset|=0, |f_#res|=1, |old(~p1~0.base)|=12, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] RET #27#return; VAL [|#NULL.base|=0, |#NULL.offset|=0, |main_#t~ret5|=1, |old(~p1~0.base)|=0, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647;call write~int(#t~ret5, ~#a~0.base, ~#a~0.offset, 4);havoc #t~ret5;call #t~mem6 := read~int(~#a~0.base, ~#a~0.offset, 4); VAL [|#NULL.base|=0, |#NULL.offset|=0, |main_#t~mem6|=1, |old(~p1~0.base)|=0, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] assume 0 != #t~mem6 && ~p1~0.base == ~p2~0.base && ~p1~0.offset == ~p2~0.offset;havoc #t~mem6; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(~p1~0.base)|=0, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] assume !false; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(~p1~0.base)|=0, |old(~p1~0.offset)|=0, |old(~p2~0.base)|=0, |old(~p2~0.offset)|=0, |~#a~0.base|=12, |~#a~0.offset|=0, |~#b~0.base|=7, |~#b~0.offset|=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=14, #NULL.offset=8, old(#NULL.base)=14, old(#NULL.offset)=8, old(~#a~0.base)=11, old(~#a~0.offset)=5, old(~#b~0.base)=15, old(~#b~0.offset)=9, old(~p1~0.base)=10, old(~p1~0.offset)=16, old(~p2~0.base)=13, old(~p2~0.offset)=6, ~#a~0.base=11, ~#a~0.offset=5, ~#b~0.base=15, ~#b~0.offset=9, ~p1~0.base=10, ~p1~0.offset=16, ~p2~0.base=13, ~p2~0.offset=6] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [L4] call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(4); [L4] call write~init~int(0, ~#a~0.base, ~#a~0.offset, 4); [L4] call ~#b~0.base, ~#b~0.offset := #Ultimate.alloc(4); [L4] call write~init~int(0, ~#b~0.base, ~#b~0.offset, 4); [L5] ~p1~0.base, ~p1~0.offset := 0, 0; [L5] ~p2~0.base, ~p2~0.offset := 0, 0; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=14, old(#NULL.offset)=8, old(~#a~0.base)=11, old(~#a~0.offset)=5, old(~#b~0.base)=15, old(~#b~0.offset)=9, old(~p1~0.base)=10, old(~p1~0.offset)=16, old(~p2~0.base)=13, old(~p2~0.offset)=6, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=14, old(#NULL.offset)=8, old(~#a~0.base)=11, old(~#a~0.offset)=5, old(~#b~0.base)=15, old(~#b~0.offset)=9, old(~p1~0.base)=10, old(~p1~0.offset)=16, old(~p2~0.base)=13, old(~p2~0.offset)=6, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [L19] ~p1~0.base, ~p1~0.offset := ~#a~0.base, ~#a~0.offset; [L20] ~p2~0.base, ~p2~0.offset := ~#b~0.base, ~#b~0.offset; [L22] call write~int(1, ~#b~0.base, ~#b~0.offset, 4); [L23] call write~int(5, ~#a~0.base, ~#a~0.offset, 4); [L25] call #t~mem3 := read~int(~#a~0.base, ~#a~0.offset, 4); [L25] #t~post4 := #t~mem3; [L25] call write~int(#t~post4 - 1, ~#a~0.base, ~#a~0.offset, 4); [L25] havoc #t~mem3; [L25] havoc #t~post4; VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=12, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L27] CALL call #t~ret5 := f(); VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=12, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=12, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L8] call #t~mem0 := read~int(~p1~0.base, ~p1~0.offset, 4); [L8] call #t~mem1 := read~int(~p2~0.base, ~p2~0.offset, 4); [L8] call #t~mem2 := read~int(~#a~0.base, ~#a~0.offset, 4); [L8] ~v~0 := #t~mem0 + #t~mem1 - #t~mem2; [L8] havoc #t~mem1; [L8] havoc #t~mem2; [L8] havoc #t~mem0; VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=12, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=12, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0, ~v~0=1] [L9-L14] assume 1 == ~v~0; [L10] ~p1~0.base, ~p1~0.offset := ~p2~0.base, ~p2~0.offset; [L11] #res := ~v~0; VAL [#NULL.base=0, #NULL.offset=0, #res=1, old(~p1~0.base)=12, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0, ~v~0=1] [L7-L15] ensures true; VAL [#NULL.base=0, #NULL.offset=0, #res=1, old(~p1~0.base)=12, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0, ~v~0=1] [L27] RET call #t~ret5 := f(); VAL [#NULL.base=0, #NULL.offset=0, #t~ret5=1, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L27] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L27] call write~int(#t~ret5, ~#a~0.base, ~#a~0.offset, 4); [L27] havoc #t~ret5; [L29] call #t~mem6 := read~int(~#a~0.base, ~#a~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~mem6=1, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L29-L32] assume 0 != #t~mem6 && ~p1~0.base == ~p2~0.base && ~p1~0.offset == ~p2~0.offset; [L29] havoc #t~mem6; VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L36] assert false; VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=14, #NULL.offset=8, old(#NULL.base)=14, old(#NULL.offset)=8, old(~#a~0.base)=11, old(~#a~0.offset)=5, old(~#b~0.base)=15, old(~#b~0.offset)=9, old(~p1~0.base)=10, old(~p1~0.offset)=16, old(~p2~0.base)=13, old(~p2~0.offset)=6, ~#a~0.base=11, ~#a~0.offset=5, ~#b~0.base=15, ~#b~0.offset=9, ~p1~0.base=10, ~p1~0.offset=16, ~p2~0.base=13, ~p2~0.offset=6] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; [L4] call ~#a~0.base, ~#a~0.offset := #Ultimate.alloc(4); [L4] call write~init~int(0, ~#a~0.base, ~#a~0.offset, 4); [L4] call ~#b~0.base, ~#b~0.offset := #Ultimate.alloc(4); [L4] call write~init~int(0, ~#b~0.base, ~#b~0.offset, 4); [L5] ~p1~0.base, ~p1~0.offset := 0, 0; [L5] ~p2~0.base, ~p2~0.offset := 0, 0; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=14, old(#NULL.offset)=8, old(~#a~0.base)=11, old(~#a~0.offset)=5, old(~#b~0.base)=15, old(~#b~0.offset)=9, old(~p1~0.base)=10, old(~p1~0.offset)=16, old(~p2~0.base)=13, old(~p2~0.offset)=6, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=14, old(#NULL.offset)=8, old(~#a~0.base)=11, old(~#a~0.offset)=5, old(~#b~0.base)=15, old(~#b~0.offset)=9, old(~p1~0.base)=10, old(~p1~0.offset)=16, old(~p2~0.base)=13, old(~p2~0.offset)=6, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=0, ~p1~0.offset=0, ~p2~0.base=0, ~p2~0.offset=0] [L19] ~p1~0.base, ~p1~0.offset := ~#a~0.base, ~#a~0.offset; [L20] ~p2~0.base, ~p2~0.offset := ~#b~0.base, ~#b~0.offset; [L22] call write~int(1, ~#b~0.base, ~#b~0.offset, 4); [L23] call write~int(5, ~#a~0.base, ~#a~0.offset, 4); [L25] call #t~mem3 := read~int(~#a~0.base, ~#a~0.offset, 4); [L25] #t~post4 := #t~mem3; [L25] call write~int(#t~post4 - 1, ~#a~0.base, ~#a~0.offset, 4); [L25] havoc #t~mem3; [L25] havoc #t~post4; VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=12, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L27] CALL call #t~ret5 := f(); VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=12, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=12, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L8] call #t~mem0 := read~int(~p1~0.base, ~p1~0.offset, 4); [L8] call #t~mem1 := read~int(~p2~0.base, ~p2~0.offset, 4); [L8] call #t~mem2 := read~int(~#a~0.base, ~#a~0.offset, 4); [L8] ~v~0 := #t~mem0 + #t~mem1 - #t~mem2; [L8] havoc #t~mem1; [L8] havoc #t~mem2; [L8] havoc #t~mem0; VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=12, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=12, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0, ~v~0=1] [L9-L14] assume 1 == ~v~0; [L10] ~p1~0.base, ~p1~0.offset := ~p2~0.base, ~p2~0.offset; [L11] #res := ~v~0; VAL [#NULL.base=0, #NULL.offset=0, #res=1, old(~p1~0.base)=12, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0, ~v~0=1] [L7-L15] ensures true; VAL [#NULL.base=0, #NULL.offset=0, #res=1, old(~p1~0.base)=12, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0, ~v~0=1] [L27] RET call #t~ret5 := f(); VAL [#NULL.base=0, #NULL.offset=0, #t~ret5=1, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L27] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L27] call write~int(#t~ret5, ~#a~0.base, ~#a~0.offset, 4); [L27] havoc #t~ret5; [L29] call #t~mem6 := read~int(~#a~0.base, ~#a~0.offset, 4); VAL [#NULL.base=0, #NULL.offset=0, #t~mem6=1, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L29-L32] assume 0 != #t~mem6 && ~p1~0.base == ~p2~0.base && ~p1~0.offset == ~p2~0.offset; [L29] havoc #t~mem6; VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [L36] assert false; VAL [#NULL.base=0, #NULL.offset=0, old(~p1~0.base)=0, old(~p1~0.offset)=0, old(~p2~0.base)=0, old(~p2~0.offset)=0, ~#a~0.base=12, ~#a~0.offset=0, ~#b~0.base=7, ~#b~0.offset=0, ~p1~0.base=7, ~p1~0.offset=0, ~p2~0.base=7, ~p2~0.offset=0] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=14, #NULL!offset=8, old(#NULL!base)=14, old(#NULL!offset)=8, old(~#a~0!base)=11, old(~#a~0!offset)=5, old(~#b~0!base)=15, old(~#b~0!offset)=9, old(~p1~0!base)=10, old(~p1~0!offset)=16, old(~p2~0!base)=13, old(~p2~0!offset)=6, ~#a~0!base=11, ~#a~0!offset=5, ~#b~0!base=15, ~#b~0!offset=9, ~p1~0!base=10, ~p1~0!offset=16, ~p2~0!base=13, ~p2~0!offset=6] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L4] FCALL call ~#a~0 := #Ultimate.alloc(4); [L4] FCALL call write~init~int(0, ~#a~0, 4); [L4] FCALL call ~#b~0 := #Ultimate.alloc(4); [L4] FCALL call write~init~int(0, ~#b~0, 4); [L5] ~p1~0 := { base: 0, offset: 0 }; [L5] ~p2~0 := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=14, old(#NULL!offset)=8, old(~#a~0!base)=11, old(~#a~0!offset)=5, old(~#b~0!base)=15, old(~#b~0!offset)=9, old(~p1~0!base)=10, old(~p1~0!offset)=16, old(~p2~0!base)=13, old(~p2~0!offset)=6, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [L19] ~p1~0 := ~#a~0; [L20] ~p2~0 := ~#b~0; [L22] FCALL call write~int(1, ~#b~0, 4); [L23] FCALL call write~int(5, ~#a~0, 4); [L25] FCALL call #t~mem3 := read~int(~#a~0, 4); [L25] #t~post4 := #t~mem3; [L25] FCALL call write~int(#t~post4 - 1, ~#a~0, 4); [L25] havoc #t~mem3; [L25] havoc #t~post4; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L27] CALL call #t~ret5 := f(); VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L8] FCALL call #t~mem0 := read~int(~p1~0, 4); [L8] FCALL call #t~mem1 := read~int(~p2~0, 4); [L8] FCALL call #t~mem2 := read~int(~#a~0, 4); [L8] ~v~0 := #t~mem0 + #t~mem1 - #t~mem2; [L8] havoc #t~mem1; [L8] havoc #t~mem2; [L8] havoc #t~mem0; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0, ~v~0=1] [L9] COND TRUE 1 == ~v~0 [L10] ~p1~0 := ~p2~0; [L11] #res := ~v~0; VAL [#NULL!base=0, #NULL!offset=0, #res=1, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0, ~v~0=1] [L27] RET call #t~ret5 := f(); VAL [#NULL!base=0, #NULL!offset=0, #t~ret5=1, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L27] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L27] FCALL call write~int(#t~ret5, ~#a~0, 4); [L27] havoc #t~ret5; [L29] FCALL call #t~mem6 := read~int(~#a~0, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem6=1, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L29] COND TRUE 0 != #t~mem6 && ~p1~0 == ~p2~0 [L29] havoc #t~mem6; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L36] assert false; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.procedureinliner.backtranslation.InlinerBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=14, #NULL!offset=8, old(#NULL!base)=14, old(#NULL!offset)=8, old(~#a~0!base)=11, old(~#a~0!offset)=5, old(~#b~0!base)=15, old(~#b~0!offset)=9, old(~p1~0!base)=10, old(~p1~0!offset)=16, old(~p2~0!base)=13, old(~p2~0!offset)=6, ~#a~0!base=11, ~#a~0!offset=5, ~#b~0!base=15, ~#b~0!offset=9, ~p1~0!base=10, ~p1~0!offset=16, ~p2~0!base=13, ~p2~0!offset=6] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L4] FCALL call ~#a~0 := #Ultimate.alloc(4); [L4] FCALL call write~init~int(0, ~#a~0, 4); [L4] FCALL call ~#b~0 := #Ultimate.alloc(4); [L4] FCALL call write~init~int(0, ~#b~0, 4); [L5] ~p1~0 := { base: 0, offset: 0 }; [L5] ~p2~0 := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=14, old(#NULL!offset)=8, old(~#a~0!base)=11, old(~#a~0!offset)=5, old(~#b~0!base)=15, old(~#b~0!offset)=9, old(~p1~0!base)=10, old(~p1~0!offset)=16, old(~p2~0!base)=13, old(~p2~0!offset)=6, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [L19] ~p1~0 := ~#a~0; [L20] ~p2~0 := ~#b~0; [L22] FCALL call write~int(1, ~#b~0, 4); [L23] FCALL call write~int(5, ~#a~0, 4); [L25] FCALL call #t~mem3 := read~int(~#a~0, 4); [L25] #t~post4 := #t~mem3; [L25] FCALL call write~int(#t~post4 - 1, ~#a~0, 4); [L25] havoc #t~mem3; [L25] havoc #t~post4; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L27] CALL call #t~ret5 := f(); VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L8] FCALL call #t~mem0 := read~int(~p1~0, 4); [L8] FCALL call #t~mem1 := read~int(~p2~0, 4); [L8] FCALL call #t~mem2 := read~int(~#a~0, 4); [L8] ~v~0 := #t~mem0 + #t~mem1 - #t~mem2; [L8] havoc #t~mem1; [L8] havoc #t~mem2; [L8] havoc #t~mem0; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0, ~v~0=1] [L9] COND TRUE 1 == ~v~0 [L10] ~p1~0 := ~p2~0; [L11] #res := ~v~0; VAL [#NULL!base=0, #NULL!offset=0, #res=1, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0, ~v~0=1] [L27] RET call #t~ret5 := f(); VAL [#NULL!base=0, #NULL!offset=0, #t~ret5=1, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L27] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L27] FCALL call write~int(#t~ret5, ~#a~0, 4); [L27] havoc #t~ret5; [L29] FCALL call #t~mem6 := read~int(~#a~0, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem6=1, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L29] COND TRUE 0 != #t~mem6 && ~p1~0 == ~p2~0 [L29] havoc #t~mem6; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L36] assert false; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=14, #NULL!offset=8, old(#NULL!base)=14, old(#NULL!offset)=8, old(~#a~0!base)=11, old(~#a~0!offset)=5, old(~#b~0!base)=15, old(~#b~0!offset)=9, old(~p1~0!base)=10, old(~p1~0!offset)=16, old(~p2~0!base)=13, old(~p2~0!offset)=6, ~#a~0!base=11, ~#a~0!offset=5, ~#b~0!base=15, ~#b~0!offset=9, ~p1~0!base=10, ~p1~0!offset=16, ~p2~0!base=13, ~p2~0!offset=6] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L4] FCALL call ~#a~0 := #Ultimate.alloc(4); [L4] FCALL call write~init~int(0, ~#a~0, 4); [L4] FCALL call ~#b~0 := #Ultimate.alloc(4); [L4] FCALL call write~init~int(0, ~#b~0, 4); [L5] ~p1~0 := { base: 0, offset: 0 }; [L5] ~p2~0 := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=14, old(#NULL!offset)=8, old(~#a~0!base)=11, old(~#a~0!offset)=5, old(~#b~0!base)=15, old(~#b~0!offset)=9, old(~p1~0!base)=10, old(~p1~0!offset)=16, old(~p2~0!base)=13, old(~p2~0!offset)=6, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [L19] ~p1~0 := ~#a~0; [L20] ~p2~0 := ~#b~0; [L22] FCALL call write~int(1, ~#b~0, 4); [L23] FCALL call write~int(5, ~#a~0, 4); [L25] FCALL call #t~mem3 := read~int(~#a~0, 4); [L25] #t~post4 := #t~mem3; [L25] FCALL call write~int(#t~post4 - 1, ~#a~0, 4); [L25] havoc #t~mem3; [L25] havoc #t~post4; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L27] CALL call #t~ret5 := f(); VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L8] FCALL call #t~mem0 := read~int(~p1~0, 4); [L8] FCALL call #t~mem1 := read~int(~p2~0, 4); [L8] FCALL call #t~mem2 := read~int(~#a~0, 4); [L8] ~v~0 := #t~mem0 + #t~mem1 - #t~mem2; [L8] havoc #t~mem1; [L8] havoc #t~mem2; [L8] havoc #t~mem0; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0, ~v~0=1] [L9] COND TRUE 1 == ~v~0 [L10] ~p1~0 := ~p2~0; [L11] #res := ~v~0; VAL [#NULL!base=0, #NULL!offset=0, #res=1, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0, ~v~0=1] [L27] RET call #t~ret5 := f(); VAL [#NULL!base=0, #NULL!offset=0, #t~ret5=1, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L27] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L27] FCALL call write~int(#t~ret5, ~#a~0, 4); [L27] havoc #t~ret5; [L29] FCALL call #t~mem6 := read~int(~#a~0, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem6=1, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L29] COND TRUE 0 != #t~mem6 && ~p1~0 == ~p2~0 [L29] havoc #t~mem6; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L36] assert false; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=14, #NULL!offset=8, old(#NULL!base)=14, old(#NULL!offset)=8, old(~#a~0!base)=11, old(~#a~0!offset)=5, old(~#b~0!base)=15, old(~#b~0!offset)=9, old(~p1~0!base)=10, old(~p1~0!offset)=16, old(~p2~0!base)=13, old(~p2~0!offset)=6, ~#a~0!base=11, ~#a~0!offset=5, ~#b~0!base=15, ~#b~0!offset=9, ~p1~0!base=10, ~p1~0!offset=16, ~p2~0!base=13, ~p2~0!offset=6] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; [L4] FCALL call ~#a~0 := #Ultimate.alloc(4); [L4] FCALL call write~init~int(0, ~#a~0, 4); [L4] FCALL call ~#b~0 := #Ultimate.alloc(4); [L4] FCALL call write~init~int(0, ~#b~0, 4); [L5] ~p1~0 := { base: 0, offset: 0 }; [L5] ~p2~0 := { base: 0, offset: 0 }; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=14, old(#NULL!offset)=8, old(~#a~0!base)=11, old(~#a~0!offset)=5, old(~#b~0!base)=15, old(~#b~0!offset)=9, old(~p1~0!base)=10, old(~p1~0!offset)=16, old(~p2~0!base)=13, old(~p2~0!offset)=6, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=0, ~p1~0!offset=0, ~p2~0!base=0, ~p2~0!offset=0] [L19] ~p1~0 := ~#a~0; [L20] ~p2~0 := ~#b~0; [L22] FCALL call write~int(1, ~#b~0, 4); [L23] FCALL call write~int(5, ~#a~0, 4); [L25] FCALL call #t~mem3 := read~int(~#a~0, 4); [L25] #t~post4 := #t~mem3; [L25] FCALL call write~int(#t~post4 - 1, ~#a~0, 4); [L25] havoc #t~mem3; [L25] havoc #t~post4; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L27] CALL call #t~ret5 := f(); VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L8] FCALL call #t~mem0 := read~int(~p1~0, 4); [L8] FCALL call #t~mem1 := read~int(~p2~0, 4); [L8] FCALL call #t~mem2 := read~int(~#a~0, 4); [L8] ~v~0 := #t~mem0 + #t~mem1 - #t~mem2; [L8] havoc #t~mem1; [L8] havoc #t~mem2; [L8] havoc #t~mem0; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=12, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0, ~v~0=1] [L9] COND TRUE 1 == ~v~0 [L10] ~p1~0 := ~p2~0; [L11] #res := ~v~0; VAL [#NULL!base=0, #NULL!offset=0, #res=1, old(~p1~0!base)=12, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0, ~v~0=1] [L27] RET call #t~ret5 := f(); VAL [#NULL!base=0, #NULL!offset=0, #t~ret5=1, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L27] assume -2147483648 <= #t~ret5 && #t~ret5 <= 2147483647; [L27] FCALL call write~int(#t~ret5, ~#a~0, 4); [L27] havoc #t~ret5; [L29] FCALL call #t~mem6 := read~int(~#a~0, 4); VAL [#NULL!base=0, #NULL!offset=0, #t~mem6=1, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L29] COND TRUE 0 != #t~mem6 && ~p1~0 == ~p2~0 [L29] havoc #t~mem6; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L36] assert false; VAL [#NULL!base=0, #NULL!offset=0, old(~p1~0!base)=0, old(~p1~0!offset)=0, old(~p2~0!base)=0, old(~p2~0!offset)=0, ~#a~0!base=12, ~#a~0!offset=0, ~#b~0!base=7, ~#b~0!offset=0, ~p1~0!base=7, ~p1~0!offset=0, ~p2~0!base=7, ~p2~0!offset=0] [L4] int a, b; [L5] int *p1, *p2; VAL [\old(a)=5, \old(a)=11, \old(b)=9, \old(b)=15, \old(p1)=10, \old(p1)=16, \old(p2)=13, \old(p2)=6, a={12:0}, b={7:0}, p1={0:0}, p2={0:0}] [L19] p1 = &a [L20] p2 = &b [L22] b = 1 [L23] a = 5 [L25] EXPR \read(a) [L25] a-- [L27] CALL, EXPR f() VAL [\old(p1)=12, \old(p1)=0, \old(p2)=0, \old(p2)=0, a={12:0}, b={7:0}, p1={12:0}, p2={7:0}] [L8] EXPR \read(*p1) [L8] EXPR \read(*p2) [L8] EXPR \read(a) [L8] int v = *p1 + *p2 - a; [L9] COND TRUE v == 1 [L10] p1 = p2 [L11] return v; VAL [\old(p1)=12, \old(p1)=0, \old(p2)=0, \old(p2)=0, \result=1, a={12:0}, b={7:0}, p1={7:0}, p2={7:0}, v=1] [L27] RET, EXPR f() VAL [\old(p1)=0, \old(p1)=0, \old(p2)=0, \old(p2)=0, a={12:0}, b={7:0}, f()=1, p1={7:0}, p2={7:0}] [L27] a = f() [L29] EXPR \read(a) VAL [\old(p1)=0, \old(p1)=0, \old(p2)=0, \old(p2)=0, \read(a)=1, a={12:0}, b={7:0}, p1={7:0}, p2={7:0}] [L29] COND TRUE a && p1 == p2 [L36] __VERIFIER_error() VAL [\old(p1)=0, \old(p1)=0, \old(p2)=0, \old(p2)=0, a={12:0}, b={7:0}, p1={7:0}, p2={7:0}] ----- [2018-11-23 04:55:34,722 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_9d5f7111-5e82-4f5d-98e9-5a4993c7701e/bin-2019/uautomizer/witness.graphml [2018-11-23 04:55:34,722 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 04:55:34,723 INFO L168 Benchmark]: Toolchain (without parser) took 736.73 ms. Allocated memory was 1.0 GB in the beginning and 1.1 GB in the end (delta: 97.5 MB). Free memory was 958.0 MB in the beginning and 1.0 GB in the end (delta: -81.6 MB). Peak memory consumption was 15.9 MB. Max. memory is 11.5 GB. [2018-11-23 04:55:34,724 INFO L168 Benchmark]: CDTParser took 0.14 ms. Allocated memory is still 1.0 GB. Free memory is still 985.4 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 04:55:34,724 INFO L168 Benchmark]: CACSL2BoogieTranslator took 149.89 ms. Allocated memory is still 1.0 GB. Free memory was 958.0 MB in the beginning and 947.3 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. [2018-11-23 04:55:34,724 INFO L168 Benchmark]: Boogie Procedure Inliner took 15.58 ms. Allocated memory is still 1.0 GB. Free memory was 947.3 MB in the beginning and 944.6 MB in the end (delta: 2.7 MB). Peak memory consumption was 2.7 MB. Max. memory is 11.5 GB. [2018-11-23 04:55:34,725 INFO L168 Benchmark]: Boogie Preprocessor took 14.81 ms. Allocated memory is still 1.0 GB. Free memory is still 944.6 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 04:55:34,725 INFO L168 Benchmark]: RCFGBuilder took 223.68 ms. Allocated memory was 1.0 GB in the beginning and 1.1 GB in the end (delta: 97.5 MB). Free memory was 944.6 MB in the beginning and 1.1 GB in the end (delta: -130.2 MB). Peak memory consumption was 14.6 MB. Max. memory is 11.5 GB. [2018-11-23 04:55:34,725 INFO L168 Benchmark]: TraceAbstraction took 267.86 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 24.6 MB). Peak memory consumption was 24.6 MB. Max. memory is 11.5 GB. [2018-11-23 04:55:34,726 INFO L168 Benchmark]: Witness Printer took 62.07 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 1.0 GB in the end (delta: 10.6 MB). Peak memory consumption was 10.6 MB. Max. memory is 11.5 GB. [2018-11-23 04:55:34,728 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.14 ms. Allocated memory is still 1.0 GB. Free memory is still 985.4 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 149.89 ms. Allocated memory is still 1.0 GB. Free memory was 958.0 MB in the beginning and 947.3 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. * Boogie Procedure Inliner took 15.58 ms. Allocated memory is still 1.0 GB. Free memory was 947.3 MB in the beginning and 944.6 MB in the end (delta: 2.7 MB). Peak memory consumption was 2.7 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 14.81 ms. Allocated memory is still 1.0 GB. Free memory is still 944.6 MB. There was no memory consumed. Max. memory is 11.5 GB. * RCFGBuilder took 223.68 ms. Allocated memory was 1.0 GB in the beginning and 1.1 GB in the end (delta: 97.5 MB). Free memory was 944.6 MB in the beginning and 1.1 GB in the end (delta: -130.2 MB). Peak memory consumption was 14.6 MB. Max. memory is 11.5 GB. * TraceAbstraction took 267.86 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 24.6 MB). Peak memory consumption was 24.6 MB. Max. memory is 11.5 GB. * Witness Printer took 62.07 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 1.0 GB in the end (delta: 10.6 MB). Peak memory consumption was 10.6 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 36]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L4] int a, b; [L5] int *p1, *p2; VAL [\old(a)=5, \old(a)=11, \old(b)=9, \old(b)=15, \old(p1)=16, \old(p1)=10, \old(p2)=13, \old(p2)=6, a={12:0}, b={7:0}, p1={0:0}, p2={0:0}] [L19] p1 = &a [L20] p2 = &b [L22] b = 1 [L23] a = 5 [L25] EXPR \read(a) [L25] a-- [L27] CALL, EXPR f() VAL [\old(p1)=0, \old(p1)=12, \old(p2)=0, \old(p2)=0, a={12:0}, b={7:0}, p1={12:0}, p2={7:0}] [L8] EXPR \read(*p1) [L8] EXPR \read(*p2) [L8] EXPR \read(a) [L8] int v = *p1 + *p2 - a; [L9] COND TRUE v == 1 [L10] p1 = p2 [L11] return v; VAL [\old(p1)=0, \old(p1)=12, \old(p2)=0, \old(p2)=0, \result=1, a={12:0}, b={7:0}, p1={7:0}, p2={7:0}, v=1] [L27] RET, EXPR f() VAL [\old(p1)=0, \old(p1)=0, \old(p2)=0, \old(p2)=0, a={12:0}, b={7:0}, f()=1, p1={7:0}, p2={7:0}] [L27] a = f() [L29] EXPR \read(a) VAL [\old(p1)=0, \old(p1)=0, \old(p2)=0, \old(p2)=0, \read(a)=1, a={12:0}, b={7:0}, p1={7:0}, p2={7:0}] [L29] COND TRUE a && p1 == p2 [L36] __VERIFIER_error() VAL [\old(p1)=0, \old(p1)=0, \old(p2)=0, \old(p2)=0, a={12:0}, b={7:0}, p1={7:0}, p2={7:0}] - StatisticsResult: Ultimate Automizer benchmark data CFG has 4 procedures, 19 locations, 1 error locations. UNSAFE Result, 0.2s OverallTime, 1 OverallIterations, 1 TraceHistogramMax, 0.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: No data available, PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=19occurred in iteration=0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 14 NumberOfCodeBlocks, 14 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...