java -Xmx6000000000 -jar ./plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data ./data --generate-csv --csv-dir ../../../releaseScripts/default/UAutomizer-linux/csv --cacsl2boogietranslator.bitprecise.bitfields false -tc ../../../trunk/examples/toolchains/AutomizerC.xml -s ../../../trunk/examples/settings/cade18-smtinterpol/svcomp-DerefFreeMemtrack-32bit-Automizer_z3.epf -i ../../../trunk/examples/svcomp/ldv-memsafety-bitfields/test-bitfields-1_true-valid-memsafety_true-termination.i -------------------------------------------------------------------------------- This is Ultimate 0.1.23-408c70d-m [2018-04-13 15:25:36,542 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-04-13 15:25:36,543 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-04-13 15:25:36,555 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-04-13 15:25:36,555 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-04-13 15:25:36,556 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-04-13 15:25:36,556 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-04-13 15:25:36,558 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-04-13 15:25:36,559 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-04-13 15:25:36,560 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-04-13 15:25:36,561 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-04-13 15:25:36,561 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-04-13 15:25:36,562 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-04-13 15:25:36,562 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-04-13 15:25:36,563 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-04-13 15:25:36,565 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-04-13 15:25:36,566 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-04-13 15:25:36,567 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-04-13 15:25:36,568 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-04-13 15:25:36,569 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-04-13 15:25:36,571 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-04-13 15:25:36,571 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-04-13 15:25:36,571 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-04-13 15:25:36,572 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-04-13 15:25:36,573 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-04-13 15:25:36,573 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-04-13 15:25:36,574 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-04-13 15:25:36,574 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-04-13 15:25:36,575 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-04-13 15:25:36,575 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-04-13 15:25:36,575 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-04-13 15:25:36,575 INFO L98 SettingsManager]: Beginning loading settings from /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/cade18-smtinterpol/svcomp-DerefFreeMemtrack-32bit-Automizer_z3.epf [2018-04-13 15:25:36,585 INFO L110 SettingsManager]: Loading preferences was successful [2018-04-13 15:25:36,586 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-04-13 15:25:36,586 INFO L131 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2018-04-13 15:25:36,586 INFO L133 SettingsManager]: * Create parallel compositions if possible=false [2018-04-13 15:25:36,587 INFO L133 SettingsManager]: * Use SBE=true [2018-04-13 15:25:36,587 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-04-13 15:25:36,587 INFO L133 SettingsManager]: * sizeof long=4 [2018-04-13 15:25:36,587 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-04-13 15:25:36,587 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-04-13 15:25:36,587 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-04-13 15:25:36,587 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-04-13 15:25:36,587 INFO L133 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2018-04-13 15:25:36,587 INFO L133 SettingsManager]: * Bitprecise bitfields=true [2018-04-13 15:25:36,587 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-04-13 15:25:36,588 INFO L133 SettingsManager]: * sizeof long double=12 [2018-04-13 15:25:36,588 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-04-13 15:25:36,588 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-04-13 15:25:36,588 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-04-13 15:25:36,588 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-04-13 15:25:36,588 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-04-13 15:25:36,588 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-04-13 15:25:36,588 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=Craig_NestedInterpolation [2018-04-13 15:25:36,588 INFO L133 SettingsManager]: * SMT solver=External_Z3InterpolationMode [2018-04-13 15:25:36,589 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: Bitprecise bitfields -> false [2018-04-13 15:25:36,618 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-04-13 15:25:36,628 INFO L266 ainManager$Toolchain]: [Toolchain 1]: Parser(s) successfully (re)initialized [2018-04-13 15:25:36,631 INFO L222 ainManager$Toolchain]: [Toolchain 1]: Toolchain data selected. [2018-04-13 15:25:36,632 INFO L271 PluginConnector]: Initializing CDTParser... [2018-04-13 15:25:36,632 INFO L276 PluginConnector]: CDTParser initialized [2018-04-13 15:25:36,633 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/ldv-memsafety-bitfields/test-bitfields-1_true-valid-memsafety_true-termination.i [2018-04-13 15:25:36,904 INFO L225 CDTParser]: Created temporary CDT project at /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/data/FLAG7c5a99af6 [2018-04-13 15:25:36,990 INFO L287 CDTParser]: IsIndexed: true [2018-04-13 15:25:36,990 INFO L288 CDTParser]: Found 1 translation units. [2018-04-13 15:25:36,990 INFO L168 CDTParser]: Scanning test-bitfields-1_true-valid-memsafety_true-termination.i [2018-04-13 15:25:36,991 INFO L210 ultiparseSymbolTable]: Include resolver: [2018-04-13 15:25:36,991 INFO L215 ultiparseSymbolTable]: [2018-04-13 15:25:36,991 INFO L218 ultiparseSymbolTable]: Function table: [2018-04-13 15:25:36,991 INFO L221 ultiparseSymbolTable]: Function definition of null ('main') in test-bitfields-1_true-valid-memsafety_true-termination.i [2018-04-13 15:25:36,991 INFO L227 ultiparseSymbolTable]: Global variable table: [2018-04-13 15:25:36,991 INFO L230 ultiparseSymbolTable]: Global variable declaration of __U_MULTI_ftest_bitfields___true_valid_memsafety_true_termination_i__size_t in test-bitfields-1_true-valid-memsafety_true-termination.i [2018-04-13 15:25:37,002 INFO L330 CDTParser]: Deleted temporary CDT project at /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/data/FLAG7c5a99af6 [2018-04-13 15:25:37,005 INFO L304 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-04-13 15:25:37,007 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2018-04-13 15:25:37,007 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-04-13 15:25:37,008 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-04-13 15:25:37,011 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-04-13 15:25:37,011 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.04 03:25:37" (1/1) ... [2018-04-13 15:25:37,013 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@216cca4c and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 03:25:37, skipping insertion in model container [2018-04-13 15:25:37,013 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.04 03:25:37" (1/1) ... [2018-04-13 15:25:37,024 INFO L167 Dispatcher]: Using SV-COMP mode [2018-04-13 15:25:37,030 INFO L167 Dispatcher]: Using SV-COMP mode [2018-04-13 15:25:37,122 INFO L175 PostProcessor]: Settings: Checked method=main [2018-04-13 15:25:37,140 INFO L175 PostProcessor]: Settings: Checked method=main [2018-04-13 15:25:37,145 INFO L100 SccComputation]: Graph consists of 0 InCaSumBalls and 11 non ball SCCs. Number of states in SCCs 11. [2018-04-13 15:25:37,152 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 03:25:37 WrapperNode [2018-04-13 15:25:37,152 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-04-13 15:25:37,153 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-04-13 15:25:37,153 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-04-13 15:25:37,153 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-04-13 15:25:37,162 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 03:25:37" (1/1) ... [2018-04-13 15:25:37,162 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 03:25:37" (1/1) ... [2018-04-13 15:25:37,170 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 03:25:37" (1/1) ... [2018-04-13 15:25:37,170 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 03:25:37" (1/1) ... [2018-04-13 15:25:37,175 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 03:25:37" (1/1) ... [2018-04-13 15:25:37,177 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 03:25:37" (1/1) ... [2018-04-13 15:25:37,178 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 03:25:37" (1/1) ... [2018-04-13 15:25:37,179 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-04-13 15:25:37,180 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-04-13 15:25:37,180 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-04-13 15:25:37,180 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-04-13 15:25:37,181 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 03:25:37" (1/1) ... No working directory specified, using /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/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-04-13 15:25:37,229 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-04-13 15:25:37,229 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-04-13 15:25:37,230 INFO L136 BoogieDeclarations]: Found implementation of procedure main [2018-04-13 15:25:37,230 INFO L128 BoogieDeclarations]: Found specification of procedure memcpy [2018-04-13 15:25:37,230 INFO L128 BoogieDeclarations]: Found specification of procedure malloc [2018-04-13 15:25:37,230 INFO L128 BoogieDeclarations]: Found specification of procedure free [2018-04-13 15:25:37,230 INFO L128 BoogieDeclarations]: Found specification of procedure main [2018-04-13 15:25:37,230 INFO L128 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-04-13 15:25:37,230 INFO L128 BoogieDeclarations]: Found specification of procedure write~int [2018-04-13 15:25:37,230 INFO L128 BoogieDeclarations]: Found specification of procedure read~int [2018-04-13 15:25:37,230 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-04-13 15:25:37,231 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-04-13 15:25:37,231 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-04-13 15:25:37,231 INFO L128 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2018-04-13 15:25:37,447 INFO L259 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-04-13 15:25:37,448 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.04 03:25:37 BoogieIcfgContainer [2018-04-13 15:25:37,448 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-04-13 15:25:37,448 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-04-13 15:25:37,448 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-04-13 15:25:37,450 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-04-13 15:25:37,450 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 13.04 03:25:37" (1/3) ... [2018-04-13 15:25:37,451 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@16b35b41 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.04 03:25:37, skipping insertion in model container [2018-04-13 15:25:37,451 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.04 03:25:37" (2/3) ... [2018-04-13 15:25:37,451 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@16b35b41 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.04 03:25:37, skipping insertion in model container [2018-04-13 15:25:37,451 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.04 03:25:37" (3/3) ... [2018-04-13 15:25:37,453 INFO L107 eAbstractionObserver]: Analyzing ICFG test-bitfields-1_true-valid-memsafety_true-termination.i [2018-04-13 15:25:37,458 INFO L131 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:Craig_NestedInterpolation Determinization: PREDICATE_ABSTRACTION [2018-04-13 15:25:37,463 INFO L143 ceAbstractionStarter]: Appying trace abstraction to program that has 27 error locations. [2018-04-13 15:25:37,485 INFO L128 ementStrategyFactory]: Using default assertion order modulation [2018-04-13 15:25:37,486 INFO L369 AbstractCegarLoop]: Interprodecural is true [2018-04-13 15:25:37,486 INFO L370 AbstractCegarLoop]: Hoare is false [2018-04-13 15:25:37,486 INFO L371 AbstractCegarLoop]: Compute interpolants for Craig_NestedInterpolation [2018-04-13 15:25:37,486 INFO L372 AbstractCegarLoop]: Backedges is CANONICAL [2018-04-13 15:25:37,486 INFO L373 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-04-13 15:25:37,486 INFO L374 AbstractCegarLoop]: Difference is false [2018-04-13 15:25:37,486 INFO L375 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-04-13 15:25:37,486 INFO L380 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-04-13 15:25:37,487 INFO L87 2NestedWordAutomaton]: Mode: main mode - execution starts in main procedure [2018-04-13 15:25:37,497 INFO L276 IsEmpty]: Start isEmpty. Operand 66 states. [2018-04-13 15:25:37,505 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2018-04-13 15:25:37,505 INFO L347 BasicCegarLoop]: Found error trace [2018-04-13 15:25:37,506 INFO L355 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-04-13 15:25:37,506 INFO L408 AbstractCegarLoop]: === Iteration 1 === [mainErr13RequiresViolation, mainErr25AssertViolationMEMORY_FREE, mainErr26EnsuresViolationMEMORY_LEAK, mainErr10AssertViolationMEMORY_FREE, mainErr18RequiresViolation, mainErr0RequiresViolation, mainErr21RequiresViolation, mainErr17AssertViolationMEMORY_FREE, mainErr3RequiresViolation, mainErr15RequiresViolation, mainErr2RequiresViolation, mainErr12RequiresViolation, mainErr6RequiresViolation, mainErr19RequiresViolation, mainErr24AssertViolationMEMORY_FREE, mainErr1RequiresViolation, mainErr23AssertViolationMEMORY_FREE, mainErr9RequiresViolation, mainErr4AssertViolationMEMORY_FREE, mainErr11AssertViolationMEMORY_FREE, mainErr22AssertViolationMEMORY_FREE, mainErr7RequiresViolation, mainErr20RequiresViolation, mainErr8RequiresViolation, mainErr16AssertViolationMEMORY_FREE, mainErr14RequiresViolation, mainErr5AssertViolationMEMORY_FREE]=== [2018-04-13 15:25:37,509 INFO L82 PathProgramCache]: Analyzing trace with hash -815339273, now seen corresponding path program 1 times No working directory specified, using /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-04-13 15:25:37,518 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-04-13 15:25:37,534 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-13 15:25:37,538 WARN L195 Executor]: ExternalInterpolator (z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in) stderr output: WARNING: array quantifier [2018-04-13 15:25:37,545 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:37,545 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:37,546 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:37,546 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:37,570 WARN L1033 $PredicateComparison]: unable to prove that (exists ((%0 (Array Int Int))) (! (forall ((%1 Int)) (! (= (store |c_#valid| %1 1) (store %0 %1 1)) :qid itp)) :qid itp)) is different from true [2018-04-13 15:25:37,618 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-13 15:25:37,621 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-13 15:25:37,640 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-04-13 15:25:37,640 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2018-04-13 15:25:37,641 INFO L142 lantAutomatonBuilder]: Constructing canonical interpolant automaton, with selfloop in false state [2018-04-13 15:25:37,641 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-13 15:25:37,641 INFO L182 omatonBuilderFactory]: Interpolants [69#true, 70#false, 74#(exists ((%0 (Array Int Int))) (! (forall ((%1 Int)) (! (= (store |#valid| %1 1) (store %0 %1 1)) :qid itp)) :qid itp)), 75#(= 1 (select |#valid| |main_#t~malloc0.base|)), 76#(= 1 (select |#valid| main_~p~0.base)), 77#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))] [2018-04-13 15:25:37,642 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-13 15:25:37,642 INFO L442 AbstractCegarLoop]: Interpolant automaton has 6 states [2018-04-13 15:25:37,649 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2018-04-13 15:25:37,650 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=14, Unknown=1, NotChecked=6, Total=30 [2018-04-13 15:25:37,651 INFO L87 Difference]: Start difference. First operand 66 states. Second operand 6 states. [2018-04-13 15:25:37,884 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-04-13 15:25:37,884 INFO L93 Difference]: Finished difference Result 96 states and 102 transitions. [2018-04-13 15:25:37,886 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2018-04-13 15:25:37,887 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 9 [2018-04-13 15:25:37,888 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-04-13 15:25:37,896 INFO L225 Difference]: With dead ends: 96 [2018-04-13 15:25:37,896 INFO L226 Difference]: Without dead ends: 93 [2018-04-13 15:25:37,898 INFO L567 BasicCegarLoop]: 0 DeclaredPredicates, 8 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 1 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=16, Invalid=28, Unknown=2, NotChecked=10, Total=56 [2018-04-13 15:25:37,914 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 93 states. [2018-04-13 15:25:37,928 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 93 to 59. [2018-04-13 15:25:37,929 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 59 states. [2018-04-13 15:25:37,930 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 59 states to 59 states and 66 transitions. [2018-04-13 15:25:37,931 INFO L78 Accepts]: Start accepts. Automaton has 59 states and 66 transitions. Word has length 9 [2018-04-13 15:25:37,931 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-04-13 15:25:37,931 INFO L459 AbstractCegarLoop]: Abstraction has 59 states and 66 transitions. [2018-04-13 15:25:37,932 INFO L460 AbstractCegarLoop]: Interpolant automaton has 6 states. [2018-04-13 15:25:37,932 INFO L276 IsEmpty]: Start isEmpty. Operand 59 states and 66 transitions. [2018-04-13 15:25:37,932 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2018-04-13 15:25:37,932 INFO L347 BasicCegarLoop]: Found error trace [2018-04-13 15:25:37,932 INFO L355 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-04-13 15:25:37,932 INFO L408 AbstractCegarLoop]: === Iteration 2 === [mainErr13RequiresViolation, mainErr25AssertViolationMEMORY_FREE, mainErr26EnsuresViolationMEMORY_LEAK, mainErr10AssertViolationMEMORY_FREE, mainErr18RequiresViolation, mainErr0RequiresViolation, mainErr21RequiresViolation, mainErr17AssertViolationMEMORY_FREE, mainErr3RequiresViolation, mainErr15RequiresViolation, mainErr2RequiresViolation, mainErr12RequiresViolation, mainErr6RequiresViolation, mainErr19RequiresViolation, mainErr24AssertViolationMEMORY_FREE, mainErr1RequiresViolation, mainErr23AssertViolationMEMORY_FREE, mainErr9RequiresViolation, mainErr4AssertViolationMEMORY_FREE, mainErr11AssertViolationMEMORY_FREE, mainErr22AssertViolationMEMORY_FREE, mainErr7RequiresViolation, mainErr20RequiresViolation, mainErr8RequiresViolation, mainErr16AssertViolationMEMORY_FREE, mainErr14RequiresViolation, mainErr5AssertViolationMEMORY_FREE]=== [2018-04-13 15:25:37,933 INFO L82 PathProgramCache]: Analyzing trace with hash -815339272, now seen corresponding path program 1 times No working directory specified, using /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-04-13 15:25:37,937 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-04-13 15:25:37,944 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-13 15:25:37,947 WARN L195 Executor]: ExternalInterpolator (z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in) stderr output: WARNING: array quantifier [2018-04-13 15:25:37,949 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:37,949 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:37,950 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:37,950 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:37,954 WARN L1033 $PredicateComparison]: unable to prove that (exists ((%0 (Array Int Int))) (! (forall ((%1 Int)) (! (= (store %0 %1 2) (store |c_#length| %1 2)) :qid itp)) :qid itp)) is different from true [2018-04-13 15:25:37,992 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-13 15:25:37,993 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-13 15:25:38,011 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-04-13 15:25:38,011 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2018-04-13 15:25:38,011 INFO L142 lantAutomatonBuilder]: Constructing canonical interpolant automaton, with selfloop in false state [2018-04-13 15:25:38,012 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-13 15:25:38,012 INFO L182 omatonBuilderFactory]: Interpolants [242#(exists ((%0 (Array Int Int))) (! (forall ((%1 Int)) (! (= (store %0 %1 2) (store |#length| %1 2)) :qid itp)) :qid itp)), 243#(and (= 2 (select |#length| |main_#t~malloc0.base|)) (= 0 |main_#t~malloc0.offset|)), 244#(and (<= 0 main_~p~0.offset) (<= (+ main_~p~0.offset 1) (select |#length| main_~p~0.base))), 245#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|)), 237#true, 238#false] [2018-04-13 15:25:38,012 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-13 15:25:38,013 INFO L442 AbstractCegarLoop]: Interpolant automaton has 6 states [2018-04-13 15:25:38,014 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2018-04-13 15:25:38,014 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=14, Unknown=1, NotChecked=6, Total=30 [2018-04-13 15:25:38,014 INFO L87 Difference]: Start difference. First operand 59 states and 66 transitions. Second operand 6 states. [2018-04-13 15:25:38,134 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-04-13 15:25:38,134 INFO L93 Difference]: Finished difference Result 57 states and 64 transitions. [2018-04-13 15:25:38,134 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2018-04-13 15:25:38,135 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 9 [2018-04-13 15:25:38,135 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-04-13 15:25:38,135 INFO L225 Difference]: With dead ends: 57 [2018-04-13 15:25:38,136 INFO L226 Difference]: Without dead ends: 57 [2018-04-13 15:25:38,136 INFO L567 BasicCegarLoop]: 0 DeclaredPredicates, 8 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 1 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=16, Invalid=27, Unknown=3, NotChecked=10, Total=56 [2018-04-13 15:25:38,137 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 57 states. [2018-04-13 15:25:38,140 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 57 to 57. [2018-04-13 15:25:38,140 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 57 states. [2018-04-13 15:25:38,141 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 57 states to 57 states and 64 transitions. [2018-04-13 15:25:38,142 INFO L78 Accepts]: Start accepts. Automaton has 57 states and 64 transitions. Word has length 9 [2018-04-13 15:25:38,142 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-04-13 15:25:38,142 INFO L459 AbstractCegarLoop]: Abstraction has 57 states and 64 transitions. [2018-04-13 15:25:38,142 INFO L460 AbstractCegarLoop]: Interpolant automaton has 6 states. [2018-04-13 15:25:38,142 INFO L276 IsEmpty]: Start isEmpty. Operand 57 states and 64 transitions. [2018-04-13 15:25:38,143 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2018-04-13 15:25:38,143 INFO L347 BasicCegarLoop]: Found error trace [2018-04-13 15:25:38,143 INFO L355 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-04-13 15:25:38,143 INFO L408 AbstractCegarLoop]: === Iteration 3 === [mainErr13RequiresViolation, mainErr25AssertViolationMEMORY_FREE, mainErr26EnsuresViolationMEMORY_LEAK, mainErr10AssertViolationMEMORY_FREE, mainErr18RequiresViolation, mainErr0RequiresViolation, mainErr21RequiresViolation, mainErr17AssertViolationMEMORY_FREE, mainErr3RequiresViolation, mainErr15RequiresViolation, mainErr2RequiresViolation, mainErr12RequiresViolation, mainErr6RequiresViolation, mainErr19RequiresViolation, mainErr24AssertViolationMEMORY_FREE, mainErr1RequiresViolation, mainErr23AssertViolationMEMORY_FREE, mainErr9RequiresViolation, mainErr4AssertViolationMEMORY_FREE, mainErr11AssertViolationMEMORY_FREE, mainErr22AssertViolationMEMORY_FREE, mainErr7RequiresViolation, mainErr20RequiresViolation, mainErr8RequiresViolation, mainErr16AssertViolationMEMORY_FREE, mainErr14RequiresViolation, mainErr5AssertViolationMEMORY_FREE]=== [2018-04-13 15:25:38,143 INFO L82 PathProgramCache]: Analyzing trace with hash -1732241770, now seen corresponding path program 1 times No working directory specified, using /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 4 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-04-13 15:25:38,149 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-04-13 15:25:38,156 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-13 15:25:38,181 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-13 15:25:38,182 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-13 15:25:38,209 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-04-13 15:25:38,209 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2018-04-13 15:25:38,209 INFO L142 lantAutomatonBuilder]: Constructing canonical interpolant automaton, with selfloop in false state [2018-04-13 15:25:38,210 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-13 15:25:38,210 INFO L182 omatonBuilderFactory]: Interpolants [369#(= 0 |main_#t~malloc0.offset|), 370#(= 0 main_~p~0.offset), 371#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|)), 364#true, 365#false] [2018-04-13 15:25:38,210 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-13 15:25:38,210 INFO L442 AbstractCegarLoop]: Interpolant automaton has 5 states [2018-04-13 15:25:38,211 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-04-13 15:25:38,211 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2018-04-13 15:25:38,211 INFO L87 Difference]: Start difference. First operand 57 states and 64 transitions. Second operand 5 states. [2018-04-13 15:25:38,294 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-04-13 15:25:38,294 INFO L93 Difference]: Finished difference Result 52 states and 58 transitions. [2018-04-13 15:25:38,294 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-04-13 15:25:38,295 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 12 [2018-04-13 15:25:38,295 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-04-13 15:25:38,296 INFO L225 Difference]: With dead ends: 52 [2018-04-13 15:25:38,296 INFO L226 Difference]: Without dead ends: 52 [2018-04-13 15:25:38,296 INFO L567 BasicCegarLoop]: 0 DeclaredPredicates, 6 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=11, Invalid=19, Unknown=0, NotChecked=0, Total=30 [2018-04-13 15:25:38,296 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 52 states. [2018-04-13 15:25:38,299 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 52 to 52. [2018-04-13 15:25:38,299 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 52 states. [2018-04-13 15:25:38,300 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 52 states to 52 states and 58 transitions. [2018-04-13 15:25:38,300 INFO L78 Accepts]: Start accepts. Automaton has 52 states and 58 transitions. Word has length 12 [2018-04-13 15:25:38,300 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-04-13 15:25:38,300 INFO L459 AbstractCegarLoop]: Abstraction has 52 states and 58 transitions. [2018-04-13 15:25:38,300 INFO L460 AbstractCegarLoop]: Interpolant automaton has 5 states. [2018-04-13 15:25:38,301 INFO L276 IsEmpty]: Start isEmpty. Operand 52 states and 58 transitions. [2018-04-13 15:25:38,301 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2018-04-13 15:25:38,301 INFO L347 BasicCegarLoop]: Found error trace [2018-04-13 15:25:38,301 INFO L355 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-04-13 15:25:38,301 INFO L408 AbstractCegarLoop]: === Iteration 4 === [mainErr13RequiresViolation, mainErr25AssertViolationMEMORY_FREE, mainErr26EnsuresViolationMEMORY_LEAK, mainErr10AssertViolationMEMORY_FREE, mainErr18RequiresViolation, mainErr0RequiresViolation, mainErr21RequiresViolation, mainErr17AssertViolationMEMORY_FREE, mainErr3RequiresViolation, mainErr15RequiresViolation, mainErr2RequiresViolation, mainErr12RequiresViolation, mainErr6RequiresViolation, mainErr19RequiresViolation, mainErr24AssertViolationMEMORY_FREE, mainErr1RequiresViolation, mainErr23AssertViolationMEMORY_FREE, mainErr9RequiresViolation, mainErr4AssertViolationMEMORY_FREE, mainErr11AssertViolationMEMORY_FREE, mainErr22AssertViolationMEMORY_FREE, mainErr7RequiresViolation, mainErr20RequiresViolation, mainErr8RequiresViolation, mainErr16AssertViolationMEMORY_FREE, mainErr14RequiresViolation, mainErr5AssertViolationMEMORY_FREE]=== [2018-04-13 15:25:38,301 INFO L82 PathProgramCache]: Analyzing trace with hash -1732241543, now seen corresponding path program 1 times No working directory specified, using /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 5 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-04-13 15:25:38,305 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-04-13 15:25:38,313 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-13 15:25:38,335 WARN L195 Executor]: ExternalInterpolator (z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in) stderr output: WARNING: array quantifier [2018-04-13 15:25:38,337 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:38,338 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:38,338 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:38,338 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:38,343 WARN L1033 $PredicateComparison]: unable to prove that (exists ((%0 (Array Int Int))) (! (forall ((%1 Int)) (! (= (store %0 %1 2) (store |c_#length| %1 2)) :qid itp)) :qid itp)) is different from true [2018-04-13 15:25:38,380 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-13 15:25:38,382 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-13 15:25:38,408 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-04-13 15:25:38,408 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2018-04-13 15:25:38,409 INFO L142 lantAutomatonBuilder]: Constructing canonical interpolant automaton, with selfloop in false state [2018-04-13 15:25:38,409 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-13 15:25:38,409 INFO L182 omatonBuilderFactory]: Interpolants [483#(exists ((%0 (Array Int Int))) (! (forall ((%1 Int)) (! (= (store %0 %1 2) (store |#length| %1 2)) :qid itp)) :qid itp)), 484#(and (= 2 (select |#length| |main_#t~malloc0.base|)) (= 0 |main_#t~malloc0.offset|)), 485#(or (and (<= 0 (+ main_~p~0.offset 1)) (<= (+ main_~p~0.offset 2) (select |#length| main_~p~0.base))) (< (select |#length| main_~p~0.base) (+ main_~p~0.offset 1))), 486#(and (<= 0 (+ main_~p~0.offset 1)) (<= (+ main_~p~0.offset 2) (select |#length| main_~p~0.base))), 487#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|)), 478#true, 479#false] [2018-04-13 15:25:38,409 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-13 15:25:38,409 INFO L442 AbstractCegarLoop]: Interpolant automaton has 7 states [2018-04-13 15:25:38,410 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2018-04-13 15:25:38,410 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=12, Invalid=21, Unknown=1, NotChecked=8, Total=42 [2018-04-13 15:25:38,410 INFO L87 Difference]: Start difference. First operand 52 states and 58 transitions. Second operand 7 states. [2018-04-13 15:25:38,493 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-04-13 15:25:38,493 INFO L93 Difference]: Finished difference Result 50 states and 55 transitions. [2018-04-13 15:25:38,494 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2018-04-13 15:25:38,494 INFO L78 Accepts]: Start accepts. Automaton has 7 states. Word has length 12 [2018-04-13 15:25:38,494 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-04-13 15:25:38,494 INFO L225 Difference]: With dead ends: 50 [2018-04-13 15:25:38,494 INFO L226 Difference]: Without dead ends: 50 [2018-04-13 15:25:38,495 INFO L567 BasicCegarLoop]: 0 DeclaredPredicates, 11 GetRequests, 4 SyntacticMatches, 0 SemanticMatches, 7 ConstructedPredicates, 1 IntricatePredicates, 0 DeprecatedPredicates, 3 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=20, Invalid=38, Unknown=2, NotChecked=12, Total=72 [2018-04-13 15:25:38,495 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 50 states. [2018-04-13 15:25:38,497 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 50 to 50. [2018-04-13 15:25:38,497 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 50 states. [2018-04-13 15:25:38,499 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 50 states and 55 transitions. [2018-04-13 15:25:38,499 INFO L78 Accepts]: Start accepts. Automaton has 50 states and 55 transitions. Word has length 12 [2018-04-13 15:25:38,499 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-04-13 15:25:38,499 INFO L459 AbstractCegarLoop]: Abstraction has 50 states and 55 transitions. [2018-04-13 15:25:38,499 INFO L460 AbstractCegarLoop]: Interpolant automaton has 7 states. [2018-04-13 15:25:38,500 INFO L276 IsEmpty]: Start isEmpty. Operand 50 states and 55 transitions. [2018-04-13 15:25:38,500 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2018-04-13 15:25:38,500 INFO L347 BasicCegarLoop]: Found error trace [2018-04-13 15:25:38,500 INFO L355 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-04-13 15:25:38,500 INFO L408 AbstractCegarLoop]: === Iteration 5 === [mainErr13RequiresViolation, mainErr25AssertViolationMEMORY_FREE, mainErr26EnsuresViolationMEMORY_LEAK, mainErr10AssertViolationMEMORY_FREE, mainErr18RequiresViolation, mainErr0RequiresViolation, mainErr21RequiresViolation, mainErr17AssertViolationMEMORY_FREE, mainErr3RequiresViolation, mainErr15RequiresViolation, mainErr2RequiresViolation, mainErr12RequiresViolation, mainErr6RequiresViolation, mainErr19RequiresViolation, mainErr24AssertViolationMEMORY_FREE, mainErr1RequiresViolation, mainErr23AssertViolationMEMORY_FREE, mainErr9RequiresViolation, mainErr4AssertViolationMEMORY_FREE, mainErr11AssertViolationMEMORY_FREE, mainErr22AssertViolationMEMORY_FREE, mainErr7RequiresViolation, mainErr20RequiresViolation, mainErr8RequiresViolation, mainErr16AssertViolationMEMORY_FREE, mainErr14RequiresViolation, mainErr5AssertViolationMEMORY_FREE]=== [2018-04-13 15:25:38,500 INFO L82 PathProgramCache]: Analyzing trace with hash -1182458942, now seen corresponding path program 1 times No working directory specified, using /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 6 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 6 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-04-13 15:25:38,504 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-04-13 15:25:38,508 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-13 15:25:38,514 WARN L195 Executor]: ExternalInterpolator (z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in) stderr output: WARNING: array quantifier WARNING: array quantifier [2018-04-13 15:25:38,516 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:38,516 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:38,516 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:38,517 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:38,517 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:38,517 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:38,527 WARN L1033 $PredicateComparison]: unable to prove that (forall ((%0 Int)) (! (exists ((%1 (Array Int Int)) (%2 (Array Int (Array Int Int)))) (! (and (forall ((%3 Int)) (! (let ((.cse0 (store %1 0 1))) (= (store |c_#memory_int| %3 .cse0) (store %2 %3 .cse0))) :qid itp)) (= %1 (select |c_#memory_int| %0))) :qid itp)) :qid itp)) is different from true [2018-04-13 15:25:38,528 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:38,528 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:38,528 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:38,528 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:38,528 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:38,529 WARN L251 NnfTransformerHelper]: thrown away annotations [(:qid itp)] [2018-04-13 15:25:38,581 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-13 15:25:38,582 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-13 15:25:38,608 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-04-13 15:25:38,608 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [8] imperfect sequences [] total 8 [2018-04-13 15:25:38,608 INFO L142 lantAutomatonBuilder]: Constructing canonical interpolant automaton, with selfloop in false state [2018-04-13 15:25:38,608 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-13 15:25:38,609 INFO L182 omatonBuilderFactory]: Interpolants [592#true, 593#false, 597#(forall ((%0 Int)) (! (exists ((%1 (Array Int Int)) (%2 (Array Int (Array Int Int)))) (! (and (forall ((%3 Int)) (! (= (store |#memory_int| %3 (store %1 0 1)) (store %2 %3 (store %1 0 1))) :qid itp)) (= %1 (select |#memory_int| %0))) :qid itp)) :qid itp)), 598#(= 0 |main_#t~malloc0.offset|), 599#(= 0 main_~p~0.offset), 600#(= 1 (select (select |#memory_int| main_~p~0.base) main_~p~0.offset)), 601#(and (<= 1 (+ (* 256 (div |main_#t~mem1| 256)) (mod |main_#t~mem1| 256))) (<= (+ (* 256 (div |main_#t~mem1| 256)) (mod |main_#t~mem1| 256)) 1)), 602#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))] [2018-04-13 15:25:38,609 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-04-13 15:25:38,609 INFO L442 AbstractCegarLoop]: Interpolant automaton has 8 states [2018-04-13 15:25:38,609 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2018-04-13 15:25:38,609 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=32, Unknown=1, NotChecked=10, Total=56 [2018-04-13 15:25:38,610 INFO L87 Difference]: Start difference. First operand 50 states and 55 transitions. Second operand 8 states. [2018-04-13 15:25:38,712 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-04-13 15:25:38,712 INFO L93 Difference]: Finished difference Result 45 states and 49 transitions. [2018-04-13 15:25:38,712 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2018-04-13 15:25:38,712 INFO L78 Accepts]: Start accepts. Automaton has 8 states. Word has length 15 [2018-04-13 15:25:38,712 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-04-13 15:25:38,715 INFO L225 Difference]: With dead ends: 45 [2018-04-13 15:25:38,715 INFO L226 Difference]: Without dead ends: 45 [2018-04-13 15:25:38,716 INFO L567 BasicCegarLoop]: 0 DeclaredPredicates, 14 GetRequests, 4 SyntacticMatches, 0 SemanticMatches, 10 ConstructedPredicates, 1 IntricatePredicates, 0 DeprecatedPredicates, 3 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=34, Invalid=78, Unknown=2, NotChecked=18, Total=132 [2018-04-13 15:25:38,716 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 45 states. [2018-04-13 15:25:38,717 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 45 to 45. [2018-04-13 15:25:38,717 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 45 states. [2018-04-13 15:25:38,717 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 45 states to 45 states and 49 transitions. [2018-04-13 15:25:38,718 INFO L78 Accepts]: Start accepts. Automaton has 45 states and 49 transitions. Word has length 15 [2018-04-13 15:25:38,718 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-04-13 15:25:38,718 INFO L459 AbstractCegarLoop]: Abstraction has 45 states and 49 transitions. [2018-04-13 15:25:38,718 INFO L460 AbstractCegarLoop]: Interpolant automaton has 8 states. [2018-04-13 15:25:38,718 INFO L276 IsEmpty]: Start isEmpty. Operand 45 states and 49 transitions. [2018-04-13 15:25:38,718 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2018-04-13 15:25:38,718 INFO L347 BasicCegarLoop]: Found error trace [2018-04-13 15:25:38,718 INFO L355 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-04-13 15:25:38,718 INFO L408 AbstractCegarLoop]: === Iteration 6 === [mainErr13RequiresViolation, mainErr25AssertViolationMEMORY_FREE, mainErr26EnsuresViolationMEMORY_LEAK, mainErr10AssertViolationMEMORY_FREE, mainErr18RequiresViolation, mainErr0RequiresViolation, mainErr21RequiresViolation, mainErr17AssertViolationMEMORY_FREE, mainErr3RequiresViolation, mainErr15RequiresViolation, mainErr2RequiresViolation, mainErr12RequiresViolation, mainErr6RequiresViolation, mainErr19RequiresViolation, mainErr24AssertViolationMEMORY_FREE, mainErr1RequiresViolation, mainErr23AssertViolationMEMORY_FREE, mainErr9RequiresViolation, mainErr4AssertViolationMEMORY_FREE, mainErr11AssertViolationMEMORY_FREE, mainErr22AssertViolationMEMORY_FREE, mainErr7RequiresViolation, mainErr20RequiresViolation, mainErr8RequiresViolation, mainErr16AssertViolationMEMORY_FREE, mainErr14RequiresViolation, mainErr5AssertViolationMEMORY_FREE]=== [2018-04-13 15:25:38,718 INFO L82 PathProgramCache]: Analyzing trace with hash -1175777463, now seen corresponding path program 1 times No working directory specified, using /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 7 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 7 with z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-04-13 15:25:38,721 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-04-13 15:25:38,726 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-04-13 15:25:38,731 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-04-13 15:25:38,756 INFO L421 BasicCegarLoop]: Counterexample might be feasible [2018-04-13 15:25:38,772 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 13.04 03:25:38 BoogieIcfgContainer [2018-04-13 15:25:38,772 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-04-13 15:25:38,772 INFO L168 Benchmark]: Toolchain (without parser) took 1767.03 ms. Allocated memory was 402.7 MB in the beginning and 636.0 MB in the end (delta: 233.3 MB). Free memory was 345.0 MB in the beginning and 574.2 MB in the end (delta: -229.2 MB). Peak memory consumption was 4.1 MB. Max. memory is 5.3 GB. [2018-04-13 15:25:38,773 INFO L168 Benchmark]: CDTParser took 0.16 ms. Allocated memory is still 402.7 MB. Free memory is still 364.4 MB. There was no memory consumed. Max. memory is 5.3 GB. [2018-04-13 15:25:38,774 INFO L168 Benchmark]: CACSL2BoogieTranslator took 145.20 ms. Allocated memory is still 402.7 MB. Free memory was 345.0 MB in the beginning and 335.5 MB in the end (delta: 9.5 MB). Peak memory consumption was 9.5 MB. Max. memory is 5.3 GB. [2018-04-13 15:25:38,774 INFO L168 Benchmark]: Boogie Preprocessor took 26.55 ms. Allocated memory is still 402.7 MB. Free memory was 335.5 MB in the beginning and 334.2 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 5.3 GB. [2018-04-13 15:25:38,774 INFO L168 Benchmark]: RCFGBuilder took 268.02 ms. Allocated memory was 402.7 MB in the beginning and 611.8 MB in the end (delta: 209.2 MB). Free memory was 332.9 MB in the beginning and 572.5 MB in the end (delta: -239.7 MB). Peak memory consumption was 24.7 MB. Max. memory is 5.3 GB. [2018-04-13 15:25:38,775 INFO L168 Benchmark]: TraceAbstraction took 1323.77 ms. Allocated memory was 611.8 MB in the beginning and 636.0 MB in the end (delta: 24.1 MB). Free memory was 572.5 MB in the beginning and 574.2 MB in the end (delta: -1.7 MB). Peak memory consumption was 22.4 MB. Max. memory is 5.3 GB. [2018-04-13 15:25:38,776 INFO L344 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.16 ms. Allocated memory is still 402.7 MB. Free memory is still 364.4 MB. There was no memory consumed. Max. memory is 5.3 GB. * CACSL2BoogieTranslator took 145.20 ms. Allocated memory is still 402.7 MB. Free memory was 345.0 MB in the beginning and 335.5 MB in the end (delta: 9.5 MB). Peak memory consumption was 9.5 MB. Max. memory is 5.3 GB. * Boogie Preprocessor took 26.55 ms. Allocated memory is still 402.7 MB. Free memory was 335.5 MB in the beginning and 334.2 MB in the end (delta: 1.3 MB). Peak memory consumption was 1.3 MB. Max. memory is 5.3 GB. * RCFGBuilder took 268.02 ms. Allocated memory was 402.7 MB in the beginning and 611.8 MB in the end (delta: 209.2 MB). Free memory was 332.9 MB in the beginning and 572.5 MB in the end (delta: -239.7 MB). Peak memory consumption was 24.7 MB. Max. memory is 5.3 GB. * TraceAbstraction took 1323.77 ms. Allocated memory was 611.8 MB in the beginning and 636.0 MB in the end (delta: 24.1 MB). Free memory was 572.5 MB in the beginning and 574.2 MB in the end (delta: -1.7 MB). Peak memory consumption was 22.4 MB. Max. memory is 5.3 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 32]: pointer dereference may fail pointer dereference may fail We found a FailurePath: [L22] struct A *p; [L23] EXPR, FCALL malloc(2) VAL [malloc(2)={8:0}] [L23] p = malloc(2) VAL [malloc(2)={8:0}, p={8:0}] [L24] FCALL p->a = 1 VAL [malloc(2)={8:0}, p={8:0}] [L25] EXPR, FCALL p->a VAL [malloc(2)={8:0}, p={8:0}, p->a=1] [L25] COND FALSE !(p->a != 1) [L28] FCALL p->b = 2 VAL [malloc(2)={8:0}, p={8:0}] [L29] EXPR, FCALL p->b VAL [malloc(2)={8:0}, p={8:0}, p->b=2] [L29] COND FALSE !(p->b != 2) [L32] FCALL p->c = 3 - StatisticsResult: Ultimate Automizer benchmark data CFG has 3 procedures, 66 locations, 27 error locations. UNSAFE Result, 1.2s OverallTime, 6 OverallIterations, 1 TraceHistogramMax, 0.6s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 99 SDtfs, 500 SDslu, 85 SDs, 0 SdLazy, 479 SolverSat, 49 SolverUnsat, 4 SolverUnknown, 0 SolverNotchecked, 0.3s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 47 GetRequests, 14 SyntacticMatches, 0 SemanticMatches, 33 ConstructedPredicates, 4 IntricatePredicates, 0 DeprecatedPredicates, 8 ImplicationChecksByTransitivity, 0.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=66occurred in iteration=0, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 5 MinimizatonAttempts, 34 StatesRemovedByMinimization, 1 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 72 NumberOfCodeBlocks, 72 NumberOfCodeBlocksAsserted, 6 NumberOfCheckSat, 52 ConstructedInterpolants, 8 QuantifiedInterpolants, 3968 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 5 InterpolantComputations, 5 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Written .csv to /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/test-bitfields-1_true-valid-memsafety_true-termination.i_svcomp-DerefFreeMemtrack-32bit-Automizer_z3.epf_AutomizerC.xml/Csv-Benchmark-0-2018-04-13_15-25-38-782.csv Written .csv to /home/ultimate/work/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/test-bitfields-1_true-valid-memsafety_true-termination.i_svcomp-DerefFreeMemtrack-32bit-Automizer_z3.epf_AutomizerC.xml/Csv-TraceAbstractionBenchmarks-0-2018-04-13_15-25-38-782.csv Received shutdown request...