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 -tc ../../../trunk/examples/toolchains/AutomizerC.xml -s ../../../trunk/examples/settings/ai/eq-bench/mempurity-32bit-Automizer_Taipan+AI_EQ.epf -i ../../../trunk/examples/svcomp/array-memsafety/openbsd_cstpncpy-alloca_true-valid-memsafety_true-termination.i -------------------------------------------------------------------------------- This is Ultimate 0.1.23-2f49842 [2018-01-20 23:25:22,262 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-01-20 23:25:22,264 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-01-20 23:25:22,277 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-01-20 23:25:22,278 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-01-20 23:25:22,279 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-01-20 23:25:22,280 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-01-20 23:25:22,281 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-01-20 23:25:22,283 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-01-20 23:25:22,284 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-01-20 23:25:22,285 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-01-20 23:25:22,285 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-01-20 23:25:22,286 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-01-20 23:25:22,287 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-01-20 23:25:22,288 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-01-20 23:25:22,290 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-01-20 23:25:22,292 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-01-20 23:25:22,294 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-01-20 23:25:22,295 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-01-20 23:25:22,296 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-01-20 23:25:22,299 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-01-20 23:25:22,299 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-01-20 23:25:22,299 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-01-20 23:25:22,300 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-01-20 23:25:22,301 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-01-20 23:25:22,302 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-01-20 23:25:22,302 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-01-20 23:25:22,303 INFO L177 SettingsManager]: PEA to Boogie provides no preferences, ignoring... [2018-01-20 23:25:22,303 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-01-20 23:25:22,303 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-01-20 23:25:22,304 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-01-20 23:25:22,304 INFO L98 SettingsManager]: Beginning loading settings from /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/ai/eq-bench/mempurity-32bit-Automizer_Taipan+AI_EQ.epf [2018-01-20 23:25:22,314 INFO L110 SettingsManager]: Loading preferences was successful [2018-01-20 23:25:22,314 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-01-20 23:25:22,315 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-01-20 23:25:22,315 INFO L133 SettingsManager]: * to procedures, called more than once=true [2018-01-20 23:25:22,316 INFO L131 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2018-01-20 23:25:22,316 INFO L133 SettingsManager]: * Abstract domain for RCFG-of-the-future=VPDomain [2018-01-20 23:25:22,316 INFO L133 SettingsManager]: * Use the RCFG-of-the-future interface=true [2018-01-20 23:25:22,317 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-01-20 23:25:22,317 INFO L133 SettingsManager]: * sizeof long=4 [2018-01-20 23:25:22,317 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-01-20 23:25:22,317 INFO L133 SettingsManager]: * Check allocation purity=true [2018-01-20 23:25:22,317 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-01-20 23:25:22,317 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-01-20 23:25:22,318 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-01-20 23:25:22,318 INFO L133 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2018-01-20 23:25:22,318 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-01-20 23:25:22,318 INFO L133 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2018-01-20 23:25:22,318 INFO L133 SettingsManager]: * sizeof long double=12 [2018-01-20 23:25:22,319 INFO L133 SettingsManager]: * Check if freed pointer was valid=false [2018-01-20 23:25:22,319 INFO L133 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2018-01-20 23:25:22,319 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-01-20 23:25:22,319 INFO L133 SettingsManager]: * Size of a code block=SequenceOfStatements [2018-01-20 23:25:22,319 INFO L133 SettingsManager]: * To the following directory=./dump/ [2018-01-20 23:25:22,320 INFO L133 SettingsManager]: * Add additional assume for each assert=false [2018-01-20 23:25:22,320 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-01-20 23:25:22,320 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-01-20 23:25:22,320 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-01-20 23:25:22,320 INFO L133 SettingsManager]: * Interpolant automaton=TWOTRACK [2018-01-20 23:25:22,321 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-01-20 23:25:22,321 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-01-20 23:25:22,321 INFO L133 SettingsManager]: * Stop after first violation was found=false [2018-01-20 23:25:22,321 INFO L133 SettingsManager]: * Trace refinement strategy=TAIPAN [2018-01-20 23:25:22,321 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-01-20 23:25:22,321 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-01-20 23:25:22,322 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2018-01-20 23:25:22,322 INFO L133 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES [2018-01-20 23:25:22,323 INFO L131 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2018-01-20 23:25:22,323 INFO L133 SettingsManager]: * TransformationType=HEAP_SEPARATOR [2018-01-20 23:25:22,356 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-01-20 23:25:22,368 INFO L266 ainManager$Toolchain]: [Toolchain 1]: Parser(s) successfully initialized [2018-01-20 23:25:22,373 INFO L222 ainManager$Toolchain]: [Toolchain 1]: Toolchain data selected. [2018-01-20 23:25:22,374 INFO L271 PluginConnector]: Initializing CDTParser... [2018-01-20 23:25:22,375 INFO L276 PluginConnector]: CDTParser initialized [2018-01-20 23:25:22,376 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/array-memsafety/openbsd_cstpncpy-alloca_true-valid-memsafety_true-termination.i [2018-01-20 23:25:22,549 INFO L304 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-01-20 23:25:22,555 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2018-01-20 23:25:22,555 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-01-20 23:25:22,556 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-01-20 23:25:22,562 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-01-20 23:25:22,563 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.01 11:25:22" (1/1) ... [2018-01-20 23:25:22,566 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@55297a3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.01 11:25:22, skipping insertion in model container [2018-01-20 23:25:22,566 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 20.01 11:25:22" (1/1) ... [2018-01-20 23:25:22,584 INFO L153 Dispatcher]: Using SV-COMP mode [2018-01-20 23:25:22,623 INFO L153 Dispatcher]: Using SV-COMP mode [2018-01-20 23:25:22,732 INFO L450 PostProcessor]: Settings: Checked method=main [2018-01-20 23:25:22,748 INFO L450 PostProcessor]: Settings: Checked method=main [2018-01-20 23:25:22,757 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.01 11:25:22 WrapperNode [2018-01-20 23:25:22,757 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-01-20 23:25:22,758 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-01-20 23:25:22,758 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-01-20 23:25:22,758 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-01-20 23:25:22,775 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.01 11:25:22" (1/1) ... [2018-01-20 23:25:22,775 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.01 11:25:22" (1/1) ... [2018-01-20 23:25:22,786 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.01 11:25:22" (1/1) ... [2018-01-20 23:25:22,786 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.01 11:25:22" (1/1) ... [2018-01-20 23:25:22,790 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.01 11:25:22" (1/1) ... [2018-01-20 23:25:22,793 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.01 11:25:22" (1/1) ... [2018-01-20 23:25:22,794 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.01 11:25:22" (1/1) ... [2018-01-20 23:25:22,796 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-01-20 23:25:22,796 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-01-20 23:25:22,796 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-01-20 23:25:22,797 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-01-20 23:25:22,797 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.01 11:25:22" (1/1) ... No working directory specified, using /storage/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-01-20 23:25:22,841 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-01-20 23:25:22,841 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-01-20 23:25:22,841 INFO L136 BoogieDeclarations]: Found implementation of procedure cstpncpy [2018-01-20 23:25:22,841 INFO L136 BoogieDeclarations]: Found implementation of procedure main [2018-01-20 23:25:22,842 INFO L128 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2018-01-20 23:25:22,842 INFO L128 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2018-01-20 23:25:22,842 INFO L128 BoogieDeclarations]: Found specification of procedure write~int [2018-01-20 23:25:22,842 INFO L128 BoogieDeclarations]: Found specification of procedure read~int [2018-01-20 23:25:22,842 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.free [2018-01-20 23:25:22,842 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-01-20 23:25:22,842 INFO L128 BoogieDeclarations]: Found specification of procedure #Ultimate.alloc [2018-01-20 23:25:22,842 INFO L128 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2018-01-20 23:25:22,842 INFO L128 BoogieDeclarations]: Found specification of procedure cstpncpy [2018-01-20 23:25:22,842 INFO L128 BoogieDeclarations]: Found specification of procedure main [2018-01-20 23:25:22,843 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-01-20 23:25:22,843 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-01-20 23:25:23,083 INFO L257 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-01-20 23:25:23,084 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.01 11:25:23 BoogieIcfgContainer [2018-01-20 23:25:23,084 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-01-20 23:25:23,085 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-01-20 23:25:23,085 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-01-20 23:25:23,087 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-01-20 23:25:23,087 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 20.01 11:25:22" (1/3) ... [2018-01-20 23:25:23,088 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1aeb0a24 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 20.01 11:25:23, skipping insertion in model container [2018-01-20 23:25:23,088 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 20.01 11:25:22" (2/3) ... [2018-01-20 23:25:23,088 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1aeb0a24 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 20.01 11:25:23, skipping insertion in model container [2018-01-20 23:25:23,088 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 20.01 11:25:23" (3/3) ... [2018-01-20 23:25:23,090 INFO L105 eAbstractionObserver]: Analyzing ICFG openbsd_cstpncpy-alloca_true-valid-memsafety_true-termination.i [2018-01-20 23:25:23,096 INFO L130 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-01-20 23:25:23,103 INFO L142 ceAbstractionStarter]: Appying trace abstraction to program that has 4 error locations. [2018-01-20 23:25:23,147 INFO L322 AbstractCegarLoop]: Interprodecural is true [2018-01-20 23:25:23,147 INFO L323 AbstractCegarLoop]: Hoare is true [2018-01-20 23:25:23,147 INFO L324 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-01-20 23:25:23,148 INFO L325 AbstractCegarLoop]: Backedges is TWOTRACK [2018-01-20 23:25:23,148 INFO L326 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-01-20 23:25:23,148 INFO L327 AbstractCegarLoop]: Difference is false [2018-01-20 23:25:23,148 INFO L328 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-01-20 23:25:23,148 INFO L333 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == ULTIMATE.initErr0EnsuresViolation======== [2018-01-20 23:25:23,149 INFO L87 2NestedWordAutomaton]: Mode: main mode - execution starts in main procedure [2018-01-20 23:25:23,169 INFO L276 IsEmpty]: Start isEmpty. Operand 54 states. [2018-01-20 23:25:23,176 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2018-01-20 23:25:23,176 INFO L314 BasicCegarLoop]: Found error trace [2018-01-20 23:25:23,177 INFO L322 BasicCegarLoop]: trace histogram [1, 1, 1] [2018-01-20 23:25:23,177 INFO L371 AbstractCegarLoop]: === Iteration 1 === [ULTIMATE.initErr0EnsuresViolation]=== [2018-01-20 23:25:23,183 INFO L82 PathProgramCache]: Analyzing trace with hash 117244, now seen corresponding path program 1 times [2018-01-20 23:25:23,186 INFO L67 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-01-20 23:25:23,235 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-20 23:25:23,235 INFO L101 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-01-20 23:25:23,235 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-20 23:25:23,236 INFO L280 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-01-20 23:25:23,262 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-01-20 23:25:23,268 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-01-20 23:25:23,286 INFO L381 BasicCegarLoop]: Counterexample might be feasible [2018-01-20 23:25:23,291 WARN L343 cessorBacktranslator]: Generated EnsuresSpecification ensures #valid == old(#valid); is not ensure(true) [2018-01-20 23:25:23,297 INFO L322 AbstractCegarLoop]: Interprodecural is true [2018-01-20 23:25:23,297 INFO L323 AbstractCegarLoop]: Hoare is true [2018-01-20 23:25:23,297 INFO L324 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-01-20 23:25:23,297 INFO L325 AbstractCegarLoop]: Backedges is TWOTRACK [2018-01-20 23:25:23,297 INFO L326 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-01-20 23:25:23,297 INFO L327 AbstractCegarLoop]: Difference is false [2018-01-20 23:25:23,297 INFO L328 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-01-20 23:25:23,298 INFO L333 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == ULTIMATE.startErr0EnsuresViolation======== [2018-01-20 23:25:23,298 INFO L87 2NestedWordAutomaton]: Mode: main mode - execution starts in main procedure [2018-01-20 23:25:23,299 INFO L276 IsEmpty]: Start isEmpty. Operand 54 states. [2018-01-20 23:25:23,301 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 33 [2018-01-20 23:25:23,301 INFO L314 BasicCegarLoop]: Found error trace [2018-01-20 23:25:23,301 INFO L322 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-01-20 23:25:23,301 INFO L371 AbstractCegarLoop]: === Iteration 1 === [ULTIMATE.startErr0EnsuresViolation]=== [2018-01-20 23:25:23,301 INFO L82 PathProgramCache]: Analyzing trace with hash 1513521273, now seen corresponding path program 1 times [2018-01-20 23:25:23,301 INFO L67 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-01-20 23:25:23,302 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-20 23:25:23,302 INFO L101 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-01-20 23:25:23,303 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-20 23:25:23,303 INFO L280 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-01-20 23:25:23,355 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-01-20 23:25:23,363 WARN L137 erpolLogProxyWrapper]: Using partial proofs (cut at CNF-level). Set option :produce-proofs to true to get complete proofs. [2018-01-20 23:25:23,601 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-01-20 23:25:23,603 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-01-20 23:25:23,603 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2018-01-20 23:25:23,603 INFO L252 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-01-20 23:25:23,605 INFO L409 AbstractCegarLoop]: Interpolant automaton has 5 states [2018-01-20 23:25:23,615 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-01-20 23:25:23,616 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2018-01-20 23:25:23,618 INFO L87 Difference]: Start difference. First operand 54 states. Second operand 5 states. [2018-01-20 23:25:23,704 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-01-20 23:25:23,704 INFO L93 Difference]: Finished difference Result 101 states and 113 transitions. [2018-01-20 23:25:23,705 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-01-20 23:25:23,706 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 32 [2018-01-20 23:25:23,706 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-01-20 23:25:23,719 INFO L225 Difference]: With dead ends: 101 [2018-01-20 23:25:23,720 INFO L226 Difference]: Without dead ends: 77 [2018-01-20 23:25:23,723 INFO L525 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-01-20 23:25:23,736 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 77 states. [2018-01-20 23:25:23,758 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 77 to 62. [2018-01-20 23:25:23,759 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 62 states. [2018-01-20 23:25:23,761 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 62 states to 62 states and 68 transitions. [2018-01-20 23:25:23,762 INFO L78 Accepts]: Start accepts. Automaton has 62 states and 68 transitions. Word has length 32 [2018-01-20 23:25:23,762 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-01-20 23:25:23,762 INFO L432 AbstractCegarLoop]: Abstraction has 62 states and 68 transitions. [2018-01-20 23:25:23,762 INFO L433 AbstractCegarLoop]: Interpolant automaton has 5 states. [2018-01-20 23:25:23,763 INFO L276 IsEmpty]: Start isEmpty. Operand 62 states and 68 transitions. [2018-01-20 23:25:23,764 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 33 [2018-01-20 23:25:23,764 INFO L314 BasicCegarLoop]: Found error trace [2018-01-20 23:25:23,764 INFO L322 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-01-20 23:25:23,764 INFO L371 AbstractCegarLoop]: === Iteration 2 === [ULTIMATE.startErr0EnsuresViolation]=== [2018-01-20 23:25:23,764 INFO L82 PathProgramCache]: Analyzing trace with hash 1654069883, now seen corresponding path program 1 times [2018-01-20 23:25:23,764 INFO L67 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-01-20 23:25:23,765 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-20 23:25:23,765 INFO L101 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-01-20 23:25:23,765 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-20 23:25:23,765 INFO L280 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-01-20 23:25:23,785 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-01-20 23:25:23,786 WARN L137 erpolLogProxyWrapper]: Using partial proofs (cut at CNF-level). Set option :produce-proofs to true to get complete proofs. [2018-01-20 23:25:23,887 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-01-20 23:25:23,887 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-01-20 23:25:23,888 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2018-01-20 23:25:23,888 INFO L252 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-01-20 23:25:23,889 INFO L409 AbstractCegarLoop]: Interpolant automaton has 6 states [2018-01-20 23:25:23,890 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2018-01-20 23:25:23,890 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=10, Invalid=20, Unknown=0, NotChecked=0, Total=30 [2018-01-20 23:25:23,890 INFO L87 Difference]: Start difference. First operand 62 states and 68 transitions. Second operand 6 states. [2018-01-20 23:25:23,953 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-01-20 23:25:23,954 INFO L93 Difference]: Finished difference Result 79 states and 85 transitions. [2018-01-20 23:25:23,954 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2018-01-20 23:25:23,954 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 32 [2018-01-20 23:25:23,955 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-01-20 23:25:23,955 INFO L225 Difference]: With dead ends: 79 [2018-01-20 23:25:23,956 INFO L226 Difference]: Without dead ends: 64 [2018-01-20 23:25:23,956 INFO L525 BasicCegarLoop]: 0 DeclaredPredicates, 7 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 3 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=14, Invalid=28, Unknown=0, NotChecked=0, Total=42 [2018-01-20 23:25:23,957 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 64 states. [2018-01-20 23:25:23,961 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 64 to 50. [2018-01-20 23:25:23,961 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 50 states. [2018-01-20 23:25:23,962 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 50 states and 54 transitions. [2018-01-20 23:25:23,963 INFO L78 Accepts]: Start accepts. Automaton has 50 states and 54 transitions. Word has length 32 [2018-01-20 23:25:23,963 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-01-20 23:25:23,963 INFO L432 AbstractCegarLoop]: Abstraction has 50 states and 54 transitions. [2018-01-20 23:25:23,963 INFO L433 AbstractCegarLoop]: Interpolant automaton has 6 states. [2018-01-20 23:25:23,964 INFO L276 IsEmpty]: Start isEmpty. Operand 50 states and 54 transitions. [2018-01-20 23:25:23,965 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 44 [2018-01-20 23:25:23,965 INFO L314 BasicCegarLoop]: Found error trace [2018-01-20 23:25:23,965 INFO L322 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-01-20 23:25:23,965 INFO L371 AbstractCegarLoop]: === Iteration 3 === [ULTIMATE.startErr0EnsuresViolation]=== [2018-01-20 23:25:23,966 INFO L82 PathProgramCache]: Analyzing trace with hash 1551199385, now seen corresponding path program 1 times [2018-01-20 23:25:23,966 INFO L67 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-01-20 23:25:23,967 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-20 23:25:23,967 INFO L101 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-01-20 23:25:23,967 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-20 23:25:23,967 INFO L280 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-01-20 23:25:24,018 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-01-20 23:25:24,019 WARN L137 erpolLogProxyWrapper]: Using partial proofs (cut at CNF-level). Set option :produce-proofs to true to get complete proofs. [2018-01-20 23:25:24,521 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-01-20 23:25:24,521 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-01-20 23:25:24,521 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [15] imperfect sequences [] total 15 [2018-01-20 23:25:24,521 INFO L252 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-01-20 23:25:24,522 INFO L409 AbstractCegarLoop]: Interpolant automaton has 15 states [2018-01-20 23:25:24,522 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 15 interpolants. [2018-01-20 23:25:24,523 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=32, Invalid=178, Unknown=0, NotChecked=0, Total=210 [2018-01-20 23:25:24,523 INFO L87 Difference]: Start difference. First operand 50 states and 54 transitions. Second operand 15 states. [2018-01-20 23:25:25,115 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-01-20 23:25:25,115 INFO L93 Difference]: Finished difference Result 89 states and 97 transitions. [2018-01-20 23:25:25,134 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 18 states. [2018-01-20 23:25:25,134 INFO L78 Accepts]: Start accepts. Automaton has 15 states. Word has length 43 [2018-01-20 23:25:25,135 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-01-20 23:25:25,136 INFO L225 Difference]: With dead ends: 89 [2018-01-20 23:25:25,136 INFO L226 Difference]: Without dead ends: 80 [2018-01-20 23:25:25,136 INFO L525 BasicCegarLoop]: 0 DeclaredPredicates, 26 GetRequests, 4 SyntacticMatches, 0 SemanticMatches, 22 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 85 ImplicationChecksByTransitivity, 0.5s TimeCoverageRelationStatistics Valid=84, Invalid=468, Unknown=0, NotChecked=0, Total=552 [2018-01-20 23:25:25,137 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 80 states. [2018-01-20 23:25:25,143 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 80 to 73. [2018-01-20 23:25:25,143 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 73 states. [2018-01-20 23:25:25,144 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 73 states to 73 states and 81 transitions. [2018-01-20 23:25:25,145 INFO L78 Accepts]: Start accepts. Automaton has 73 states and 81 transitions. Word has length 43 [2018-01-20 23:25:25,145 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-01-20 23:25:25,145 INFO L432 AbstractCegarLoop]: Abstraction has 73 states and 81 transitions. [2018-01-20 23:25:25,145 INFO L433 AbstractCegarLoop]: Interpolant automaton has 15 states. [2018-01-20 23:25:25,145 INFO L276 IsEmpty]: Start isEmpty. Operand 73 states and 81 transitions. [2018-01-20 23:25:25,146 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 44 [2018-01-20 23:25:25,146 INFO L314 BasicCegarLoop]: Found error trace [2018-01-20 23:25:25,147 INFO L322 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-01-20 23:25:25,147 INFO L371 AbstractCegarLoop]: === Iteration 4 === [ULTIMATE.startErr0EnsuresViolation]=== [2018-01-20 23:25:25,147 INFO L82 PathProgramCache]: Analyzing trace with hash -2084236389, now seen corresponding path program 1 times [2018-01-20 23:25:25,147 INFO L67 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-01-20 23:25:25,148 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-20 23:25:25,148 INFO L101 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-01-20 23:25:25,148 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-20 23:25:25,148 INFO L280 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-01-20 23:25:25,176 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-01-20 23:25:25,207 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-01-20 23:25:25,221 INFO L381 BasicCegarLoop]: Counterexample might be feasible [2018-01-20 23:25:25,232 WARN L343 cessorBacktranslator]: Generated EnsuresSpecification ensures #valid == old(#valid); is not ensure(true) [2018-01-20 23:25:25,240 WARN L343 cessorBacktranslator]: Generated EnsuresSpecification ensures #valid == old(#valid); is not ensure(true) [2018-01-20 23:25:25,242 WARN L343 cessorBacktranslator]: Generated EnsuresSpecification ensures #valid == old(#valid); is not ensure(true) [2018-01-20 23:25:25,243 WARN L343 cessorBacktranslator]: Generated EnsuresSpecification ensures #valid == old(#valid); is not ensure(true) [2018-01-20 23:25:25,262 INFO L322 AbstractCegarLoop]: Interprodecural is true [2018-01-20 23:25:25,262 INFO L323 AbstractCegarLoop]: Hoare is true [2018-01-20 23:25:25,262 INFO L324 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-01-20 23:25:25,262 INFO L325 AbstractCegarLoop]: Backedges is TWOTRACK [2018-01-20 23:25:25,262 INFO L326 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-01-20 23:25:25,262 INFO L327 AbstractCegarLoop]: Difference is false [2018-01-20 23:25:25,263 INFO L328 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-01-20 23:25:25,263 INFO L333 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == cstpncpyErr0EnsuresViolation======== [2018-01-20 23:25:25,263 INFO L87 2NestedWordAutomaton]: Mode: main mode - execution starts in main procedure [2018-01-20 23:25:25,265 INFO L276 IsEmpty]: Start isEmpty. Operand 54 states. [2018-01-20 23:25:25,266 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2018-01-20 23:25:25,266 INFO L314 BasicCegarLoop]: Found error trace [2018-01-20 23:25:25,266 INFO L322 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-01-20 23:25:25,266 INFO L371 AbstractCegarLoop]: === Iteration 1 === [cstpncpyErr0EnsuresViolation]=== [2018-01-20 23:25:25,267 INFO L82 PathProgramCache]: Analyzing trace with hash -634151341, now seen corresponding path program 1 times [2018-01-20 23:25:25,267 INFO L67 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-01-20 23:25:25,268 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-20 23:25:25,268 INFO L101 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-01-20 23:25:25,268 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-20 23:25:25,268 INFO L280 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-01-20 23:25:25,279 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-01-20 23:25:25,280 WARN L137 erpolLogProxyWrapper]: Using partial proofs (cut at CNF-level). Set option :produce-proofs to true to get complete proofs. [2018-01-20 23:25:25,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-01-20 23:25:25,365 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-01-20 23:25:25,365 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2018-01-20 23:25:25,366 INFO L252 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-01-20 23:25:25,366 INFO L409 AbstractCegarLoop]: Interpolant automaton has 5 states [2018-01-20 23:25:25,366 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-01-20 23:25:25,366 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2018-01-20 23:25:25,367 INFO L87 Difference]: Start difference. First operand 54 states. Second operand 5 states. [2018-01-20 23:25:25,504 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-01-20 23:25:25,504 INFO L93 Difference]: Finished difference Result 122 states and 138 transitions. [2018-01-20 23:25:25,507 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-01-20 23:25:25,507 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 23 [2018-01-20 23:25:25,507 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-01-20 23:25:25,508 INFO L225 Difference]: With dead ends: 122 [2018-01-20 23:25:25,508 INFO L226 Difference]: Without dead ends: 82 [2018-01-20 23:25:25,509 INFO L525 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-01-20 23:25:25,509 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 82 states. [2018-01-20 23:25:25,514 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 82 to 51. [2018-01-20 23:25:25,514 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 51 states. [2018-01-20 23:25:25,515 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 51 states to 51 states and 56 transitions. [2018-01-20 23:25:25,515 INFO L78 Accepts]: Start accepts. Automaton has 51 states and 56 transitions. Word has length 23 [2018-01-20 23:25:25,516 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-01-20 23:25:25,516 INFO L432 AbstractCegarLoop]: Abstraction has 51 states and 56 transitions. [2018-01-20 23:25:25,516 INFO L433 AbstractCegarLoop]: Interpolant automaton has 5 states. [2018-01-20 23:25:25,516 INFO L276 IsEmpty]: Start isEmpty. Operand 51 states and 56 transitions. [2018-01-20 23:25:25,517 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2018-01-20 23:25:25,517 INFO L314 BasicCegarLoop]: Found error trace [2018-01-20 23:25:25,517 INFO L322 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-01-20 23:25:25,517 INFO L371 AbstractCegarLoop]: === Iteration 2 === [cstpncpyErr0EnsuresViolation]=== [2018-01-20 23:25:25,518 INFO L82 PathProgramCache]: Analyzing trace with hash -1655219695, now seen corresponding path program 1 times [2018-01-20 23:25:25,518 INFO L67 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-01-20 23:25:25,519 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-20 23:25:25,519 INFO L101 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-01-20 23:25:25,519 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-20 23:25:25,519 INFO L280 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-01-20 23:25:25,530 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-01-20 23:25:25,531 WARN L137 erpolLogProxyWrapper]: Using partial proofs (cut at CNF-level). Set option :produce-proofs to true to get complete proofs. [2018-01-20 23:25:25,576 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-01-20 23:25:25,576 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-01-20 23:25:25,576 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2018-01-20 23:25:25,576 INFO L252 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-01-20 23:25:25,576 INFO L409 AbstractCegarLoop]: Interpolant automaton has 4 states [2018-01-20 23:25:25,576 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2018-01-20 23:25:25,577 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2018-01-20 23:25:25,577 INFO L87 Difference]: Start difference. First operand 51 states and 56 transitions. Second operand 4 states. [2018-01-20 23:25:25,614 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-01-20 23:25:25,614 INFO L93 Difference]: Finished difference Result 51 states and 56 transitions. [2018-01-20 23:25:25,614 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-01-20 23:25:25,614 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 23 [2018-01-20 23:25:25,614 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-01-20 23:25:25,615 INFO L225 Difference]: With dead ends: 51 [2018-01-20 23:25:25,615 INFO L226 Difference]: Without dead ends: 0 [2018-01-20 23:25:25,615 INFO L525 BasicCegarLoop]: 0 DeclaredPredicates, 5 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 3 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2018-01-20 23:25:25,615 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 0 states. [2018-01-20 23:25:25,615 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 0 to 0. [2018-01-20 23:25:25,616 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 0 states. [2018-01-20 23:25:25,616 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 0 states to 0 states and 0 transitions. [2018-01-20 23:25:25,616 INFO L78 Accepts]: Start accepts. Automaton has 0 states and 0 transitions. Word has length 23 [2018-01-20 23:25:25,616 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-01-20 23:25:25,616 INFO L432 AbstractCegarLoop]: Abstraction has 0 states and 0 transitions. [2018-01-20 23:25:25,616 INFO L433 AbstractCegarLoop]: Interpolant automaton has 4 states. [2018-01-20 23:25:25,616 INFO L276 IsEmpty]: Start isEmpty. Operand 0 states and 0 transitions. [2018-01-20 23:25:25,616 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-01-20 23:25:25,620 INFO L322 AbstractCegarLoop]: Interprodecural is true [2018-01-20 23:25:25,620 INFO L323 AbstractCegarLoop]: Hoare is true [2018-01-20 23:25:25,620 INFO L324 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-01-20 23:25:25,620 INFO L325 AbstractCegarLoop]: Backedges is TWOTRACK [2018-01-20 23:25:25,620 INFO L326 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-01-20 23:25:25,620 INFO L327 AbstractCegarLoop]: Difference is false [2018-01-20 23:25:25,620 INFO L328 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-01-20 23:25:25,621 INFO L333 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == mainErr0EnsuresViolation======== [2018-01-20 23:25:25,621 INFO L87 2NestedWordAutomaton]: Mode: main mode - execution starts in main procedure [2018-01-20 23:25:25,622 INFO L276 IsEmpty]: Start isEmpty. Operand 54 states. [2018-01-20 23:25:25,623 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 31 [2018-01-20 23:25:25,623 INFO L314 BasicCegarLoop]: Found error trace [2018-01-20 23:25:25,624 INFO L322 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-01-20 23:25:25,624 INFO L371 AbstractCegarLoop]: === Iteration 1 === [mainErr0EnsuresViolation]=== [2018-01-20 23:25:25,624 INFO L82 PathProgramCache]: Analyzing trace with hash -2134735534, now seen corresponding path program 1 times [2018-01-20 23:25:25,624 INFO L67 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-01-20 23:25:25,625 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-20 23:25:25,625 INFO L101 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-01-20 23:25:25,625 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-20 23:25:25,625 INFO L280 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-01-20 23:25:25,636 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-01-20 23:25:25,637 WARN L137 erpolLogProxyWrapper]: Using partial proofs (cut at CNF-level). Set option :produce-proofs to true to get complete proofs. [2018-01-20 23:25:25,735 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-01-20 23:25:25,735 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-01-20 23:25:25,735 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2018-01-20 23:25:25,735 INFO L252 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-01-20 23:25:25,736 INFO L409 AbstractCegarLoop]: Interpolant automaton has 5 states [2018-01-20 23:25:25,736 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2018-01-20 23:25:25,736 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2018-01-20 23:25:25,736 INFO L87 Difference]: Start difference. First operand 54 states. Second operand 5 states. [2018-01-20 23:25:25,869 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-01-20 23:25:25,869 INFO L93 Difference]: Finished difference Result 101 states and 113 transitions. [2018-01-20 23:25:25,870 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2018-01-20 23:25:25,870 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 30 [2018-01-20 23:25:25,870 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-01-20 23:25:25,871 INFO L225 Difference]: With dead ends: 101 [2018-01-20 23:25:25,872 INFO L226 Difference]: Without dead ends: 75 [2018-01-20 23:25:25,872 INFO L525 BasicCegarLoop]: 0 DeclaredPredicates, 6 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=11, Invalid=19, Unknown=0, NotChecked=0, Total=30 [2018-01-20 23:25:25,872 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 75 states. [2018-01-20 23:25:25,877 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 75 to 60. [2018-01-20 23:25:25,878 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 60 states. [2018-01-20 23:25:25,878 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 60 states to 60 states and 66 transitions. [2018-01-20 23:25:25,878 INFO L78 Accepts]: Start accepts. Automaton has 60 states and 66 transitions. Word has length 30 [2018-01-20 23:25:25,879 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-01-20 23:25:25,879 INFO L432 AbstractCegarLoop]: Abstraction has 60 states and 66 transitions. [2018-01-20 23:25:25,879 INFO L433 AbstractCegarLoop]: Interpolant automaton has 5 states. [2018-01-20 23:25:25,879 INFO L276 IsEmpty]: Start isEmpty. Operand 60 states and 66 transitions. [2018-01-20 23:25:25,880 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 31 [2018-01-20 23:25:25,880 INFO L314 BasicCegarLoop]: Found error trace [2018-01-20 23:25:25,880 INFO L322 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2018-01-20 23:25:25,880 INFO L371 AbstractCegarLoop]: === Iteration 2 === [mainErr0EnsuresViolation]=== [2018-01-20 23:25:25,880 INFO L82 PathProgramCache]: Analyzing trace with hash 354793428, now seen corresponding path program 1 times [2018-01-20 23:25:25,881 INFO L67 tionRefinementEngine]: Using refinement strategy TaipanRefinementStrategy [2018-01-20 23:25:25,881 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-20 23:25:25,882 INFO L101 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2018-01-20 23:25:25,882 INFO L117 rtionOrderModulation]: Craig nested/tree interpolation forces the following order [2018-01-20 23:25:25,882 INFO L280 anRefinementStrategy]: Using traceCheck mode SMTINTERPOL with AssertCodeBlockOrder NOT_INCREMENTALLY (IT: Craig_TreeInterpolation) [2018-01-20 23:25:25,892 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-01-20 23:25:25,893 WARN L137 erpolLogProxyWrapper]: Using partial proofs (cut at CNF-level). Set option :produce-proofs to true to get complete proofs. [2018-01-20 23:25:26,021 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2018-01-20 23:25:26,021 INFO L320 seRefinementStrategy]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2018-01-20 23:25:26,021 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2018-01-20 23:25:26,021 INFO L252 anRefinementStrategy]: Using the first perfect interpolant sequence [2018-01-20 23:25:26,021 INFO L409 AbstractCegarLoop]: Interpolant automaton has 6 states [2018-01-20 23:25:26,022 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2018-01-20 23:25:26,022 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=21, Unknown=0, NotChecked=0, Total=30 [2018-01-20 23:25:26,022 INFO L87 Difference]: Start difference. First operand 60 states and 66 transitions. Second operand 6 states. [2018-01-20 23:25:26,113 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-01-20 23:25:26,113 INFO L93 Difference]: Finished difference Result 60 states and 66 transitions. [2018-01-20 23:25:26,114 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2018-01-20 23:25:26,114 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 30 [2018-01-20 23:25:26,114 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-01-20 23:25:26,114 INFO L225 Difference]: With dead ends: 60 [2018-01-20 23:25:26,114 INFO L226 Difference]: Without dead ends: 0 [2018-01-20 23:25:26,115 INFO L525 BasicCegarLoop]: 0 DeclaredPredicates, 14 GetRequests, 7 SyntacticMatches, 1 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=17, Invalid=39, Unknown=0, NotChecked=0, Total=56 [2018-01-20 23:25:26,115 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 0 states. [2018-01-20 23:25:26,115 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 0 to 0. [2018-01-20 23:25:26,115 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 0 states. [2018-01-20 23:25:26,115 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 0 states to 0 states and 0 transitions. [2018-01-20 23:25:26,115 INFO L78 Accepts]: Start accepts. Automaton has 0 states and 0 transitions. Word has length 30 [2018-01-20 23:25:26,115 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-01-20 23:25:26,115 INFO L432 AbstractCegarLoop]: Abstraction has 0 states and 0 transitions. [2018-01-20 23:25:26,116 INFO L433 AbstractCegarLoop]: Interpolant automaton has 6 states. [2018-01-20 23:25:26,116 INFO L276 IsEmpty]: Start isEmpty. Operand 0 states and 0 transitions. [2018-01-20 23:25:26,116 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2018-01-20 23:25:26,118 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 20.01 11:25:26 BoogieIcfgContainer [2018-01-20 23:25:26,118 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-01-20 23:25:26,118 INFO L168 Benchmark]: Toolchain (without parser) took 3568.41 ms. Allocated memory was 305.1 MB in the beginning and 517.5 MB in the end (delta: 212.3 MB). Free memory was 262.5 MB in the beginning and 488.7 MB in the end (delta: -226.3 MB). There was no memory consumed. Max. memory is 5.3 GB. [2018-01-20 23:25:26,120 INFO L168 Benchmark]: CDTParser took 0.21 ms. Allocated memory is still 305.1 MB. Free memory is still 268.4 MB. There was no memory consumed. Max. memory is 5.3 GB. [2018-01-20 23:25:26,120 INFO L168 Benchmark]: CACSL2BoogieTranslator took 202.34 ms. Allocated memory is still 305.1 MB. Free memory was 262.5 MB in the beginning and 252.4 MB in the end (delta: 10.0 MB). Peak memory consumption was 10.0 MB. Max. memory is 5.3 GB. [2018-01-20 23:25:26,120 INFO L168 Benchmark]: Boogie Preprocessor took 38.06 ms. Allocated memory is still 305.1 MB. Free memory was 252.4 MB in the beginning and 250.5 MB in the end (delta: 2.0 MB). Peak memory consumption was 2.0 MB. Max. memory is 5.3 GB. [2018-01-20 23:25:26,121 INFO L168 Benchmark]: RCFGBuilder took 287.85 ms. Allocated memory is still 305.1 MB. Free memory was 250.5 MB in the beginning and 229.9 MB in the end (delta: 20.6 MB). Peak memory consumption was 20.6 MB. Max. memory is 5.3 GB. [2018-01-20 23:25:26,121 INFO L168 Benchmark]: TraceAbstraction took 3033.00 ms. Allocated memory was 305.1 MB in the beginning and 517.5 MB in the end (delta: 212.3 MB). Free memory was 229.9 MB in the beginning and 488.7 MB in the end (delta: -258.8 MB). There was no memory consumed. Max. memory is 5.3 GB. [2018-01-20 23:25:26,122 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.21 ms. Allocated memory is still 305.1 MB. Free memory is still 268.4 MB. There was no memory consumed. Max. memory is 5.3 GB. * CACSL2BoogieTranslator took 202.34 ms. Allocated memory is still 305.1 MB. Free memory was 262.5 MB in the beginning and 252.4 MB in the end (delta: 10.0 MB). Peak memory consumption was 10.0 MB. Max. memory is 5.3 GB. * Boogie Preprocessor took 38.06 ms. Allocated memory is still 305.1 MB. Free memory was 252.4 MB in the beginning and 250.5 MB in the end (delta: 2.0 MB). Peak memory consumption was 2.0 MB. Max. memory is 5.3 GB. * RCFGBuilder took 287.85 ms. Allocated memory is still 305.1 MB. Free memory was 250.5 MB in the beginning and 229.9 MB in the end (delta: 20.6 MB). Peak memory consumption was 20.6 MB. Max. memory is 5.3 GB. * TraceAbstraction took 3033.00 ms. Allocated memory was 305.1 MB in the beginning and 517.5 MB in the end (delta: 212.3 MB). Free memory was 229.9 MB in the beginning and 488.7 MB in the end (delta: -258.8 MB). There was no memory consumed. Max. memory is 5.3 GB. * Results from de.uni_freiburg.informatik.ultimate.boogie.preprocessor: - GenericResult: Unfinished Backtranslation Generated EnsuresSpecification ensures #valid == old(#valid); is not ensure(true) - GenericResult: Unfinished Backtranslation Generated EnsuresSpecification ensures #valid == old(#valid); is not ensure(true) - GenericResult: Unfinished Backtranslation Generated EnsuresSpecification ensures #valid == old(#valid); is not ensure(true) - GenericResult: Unfinished Backtranslation Generated EnsuresSpecification ensures #valid == old(#valid); is not ensure(true) - GenericResult: Unfinished Backtranslation Generated EnsuresSpecification ensures #valid == old(#valid); is not ensure(true) * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 1]: not all allocated memory was freed not all allocated memory was freed We found a FailurePath: - StatisticsResult: Ultimate Automizer benchmark data for error location: ULTIMATE.initErr0EnsuresViolation CFG has 4 procedures, 54 locations, 4 error locations. UNSAFE Result, 0.1s OverallTime, 1 OverallIterations, 1 TraceHistogramMax, 0.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: No data available, PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=54occurred 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, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 3 NumberOfCodeBlocks, 3 NumberOfCodeBlocksAsserted, 1 NumberOfCheckSat, 0 ConstructedInterpolants, 0 QuantifiedInterpolants, 0 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 0 InterpolantComputations, 0 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, REUSE_STATISTICS: No data available - CounterExampleResult [Line: 1]: not all allocated memory was freed not all allocated memory was freed We found a FailurePath: [L559] int length = __VERIFIER_nondet_int(); [L560] int n = __VERIFIER_nondet_int(); [L561] COND FALSE !(length < 1) VAL [length=3, n=0] [L564] COND TRUE n < 1 [L565] n = 1 VAL [length=3, n=1] [L567] EXPR, FCALL __builtin_alloca (n * sizeof(char)) VAL [__builtin_alloca (n * sizeof(char))={7:0}, length=3, n=1] [L567] char* nondetArea = (char*) __builtin_alloca (n * sizeof(char)); VAL [__builtin_alloca (n * sizeof(char))={7:0}, length=3, n=1, nondetArea={7:0}] [L568] EXPR, FCALL __builtin_alloca (length * sizeof(char)) VAL [__builtin_alloca (length * sizeof(char))={14:0}, __builtin_alloca (n * sizeof(char))={7:0}, length=3, n=1, nondetArea={7:0}] [L568] char* nondetString = (char*) __builtin_alloca (length * sizeof(char)); VAL [__builtin_alloca (length * sizeof(char))={14:0}, __builtin_alloca (n * sizeof(char))={7:0}, length=3, n=1, nondetArea={7:0}, nondetString={14:0}] [L569] FCALL nondetString[length-1] = '\0' VAL [__builtin_alloca (length * sizeof(char))={14:0}, __builtin_alloca (n * sizeof(char))={7:0}, length=3, n=1, nondetArea={7:0}, nondetString={14:0}] [L570] CALL cstpncpy(nondetArea, nondetString, n) VAL [\old(n)=1, dst={7:0}, src={14:0}] [L543] COND TRUE n != 0 VAL [\old(n)=1, dst={15:0}, dst={7:0}, n=1, src={14:0}, src={14:0}] [L544] EXPR, FCALL \read(*dst) VAL [\old(n)=1, \read(*dst)={7:0}, dst={7:0}, dst={15:0}, n=1, src={14:0}, src={14:0}] [L544] char *d = dst; [L545] const char *s = src; VAL [\old(n)=1, d={7:0}, dst={7:0}, dst={15:0}, n=1, s={14:0}, src={14:0}, src={14:0}] [L546] EXPR, FCALL \read(*dst) VAL [\old(n)=1, \read(*dst)={7:0}, d={7:0}, dst={7:0}, dst={15:0}, n=1, s={14:0}, src={14:0}, src={14:0}] [L546] FCALL dst = &dst[n] VAL [\old(n)=1, \read(*dst)={7:0}, d={7:0}, dst={7:0}, dst={15:0}, n=1, s={14:0}, src={14:0}, src={14:0}] [L548] EXPR d++ [L548] EXPR s++ VAL [\old(n)=1, d={7:1}, d++={7:0}, dst={15:0}, dst={7:0}, n=1, s={14:1}, s++=8, s++={14:0}, src={14:0}, src={14:0}] [L548] EXPR, FCALL *d++ = *s++ VAL [\old(n)=1, d={7:1}, d++={7:0}, dst={7:0}, dst={15:0}, n=1, s={14:1}, s++=8, s++={14:0}, src={14:0}, src={14:0}] [L548] COND FALSE !((*d++ = *s++) == 0) [L554] EXPR --n VAL [--n=0, \old(n)=1, d={7:1}, dst={15:0}, dst={7:0}, n=0, s={14:1}, src={14:0}, src={14:0}] [L554] COND FALSE !(--n != 0) [L556] EXPR, FCALL \read(*dst) VAL [\old(n)=1, \read(*dst)={7:1}, d={7:1}, dst={7:0}, dst={15:0}, n=0, s={14:1}, src={14:0}, src={14:0}] [L556] return (dst); [L556] RET return (dst); VAL [\old(n)=1, \result={7:1}, d={7:1}, dst={7:0}, n=0, s={14:1}, src={14:0}, src={14:0}] [L570] cstpncpy(nondetArea, nondetString, n) VAL [__builtin_alloca (length * sizeof(char))={14:0}, __builtin_alloca (n * sizeof(char))={7:0}, cstpncpy(nondetArea, nondetString, n)={7:1}, length=3, n=1, nondetArea={7:0}, nondetString={14:0}] [L571] return 0; - StatisticsResult: Ultimate Automizer benchmark data for error location: ULTIMATE.startErr0EnsuresViolation CFG has 4 procedures, 54 locations, 4 error locations. UNSAFE Result, 1.9s OverallTime, 4 OverallIterations, 1 TraceHistogramMax, 0.7s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 164 SDtfs, 121 SDslu, 666 SDs, 0 SdLazy, 355 SolverSat, 15 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.3s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 39 GetRequests, 8 SyntacticMatches, 0 SemanticMatches, 31 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 88 ImplicationChecksByTransitivity, 0.7s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=73occurred in iteration=3, 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, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 3 MinimizatonAttempts, 36 StatesRemovedByMinimization, 3 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.8s InterpolantComputationTime, 150 NumberOfCodeBlocks, 150 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 104 ConstructedInterpolants, 0 QuantifiedInterpolants, 25660 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, REUSE_STATISTICS: No data available - PositiveResult [Line: 540]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - StatisticsResult: Ultimate Automizer benchmark data for error location: cstpncpyErr0EnsuresViolation CFG has 4 procedures, 54 locations, 4 error locations. SAFE Result, 0.3s OverallTime, 2 OverallIterations, 1 TraceHistogramMax, 0.1s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 102 SDtfs, 81 SDslu, 225 SDs, 0 SdLazy, 57 SolverSat, 6 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 11 GetRequests, 4 SyntacticMatches, 0 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=54occurred 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, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 2 MinimizatonAttempts, 31 StatesRemovedByMinimization, 1 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.1s InterpolantComputationTime, 46 NumberOfCodeBlocks, 46 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 44 ConstructedInterpolants, 0 QuantifiedInterpolants, 3124 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, REUSE_STATISTICS: No data available - PositiveResult [Line: 558]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - StatisticsResult: Ultimate Automizer benchmark data for error location: mainErr0EnsuresViolation CFG has 4 procedures, 54 locations, 4 error locations. SAFE Result, 0.4s OverallTime, 2 OverallIterations, 1 TraceHistogramMax, 0.2s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 104 SDtfs, 30 SDslu, 295 SDs, 0 SdLazy, 92 SolverSat, 4 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.1s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 20 GetRequests, 9 SyntacticMatches, 1 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.2s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=60occurred in iteration=1, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s AbstIntTime, 0 AbstIntIterations, 0 AbstIntStrong, NaN AbsIntWeakeningRatio, NaN AbsIntAvgWeakeningVarsNumRemoved, NaN AbsIntAvgWeakenedConjuncts, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 2 MinimizatonAttempts, 15 StatesRemovedByMinimization, 1 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 60 NumberOfCodeBlocks, 60 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 58 ConstructedInterpolants, 0 QuantifiedInterpolants, 7395 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InvariantSynthesisStatistics: No data available, InterpolantConsolidationStatistics: No data available, REUSE_STATISTICS: No data available RESULT: Ultimate proved your program to be incorrect! Written .csv to /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/openbsd_cstpncpy-alloca_true-valid-memsafety_true-termination.i_mempurity-32bit-Automizer_Taipan+AI_EQ.epf_AutomizerC.xml/Csv-Benchmark-0-2018-01-20_23-25-26-132.csv Written .csv to /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/openbsd_cstpncpy-alloca_true-valid-memsafety_true-termination.i_mempurity-32bit-Automizer_Taipan+AI_EQ.epf_AutomizerC.xml/Csv-TraceAbstractionBenchmarks-0-2018-01-20_23-25-26-132.csv Written .csv to /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/openbsd_cstpncpy-alloca_true-valid-memsafety_true-termination.i_mempurity-32bit-Automizer_Taipan+AI_EQ.epf_AutomizerC.xml/Csv-TraceAbstractionBenchmarks-1-2018-01-20_23-25-26-132.csv Written .csv to /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/openbsd_cstpncpy-alloca_true-valid-memsafety_true-termination.i_mempurity-32bit-Automizer_Taipan+AI_EQ.epf_AutomizerC.xml/Csv-TraceAbstractionBenchmarks-2-2018-01-20_23-25-26-132.csv Written .csv to /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/openbsd_cstpncpy-alloca_true-valid-memsafety_true-termination.i_mempurity-32bit-Automizer_Taipan+AI_EQ.epf_AutomizerC.xml/Csv-TraceAbstractionBenchmarks-3-2018-01-20_23-25-26-132.csv Received shutdown request...