./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/memsafety-ext3/derefAfterFree2_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_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/bin-2019/uautomizer/data/config -Xmx12G -Xms1G -jar /tmp/vcloud-vcloud-master/worker/working_dir_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/bin-2019/uautomizer/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /tmp/vcloud-vcloud-master/worker/working_dir_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/bin-2019/uautomizer/data -tc /tmp/vcloud-vcloud-master/worker/working_dir_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/bin-2019/uautomizer/config/AutomizerMemDerefMemtrack.xml -i ../../sv-benchmarks/c/memsafety-ext3/derefAfterFree2_false-valid-deref.c -s /tmp/vcloud-vcloud-master/worker/working_dir_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/bin-2019/uautomizer/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud-vcloud-master/worker/working_dir_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/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 44834c55142a76240cb3980fc2bb6f5aeaa27c83 .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... 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 03:22:26,720 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-11-23 03:22:26,721 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-11-23 03:22:26,730 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-11-23 03:22:26,730 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-11-23 03:22:26,731 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-11-23 03:22:26,732 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-11-23 03:22:26,733 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-11-23 03:22:26,734 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-11-23 03:22:26,734 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-11-23 03:22:26,735 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-11-23 03:22:26,735 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-11-23 03:22:26,736 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-11-23 03:22:26,737 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-11-23 03:22:26,738 INFO L174 SettingsManager]: Resetting ChcToBoogie preferences to default values [2018-11-23 03:22:26,738 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-11-23 03:22:26,739 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-11-23 03:22:26,740 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-11-23 03:22:26,742 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-11-23 03:22:26,743 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-11-23 03:22:26,743 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-11-23 03:22:26,744 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-11-23 03:22:26,746 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-11-23 03:22:26,746 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-11-23 03:22:26,747 INFO L174 SettingsManager]: Resetting TreeAutomizer preferences to default values [2018-11-23 03:22:26,747 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-11-23 03:22:26,748 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-11-23 03:22:26,749 INFO L174 SettingsManager]: Resetting ReqPrinter preferences to default values [2018-11-23 03:22:26,750 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-11-23 03:22:26,750 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-11-23 03:22:26,751 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-11-23 03:22:26,751 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-11-23 03:22:26,751 INFO L177 SettingsManager]: ReqParser provides no preferences, ignoring... [2018-11-23 03:22:26,751 INFO L174 SettingsManager]: Resetting SmtParser preferences to default values [2018-11-23 03:22:26,753 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-11-23 03:22:26,753 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-11-23 03:22:26,754 INFO L98 SettingsManager]: Beginning loading settings from /tmp/vcloud-vcloud-master/worker/working_dir_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/bin-2019/uautomizer/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2018-11-23 03:22:26,763 INFO L110 SettingsManager]: Loading preferences was successful [2018-11-23 03:22:26,763 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-11-23 03:22:26,764 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-11-23 03:22:26,764 INFO L133 SettingsManager]: * ... calls to implemented procedures=ONLY_FOR_CONCURRENT_PROGRAMS [2018-11-23 03:22:26,765 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-11-23 03:22:26,765 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-11-23 03:22:26,765 INFO L133 SettingsManager]: * Use SBE=true [2018-11-23 03:22:26,765 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-11-23 03:22:26,765 INFO L133 SettingsManager]: * sizeof long=4 [2018-11-23 03:22:26,765 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-11-23 03:22:26,765 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-11-23 03:22:26,766 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-11-23 03:22:26,766 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-11-23 03:22:26,766 INFO L133 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2018-11-23 03:22:26,766 INFO L133 SettingsManager]: * Bitprecise bitfields=true [2018-11-23 03:22:26,766 INFO L133 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2018-11-23 03:22:26,766 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-11-23 03:22:26,766 INFO L133 SettingsManager]: * sizeof long double=12 [2018-11-23 03:22:26,766 INFO L133 SettingsManager]: * Use constant arrays=true [2018-11-23 03:22:26,767 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-11-23 03:22:26,767 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-11-23 03:22:26,767 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-11-23 03:22:26,767 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-11-23 03:22:26,767 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-11-23 03:22:26,767 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-11-23 03:22:26,767 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-11-23 03:22:26,768 INFO L133 SettingsManager]: * Trace refinement strategy=CAMEL [2018-11-23 03:22:26,768 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-11-23 03:22:26,768 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_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/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 -> 44834c55142a76240cb3980fc2bb6f5aeaa27c83 [2018-11-23 03:22:26,791 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-11-23 03:22:26,799 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2018-11-23 03:22:26,802 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2018-11-23 03:22:26,803 INFO L271 PluginConnector]: Initializing CDTParser... [2018-11-23 03:22:26,803 INFO L276 PluginConnector]: CDTParser initialized [2018-11-23 03:22:26,804 INFO L418 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud-vcloud-master/worker/working_dir_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/bin-2019/uautomizer/../../sv-benchmarks/c/memsafety-ext3/derefAfterFree2_false-valid-deref.c [2018-11-23 03:22:26,843 INFO L221 CDTParser]: Created temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/bin-2019/uautomizer/data/c0e5e79ce/975c80bb3f274aa18f8b3db9eec2969c/FLAGd5ba5a65d [2018-11-23 03:22:27,175 INFO L307 CDTParser]: Found 1 translation units. [2018-11-23 03:22:27,176 INFO L161 CDTParser]: Scanning /tmp/vcloud-vcloud-master/worker/working_dir_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/sv-benchmarks/c/memsafety-ext3/derefAfterFree2_false-valid-deref.c [2018-11-23 03:22:27,179 INFO L355 CDTParser]: About to delete temporary CDT project at /tmp/vcloud-vcloud-master/worker/working_dir_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/bin-2019/uautomizer/data/c0e5e79ce/975c80bb3f274aa18f8b3db9eec2969c/FLAGd5ba5a65d [2018-11-23 03:22:27,613 INFO L363 CDTParser]: Successfully deleted /tmp/vcloud-vcloud-master/worker/working_dir_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/bin-2019/uautomizer/data/c0e5e79ce/975c80bb3f274aa18f8b3db9eec2969c [2018-11-23 03:22:27,615 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-11-23 03:22:27,616 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2018-11-23 03:22:27,617 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-11-23 03:22:27,617 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-11-23 03:22:27,619 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-11-23 03:22:27,619 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 03:22:27" (1/1) ... [2018-11-23 03:22:27,621 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3a030d19 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:22:27, skipping insertion in model container [2018-11-23 03:22:27,621 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 23.11 03:22:27" (1/1) ... [2018-11-23 03:22:27,626 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2018-11-23 03:22:27,639 INFO L176 MainTranslator]: Built tables and reachable declarations [2018-11-23 03:22:27,735 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 03:22:27,741 INFO L191 MainTranslator]: Completed pre-run [2018-11-23 03:22:27,749 INFO L201 PostProcessor]: Analyzing one entry point: main [2018-11-23 03:22:27,758 INFO L195 MainTranslator]: Completed translation [2018-11-23 03:22:27,758 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:22:27 WrapperNode [2018-11-23 03:22:27,758 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-11-23 03:22:27,759 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-11-23 03:22:27,759 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-11-23 03:22:27,759 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-11-23 03:22:27,769 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:22:27" (1/1) ... [2018-11-23 03:22:27,770 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:22:27" (1/1) ... [2018-11-23 03:22:27,776 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:22:27" (1/1) ... [2018-11-23 03:22:27,777 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:22:27" (1/1) ... [2018-11-23 03:22:27,781 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:22:27" (1/1) ... [2018-11-23 03:22:27,785 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:22:27" (1/1) ... [2018-11-23 03:22:27,786 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:22:27" (1/1) ... [2018-11-23 03:22:27,787 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-11-23 03:22:27,788 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-11-23 03:22:27,788 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-11-23 03:22:27,788 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-11-23 03:22:27,789 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:22:27" (1/1) ... No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/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 03:22:27,874 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-11-23 03:22:27,874 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-11-23 03:22:27,874 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2018-11-23 03:22:27,874 INFO L130 BoogieDeclarations]: Found specification of procedure free [2018-11-23 03:22:27,874 INFO L130 BoogieDeclarations]: Found specification of procedure malloc [2018-11-23 03:22:27,875 INFO L130 BoogieDeclarations]: Found specification of procedure main [2018-11-23 03:22:27,875 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-11-23 03:22:27,875 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2018-11-23 03:22:27,875 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-11-23 03:22:27,875 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-11-23 03:22:27,875 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-11-23 03:22:27,875 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2018-11-23 03:22:28,028 INFO L275 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-11-23 03:22:28,028 INFO L280 CfgBuilder]: Removed 1 assue(true) statements. [2018-11-23 03:22:28,029 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 03:22:28 BoogieIcfgContainer [2018-11-23 03:22:28,029 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-11-23 03:22:28,029 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-11-23 03:22:28,029 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-11-23 03:22:28,031 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-11-23 03:22:28,031 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 23.11 03:22:27" (1/3) ... [2018-11-23 03:22:28,032 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1da4d637 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 03:22:28, skipping insertion in model container [2018-11-23 03:22:28,032 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 23.11 03:22:27" (2/3) ... [2018-11-23 03:22:28,032 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1da4d637 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 23.11 03:22:28, skipping insertion in model container [2018-11-23 03:22:28,032 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 03:22:28" (3/3) ... [2018-11-23 03:22:28,034 INFO L112 eAbstractionObserver]: Analyzing ICFG derefAfterFree2_false-valid-deref.c [2018-11-23 03:22:28,040 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-11-23 03:22:28,049 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 5 error locations. [2018-11-23 03:22:28,060 INFO L257 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2018-11-23 03:22:28,082 INFO L133 ementStrategyFactory]: Using default assertion order modulation [2018-11-23 03:22:28,083 INFO L382 AbstractCegarLoop]: Interprodecural is true [2018-11-23 03:22:28,083 INFO L383 AbstractCegarLoop]: Hoare is false [2018-11-23 03:22:28,083 INFO L384 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-11-23 03:22:28,083 INFO L385 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2018-11-23 03:22:28,083 INFO L386 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-11-23 03:22:28,083 INFO L387 AbstractCegarLoop]: Difference is false [2018-11-23 03:22:28,083 INFO L388 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-11-23 03:22:28,084 INFO L393 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-11-23 03:22:28,096 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states. [2018-11-23 03:22:28,103 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2018-11-23 03:22:28,103 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 03:22:28,104 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 03:22:28,105 INFO L423 AbstractCegarLoop]: === Iteration 1 === [mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-23 03:22:28,108 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 03:22:28,109 INFO L82 PathProgramCache]: Analyzing trace with hash 1675552165, now seen corresponding path program 1 times [2018-11-23 03:22:28,110 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 03:22:28,110 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 03:22:28,142 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:22:28,142 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 03:22:28,142 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:22:28,170 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 03:22:28,231 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 03:22:28,234 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 03:22:28,234 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 03:22:28,237 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 03:22:28,249 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 03:22:28,249 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 03:22:28,251 INFO L87 Difference]: Start difference. First operand 22 states. Second operand 3 states. [2018-11-23 03:22:28,298 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 03:22:28,298 INFO L93 Difference]: Finished difference Result 27 states and 28 transitions. [2018-11-23 03:22:28,299 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 03:22:28,300 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 8 [2018-11-23 03:22:28,300 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 03:22:28,307 INFO L225 Difference]: With dead ends: 27 [2018-11-23 03:22:28,308 INFO L226 Difference]: Without dead ends: 24 [2018-11-23 03:22:28,309 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 03:22:28,322 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 24 states. [2018-11-23 03:22:28,330 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 24 to 22. [2018-11-23 03:22:28,331 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 22 states. [2018-11-23 03:22:28,331 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 22 states and 24 transitions. [2018-11-23 03:22:28,332 INFO L78 Accepts]: Start accepts. Automaton has 22 states and 24 transitions. Word has length 8 [2018-11-23 03:22:28,332 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 03:22:28,332 INFO L480 AbstractCegarLoop]: Abstraction has 22 states and 24 transitions. [2018-11-23 03:22:28,332 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 03:22:28,332 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 24 transitions. [2018-11-23 03:22:28,333 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2018-11-23 03:22:28,333 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 03:22:28,333 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 03:22:28,333 INFO L423 AbstractCegarLoop]: === Iteration 2 === [mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-23 03:22:28,333 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 03:22:28,333 INFO L82 PathProgramCache]: Analyzing trace with hash 1675552164, now seen corresponding path program 1 times [2018-11-23 03:22:28,334 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 03:22:28,334 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 03:22:28,334 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:22:28,335 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 03:22:28,335 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:22:28,342 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 03:22:28,365 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 03:22:28,366 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 03:22:28,366 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2018-11-23 03:22:28,367 INFO L459 AbstractCegarLoop]: Interpolant automaton has 3 states [2018-11-23 03:22:28,367 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2018-11-23 03:22:28,367 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2018-11-23 03:22:28,367 INFO L87 Difference]: Start difference. First operand 22 states and 24 transitions. Second operand 3 states. [2018-11-23 03:22:28,384 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 03:22:28,384 INFO L93 Difference]: Finished difference Result 28 states and 29 transitions. [2018-11-23 03:22:28,384 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2018-11-23 03:22:28,384 INFO L78 Accepts]: Start accepts. Automaton has 3 states. Word has length 8 [2018-11-23 03:22:28,384 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 03:22:28,385 INFO L225 Difference]: With dead ends: 28 [2018-11-23 03:22:28,385 INFO L226 Difference]: Without dead ends: 28 [2018-11-23 03:22:28,385 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 03:22:28,385 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 28 states. [2018-11-23 03:22:28,387 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 28 to 24. [2018-11-23 03:22:28,387 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 24 states. [2018-11-23 03:22:28,387 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 24 states and 27 transitions. [2018-11-23 03:22:28,387 INFO L78 Accepts]: Start accepts. Automaton has 24 states and 27 transitions. Word has length 8 [2018-11-23 03:22:28,388 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 03:22:28,388 INFO L480 AbstractCegarLoop]: Abstraction has 24 states and 27 transitions. [2018-11-23 03:22:28,388 INFO L481 AbstractCegarLoop]: Interpolant automaton has 3 states. [2018-11-23 03:22:28,388 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 27 transitions. [2018-11-23 03:22:28,388 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2018-11-23 03:22:28,388 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 03:22:28,388 INFO L402 BasicCegarLoop]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 03:22:28,388 INFO L423 AbstractCegarLoop]: === Iteration 3 === [mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-23 03:22:28,388 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 03:22:28,388 INFO L82 PathProgramCache]: Analyzing trace with hash -387375000, now seen corresponding path program 1 times [2018-11-23 03:22:28,389 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 03:22:28,389 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 03:22:28,389 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:22:28,389 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 03:22:28,390 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:22:28,400 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 03:22:28,512 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 03:22:28,513 INFO L312 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-11-23 03:22:28,513 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2018-11-23 03:22:28,513 INFO L459 AbstractCegarLoop]: Interpolant automaton has 6 states [2018-11-23 03:22:28,513 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2018-11-23 03:22:28,513 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=15, Invalid=15, Unknown=0, NotChecked=0, Total=30 [2018-11-23 03:22:28,514 INFO L87 Difference]: Start difference. First operand 24 states and 27 transitions. Second operand 6 states. [2018-11-23 03:22:28,544 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 03:22:28,544 INFO L93 Difference]: Finished difference Result 23 states and 25 transitions. [2018-11-23 03:22:28,545 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-11-23 03:22:28,545 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 12 [2018-11-23 03:22:28,545 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 03:22:28,545 INFO L225 Difference]: With dead ends: 23 [2018-11-23 03:22:28,546 INFO L226 Difference]: Without dead ends: 23 [2018-11-23 03:22:28,546 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 03:22:28,546 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 23 states. [2018-11-23 03:22:28,548 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 23 to 22. [2018-11-23 03:22:28,548 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 22 states. [2018-11-23 03:22:28,549 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 22 states and 24 transitions. [2018-11-23 03:22:28,549 INFO L78 Accepts]: Start accepts. Automaton has 22 states and 24 transitions. Word has length 12 [2018-11-23 03:22:28,549 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 03:22:28,549 INFO L480 AbstractCegarLoop]: Abstraction has 22 states and 24 transitions. [2018-11-23 03:22:28,549 INFO L481 AbstractCegarLoop]: Interpolant automaton has 6 states. [2018-11-23 03:22:28,549 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 24 transitions. [2018-11-23 03:22:28,549 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2018-11-23 03:22:28,550 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 03:22:28,550 INFO L402 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 03:22:28,550 INFO L423 AbstractCegarLoop]: === Iteration 4 === [mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-23 03:22:28,550 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 03:22:28,550 INFO L82 PathProgramCache]: Analyzing trace with hash 876275464, now seen corresponding path program 1 times [2018-11-23 03:22:28,550 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 03:22:28,550 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 03:22:28,551 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:22:28,551 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 03:22:28,551 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:22:28,558 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 03:22:28,574 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 03:22:28,574 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 03:22:28,574 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/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 03:22:28,582 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 03:22:28,597 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 03:22:28,602 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 03:22:28,625 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 03:22:28,650 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 03:22:28,650 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [4, 4] total 5 [2018-11-23 03:22:28,650 INFO L459 AbstractCegarLoop]: Interpolant automaton has 5 states [2018-11-23 03:22:28,650 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-11-23 03:22:28,651 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=10, Invalid=10, Unknown=0, NotChecked=0, Total=20 [2018-11-23 03:22:28,651 INFO L87 Difference]: Start difference. First operand 22 states and 24 transitions. Second operand 5 states. [2018-11-23 03:22:28,692 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 03:22:28,692 INFO L93 Difference]: Finished difference Result 27 states and 29 transitions. [2018-11-23 03:22:28,692 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2018-11-23 03:22:28,692 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 13 [2018-11-23 03:22:28,692 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 03:22:28,693 INFO L225 Difference]: With dead ends: 27 [2018-11-23 03:22:28,693 INFO L226 Difference]: Without dead ends: 27 [2018-11-23 03:22:28,693 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 16 GetRequests, 13 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 03:22:28,693 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 27 states. [2018-11-23 03:22:28,694 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 27 to 26. [2018-11-23 03:22:28,694 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 26 states. [2018-11-23 03:22:28,695 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 26 states and 28 transitions. [2018-11-23 03:22:28,695 INFO L78 Accepts]: Start accepts. Automaton has 26 states and 28 transitions. Word has length 13 [2018-11-23 03:22:28,695 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 03:22:28,695 INFO L480 AbstractCegarLoop]: Abstraction has 26 states and 28 transitions. [2018-11-23 03:22:28,695 INFO L481 AbstractCegarLoop]: Interpolant automaton has 5 states. [2018-11-23 03:22:28,695 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 28 transitions. [2018-11-23 03:22:28,695 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2018-11-23 03:22:28,695 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 03:22:28,696 INFO L402 BasicCegarLoop]: trace histogram [2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 03:22:28,696 INFO L423 AbstractCegarLoop]: === Iteration 5 === [mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-23 03:22:28,696 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 03:22:28,696 INFO L82 PathProgramCache]: Analyzing trace with hash -1958351323, now seen corresponding path program 2 times [2018-11-23 03:22:28,696 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 03:22:28,696 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 03:22:28,697 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:22:28,697 INFO L103 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-11-23 03:22:28,697 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:22:28,705 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 03:22:28,737 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 03:22:28,737 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 03:22:28,737 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/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 03:22:28,746 INFO L103 rtionOrderModulation]: Keeping assertion order OUTSIDE_LOOP_FIRST1 [2018-11-23 03:22:28,769 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2018-11-23 03:22:28,769 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2018-11-23 03:22:28,770 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 03:22:28,780 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 03:22:28,795 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 03:22:28,796 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [5, 5] total 6 [2018-11-23 03:22:28,796 INFO L459 AbstractCegarLoop]: Interpolant automaton has 6 states [2018-11-23 03:22:28,796 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2018-11-23 03:22:28,796 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=15, Invalid=15, Unknown=0, NotChecked=0, Total=30 [2018-11-23 03:22:28,796 INFO L87 Difference]: Start difference. First operand 26 states and 28 transitions. Second operand 6 states. [2018-11-23 03:22:28,820 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 03:22:28,821 INFO L93 Difference]: Finished difference Result 31 states and 33 transitions. [2018-11-23 03:22:28,821 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-11-23 03:22:28,821 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 17 [2018-11-23 03:22:28,821 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 03:22:28,822 INFO L225 Difference]: With dead ends: 31 [2018-11-23 03:22:28,822 INFO L226 Difference]: Without dead ends: 31 [2018-11-23 03:22:28,822 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 21 GetRequests, 17 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 03:22:28,822 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 31 states. [2018-11-23 03:22:28,824 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 31 to 30. [2018-11-23 03:22:28,824 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 30 states. [2018-11-23 03:22:28,824 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 30 states to 30 states and 32 transitions. [2018-11-23 03:22:28,824 INFO L78 Accepts]: Start accepts. Automaton has 30 states and 32 transitions. Word has length 17 [2018-11-23 03:22:28,825 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 03:22:28,825 INFO L480 AbstractCegarLoop]: Abstraction has 30 states and 32 transitions. [2018-11-23 03:22:28,825 INFO L481 AbstractCegarLoop]: Interpolant automaton has 6 states. [2018-11-23 03:22:28,825 INFO L276 IsEmpty]: Start isEmpty. Operand 30 states and 32 transitions. [2018-11-23 03:22:28,825 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2018-11-23 03:22:28,825 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 03:22:28,825 INFO L402 BasicCegarLoop]: trace histogram [3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 03:22:28,826 INFO L423 AbstractCegarLoop]: === Iteration 6 === [mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-23 03:22:28,826 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 03:22:28,826 INFO L82 PathProgramCache]: Analyzing trace with hash -921821502, now seen corresponding path program 3 times [2018-11-23 03:22:28,826 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 03:22:28,826 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 03:22:28,827 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:22:28,827 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-23 03:22:28,827 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:22:28,834 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 03:22:28,876 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 03:22:28,876 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 03:22:28,876 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/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 03:22:28,889 INFO L103 rtionOrderModulation]: Keeping assertion order OUTSIDE_LOOP_FIRST2 [2018-11-23 03:22:28,905 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST2 issued 4 check-sat command(s) [2018-11-23 03:22:28,905 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2018-11-23 03:22:28,906 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 03:22:28,934 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 03:22:28,959 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 03:22:28,959 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [6, 6] total 7 [2018-11-23 03:22:28,960 INFO L459 AbstractCegarLoop]: Interpolant automaton has 7 states [2018-11-23 03:22:28,960 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2018-11-23 03:22:28,960 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=21, Invalid=21, Unknown=0, NotChecked=0, Total=42 [2018-11-23 03:22:28,960 INFO L87 Difference]: Start difference. First operand 30 states and 32 transitions. Second operand 7 states. [2018-11-23 03:22:28,995 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 03:22:28,996 INFO L93 Difference]: Finished difference Result 35 states and 37 transitions. [2018-11-23 03:22:28,996 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2018-11-23 03:22:28,996 INFO L78 Accepts]: Start accepts. Automaton has 7 states. Word has length 21 [2018-11-23 03:22:28,996 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 03:22:28,996 INFO L225 Difference]: With dead ends: 35 [2018-11-23 03:22:28,997 INFO L226 Difference]: Without dead ends: 35 [2018-11-23 03:22:28,997 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 26 GetRequests, 21 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 03:22:28,997 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 35 states. [2018-11-23 03:22:28,999 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 35 to 34. [2018-11-23 03:22:28,999 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 34 states. [2018-11-23 03:22:29,000 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 34 states to 34 states and 36 transitions. [2018-11-23 03:22:29,000 INFO L78 Accepts]: Start accepts. Automaton has 34 states and 36 transitions. Word has length 21 [2018-11-23 03:22:29,000 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 03:22:29,000 INFO L480 AbstractCegarLoop]: Abstraction has 34 states and 36 transitions. [2018-11-23 03:22:29,000 INFO L481 AbstractCegarLoop]: Interpolant automaton has 7 states. [2018-11-23 03:22:29,000 INFO L276 IsEmpty]: Start isEmpty. Operand 34 states and 36 transitions. [2018-11-23 03:22:29,001 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2018-11-23 03:22:29,001 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 03:22:29,001 INFO L402 BasicCegarLoop]: trace histogram [4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 03:22:29,001 INFO L423 AbstractCegarLoop]: === Iteration 7 === [mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-23 03:22:29,001 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 03:22:29,001 INFO L82 PathProgramCache]: Analyzing trace with hash -1880966945, now seen corresponding path program 4 times [2018-11-23 03:22:29,002 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 03:22:29,002 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 03:22:29,002 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:22:29,002 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-23 03:22:29,003 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:22:29,012 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 03:22:29,073 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 03:22:29,073 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 03:22:29,073 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/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 03:22:29,084 INFO L103 rtionOrderModulation]: Keeping assertion order TERMS_WITH_SMALL_CONSTANTS_FIRST [2018-11-23 03:22:29,104 INFO L249 tOrderPrioritization]: Assert order TERMS_WITH_SMALL_CONSTANTS_FIRST issued 0 check-sat command(s) [2018-11-23 03:22:29,104 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2018-11-23 03:22:29,107 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 03:22:29,125 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 03:22:29,149 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 03:22:29,149 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [7, 7] total 8 [2018-11-23 03:22:29,150 INFO L459 AbstractCegarLoop]: Interpolant automaton has 8 states [2018-11-23 03:22:29,150 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2018-11-23 03:22:29,150 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=28, Invalid=28, Unknown=0, NotChecked=0, Total=56 [2018-11-23 03:22:29,150 INFO L87 Difference]: Start difference. First operand 34 states and 36 transitions. Second operand 8 states. [2018-11-23 03:22:29,184 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 03:22:29,184 INFO L93 Difference]: Finished difference Result 39 states and 41 transitions. [2018-11-23 03:22:29,185 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2018-11-23 03:22:29,185 INFO L78 Accepts]: Start accepts. Automaton has 8 states. Word has length 25 [2018-11-23 03:22:29,185 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 03:22:29,185 INFO L225 Difference]: With dead ends: 39 [2018-11-23 03:22:29,185 INFO L226 Difference]: Without dead ends: 39 [2018-11-23 03:22:29,186 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 31 GetRequests, 25 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 03:22:29,186 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 39 states. [2018-11-23 03:22:29,188 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 39 to 38. [2018-11-23 03:22:29,188 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 38 states. [2018-11-23 03:22:29,189 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 38 states to 38 states and 40 transitions. [2018-11-23 03:22:29,189 INFO L78 Accepts]: Start accepts. Automaton has 38 states and 40 transitions. Word has length 25 [2018-11-23 03:22:29,189 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 03:22:29,189 INFO L480 AbstractCegarLoop]: Abstraction has 38 states and 40 transitions. [2018-11-23 03:22:29,190 INFO L481 AbstractCegarLoop]: Interpolant automaton has 8 states. [2018-11-23 03:22:29,190 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 40 transitions. [2018-11-23 03:22:29,190 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2018-11-23 03:22:29,190 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 03:22:29,190 INFO L402 BasicCegarLoop]: trace histogram [5, 5, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 03:22:29,191 INFO L423 AbstractCegarLoop]: === Iteration 8 === [mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-23 03:22:29,191 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 03:22:29,191 INFO L82 PathProgramCache]: Analyzing trace with hash 1215495292, now seen corresponding path program 5 times [2018-11-23 03:22:29,191 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 03:22:29,191 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 03:22:29,192 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:22:29,192 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-23 03:22:29,192 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:22:29,203 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-11-23 03:22:29,281 INFO L134 CoverageAnalysis]: Checked inductivity of 45 backedges. 13 proven. 32 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-11-23 03:22:29,282 INFO L300 seRefinementStrategy]: The current sequences of interpolants are not accepted, trying to find more. [2018-11-23 03:22:29,282 INFO L223 ckRefinementStrategy]: Switched to mode Z3_FP No working directory specified, using /tmp/vcloud-vcloud-master/worker/working_dir_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/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 03:22:29,298 INFO L103 rtionOrderModulation]: Keeping assertion order INSIDE_LOOP_FIRST1 [2018-11-23 03:22:29,322 INFO L249 tOrderPrioritization]: Assert order INSIDE_LOOP_FIRST1 issued 6 check-sat command(s) [2018-11-23 03:22:29,322 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2018-11-23 03:22:29,324 INFO L273 TraceCheckSpWp]: Computing forward predicates... [2018-11-23 03:22:29,393 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 03:22:29,408 INFO L312 seRefinementStrategy]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2018-11-23 03:22:29,408 INFO L327 seRefinementStrategy]: Number of different interpolants: perfect sequences [] imperfect sequences [9, 8] total 15 [2018-11-23 03:22:29,409 INFO L459 AbstractCegarLoop]: Interpolant automaton has 15 states [2018-11-23 03:22:29,409 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 15 interpolants. [2018-11-23 03:22:29,409 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=85, Invalid=125, Unknown=0, NotChecked=0, Total=210 [2018-11-23 03:22:29,409 INFO L87 Difference]: Start difference. First operand 38 states and 40 transitions. Second operand 15 states. [2018-11-23 03:22:29,687 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-11-23 03:22:29,687 INFO L93 Difference]: Finished difference Result 53 states and 58 transitions. [2018-11-23 03:22:29,687 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 18 states. [2018-11-23 03:22:29,687 INFO L78 Accepts]: Start accepts. Automaton has 15 states. Word has length 29 [2018-11-23 03:22:29,688 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-11-23 03:22:29,689 INFO L225 Difference]: With dead ends: 53 [2018-11-23 03:22:29,689 INFO L226 Difference]: Without dead ends: 53 [2018-11-23 03:22:29,690 INFO L631 BasicCegarLoop]: 0 DeclaredPredicates, 51 GetRequests, 28 SyntacticMatches, 0 SemanticMatches, 23 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 120 ImplicationChecksByTransitivity, 0.3s TimeCoverageRelationStatistics Valid=216, Invalid=384, Unknown=0, NotChecked=0, Total=600 [2018-11-23 03:22:29,690 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 53 states. [2018-11-23 03:22:29,692 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 53 to 53. [2018-11-23 03:22:29,693 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 53 states. [2018-11-23 03:22:29,694 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 53 states to 53 states and 58 transitions. [2018-11-23 03:22:29,694 INFO L78 Accepts]: Start accepts. Automaton has 53 states and 58 transitions. Word has length 29 [2018-11-23 03:22:29,694 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-11-23 03:22:29,694 INFO L480 AbstractCegarLoop]: Abstraction has 53 states and 58 transitions. [2018-11-23 03:22:29,694 INFO L481 AbstractCegarLoop]: Interpolant automaton has 15 states. [2018-11-23 03:22:29,695 INFO L276 IsEmpty]: Start isEmpty. Operand 53 states and 58 transitions. [2018-11-23 03:22:29,695 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 35 [2018-11-23 03:22:29,695 INFO L394 BasicCegarLoop]: Found error trace [2018-11-23 03:22:29,695 INFO L402 BasicCegarLoop]: trace histogram [7, 6, 6, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-11-23 03:22:29,695 INFO L423 AbstractCegarLoop]: === Iteration 9 === [mainErr1REQUIRES_VIOLATION, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr4ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr3ASSERT_VIOLATIONMEMORY_FREE]=== [2018-11-23 03:22:29,696 INFO L141 PredicateUnifier]: Initialized classic predicate unifier [2018-11-23 03:22:29,696 INFO L82 PathProgramCache]: Analyzing trace with hash 1030409178, now seen corresponding path program 1 times [2018-11-23 03:22:29,696 INFO L223 ckRefinementStrategy]: Switched to mode SMTINTERPOL_TREE_INTERPOLANTS [2018-11-23 03:22:29,696 INFO L69 tionRefinementEngine]: Using refinement strategy CamelRefinementStrategy [2018-11-23 03:22:29,696 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:22:29,696 INFO L101 rtionOrderModulation]: Changing assertion order to NOT_INCREMENTALLY [2018-11-23 03:22:29,696 INFO L119 rtionOrderModulation]: Craig_TreeInterpolation forces the order to NOT_INCREMENTALLY [2018-11-23 03:22:29,711 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 03:22:29,723 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-11-23 03:22:29,737 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 #35#return; VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] CALL call #t~ret4 := 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); 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] [?] SUMMARY for call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); srcloc: L9 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 !(5 == ~i~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] [?] #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); 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] [?] SUMMARY for call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); srcloc: L9 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 !(5 == ~i~0); 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); 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] [?] SUMMARY for call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); srcloc: L9 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 !(5 == ~i~0); 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); 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] [?] SUMMARY for call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); srcloc: L9 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 !(5 == ~i~0); 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); 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] [?] SUMMARY for call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); srcloc: L9 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 !(5 == ~i~0); 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); 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] [?] SUMMARY for call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); srcloc: L9 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 5 == ~i~0; 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 0 == ~p~0.offset; 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 0 == ~p~0.base || 1 == #valid[~p~0.base];call ULTIMATE.dealloc(~p~0.base, ~p~0.offset); 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); 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 !(1 == #valid[~p~0.base]); 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] [?] 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~ret4 := main(); VAL [#NULL.base=0, #NULL.offset=0] [L6] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(40); [L6] ~p~0.base, ~p~0.offset := #t~malloc2.base, #t~malloc2.offset; [L8] ~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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 5 == ~i~0; 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] [L11] assert 0 == ~p~0.offset; 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] [L11] assert 0 == ~p~0.base || 1 == #valid[~p~0.base]; [L11] 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=5, ~p~0.base=42, ~p~0.offset=0] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); [?] requires 1 == #valid[#ptr.base]; 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] ----- ----- 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~ret4 := main(); VAL [#NULL.base=0, #NULL.offset=0] [L6] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(40); [L6] ~p~0.base, ~p~0.offset := #t~malloc2.base, #t~malloc2.offset; [L8] ~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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 5 == ~i~0; 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] [L11] assert 0 == ~p~0.offset; 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] [L11] assert 0 == ~p~0.base || 1 == #valid[~p~0.base]; [L11] 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=5, ~p~0.base=42, ~p~0.offset=0] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); [?] requires 1 == #valid[#ptr.base]; 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] [?] 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~ret4 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L6] FCALL call #t~malloc2 := #Ultimate.alloc(40); [L6] ~p~0 := #t~malloc2; [L8] ~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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~0) 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~0) 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~0) 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~0) 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND TRUE 5 == ~i~0 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] [L11] assert 0 == ~p~0!offset; 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] [L11] assert 0 == ~p~0!base || 1 == #valid[~p~0!base]; [L11] FCALL call ULTIMATE.dealloc(~p~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); [?] requires 1 == #valid[#ptr.base]; 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] ----- ----- 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~ret4 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L6] FCALL call #t~malloc2 := #Ultimate.alloc(40); [L6] ~p~0 := #t~malloc2; [L8] ~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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~0) 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~0) 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~0) 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~0) 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND TRUE 5 == ~i~0 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] [L11] assert 0 == ~p~0!offset; 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] [L11] assert 0 == ~p~0!base || 1 == #valid[~p~0!base]; [L11] FCALL call ULTIMATE.dealloc(~p~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); [?] requires 1 == #valid[#ptr.base]; 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] [L6] int* p = malloc(10 * sizeof(int)); [L8] int i = 0; VAL [i=0, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=0, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 VAL [i=0, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND FALSE !(i == 5) VAL [i=0, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] i++ VAL [i=1, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=1, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 VAL [i=1, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND FALSE !(i == 5) VAL [i=1, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] i++ VAL [i=2, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=2, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 VAL [i=2, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND FALSE !(i == 5) VAL [i=2, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] i++ VAL [i=3, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=3, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 VAL [i=3, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND FALSE !(i == 5) VAL [i=3, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] i++ VAL [i=4, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=4, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 VAL [i=4, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND FALSE !(i == 5) VAL [i=4, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] i++ VAL [i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 VAL [i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i == 5 VAL [i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L11] free(p) VAL [i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L11] free(p) [L8] i++ VAL [i=6, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=6, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 ----- [2018-11-23 03:22:29,771 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 23.11 03:22:29 BoogieIcfgContainer [2018-11-23 03:22:29,771 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-11-23 03:22:29,773 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2018-11-23 03:22:29,773 INFO L271 PluginConnector]: Initializing Witness Printer... [2018-11-23 03:22:29,773 INFO L276 PluginConnector]: Witness Printer initialized [2018-11-23 03:22:29,774 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 23.11 03:22:28" (3/4) ... [2018-11-23 03:22:29,776 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 #35#return; VAL [|#NULL.base|=0, |#NULL.offset|=0] [?] CALL call #t~ret4 := 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); 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] [?] SUMMARY for call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); srcloc: L9 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 !(5 == ~i~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] [?] #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); 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] [?] SUMMARY for call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); srcloc: L9 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 !(5 == ~i~0); 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); 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] [?] SUMMARY for call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); srcloc: L9 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 !(5 == ~i~0); 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); 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] [?] SUMMARY for call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); srcloc: L9 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 !(5 == ~i~0); 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); 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] [?] SUMMARY for call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); srcloc: L9 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 !(5 == ~i~0); 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); 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] [?] SUMMARY for call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); srcloc: L9 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 5 == ~i~0; 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 0 == ~p~0.offset; 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 0 == ~p~0.base || 1 == #valid[~p~0.base];call ULTIMATE.dealloc(~p~0.base, ~p~0.offset); 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); 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 !(1 == #valid[~p~0.base]); 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] [?] 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~ret4 := main(); VAL [#NULL.base=0, #NULL.offset=0] [L6] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(40); [L6] ~p~0.base, ~p~0.offset := #t~malloc2.base, #t~malloc2.offset; [L8] ~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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 5 == ~i~0; 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] [L11] assert 0 == ~p~0.offset; 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] [L11] assert 0 == ~p~0.base || 1 == #valid[~p~0.base]; [L11] 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=5, ~p~0.base=42, ~p~0.offset=0] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); [?] requires 1 == #valid[#ptr.base]; 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] ----- ----- 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~ret4 := main(); VAL [#NULL.base=0, #NULL.offset=0] [L6] call #t~malloc2.base, #t~malloc2.offset := #Ultimate.alloc(40); [L6] ~p~0.base, ~p~0.offset := #t~malloc2.base, #t~malloc2.offset; [L8] ~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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 !(5 == ~i~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); 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 5 == ~i~0; 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] [L11] assert 0 == ~p~0.offset; 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] [L11] assert 0 == ~p~0.base || 1 == #valid[~p~0.base]; [L11] 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=5, ~p~0.base=42, ~p~0.offset=0] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] assume !!(~i~0 < 10); 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] [L9] call write~int(1, ~p~0.base, ~p~0.offset + 4 * ~i~0, 4); [?] requires 1 == #valid[#ptr.base]; 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] [?] 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~ret4 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L6] FCALL call #t~malloc2 := #Ultimate.alloc(40); [L6] ~p~0 := #t~malloc2; [L8] ~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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~0) 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~0) 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~0) 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~0) 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND TRUE 5 == ~i~0 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] [L11] assert 0 == ~p~0!offset; 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] [L11] assert 0 == ~p~0!base || 1 == #valid[~p~0!base]; [L11] FCALL call ULTIMATE.dealloc(~p~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); [?] requires 1 == #valid[#ptr.base]; 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] ----- ----- 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~ret4 := main(); VAL [#NULL!base=0, #NULL!offset=0] [L6] FCALL call #t~malloc2 := #Ultimate.alloc(40); [L6] ~p~0 := #t~malloc2; [L8] ~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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~0) 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~0) 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~0) 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND FALSE !(5 == ~i~0) 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); 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] COND TRUE 5 == ~i~0 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] [L11] assert 0 == ~p~0!offset; 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] [L11] assert 0 == ~p~0!base || 1 == #valid[~p~0!base]; [L11] FCALL call ULTIMATE.dealloc(~p~0); 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] [L8] #t~post3 := ~i~0; [L8] ~i~0 := 1 + #t~post3; [L8] 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] [L8-L13] COND FALSE !(!(~i~0 < 10)) 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] [L9] FCALL call write~int(1, { base: ~p~0!base, offset: ~p~0!offset + 4 * ~i~0 }, 4); [?] requires 1 == #valid[#ptr.base]; 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] [L6] int* p = malloc(10 * sizeof(int)); [L8] int i = 0; VAL [i=0, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=0, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 VAL [i=0, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND FALSE !(i == 5) VAL [i=0, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] i++ VAL [i=1, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=1, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 VAL [i=1, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND FALSE !(i == 5) VAL [i=1, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] i++ VAL [i=2, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=2, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 VAL [i=2, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND FALSE !(i == 5) VAL [i=2, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] i++ VAL [i=3, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=3, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 VAL [i=3, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND FALSE !(i == 5) VAL [i=3, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] i++ VAL [i=4, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=4, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 VAL [i=4, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND FALSE !(i == 5) VAL [i=4, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] i++ VAL [i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 VAL [i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i == 5 VAL [i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L11] free(p) VAL [i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L11] free(p) [L8] i++ VAL [i=6, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=6, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 ----- [2018-11-23 03:22:29,827 INFO L145 WitnessManager]: Wrote witness to /tmp/vcloud-vcloud-master/worker/working_dir_999f7ebf-8a2e-4cf2-9196-a4df3390f0b2/bin-2019/uautomizer/witness.graphml [2018-11-23 03:22:29,827 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2018-11-23 03:22:29,828 INFO L168 Benchmark]: Toolchain (without parser) took 2212.03 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 169.3 MB). Free memory was 959.1 MB in the beginning and 922.9 MB in the end (delta: 36.2 MB). Peak memory consumption was 205.6 MB. Max. memory is 11.5 GB. [2018-11-23 03:22:29,829 INFO L168 Benchmark]: CDTParser took 0.14 ms. Allocated memory is still 1.0 GB. Free memory is still 985.4 MB. There was no memory consumed. Max. memory is 11.5 GB. [2018-11-23 03:22:29,829 INFO L168 Benchmark]: CACSL2BoogieTranslator took 141.86 ms. Allocated memory is still 1.0 GB. Free memory was 959.1 MB in the beginning and 948.4 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. [2018-11-23 03:22:29,830 INFO L168 Benchmark]: Boogie Preprocessor took 28.67 ms. Allocated memory is still 1.0 GB. Free memory was 948.4 MB in the beginning and 940.3 MB in the end (delta: 8.1 MB). Peak memory consumption was 8.1 MB. Max. memory is 11.5 GB. [2018-11-23 03:22:29,830 INFO L168 Benchmark]: RCFGBuilder took 241.16 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 169.3 MB). Free memory was 940.3 MB in the beginning and 1.1 GB in the end (delta: -209.6 MB). Peak memory consumption was 14.2 MB. Max. memory is 11.5 GB. [2018-11-23 03:22:29,830 INFO L168 Benchmark]: TraceAbstraction took 1743.52 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 926.1 MB in the end (delta: 223.8 MB). Peak memory consumption was 223.8 MB. Max. memory is 11.5 GB. [2018-11-23 03:22:29,832 INFO L168 Benchmark]: Witness Printer took 54.09 ms. Allocated memory is still 1.2 GB. Free memory was 926.1 MB in the beginning and 922.9 MB in the end (delta: 3.2 MB). Peak memory consumption was 3.2 MB. Max. memory is 11.5 GB. [2018-11-23 03:22:29,834 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.14 ms. Allocated memory is still 1.0 GB. Free memory is still 985.4 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 141.86 ms. Allocated memory is still 1.0 GB. Free memory was 959.1 MB in the beginning and 948.4 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.67 ms. Allocated memory is still 1.0 GB. Free memory was 948.4 MB in the beginning and 940.3 MB in the end (delta: 8.1 MB). Peak memory consumption was 8.1 MB. Max. memory is 11.5 GB. * RCFGBuilder took 241.16 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 169.3 MB). Free memory was 940.3 MB in the beginning and 1.1 GB in the end (delta: -209.6 MB). Peak memory consumption was 14.2 MB. Max. memory is 11.5 GB. * TraceAbstraction took 1743.52 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 926.1 MB in the end (delta: 223.8 MB). Peak memory consumption was 223.8 MB. Max. memory is 11.5 GB. * Witness Printer took 54.09 ms. Allocated memory is still 1.2 GB. Free memory was 926.1 MB in the beginning and 922.9 MB in the end (delta: 3.2 MB). Peak memory consumption was 3.2 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 9]: pointer dereference may fail pointer dereference may fail We found a FailurePath: [L6] int* p = malloc(10 * sizeof(int)); [L8] int i = 0; VAL [i=0, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=0, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 VAL [i=0, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND FALSE !(i == 5) VAL [i=0, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] i++ VAL [i=1, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=1, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 VAL [i=1, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND FALSE !(i == 5) VAL [i=1, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] i++ VAL [i=2, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=2, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 VAL [i=2, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND FALSE !(i == 5) VAL [i=2, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] i++ VAL [i=3, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=3, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 VAL [i=3, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND FALSE !(i == 5) VAL [i=3, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] i++ VAL [i=4, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=4, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 VAL [i=4, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND FALSE !(i == 5) VAL [i=4, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] i++ VAL [i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 VAL [i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L10] COND TRUE i == 5 VAL [i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L11] free(p) VAL [i=5, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L11] free(p) [L8] i++ VAL [i=6, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L8] COND TRUE i < 10 VAL [i=6, malloc(10 * sizeof(int))={42:0}, p={42:0}] [L9] p[i] = 1 - StatisticsResult: Ultimate Automizer benchmark data CFG has 3 procedures, 22 locations, 5 error locations. UNSAFE Result, 1.6s OverallTime, 9 OverallIterations, 7 TraceHistogramMax, 0.5s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 104 SDtfs, 158 SDslu, 221 SDs, 0 SdLazy, 224 SolverSat, 37 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.2s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 155 GetRequests, 107 SyntacticMatches, 1 SemanticMatches, 47 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 132 ImplicationChecksByTransitivity, 0.5s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=53occurred in iteration=8, 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, 8 MinimizatonAttempts, 11 StatesRemovedByMinimization, 7 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.5s InterpolantComputationTime, 272 NumberOfCodeBlocks, 272 NumberOfCodeBlocksAsserted, 24 NumberOfCheckSat, 225 ConstructedInterpolants, 0 QuantifiedInterpolants, 12774 SizeOfPredicates, 5 NumberOfNonLiveVariables, 355 ConjunctsInSsa, 25 ConjunctsInUnsatCore, 13 InterpolantComputations, 3 PerfectInterpolantSequences, 15/192 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...