./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/memsafety-ext3/realloc1_false-valid-deref.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version aa418289 Calling Ultimate with: java -Dosgi.configuration.area=/tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/memsafety-ext3/realloc1_false-valid-deref.c -s /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 937cfa07aecfb3a07a3e6e685c2e5e481fbe44b8 .................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(valid-deref) --- Real Ultimate output --- This is Ultimate 0.1.23-aa41828 [2018-11-23 13:44:31,565 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 13:44:31,566 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 13:44:31,573 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 13:44:31,573 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 13:44:31,574 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 13:44:31,574 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 13:44:31,576 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 13:44:31,577 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 13:44:31,578 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 13:44:31,578 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 13:44:31,578 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 13:44:31,579 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 13:44:31,580 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 13:44:31,580 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 13:44:31,582 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 13:44:31,582 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 13:44:31,583 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 13:44:31,585 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 13:44:31,586 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 13:44:31,587 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 13:44:31,587 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 13:44:31,589 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 13:44:31,589 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 13:44:31,589 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 13:44:31,590 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 13:44:31,591 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 13:44:31,591 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 13:44:31,592 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 13:44:31,593 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 13:44:31,593 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 13:44:31,593 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 13:44:31,593 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 13:44:31,594 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 13:44:31,594 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 13:44:31,595 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 13:44:31,595 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2018-11-23 13:44:31,601 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 13:44:31,601 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 13:44:31,602 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 13:44:31,602 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 13:44:31,602 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 13:44:31,602 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 13:44:31,602 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 13:44:31,603 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 13:44:31,603 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 13:44:31,603 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-11-23 13:44:31,603 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-23 13:44:31,603 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 13:44:31,603 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 13:44:31,603 INFO L133 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2018-11-23 13:44:31,603 INFO L133 SettingsManager]: * Bitprecise bitfields=true [2018-11-23 13:44:31,603 INFO L133 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2018-11-23 13:44:31,604 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 13:44:31,604 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 13:44:31,604 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 13:44:31,604 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 13:44:31,604 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 13:44:31,604 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 13:44:31,604 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 13:44:31,604 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 13:44:31,605 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 13:44:31,605 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 13:44:31,605 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-11-23 13:44:31,605 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 13:44:31,605 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in 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_d8e24b7d-affe-4ad7-82d1-d53d85229253/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 valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) 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 -> 937cfa07aecfb3a07a3e6e685c2e5e481fbe44b8 [2018-11-23 13:44:31,630 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 13:44:31,639 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 13:44:31,641 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 13:44:31,643 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 13:44:31,643 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 13:44:31,643 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/../../sv-benchmarks/c/memsafety-ext3/realloc1_false-valid-deref.c [2018-11-23 13:44:31,681 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/data/3720c81bc/1934376e9b6e437096e7f40e3f430685/FLAG288e1cb24 [2018-11-23 13:44:31,979 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 13:44:31,979 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/sv-benchmarks/c/memsafety-ext3/realloc1_false-valid-deref.c [2018-11-23 13:44:31,983 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/data/3720c81bc/1934376e9b6e437096e7f40e3f430685/FLAG288e1cb24 [2018-11-23 13:44:31,994 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/data/3720c81bc/1934376e9b6e437096e7f40e3f430685 [2018-11-23 13:44:31,996 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 13:44:31,997 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2018-11-23 13:44:31,997 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 13:44:31,997 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 13:44:31,999 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 13:44:32,000 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 01:44:31" (1/1) ... [2018-11-23 13:44:32,001 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@703e8e5f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:44:32, skipping insertion in model container [2018-11-23 13:44:32,002 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 01:44:31" (1/1) ... [2018-11-23 13:44:32,007 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 13:44:32,018 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 13:44:32,114 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 13:44:32,119 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 13:44:32,128 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 13:44:32,136 INFO L195 MainTranslator]: Completed translation [2018-11-23 13:44:32,136 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:44:32 WrapperNode [2018-11-23 13:44:32,136 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 13:44:32,137 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 13:44:32,137 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 13:44:32,137 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 13:44:32,148 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:44:32" (1/1) ... [2018-11-23 13:44:32,148 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:44:32" (1/1) ... [2018-11-23 13:44:32,155 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:44:32" (1/1) ... [2018-11-23 13:44:32,155 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:44:32" (1/1) ... [2018-11-23 13:44:32,160 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:44:32" (1/1) ... [2018-11-23 13:44:32,163 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:44:32" (1/1) ... [2018-11-23 13:44:32,164 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:44:32" (1/1) ... [2018-11-23 13:44:32,166 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 13:44:32,166 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 13:44:32,166 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 13:44:32,166 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 13:44:32,166 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:44:32" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/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 13:44:32,238 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 13:44:32,238 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 13:44:32,238 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 13:44:32,238 INFO L130 BoogieDeclarations]: Found specification of procedure free [2018-11-23 13:44:32,238 INFO L130 BoogieDeclarations]: Found specification of procedure malloc [2018-11-23 13:44:32,238 INFO L130 BoogieDeclarations]: Found specification of procedure realloc [2018-11-23 13:44:32,238 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_char [2018-11-23 13:44:32,239 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 13:44:32,239 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 13:44:32,239 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-23 13:44:32,239 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 13:44:32,239 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-23 13:44:32,239 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 13:44:32,239 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 13:44:32,383 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 13:44:32,384 INFO L280 CfgBuilder]: Removed 1 assue(true) statements. [2018-11-23 13:44:32,384 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 01:44:32 BoogieIcfgContainer [2018-11-23 13:44:32,384 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 13:44:32,384 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 13:44:32,384 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 13:44:32,387 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 13:44:32,387 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 01:44:31" (1/3) ... [2018-11-23 13:44:32,387 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1bfb8089 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 01:44:32, skipping insertion in model container [2018-11-23 13:44:32,387 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 01:44:32" (2/3) ... [2018-11-23 13:44:32,388 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1bfb8089 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 01:44:32, skipping insertion in model container [2018-11-23 13:44:32,388 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 01:44:32" (3/3) ... [2018-11-23 13:44:32,389 INFO L112 eAbstractionObserver]: Analyzing ICFG realloc1_false-valid-deref.c [2018-11-23 13:44:32,395 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 13:44:32,401 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 7 error locations. [2018-11-23 13:44:32,415 INFO L257 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2018-11-23 13:44:32,436 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 13:44:32,438 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 13:44:32,438 INFO L383 AbstractCegarLoop]: Hoare is false [2018-11-23 13:44:32,438 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 13:44:32,438 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 13:44:32,439 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 13:44:32,439 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 13:44:32,439 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 13:44:32,439 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 13:44:32,453 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states. [2018-11-23 13:44:32,460 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2018-11-23 13:44:32,461 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:44:32,461 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:44:32,463 INFO L423 AbstractCegarLoop]: === Iteration 1 === [mainErr1REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION]=== [2018-11-23 13:44:32,467 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:44:32,467 INFO L82 PathProgramCache]: Analyzing trace with hash 1804436063, now seen corresponding path program 1 times [2018-11-23 13:44:32,468 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:44:32,468 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:44:32,506 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:32,506 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:44:32,506 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:32,531 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:44:32,552 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:32,554 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 13:44:32,554 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 13:44:32,556 INFO L459 AbstractCegarLoop]: Interpolant automaton has 2 states [2018-11-23 13:44:32,566 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-11-23 13:44:32,567 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 13:44:32,569 INFO L87 Difference]: Start difference. First operand 26 states. Second operand 2 states. [2018-11-23 13:44:32,582 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:44:32,582 INFO L93 Difference]: Finished difference Result 26 states and 27 transitions. [2018-11-23 13:44:32,582 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-11-23 13:44:32,583 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 8 [2018-11-23 13:44:32,583 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:44:32,590 INFO L225 Difference]: With dead ends: 26 [2018-11-23 13:44:32,591 INFO L226 Difference]: Without dead ends: 23 [2018-11-23 13:44:32,592 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-11-23 13:44:32,605 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 23 states. [2018-11-23 13:44:32,613 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 23 to 23. [2018-11-23 13:44:32,614 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 23 states. [2018-11-23 13:44:32,615 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 23 states and 24 transitions. [2018-11-23 13:44:32,615 INFO L78 Accepts]: Start accepts. Automaton has 23 states and 24 transitions. Word has length 8 [2018-11-23 13:44:32,616 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:44:32,616 INFO L480 AbstractCegarLoop]: Abstraction has 23 states and 24 transitions. [2018-11-23 13:44:32,616 INFO L481 AbstractCegarLoop]: Interpolant automaton has 2 states. [2018-11-23 13:44:32,616 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 24 transitions. [2018-11-23 13:44:32,616 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2018-11-23 13:44:32,616 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:44:32,616 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:44:32,617 INFO L423 AbstractCegarLoop]: === Iteration 2 === [mainErr1REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION]=== [2018-11-23 13:44:32,617 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:44:32,617 INFO L82 PathProgramCache]: Analyzing trace with hash 1804435753, now seen corresponding path program 1 times [2018-11-23 13:44:32,617 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:44:32,617 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:44:32,618 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:32,618 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:44:32,618 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:32,631 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:44:32,653 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:32,653 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 13:44:32,653 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-11-23 13:44:32,654 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 13:44:32,654 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 13:44:32,654 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 13:44:32,655 INFO L87 Difference]: Start difference. First operand 23 states and 24 transitions. Second operand 3 states. [2018-11-23 13:44:32,684 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:44:32,684 INFO L93 Difference]: Finished difference Result 29 states and 30 transitions. [2018-11-23 13:44:32,684 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 13:44:32,685 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 8 [2018-11-23 13:44:32,685 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:44:32,685 INFO L225 Difference]: With dead ends: 29 [2018-11-23 13:44:32,685 INFO L226 Difference]: Without dead ends: 29 [2018-11-23 13:44:32,686 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 13:44:32,686 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 29 states. [2018-11-23 13:44:32,689 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 29 to 24. [2018-11-23 13:44:32,690 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 24 states. [2018-11-23 13:44:32,690 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 24 states and 25 transitions. [2018-11-23 13:44:32,690 INFO L78 Accepts]: Start accepts. Automaton has 24 states and 25 transitions. Word has length 8 [2018-11-23 13:44:32,691 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:44:32,691 INFO L480 AbstractCegarLoop]: Abstraction has 24 states and 25 transitions. [2018-11-23 13:44:32,691 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 13:44:32,691 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 25 transitions. [2018-11-23 13:44:32,691 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2018-11-23 13:44:32,691 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:44:32,691 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:44:32,692 INFO L423 AbstractCegarLoop]: === Iteration 3 === [mainErr1REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION]=== [2018-11-23 13:44:32,692 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:44:32,692 INFO L82 PathProgramCache]: Analyzing trace with hash 1804435808, now seen corresponding path program 1 times [2018-11-23 13:44:32,692 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:44:32,692 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:44:32,693 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:32,693 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:44:32,693 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:32,703 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:44:32,750 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:32,750 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 13:44:32,750 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 13:44:32,750 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 13:44:32,750 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 13:44:32,750 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 13:44:32,751 INFO L87 Difference]: Start difference. First operand 24 states and 25 transitions. Second operand 3 states. [2018-11-23 13:44:32,779 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:44:32,779 INFO L93 Difference]: Finished difference Result 28 states and 29 transitions. [2018-11-23 13:44:32,779 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 13:44:32,779 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 8 [2018-11-23 13:44:32,780 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:44:32,780 INFO L225 Difference]: With dead ends: 28 [2018-11-23 13:44:32,780 INFO L226 Difference]: Without dead ends: 28 [2018-11-23 13:44:32,780 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 3 GetRequests, 1 SyntacticMatches, 1 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 13:44:32,781 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 28 states. [2018-11-23 13:44:32,783 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 28 to 25. [2018-11-23 13:44:32,783 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 25 states. [2018-11-23 13:44:32,784 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 25 states to 25 states and 27 transitions. [2018-11-23 13:44:32,784 INFO L78 Accepts]: Start accepts. Automaton has 25 states and 27 transitions. Word has length 8 [2018-11-23 13:44:32,784 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:44:32,784 INFO L480 AbstractCegarLoop]: Abstraction has 25 states and 27 transitions. [2018-11-23 13:44:32,784 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 13:44:32,784 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 27 transitions. [2018-11-23 13:44:32,784 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2018-11-23 13:44:32,784 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:44:32,785 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:44:32,785 INFO L423 AbstractCegarLoop]: === Iteration 4 === [mainErr1REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION]=== [2018-11-23 13:44:32,785 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:44:32,785 INFO L82 PathProgramCache]: Analyzing trace with hash 1804435807, now seen corresponding path program 1 times [2018-11-23 13:44:32,785 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:44:32,785 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:44:32,786 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:32,786 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:44:32,786 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:32,792 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:44:32,804 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:32,804 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 13:44:32,805 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 13:44:32,805 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 13:44:32,805 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 13:44:32,805 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 13:44:32,805 INFO L87 Difference]: Start difference. First operand 25 states and 27 transitions. Second operand 3 states. [2018-11-23 13:44:32,826 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:44:32,826 INFO L93 Difference]: Finished difference Result 26 states and 26 transitions. [2018-11-23 13:44:32,826 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 13:44:32,826 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 8 [2018-11-23 13:44:32,826 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:44:32,827 INFO L225 Difference]: With dead ends: 26 [2018-11-23 13:44:32,827 INFO L226 Difference]: Without dead ends: 26 [2018-11-23 13:44:32,827 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 13:44:32,827 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 26 states. [2018-11-23 13:44:32,829 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 26 to 23. [2018-11-23 13:44:32,829 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 23 states. [2018-11-23 13:44:32,830 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 23 states and 24 transitions. [2018-11-23 13:44:32,830 INFO L78 Accepts]: Start accepts. Automaton has 23 states and 24 transitions. Word has length 8 [2018-11-23 13:44:32,830 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:44:32,830 INFO L480 AbstractCegarLoop]: Abstraction has 23 states and 24 transitions. [2018-11-23 13:44:32,830 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 13:44:32,830 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 24 transitions. [2018-11-23 13:44:32,831 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2018-11-23 13:44:32,831 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:44:32,831 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:44:32,831 INFO L423 AbstractCegarLoop]: === Iteration 5 === [mainErr1REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION]=== [2018-11-23 13:44:32,831 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:44:32,831 INFO L82 PathProgramCache]: Analyzing trace with hash -65428116, now seen corresponding path program 1 times [2018-11-23 13:44:32,832 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:44:32,832 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:44:32,832 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:32,832 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:44:32,833 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:32,839 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:44:32,854 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2018-11-23 13:44:32,854 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 13:44:32,855 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 13:44:32,855 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 13:44:32,855 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 13:44:32,855 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 13:44:32,855 INFO L87 Difference]: Start difference. First operand 23 states and 24 transitions. Second operand 3 states. [2018-11-23 13:44:32,865 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:44:32,865 INFO L93 Difference]: Finished difference Result 25 states and 25 transitions. [2018-11-23 13:44:32,865 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 13:44:32,865 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 12 [2018-11-23 13:44:32,866 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:44:32,866 INFO L225 Difference]: With dead ends: 25 [2018-11-23 13:44:32,866 INFO L226 Difference]: Without dead ends: 25 [2018-11-23 13:44:32,866 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 2 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 13:44:32,866 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 25 states. [2018-11-23 13:44:32,867 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 25 to 22. [2018-11-23 13:44:32,867 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 22 states. [2018-11-23 13:44:32,868 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 22 states and 23 transitions. [2018-11-23 13:44:32,868 INFO L78 Accepts]: Start accepts. Automaton has 22 states and 23 transitions. Word has length 12 [2018-11-23 13:44:32,868 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:44:32,868 INFO L480 AbstractCegarLoop]: Abstraction has 22 states and 23 transitions. [2018-11-23 13:44:32,868 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 13:44:32,868 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 23 transitions. [2018-11-23 13:44:32,868 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2018-11-23 13:44:32,868 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:44:32,868 INFO L402 BasicCegarLoop]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:44:32,868 INFO L423 AbstractCegarLoop]: === Iteration 6 === [mainErr1REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION]=== [2018-11-23 13:44:32,869 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:44:32,869 INFO L82 PathProgramCache]: Analyzing trace with hash -65428061, now seen corresponding path program 1 times [2018-11-23 13:44:32,869 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:44:32,869 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:44:32,869 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:32,870 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:44:32,870 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:32,878 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:44:32,982 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:32,982 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 13:44:32,983 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2018-11-23 13:44:32,983 INFO L459 AbstractCegarLoop]: Interpolant automaton has 6 states [2018-11-23 13:44:32,983 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2018-11-23 13:44:32,983 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=15, Invalid=15, Unknown=0, NotChecked=0, Total=30 [2018-11-23 13:44:32,983 INFO L87 Difference]: Start difference. First operand 22 states and 23 transitions. Second operand 6 states. [2018-11-23 13:44:33,009 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:44:33,009 INFO L93 Difference]: Finished difference Result 25 states and 25 transitions. [2018-11-23 13:44:33,010 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-11-23 13:44:33,010 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 12 [2018-11-23 13:44:33,010 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:44:33,010 INFO L225 Difference]: With dead ends: 25 [2018-11-23 13:44:33,010 INFO L226 Difference]: Without dead ends: 25 [2018-11-23 13:44:33,011 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 5 GetRequests, 1 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=15, Invalid=15, Unknown=0, NotChecked=0, Total=30 [2018-11-23 13:44:33,011 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 25 states. [2018-11-23 13:44:33,012 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 25 to 19. [2018-11-23 13:44:33,012 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 19 states. [2018-11-23 13:44:33,012 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 19 states and 20 transitions. [2018-11-23 13:44:33,012 INFO L78 Accepts]: Start accepts. Automaton has 19 states and 20 transitions. Word has length 12 [2018-11-23 13:44:33,013 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:44:33,013 INFO L480 AbstractCegarLoop]: Abstraction has 19 states and 20 transitions. [2018-11-23 13:44:33,013 INFO L481 AbstractCegarLoop]: Interpolant automaton has 6 states. [2018-11-23 13:44:33,013 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 20 transitions. [2018-11-23 13:44:33,013 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2018-11-23 13:44:33,013 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:44:33,013 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:44:33,013 INFO L423 AbstractCegarLoop]: === Iteration 7 === [mainErr1REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION]=== [2018-11-23 13:44:33,014 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:44:33,014 INFO L82 PathProgramCache]: Analyzing trace with hash 1548091759, now seen corresponding path program 1 times [2018-11-23 13:44:33,014 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:44:33,014 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:44:33,015 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:33,015 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:44:33,015 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:33,020 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:44:33,031 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:33,031 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 13:44:33,031 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/z3 Starting monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-11-23 13:44:33,038 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:44:33,049 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:44:33,055 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 13:44:33,075 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:33,090 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 13:44:33,091 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [4, 4] total 5 [2018-11-23 13:44:33,091 INFO L459 AbstractCegarLoop]: Interpolant automaton has 5 states [2018-11-23 13:44:33,091 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-11-23 13:44:33,091 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=10, Invalid=10, Unknown=0, NotChecked=0, Total=20 [2018-11-23 13:44:33,092 INFO L87 Difference]: Start difference. First operand 19 states and 20 transitions. Second operand 5 states. [2018-11-23 13:44:33,108 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:44:33,108 INFO L93 Difference]: Finished difference Result 26 states and 27 transitions. [2018-11-23 13:44:33,108 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-11-23 13:44:33,108 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 14 [2018-11-23 13:44:33,109 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:44:33,109 INFO L225 Difference]: With dead ends: 26 [2018-11-23 13:44:33,109 INFO L226 Difference]: Without dead ends: 26 [2018-11-23 13:44:33,109 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 17 GetRequests, 14 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=10, Invalid=10, Unknown=0, NotChecked=0, Total=20 [2018-11-23 13:44:33,110 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 26 states. [2018-11-23 13:44:33,111 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 26 to 23. [2018-11-23 13:44:33,111 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 23 states. [2018-11-23 13:44:33,111 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 23 states and 24 transitions. [2018-11-23 13:44:33,111 INFO L78 Accepts]: Start accepts. Automaton has 23 states and 24 transitions. Word has length 14 [2018-11-23 13:44:33,111 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:44:33,112 INFO L480 AbstractCegarLoop]: Abstraction has 23 states and 24 transitions. [2018-11-23 13:44:33,112 INFO L481 AbstractCegarLoop]: Interpolant automaton has 5 states. [2018-11-23 13:44:33,112 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 24 transitions. [2018-11-23 13:44:33,112 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 19 [2018-11-23 13:44:33,112 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:44:33,112 INFO L402 BasicCegarLoop]: trace histogram [2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:44:33,113 INFO L423 AbstractCegarLoop]: === Iteration 8 === [mainErr1REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION]=== [2018-11-23 13:44:33,113 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:44:33,113 INFO L82 PathProgramCache]: Analyzing trace with hash -1939298446, now seen corresponding path program 2 times [2018-11-23 13:44:33,113 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:44:33,113 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:44:33,114 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:33,114 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:44:33,114 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:33,120 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:44:33,152 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:33,152 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 13:44:33,152 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/z3 Starting monitored process 3 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-11-23 13:44:33,159 INFO L103 rtionOrderModulation]: Keeping assertion order OUTSIDE_LOOP_FIRST1 [2018-11-23 13:44:33,171 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2018-11-23 13:44:33,172 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2018-11-23 13:44:33,173 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 13:44:33,191 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:33,205 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 13:44:33,205 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [5, 5] total 6 [2018-11-23 13:44:33,205 INFO L459 AbstractCegarLoop]: Interpolant automaton has 6 states [2018-11-23 13:44:33,206 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2018-11-23 13:44:33,206 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=15, Invalid=15, Unknown=0, NotChecked=0, Total=30 [2018-11-23 13:44:33,206 INFO L87 Difference]: Start difference. First operand 23 states and 24 transitions. Second operand 6 states. [2018-11-23 13:44:33,244 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:44:33,244 INFO L93 Difference]: Finished difference Result 30 states and 31 transitions. [2018-11-23 13:44:33,244 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-11-23 13:44:33,244 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 18 [2018-11-23 13:44:33,244 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:44:33,245 INFO L225 Difference]: With dead ends: 30 [2018-11-23 13:44:33,245 INFO L226 Difference]: Without dead ends: 30 [2018-11-23 13:44:33,245 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 22 GetRequests, 18 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=15, Invalid=15, Unknown=0, NotChecked=0, Total=30 [2018-11-23 13:44:33,245 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 30 states. [2018-11-23 13:44:33,247 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 30 to 27. [2018-11-23 13:44:33,247 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 27 states. [2018-11-23 13:44:33,247 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 27 states to 27 states and 28 transitions. [2018-11-23 13:44:33,247 INFO L78 Accepts]: Start accepts. Automaton has 27 states and 28 transitions. Word has length 18 [2018-11-23 13:44:33,248 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:44:33,248 INFO L480 AbstractCegarLoop]: Abstraction has 27 states and 28 transitions. [2018-11-23 13:44:33,248 INFO L481 AbstractCegarLoop]: Interpolant automaton has 6 states. [2018-11-23 13:44:33,248 INFO L276 IsEmpty]: Start isEmpty. Operand 27 states and 28 transitions. [2018-11-23 13:44:33,248 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 23 [2018-11-23 13:44:33,248 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:44:33,248 INFO L402 BasicCegarLoop]: trace histogram [3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:44:33,249 INFO L423 AbstractCegarLoop]: === Iteration 9 === [mainErr1REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION]=== [2018-11-23 13:44:33,249 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:44:33,249 INFO L82 PathProgramCache]: Analyzing trace with hash -17656843, now seen corresponding path program 3 times [2018-11-23 13:44:33,249 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:44:33,249 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:44:33,250 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:33,250 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-23 13:44:33,250 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:33,255 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:44:33,283 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 0 proven. 15 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:33,283 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 13:44:33,283 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/z3 Starting monitored process 4 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 4 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-11-23 13:44:33,293 INFO L103 rtionOrderModulation]: Keeping assertion order OUTSIDE_LOOP_FIRST2 [2018-11-23 13:44:33,315 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST2 issued 4 check-sat command(s) [2018-11-23 13:44:33,315 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2018-11-23 13:44:33,317 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 13:44:33,327 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 0 proven. 15 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:33,341 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 13:44:33,341 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [6, 6] total 7 [2018-11-23 13:44:33,341 INFO L459 AbstractCegarLoop]: Interpolant automaton has 7 states [2018-11-23 13:44:33,341 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2018-11-23 13:44:33,341 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=21, Invalid=21, Unknown=0, NotChecked=0, Total=42 [2018-11-23 13:44:33,342 INFO L87 Difference]: Start difference. First operand 27 states and 28 transitions. Second operand 7 states. [2018-11-23 13:44:33,358 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:44:33,358 INFO L93 Difference]: Finished difference Result 34 states and 35 transitions. [2018-11-23 13:44:33,358 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2018-11-23 13:44:33,358 INFO L78 Accepts]: Start accepts. Automaton has 7 states. Word has length 22 [2018-11-23 13:44:33,358 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:44:33,359 INFO L225 Difference]: With dead ends: 34 [2018-11-23 13:44:33,359 INFO L226 Difference]: Without dead ends: 34 [2018-11-23 13:44:33,359 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 27 GetRequests, 22 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 4 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=21, Invalid=21, Unknown=0, NotChecked=0, Total=42 [2018-11-23 13:44:33,359 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 34 states. [2018-11-23 13:44:33,361 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 34 to 31. [2018-11-23 13:44:33,361 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 31 states. [2018-11-23 13:44:33,361 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 31 states to 31 states and 32 transitions. [2018-11-23 13:44:33,361 INFO L78 Accepts]: Start accepts. Automaton has 31 states and 32 transitions. Word has length 22 [2018-11-23 13:44:33,361 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:44:33,361 INFO L480 AbstractCegarLoop]: Abstraction has 31 states and 32 transitions. [2018-11-23 13:44:33,361 INFO L481 AbstractCegarLoop]: Interpolant automaton has 7 states. [2018-11-23 13:44:33,362 INFO L276 IsEmpty]: Start isEmpty. Operand 31 states and 32 transitions. [2018-11-23 13:44:33,362 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 27 [2018-11-23 13:44:33,362 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:44:33,362 INFO L402 BasicCegarLoop]: trace histogram [4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:44:33,362 INFO L423 AbstractCegarLoop]: === Iteration 10 === [mainErr1REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION]=== [2018-11-23 13:44:33,362 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:44:33,363 INFO L82 PathProgramCache]: Analyzing trace with hash 165447416, now seen corresponding path program 4 times [2018-11-23 13:44:33,363 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:44:33,363 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:44:33,363 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:33,364 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-23 13:44:33,364 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:33,373 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:44:33,409 INFO L134 CoverageAnalysis]: Checked inductivity of 28 backedges. 0 proven. 28 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:33,410 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 13:44:33,410 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/z3 Starting monitored process 5 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 5 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-11-23 13:44:33,423 INFO L103 rtionOrderModulation]: Keeping assertion order TERMS_WITH_SMALL_CONSTANTS_FIRST [2018-11-23 13:44:33,445 INFO L249 tOrderPrioritization]: Assert order TERMS_WITH_SMALL_CONSTANTS_FIRST issued 0 check-sat command(s) [2018-11-23 13:44:33,446 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2018-11-23 13:44:33,448 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 13:44:33,459 INFO L134 CoverageAnalysis]: Checked inductivity of 28 backedges. 0 proven. 28 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:33,484 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 13:44:33,484 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [7, 7] total 8 [2018-11-23 13:44:33,484 INFO L459 AbstractCegarLoop]: Interpolant automaton has 8 states [2018-11-23 13:44:33,484 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2018-11-23 13:44:33,485 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=28, Invalid=28, Unknown=0, NotChecked=0, Total=56 [2018-11-23 13:44:33,485 INFO L87 Difference]: Start difference. First operand 31 states and 32 transitions. Second operand 8 states. [2018-11-23 13:44:33,540 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:44:33,540 INFO L93 Difference]: Finished difference Result 38 states and 39 transitions. [2018-11-23 13:44:33,540 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2018-11-23 13:44:33,540 INFO L78 Accepts]: Start accepts. Automaton has 8 states. Word has length 26 [2018-11-23 13:44:33,541 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:44:33,541 INFO L225 Difference]: With dead ends: 38 [2018-11-23 13:44:33,541 INFO L226 Difference]: Without dead ends: 38 [2018-11-23 13:44:33,541 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 32 GetRequests, 26 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 6 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=28, Invalid=28, Unknown=0, NotChecked=0, Total=56 [2018-11-23 13:44:33,542 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 38 states. [2018-11-23 13:44:33,543 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 38 to 35. [2018-11-23 13:44:33,544 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 35 states. [2018-11-23 13:44:33,544 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 35 states to 35 states and 36 transitions. [2018-11-23 13:44:33,544 INFO L78 Accepts]: Start accepts. Automaton has 35 states and 36 transitions. Word has length 26 [2018-11-23 13:44:33,545 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:44:33,545 INFO L480 AbstractCegarLoop]: Abstraction has 35 states and 36 transitions. [2018-11-23 13:44:33,545 INFO L481 AbstractCegarLoop]: Interpolant automaton has 8 states. [2018-11-23 13:44:33,545 INFO L276 IsEmpty]: Start isEmpty. Operand 35 states and 36 transitions. [2018-11-23 13:44:33,545 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 31 [2018-11-23 13:44:33,546 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:44:33,546 INFO L402 BasicCegarLoop]: trace histogram [5, 5, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:44:33,546 INFO L423 AbstractCegarLoop]: === Iteration 11 === [mainErr1REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION]=== [2018-11-23 13:44:33,546 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:44:33,546 INFO L82 PathProgramCache]: Analyzing trace with hash -658554757, now seen corresponding path program 5 times [2018-11-23 13:44:33,546 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:44:33,547 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:44:33,547 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:33,547 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-23 13:44:33,548 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:33,557 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:44:33,615 INFO L134 CoverageAnalysis]: Checked inductivity of 45 backedges. 0 proven. 45 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:33,615 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 13:44:33,615 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/z3 Starting monitored process 6 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 6 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-11-23 13:44:33,621 INFO L103 rtionOrderModulation]: Keeping assertion order INSIDE_LOOP_FIRST1 [2018-11-23 13:44:33,645 INFO L249 tOrderPrioritization]: Assert order INSIDE_LOOP_FIRST1 issued 6 check-sat command(s) [2018-11-23 13:44:33,645 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2018-11-23 13:44:33,647 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 13:44:33,657 INFO L134 CoverageAnalysis]: Checked inductivity of 45 backedges. 0 proven. 45 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:33,674 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 13:44:33,674 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 8] total 9 [2018-11-23 13:44:33,674 INFO L459 AbstractCegarLoop]: Interpolant automaton has 9 states [2018-11-23 13:44:33,674 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2018-11-23 13:44:33,674 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=36, Invalid=36, Unknown=0, NotChecked=0, Total=72 [2018-11-23 13:44:33,675 INFO L87 Difference]: Start difference. First operand 35 states and 36 transitions. Second operand 9 states. [2018-11-23 13:44:33,709 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:44:33,710 INFO L93 Difference]: Finished difference Result 42 states and 43 transitions. [2018-11-23 13:44:33,710 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2018-11-23 13:44:33,710 INFO L78 Accepts]: Start accepts. Automaton has 9 states. Word has length 30 [2018-11-23 13:44:33,710 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:44:33,711 INFO L225 Difference]: With dead ends: 42 [2018-11-23 13:44:33,711 INFO L226 Difference]: Without dead ends: 42 [2018-11-23 13:44:33,711 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 37 GetRequests, 30 SyntacticMatches, 0 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 8 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=36, Invalid=36, Unknown=0, NotChecked=0, Total=72 [2018-11-23 13:44:33,711 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 42 states. [2018-11-23 13:44:33,714 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 42 to 39. [2018-11-23 13:44:33,714 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 39 states. [2018-11-23 13:44:33,714 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 39 states to 39 states and 40 transitions. [2018-11-23 13:44:33,714 INFO L78 Accepts]: Start accepts. Automaton has 39 states and 40 transitions. Word has length 30 [2018-11-23 13:44:33,715 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:44:33,715 INFO L480 AbstractCegarLoop]: Abstraction has 39 states and 40 transitions. [2018-11-23 13:44:33,715 INFO L481 AbstractCegarLoop]: Interpolant automaton has 9 states. [2018-11-23 13:44:33,715 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 40 transitions. [2018-11-23 13:44:33,715 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 35 [2018-11-23 13:44:33,715 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:44:33,715 INFO L402 BasicCegarLoop]: trace histogram [6, 6, 6, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:44:33,716 INFO L423 AbstractCegarLoop]: === Iteration 12 === [mainErr1REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION]=== [2018-11-23 13:44:33,716 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:44:33,716 INFO L82 PathProgramCache]: Analyzing trace with hash -1663860610, now seen corresponding path program 6 times [2018-11-23 13:44:33,716 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:44:33,716 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:44:33,716 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:33,717 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-23 13:44:33,717 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:33,725 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:44:33,794 INFO L134 CoverageAnalysis]: Checked inductivity of 66 backedges. 0 proven. 66 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:33,794 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 13:44:33,794 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/z3 Starting monitored process 7 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 7 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-11-23 13:44:33,805 INFO L103 rtionOrderModulation]: Keeping assertion order MIX_INSIDE_OUTSIDE [2018-11-23 13:44:33,829 INFO L249 tOrderPrioritization]: Assert order MIX_INSIDE_OUTSIDE issued 7 check-sat command(s) [2018-11-23 13:44:33,830 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2018-11-23 13:44:33,832 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 13:44:33,845 INFO L134 CoverageAnalysis]: Checked inductivity of 66 backedges. 0 proven. 66 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:33,861 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 13:44:33,861 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [9, 9] total 10 [2018-11-23 13:44:33,862 INFO L459 AbstractCegarLoop]: Interpolant automaton has 10 states [2018-11-23 13:44:33,862 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2018-11-23 13:44:33,862 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=45, Invalid=45, Unknown=0, NotChecked=0, Total=90 [2018-11-23 13:44:33,862 INFO L87 Difference]: Start difference. First operand 39 states and 40 transitions. Second operand 10 states. [2018-11-23 13:44:33,892 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:44:33,892 INFO L93 Difference]: Finished difference Result 46 states and 47 transitions. [2018-11-23 13:44:33,892 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2018-11-23 13:44:33,892 INFO L78 Accepts]: Start accepts. Automaton has 10 states. Word has length 34 [2018-11-23 13:44:33,893 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:44:33,893 INFO L225 Difference]: With dead ends: 46 [2018-11-23 13:44:33,893 INFO L226 Difference]: Without dead ends: 46 [2018-11-23 13:44:33,893 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 42 GetRequests, 34 SyntacticMatches, 0 SemanticMatches, 8 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 10 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=45, Invalid=45, Unknown=0, NotChecked=0, Total=90 [2018-11-23 13:44:33,894 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 46 states. [2018-11-23 13:44:33,895 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 46 to 43. [2018-11-23 13:44:33,895 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 43 states. [2018-11-23 13:44:33,896 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 43 states to 43 states and 44 transitions. [2018-11-23 13:44:33,896 INFO L78 Accepts]: Start accepts. Automaton has 43 states and 44 transitions. Word has length 34 [2018-11-23 13:44:33,896 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:44:33,897 INFO L480 AbstractCegarLoop]: Abstraction has 43 states and 44 transitions. [2018-11-23 13:44:33,897 INFO L481 AbstractCegarLoop]: Interpolant automaton has 10 states. [2018-11-23 13:44:33,897 INFO L276 IsEmpty]: Start isEmpty. Operand 43 states and 44 transitions. [2018-11-23 13:44:33,897 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 39 [2018-11-23 13:44:33,897 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:44:33,897 INFO L402 BasicCegarLoop]: trace histogram [7, 7, 7, 7, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:44:33,898 INFO L423 AbstractCegarLoop]: === Iteration 13 === [mainErr1REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION]=== [2018-11-23 13:44:33,898 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:44:33,898 INFO L82 PathProgramCache]: Analyzing trace with hash -1124989183, now seen corresponding path program 7 times [2018-11-23 13:44:33,898 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:44:33,898 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:44:33,899 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:33,899 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-23 13:44:33,899 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:33,907 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:44:33,983 INFO L134 CoverageAnalysis]: Checked inductivity of 91 backedges. 0 proven. 91 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:33,983 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 13:44:33,984 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/z3 Starting monitored process 8 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 8 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-11-23 13:44:33,989 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:44:34,003 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:44:34,005 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 13:44:34,018 INFO L134 CoverageAnalysis]: Checked inductivity of 91 backedges. 0 proven. 91 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:34,032 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 13:44:34,032 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [10, 10] total 11 [2018-11-23 13:44:34,032 INFO L459 AbstractCegarLoop]: Interpolant automaton has 11 states [2018-11-23 13:44:34,033 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 11 interpolants. [2018-11-23 13:44:34,033 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=55, Invalid=55, Unknown=0, NotChecked=0, Total=110 [2018-11-23 13:44:34,033 INFO L87 Difference]: Start difference. First operand 43 states and 44 transitions. Second operand 11 states. [2018-11-23 13:44:34,064 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:44:34,064 INFO L93 Difference]: Finished difference Result 50 states and 51 transitions. [2018-11-23 13:44:34,065 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 10 states. [2018-11-23 13:44:34,065 INFO L78 Accepts]: Start accepts. Automaton has 11 states. Word has length 38 [2018-11-23 13:44:34,065 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:44:34,065 INFO L225 Difference]: With dead ends: 50 [2018-11-23 13:44:34,065 INFO L226 Difference]: Without dead ends: 50 [2018-11-23 13:44:34,066 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 47 GetRequests, 38 SyntacticMatches, 0 SemanticMatches, 9 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 12 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=55, Invalid=55, Unknown=0, NotChecked=0, Total=110 [2018-11-23 13:44:34,066 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 50 states. [2018-11-23 13:44:34,071 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 50 to 47. [2018-11-23 13:44:34,071 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 47 states. [2018-11-23 13:44:34,072 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 47 states and 48 transitions. [2018-11-23 13:44:34,072 INFO L78 Accepts]: Start accepts. Automaton has 47 states and 48 transitions. Word has length 38 [2018-11-23 13:44:34,072 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:44:34,072 INFO L480 AbstractCegarLoop]: Abstraction has 47 states and 48 transitions. [2018-11-23 13:44:34,072 INFO L481 AbstractCegarLoop]: Interpolant automaton has 11 states. [2018-11-23 13:44:34,072 INFO L276 IsEmpty]: Start isEmpty. Operand 47 states and 48 transitions. [2018-11-23 13:44:34,073 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 43 [2018-11-23 13:44:34,073 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:44:34,073 INFO L402 BasicCegarLoop]: trace histogram [8, 8, 8, 8, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:44:34,073 INFO L423 AbstractCegarLoop]: === Iteration 14 === [mainErr1REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION]=== [2018-11-23 13:44:34,073 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:44:34,074 INFO L82 PathProgramCache]: Analyzing trace with hash 93557764, now seen corresponding path program 8 times [2018-11-23 13:44:34,074 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:44:34,074 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:44:34,074 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:34,074 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 13:44:34,074 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:34,082 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:44:34,150 INFO L134 CoverageAnalysis]: Checked inductivity of 120 backedges. 0 proven. 120 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:34,151 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 13:44:34,151 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/z3 Starting monitored process 9 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 9 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-11-23 13:44:34,159 INFO L103 rtionOrderModulation]: Keeping assertion order OUTSIDE_LOOP_FIRST1 [2018-11-23 13:44:34,173 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2018-11-23 13:44:34,173 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2018-11-23 13:44:34,175 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 13:44:34,198 INFO L134 CoverageAnalysis]: Checked inductivity of 120 backedges. 0 proven. 120 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:34,212 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 13:44:34,212 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [11, 11] total 12 [2018-11-23 13:44:34,212 INFO L459 AbstractCegarLoop]: Interpolant automaton has 12 states [2018-11-23 13:44:34,213 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 12 interpolants. [2018-11-23 13:44:34,213 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=66, Invalid=66, Unknown=0, NotChecked=0, Total=132 [2018-11-23 13:44:34,213 INFO L87 Difference]: Start difference. First operand 47 states and 48 transitions. Second operand 12 states. [2018-11-23 13:44:34,238 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:44:34,238 INFO L93 Difference]: Finished difference Result 54 states and 55 transitions. [2018-11-23 13:44:34,239 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 11 states. [2018-11-23 13:44:34,239 INFO L78 Accepts]: Start accepts. Automaton has 12 states. Word has length 42 [2018-11-23 13:44:34,239 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:44:34,239 INFO L225 Difference]: With dead ends: 54 [2018-11-23 13:44:34,240 INFO L226 Difference]: Without dead ends: 54 [2018-11-23 13:44:34,240 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 52 GetRequests, 42 SyntacticMatches, 0 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 14 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=66, Invalid=66, Unknown=0, NotChecked=0, Total=132 [2018-11-23 13:44:34,240 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 54 states. [2018-11-23 13:44:34,242 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 54 to 51. [2018-11-23 13:44:34,242 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 51 states. [2018-11-23 13:44:34,242 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 51 states and 52 transitions. [2018-11-23 13:44:34,243 INFO L78 Accepts]: Start accepts. Automaton has 51 states and 52 transitions. Word has length 42 [2018-11-23 13:44:34,243 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:44:34,243 INFO L480 AbstractCegarLoop]: Abstraction has 51 states and 52 transitions. [2018-11-23 13:44:34,243 INFO L481 AbstractCegarLoop]: Interpolant automaton has 12 states. [2018-11-23 13:44:34,243 INFO L276 IsEmpty]: Start isEmpty. Operand 51 states and 52 transitions. [2018-11-23 13:44:34,244 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 47 [2018-11-23 13:44:34,244 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:44:34,244 INFO L402 BasicCegarLoop]: trace histogram [9, 9, 9, 9, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:44:34,244 INFO L423 AbstractCegarLoop]: === Iteration 15 === [mainErr1REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION]=== [2018-11-23 13:44:34,244 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:44:34,244 INFO L82 PathProgramCache]: Analyzing trace with hash -657397881, now seen corresponding path program 9 times [2018-11-23 13:44:34,245 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:44:34,245 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:44:34,245 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:34,245 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-23 13:44:34,245 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:34,254 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 13:44:34,338 INFO L134 CoverageAnalysis]: Checked inductivity of 153 backedges. 0 proven. 153 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:34,338 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 13:44:34,338 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/z3 Starting monitored process 10 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 10 with z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:12000 [2018-11-23 13:44:34,345 INFO L103 rtionOrderModulation]: Keeping assertion order OUTSIDE_LOOP_FIRST2 [2018-11-23 13:44:34,394 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST2 issued 10 check-sat command(s) [2018-11-23 13:44:34,394 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2018-11-23 13:44:34,396 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 13:44:34,421 INFO L134 CoverageAnalysis]: Checked inductivity of 153 backedges. 0 proven. 153 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 13:44:34,445 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 13:44:34,445 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [12, 12] total 13 [2018-11-23 13:44:34,446 INFO L459 AbstractCegarLoop]: Interpolant automaton has 13 states [2018-11-23 13:44:34,446 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 13 interpolants. [2018-11-23 13:44:34,446 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=78, Invalid=78, Unknown=0, NotChecked=0, Total=156 [2018-11-23 13:44:34,446 INFO L87 Difference]: Start difference. First operand 51 states and 52 transitions. Second operand 13 states. [2018-11-23 13:44:34,481 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 13:44:34,481 INFO L93 Difference]: Finished difference Result 55 states and 56 transitions. [2018-11-23 13:44:34,481 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 12 states. [2018-11-23 13:44:34,481 INFO L78 Accepts]: Start accepts. Automaton has 13 states. Word has length 46 [2018-11-23 13:44:34,481 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 13:44:34,482 INFO L225 Difference]: With dead ends: 55 [2018-11-23 13:44:34,482 INFO L226 Difference]: Without dead ends: 55 [2018-11-23 13:44:34,482 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 57 GetRequests, 46 SyntacticMatches, 0 SemanticMatches, 11 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 16 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=78, Invalid=78, Unknown=0, NotChecked=0, Total=156 [2018-11-23 13:44:34,482 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 55 states. [2018-11-23 13:44:34,483 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 55 to 55. [2018-11-23 13:44:34,484 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 55 states. [2018-11-23 13:44:34,484 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 55 states to 55 states and 56 transitions. [2018-11-23 13:44:34,484 INFO L78 Accepts]: Start accepts. Automaton has 55 states and 56 transitions. Word has length 46 [2018-11-23 13:44:34,484 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 13:44:34,484 INFO L480 AbstractCegarLoop]: Abstraction has 55 states and 56 transitions. [2018-11-23 13:44:34,484 INFO L481 AbstractCegarLoop]: Interpolant automaton has 13 states. [2018-11-23 13:44:34,484 INFO L276 IsEmpty]: Start isEmpty. Operand 55 states and 56 transitions. [2018-11-23 13:44:34,485 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 51 [2018-11-23 13:44:34,485 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 13:44:34,485 INFO L402 BasicCegarLoop]: trace histogram [10, 10, 10, 10, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 13:44:34,485 INFO L423 AbstractCegarLoop]: === Iteration 16 === [mainErr1REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4REQUIRES_VIOLATION, mainErr6ENSURES_VIOLATIONMEMORY_LEAK, mainErr5REQUIRES_VIOLATION, mainErr0REQUIRES_VIOLATION]=== [2018-11-23 13:44:34,486 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 13:44:34,486 INFO L82 PathProgramCache]: Analyzing trace with hash 1583530378, now seen corresponding path program 10 times [2018-11-23 13:44:34,486 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 13:44:34,486 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 13:44:34,486 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:34,486 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-23 13:44:34,486 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 13:44:34,500 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 13:44:34,510 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 13:44:34,525 INFO L469 BasicCegarLoop]: Counterexample might be feasible ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder.RCFGBacktranslator [?] CALL call ULTIMATE.init(); VAL [|#NULL.base|=43, |#NULL.offset|=41, |old(#NULL.base)|=43, |old(#NULL.offset)|=41] [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=43, |old(#NULL.offset)|=41] [?] assume true; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=43, |old(#NULL.offset)|=41] [?] RET #40#return; VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] CALL call #t~ret7 := main(); VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(40);~p~0.base, ~p~0.offset := #t~malloc2.base, #t~malloc2.offset;~i~0 := 0; VAL [main_~i~0=0, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=0, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=0, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=0, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=1, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=1, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=1, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=1, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=2, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=2, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=2, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=2, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=3, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=3, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=3, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=3, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=4, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=4, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=4, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=4, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=5, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=5, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=5, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=5, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=6, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=6, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=6, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=6, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=7, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=7, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=7, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=7, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=8, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=8, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=8, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=8, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=9, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=9, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=9, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=9, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=10, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !(~i~0 < 10); VAL [main_~i~0=10, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume 0 == ~p~0.offset; VAL [main_~i~0=10, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume 0 == ~p~0.base || 1 == #valid[~p~0.base];call ULTIMATE.dealloc(~p~0.base, ~p~0.offset); VAL [main_~i~0=10, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !(1 == #valid[~p~0.base]); VAL [main_~i~0=10, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=43, #NULL.offset=41, old(#NULL.base)=43, old(#NULL.offset)=41] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=43, old(#NULL.offset)=41] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=43, old(#NULL.offset)=41] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL.base=0, #NULL.offset=0] [L8] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(40); [L8] ~p~0.base, ~p~0.offset := #t~malloc2.base, #t~malloc2.offset; [L10] ~i~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=0, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=0, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=0, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=0, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=1, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=1, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=1, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=1, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=2, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=2, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=2, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=2, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=3, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=3, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=3, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=3, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=4, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=4, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=4, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=4, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=5, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=5, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=5, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=5, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=6, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=6, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=6, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=6, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=7, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=7, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=7, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=7, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=8, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=8, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=8, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=8, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=9, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=9, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=9, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=9, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !(~i~0 < 10); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] [L14] assert 0 == ~p~0.offset; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] [L14] assert 0 == ~p~0.base || 1 == #valid[~p~0.base]; [L14] call ULTIMATE.dealloc(~p~0.base, ~p~0.offset); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] [L16] call #t~mem5 := read~int(~p~0.base, 2 + ~p~0.offset, 1); [?] requires 1 == #valid[#ptr.base]; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=43, #NULL.offset=41, old(#NULL.base)=43, old(#NULL.offset)=41] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=43, old(#NULL.offset)=41] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=43, old(#NULL.offset)=41] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL.base=0, #NULL.offset=0] [L8] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(40); [L8] ~p~0.base, ~p~0.offset := #t~malloc2.base, #t~malloc2.offset; [L10] ~i~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=0, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=0, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=0, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=0, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=1, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=1, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=1, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=1, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=2, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=2, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=2, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=2, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=3, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=3, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=3, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=3, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=4, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=4, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=4, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=4, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=5, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=5, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=5, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=5, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=6, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=6, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=6, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=6, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=7, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=7, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=7, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=7, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=8, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=8, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=8, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=8, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=9, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=9, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=9, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=9, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !(~i~0 < 10); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] [L14] assert 0 == ~p~0.offset; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] [L14] assert 0 == ~p~0.base || 1 == #valid[~p~0.base]; [L14] call ULTIMATE.dealloc(~p~0.base, ~p~0.offset); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] [L16] call #t~mem5 := read~int(~p~0.base, 2 + ~p~0.offset, 1); [?] requires 1 == #valid[#ptr.base]; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=43, #NULL!offset=41, old(#NULL!base)=43, old(#NULL!offset)=41] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=43, old(#NULL!offset)=41] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L8] FCALL call #t~malloc2 := #Ultimate.alloc(40); [L8] ~p~0 := #t~malloc2; [L10] ~i~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=0, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=0, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=0, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=0, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=1, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=1, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=1, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=1, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=2, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=2, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=2, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=2, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=3, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=3, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=3, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=3, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=4, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=4, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=4, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=4, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=5, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=5, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=5, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=5, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=6, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=6, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=6, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=6, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=7, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=7, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=7, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=7, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=8, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=8, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=8, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=8, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=9, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=9, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=9, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=9, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND TRUE !(~i~0 < 10) VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] [L14] assert 0 == ~p~0!offset; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] [L14] assert 0 == ~p~0!base || 1 == #valid[~p~0!base]; [L14] FCALL call ULTIMATE.dealloc(~p~0); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] [L16] FCALL call #t~mem5 := read~int({ base: ~p~0!base, offset: 2 + ~p~0!offset }, 1); [?] requires 1 == #valid[#ptr.base]; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=43, #NULL!offset=41, old(#NULL!base)=43, old(#NULL!offset)=41] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=43, old(#NULL!offset)=41] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L8] FCALL call #t~malloc2 := #Ultimate.alloc(40); [L8] ~p~0 := #t~malloc2; [L10] ~i~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=0, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=0, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=0, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=0, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=1, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=1, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=1, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=1, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=2, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=2, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=2, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=2, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=3, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=3, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=3, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=3, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=4, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=4, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=4, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=4, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=5, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=5, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=5, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=5, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=6, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=6, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=6, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=6, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=7, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=7, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=7, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=7, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=8, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=8, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=8, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=8, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=9, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=9, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=9, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=9, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND TRUE !(~i~0 < 10) VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] [L14] assert 0 == ~p~0!offset; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] [L14] assert 0 == ~p~0!base || 1 == #valid[~p~0!base]; [L14] FCALL call ULTIMATE.dealloc(~p~0); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] [L16] FCALL call #t~mem5 := read~int({ base: ~p~0!base, offset: 2 + ~p~0!offset }, 1); [?] requires 1 == #valid[#ptr.base]; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] [L8] char* p = malloc(10 * sizeof(int)); [L10] int i = 0; VAL [i=0, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=0, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=1, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=1, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=2, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=2, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=3, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=3, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=4, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=4, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=6, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=6, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=7, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=7, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=8, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=8, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=9, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=9, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=10, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND FALSE !(i < 10) VAL [i=10, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L14] free(p) VAL [i=10, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L14] free(p) [L16] p[2] ----- [2018-11-23 13:44:34,590 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 01:44:34 BoogieIcfgContainer [2018-11-23 13:44:34,590 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 13:44:34,591 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 13:44:34,591 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 13:44:34,591 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 13:44:34,591 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 01:44:32" (3/4) ... [2018-11-23 13:44:34,597 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|=43, |#NULL.offset|=41, |old(#NULL.base)|=43, |old(#NULL.offset)|=41] [?] #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0]; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=43, |old(#NULL.offset)|=41] [?] assume true; VAL [|#NULL.base|=0, |#NULL.offset|=0, |old(#NULL.base)|=43, |old(#NULL.offset)|=41] [?] RET #40#return; VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] CALL call #t~ret7 := main(); VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(40);~p~0.base, ~p~0.offset := #t~malloc2.base, #t~malloc2.offset;~i~0 := 0; VAL [main_~i~0=0, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=0, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=0, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=0, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=1, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=1, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=1, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=1, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=2, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=2, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=2, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=2, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=3, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=3, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=3, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=3, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=4, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=4, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=4, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=4, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=5, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=5, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=5, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=5, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=6, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=6, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=6, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=6, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=7, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=7, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=7, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=7, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=8, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=8, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=8, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=8, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=9, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !!(~i~0 < 10);assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [main_~i~0=9, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] SUMMARY for call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); srcloc: L11 VAL [main_~i~0=9, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0, |main_#t~nondet4|=0] [?] havoc #t~nondet4; VAL [main_~i~0=9, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] #t~post3 := ~i~0;~i~0 := 1 + #t~post3;havoc #t~post3; VAL [main_~i~0=10, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !(~i~0 < 10); VAL [main_~i~0=10, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume 0 == ~p~0.offset; VAL [main_~i~0=10, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume 0 == ~p~0.base || 1 == #valid[~p~0.base];call ULTIMATE.dealloc(~p~0.base, ~p~0.offset); VAL [main_~i~0=10, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] assume !(1 == #valid[~p~0.base]); VAL [main_~i~0=10, main_~p~0.base=42, main_~p~0.offset=0, |#NULL.base|=0, |#NULL.offset|=0, |main_#t~malloc2.base|=42, |main_#t~malloc2.offset|=0] [?] CALL call ULTIMATE.init(); VAL [#NULL.base=43, #NULL.offset=41, old(#NULL.base)=43, old(#NULL.offset)=41] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=43, old(#NULL.offset)=41] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=43, old(#NULL.offset)=41] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL.base=0, #NULL.offset=0] [L8] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(40); [L8] ~p~0.base, ~p~0.offset := #t~malloc2.base, #t~malloc2.offset; [L10] ~i~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=0, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=0, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=0, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=0, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=1, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=1, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=1, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=1, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=2, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=2, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=2, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=2, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=3, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=3, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=3, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=3, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=4, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=4, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=4, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=4, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=5, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=5, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=5, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=5, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=6, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=6, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=6, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=6, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=7, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=7, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=7, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=7, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=8, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=8, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=8, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=8, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=9, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=9, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=9, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=9, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !(~i~0 < 10); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] [L14] assert 0 == ~p~0.offset; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] [L14] assert 0 == ~p~0.base || 1 == #valid[~p~0.base]; [L14] call ULTIMATE.dealloc(~p~0.base, ~p~0.offset); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] [L16] call #t~mem5 := read~int(~p~0.base, 2 + ~p~0.offset, 1); [?] requires 1 == #valid[#ptr.base]; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.boogie.preprocessor.BoogiePreprocessorBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL.base=43, #NULL.offset=41, old(#NULL.base)=43, old(#NULL.offset)=41] [?] #NULL.base, #NULL.offset := 0, 0; [?] #valid := #valid[0 := 0]; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=43, old(#NULL.offset)=41] [?] ensures true; VAL [#NULL.base=0, #NULL.offset=0, old(#NULL.base)=43, old(#NULL.offset)=41] [?] RET call ULTIMATE.init(); VAL [#NULL.base=0, #NULL.offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL.base=0, #NULL.offset=0] [L8] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(40); [L8] ~p~0.base, ~p~0.offset := #t~malloc2.base, #t~malloc2.offset; [L10] ~i~0 := 0; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=0, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=0, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=0, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=0, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=1, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=1, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=1, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=1, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=2, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=2, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=2, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=2, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=3, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=3, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=3, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=3, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=4, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=4, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=4, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=4, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=5, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=5, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=5, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=5, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=6, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=6, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=6, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=6, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=7, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=7, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=7, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=7, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=8, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=8, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=8, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=8, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=9, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !!(~i~0 < 10); [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=9, ~p~0.base=42, ~p~0.offset=0] [L11] call write~int(#t~nondet4, ~p~0.base, ~p~0.offset + ~i~0, 1); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, #t~nondet4=0, ~i~0=9, ~p~0.base=42, ~p~0.offset=0] [L11] havoc #t~nondet4; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=9, ~p~0.base=42, ~p~0.offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] [L10-L12] assume !(~i~0 < 10); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] [L14] assert 0 == ~p~0.offset; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] [L14] assert 0 == ~p~0.base || 1 == #valid[~p~0.base]; [L14] call ULTIMATE.dealloc(~p~0.base, ~p~0.offset); VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] [L16] call #t~mem5 := read~int(~p~0.base, 2 + ~p~0.offset, 1); [?] requires 1 == #valid[#ptr.base]; VAL [#NULL.base=0, #NULL.offset=0, #t~malloc2.base=42, #t~malloc2.offset=0, ~i~0=10, ~p~0.base=42, ~p~0.offset=0] [?] CALL call ULTIMATE.init(); VAL [#NULL!base=43, #NULL!offset=41, old(#NULL!base)=43, old(#NULL!offset)=41] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=43, old(#NULL!offset)=41] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L8] FCALL call #t~malloc2 := #Ultimate.alloc(40); [L8] ~p~0 := #t~malloc2; [L10] ~i~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=0, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=0, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=0, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=0, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=1, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=1, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=1, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=1, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=2, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=2, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=2, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=2, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=3, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=3, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=3, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=3, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=4, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=4, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=4, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=4, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=5, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=5, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=5, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=5, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=6, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=6, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=6, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=6, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=7, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=7, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=7, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=7, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=8, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=8, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=8, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=8, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=9, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=9, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=9, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=9, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND TRUE !(~i~0 < 10) VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] [L14] assert 0 == ~p~0!offset; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] [L14] assert 0 == ~p~0!base || 1 == #valid[~p~0!base]; [L14] FCALL call ULTIMATE.dealloc(~p~0); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] [L16] FCALL call #t~mem5 := read~int({ base: ~p~0!base, offset: 2 + ~p~0!offset }, 1); [?] requires 1 == #valid[#ptr.base]; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] ----- ----- class de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.CACSL2BoogieBacktranslator [?] CALL call ULTIMATE.init(); VAL [#NULL!base=43, #NULL!offset=41, old(#NULL!base)=43, old(#NULL!offset)=41] [?] #NULL := { base: 0, offset: 0 }; [?] #valid[0] := 0; VAL [#NULL!base=0, #NULL!offset=0, old(#NULL!base)=43, old(#NULL!offset)=41] [?] RET call ULTIMATE.init(); VAL [#NULL!base=0, #NULL!offset=0] [?] CALL call #t~ret7 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L8] FCALL call #t~malloc2 := #Ultimate.alloc(40); [L8] ~p~0 := #t~malloc2; [L10] ~i~0 := 0; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=0, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=0, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=0, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=0, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=1, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=1, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=1, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=1, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=2, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=2, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=2, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=2, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=3, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=3, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=3, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=3, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=4, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=4, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=4, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=4, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=5, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=5, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=5, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=5, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=6, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=6, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=6, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=6, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=7, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=7, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=7, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=7, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=8, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=8, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=8, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=8, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=9, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND FALSE !(!(~i~0 < 10)) [L11] assume -128 <= #t~nondet4 && #t~nondet4 <= 127; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=9, ~p~0!base=42, ~p~0!offset=0] [L11] FCALL call write~int(#t~nondet4, { base: ~p~0!base, offset: ~p~0!offset + ~i~0 }, 1); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, #t~nondet4=0, ~i~0=9, ~p~0!base=42, ~p~0!offset=0] [L11] havoc #t~nondet4; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=9, ~p~0!base=42, ~p~0!offset=0] [L10] #t~post3 := ~i~0; [L10] ~i~0 := 1 + #t~post3; [L10] havoc #t~post3; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] [L10-L12] COND TRUE !(~i~0 < 10) VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] [L14] assert 0 == ~p~0!offset; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] [L14] assert 0 == ~p~0!base || 1 == #valid[~p~0!base]; [L14] FCALL call ULTIMATE.dealloc(~p~0); VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] [L16] FCALL call #t~mem5 := read~int({ base: ~p~0!base, offset: 2 + ~p~0!offset }, 1); [?] requires 1 == #valid[#ptr.base]; VAL [#NULL!base=0, #NULL!offset=0, #t~malloc2!base=42, #t~malloc2!offset=0, ~i~0=10, ~p~0!base=42, ~p~0!offset=0] [L8] char* p = malloc(10 * sizeof(int)); [L10] int i = 0; VAL [i=0, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=0, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=1, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=1, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=2, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=2, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=3, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=3, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=4, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=4, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=6, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=6, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=7, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=7, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=8, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=8, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=9, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=9, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=10, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND FALSE !(i < 10) VAL [i=10, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L14] free(p) VAL [i=10, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L14] free(p) [L16] p[2] ----- [2018-11-23 13:44:34,725 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_d8e24b7d-affe-4ad7-82d1-d53d85229253/bin-2019/uautomizer/witness.graphml [2018-11-23 13:44:34,730 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 13:44:34,731 INFO L168 Benchmark]: Toolchain (without parser) took 2734.78 ms. Allocated memory was 1.0 GB in the beginning and 1.3 GB in the end (delta: 228.1 MB). Free memory was 953.8 MB in the beginning and 1.2 GB in the end (delta: -236.5 MB). There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 13:44:34,733 INFO L168 Benchmark]: CDTParser took 0.14 ms. Allocated memory is still 1.0 GB. Free memory is still 980.1 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 13:44:34,733 INFO L168 Benchmark]: CACSL2BoogieTranslator took 139.34 ms. Allocated memory is still 1.0 GB. Free memory was 953.8 MB in the beginning and 943.0 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. [2018-11-23 13:44:34,733 INFO L168 Benchmark]: Boogie Preprocessor took 28.72 ms. Allocated memory is still 1.0 GB. Free memory was 943.0 MB in the beginning and 940.3 MB in the end (delta: 2.7 MB). Peak memory consumption was 2.7 MB. Max. memory is 11.5 GB. [2018-11-23 13:44:34,733 INFO L168 Benchmark]: RCFGBuilder took 218.16 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 153.1 MB). Free memory was 940.3 MB in the beginning and 1.1 GB in the end (delta: -192.0 MB). Peak memory consumption was 14.3 MB. Max. memory is 11.5 GB. [2018-11-23 13:44:34,738 INFO L168 Benchmark]: TraceAbstraction took 2206.06 ms. Allocated memory was 1.2 GB in the beginning and 1.3 GB in the end (delta: 75.0 MB). Free memory was 1.1 GB in the beginning and 1.2 GB in the end (delta: -63.1 MB). Peak memory consumption was 11.9 MB. Max. memory is 11.5 GB. [2018-11-23 13:44:34,738 INFO L168 Benchmark]: Witness Printer took 139.88 ms. Allocated memory is still 1.3 GB. Free memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 5.2 MB). Peak memory consumption was 5.2 MB. Max. memory is 11.5 GB. [2018-11-23 13:44:34,740 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 980.1 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 139.34 ms. Allocated memory is still 1.0 GB. Free memory was 953.8 MB in the beginning and 943.0 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 28.72 ms. Allocated memory is still 1.0 GB. Free memory was 943.0 MB in the beginning and 940.3 MB in the end (delta: 2.7 MB). Peak memory consumption was 2.7 MB. Max. memory is 11.5 GB. * RCFGBuilder took 218.16 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 153.1 MB). Free memory was 940.3 MB in the beginning and 1.1 GB in the end (delta: -192.0 MB). Peak memory consumption was 14.3 MB. Max. memory is 11.5 GB. * TraceAbstraction took 2206.06 ms. Allocated memory was 1.2 GB in the beginning and 1.3 GB in the end (delta: 75.0 MB). Free memory was 1.1 GB in the beginning and 1.2 GB in the end (delta: -63.1 MB). Peak memory consumption was 11.9 MB. Max. memory is 11.5 GB. * Witness Printer took 139.88 ms. Allocated memory is still 1.3 GB. Free memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 5.2 MB). Peak memory consumption was 5.2 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 16]: pointer dereference may fail pointer dereference may fail We found a FailurePath: [L8] char* p = malloc(10 * sizeof(int)); [L10] int i = 0; VAL [i=0, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=0, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=1, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=1, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=2, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=2, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=3, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=3, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=4, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=4, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=6, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=6, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=7, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=7, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=8, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=8, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=9, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i < 10 [L11] p[i] = __VERIFIER_nondet_char() VAL [__VERIFIER_nondet_char()=0, i=9, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] i++ VAL [i=10, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND FALSE !(i < 10) VAL [i=10, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L14] free(p) VAL [i=10, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L14] free(p) [L16] p[2] - StatisticsResult: Ultimate Automizer benchmark data CFG has 3 procedures, 26 locations, 7 error locations. UNSAFE Result, 2.1s OverallTime, 16 OverallIterations, 10 TraceHistogramMax, 0.4s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 263 SDtfs, 221 SDslu, 667 SDs, 0 SdLazy, 310 SolverSat, 20 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.2s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 350 GetRequests, 278 SyntacticMatches, 1 SemanticMatches, 71 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 72 ImplicationChecksByTransitivity, 0.5s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=55occurred in iteration=15, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 15 MinimizatonAttempts, 44 StatesRemovedByMinimization, 13 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 0.8s InterpolantComputationTime, 646 NumberOfCodeBlocks, 646 NumberOfCodeBlocksAsserted, 51 NumberOfCheckSat, 572 ConstructedInterpolants, 0 QuantifiedInterpolants, 44397 SizeOfPredicates, 9 NumberOfNonLiveVariables, 909 ConjunctsInSsa, 63 ConjunctsInUnsatCore, 24 InterpolantComputations, 6 PerfectInterpolantSequences, 3/1053 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...