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/svcomp-DerefFreeMemtrack-32bit-Automizer_Fixed_noBitfields+AI_EQ_SS.epf -i ../../../trunk/examples/svcomp/array-memsafety/cstrncpy_unsafe_false-valid-deref.i -------------------------------------------------------------------------------- This is Ultimate 0.1.23-453dfda-m [2018-04-09 19:45:04,332 INFO L170 SettingsManager]: Resetting all preferences to default values... [2018-04-09 19:45:04,334 INFO L174 SettingsManager]: Resetting UltimateCore preferences to default values [2018-04-09 19:45:04,354 INFO L177 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2018-04-09 19:45:04,354 INFO L174 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2018-04-09 19:45:04,356 INFO L174 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2018-04-09 19:45:04,357 INFO L174 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2018-04-09 19:45:04,359 INFO L174 SettingsManager]: Resetting LassoRanker preferences to default values [2018-04-09 19:45:04,361 INFO L174 SettingsManager]: Resetting Reaching Definitions preferences to default values [2018-04-09 19:45:04,362 INFO L174 SettingsManager]: Resetting SyntaxChecker preferences to default values [2018-04-09 19:45:04,364 INFO L177 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2018-04-09 19:45:04,364 INFO L174 SettingsManager]: Resetting LTL2Aut preferences to default values [2018-04-09 19:45:04,365 INFO L174 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2018-04-09 19:45:04,366 INFO L174 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2018-04-09 19:45:04,367 INFO L174 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2018-04-09 19:45:04,370 INFO L174 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2018-04-09 19:45:04,372 INFO L174 SettingsManager]: Resetting CodeCheck preferences to default values [2018-04-09 19:45:04,374 INFO L174 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2018-04-09 19:45:04,376 INFO L174 SettingsManager]: Resetting RCFGBuilder preferences to default values [2018-04-09 19:45:04,377 INFO L174 SettingsManager]: Resetting TraceAbstraction preferences to default values [2018-04-09 19:45:04,380 INFO L177 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2018-04-09 19:45:04,380 INFO L177 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2018-04-09 19:45:04,381 INFO L174 SettingsManager]: Resetting IcfgTransformer preferences to default values [2018-04-09 19:45:04,382 INFO L174 SettingsManager]: Resetting Boogie Printer preferences to default values [2018-04-09 19:45:04,383 INFO L174 SettingsManager]: Resetting Witness Printer preferences to default values [2018-04-09 19:45:04,384 INFO L177 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2018-04-09 19:45:04,385 INFO L174 SettingsManager]: Resetting CDTParser preferences to default values [2018-04-09 19:45:04,385 INFO L174 SettingsManager]: Resetting PEA to Boogie preferences to default values [2018-04-09 19:45:04,386 INFO L177 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2018-04-09 19:45:04,387 INFO L174 SettingsManager]: Resetting Witness Parser preferences to default values [2018-04-09 19:45:04,387 INFO L181 SettingsManager]: Finished resetting all preferences to default values... [2018-04-09 19:45:04,388 INFO L98 SettingsManager]: Beginning loading settings from /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/ai/eq-bench/svcomp-DerefFreeMemtrack-32bit-Automizer_Fixed_noBitfields+AI_EQ_SS.epf [2018-04-09 19:45:04,414 INFO L110 SettingsManager]: Loading preferences was successful [2018-04-09 19:45:04,415 INFO L112 SettingsManager]: Preferences different from defaults after loading the file: [2018-04-09 19:45:04,415 INFO L131 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2018-04-09 19:45:04,415 INFO L133 SettingsManager]: * ultimate.logging.details=de.uni_freiburg.informatik.ultimate.plugins.icfgtransformation=DEBUG; [2018-04-09 19:45:04,416 INFO L131 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2018-04-09 19:45:04,416 INFO L133 SettingsManager]: * to procedures, called more than once=true [2018-04-09 19:45:04,416 INFO L131 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2018-04-09 19:45:04,417 INFO L133 SettingsManager]: * Abstract domain for RCFG-of-the-future=VPDomain [2018-04-09 19:45:04,417 INFO L133 SettingsManager]: * Parallel states before merging=1 [2018-04-09 19:45:04,417 INFO L133 SettingsManager]: * Use the RCFG-of-the-future interface=true [2018-04-09 19:45:04,417 INFO L131 SettingsManager]: Preferences of LTL2Aut differ from their defaults: [2018-04-09 19:45:04,418 INFO L133 SettingsManager]: * Property to check=[] a a: x > 42 [2018-04-09 19:45:04,418 INFO L131 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2018-04-09 19:45:04,418 INFO L133 SettingsManager]: * sizeof long=4 [2018-04-09 19:45:04,418 INFO L133 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2018-04-09 19:45:04,418 INFO L133 SettingsManager]: * Overapproximate operations on floating types=true [2018-04-09 19:45:04,419 INFO L133 SettingsManager]: * sizeof POINTER=4 [2018-04-09 19:45:04,419 INFO L133 SettingsManager]: * Check division by zero=IGNORE [2018-04-09 19:45:04,419 INFO L133 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2018-04-09 19:45:04,419 INFO L133 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2018-04-09 19:45:04,419 INFO L133 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2018-04-09 19:45:04,420 INFO L133 SettingsManager]: * sizeof long double=12 [2018-04-09 19:45:04,422 INFO L131 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2018-04-09 19:45:04,422 INFO L133 SettingsManager]: * Size of a code block=SingleStatement [2018-04-09 19:45:04,422 INFO L133 SettingsManager]: * Add additional assume for each assert=false [2018-04-09 19:45:04,422 INFO L133 SettingsManager]: * SMT solver=External_DefaultMode [2018-04-09 19:45:04,422 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2018-04-09 19:45:04,423 INFO L131 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2018-04-09 19:45:04,423 INFO L133 SettingsManager]: * Interpolant automaton=TWOTRACK [2018-04-09 19:45:04,423 INFO L133 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2018-04-09 19:45:04,423 INFO L133 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2018-04-09 19:45:04,423 INFO L133 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2018-04-09 19:45:04,424 INFO L133 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2018-04-09 19:45:04,424 INFO L133 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2018-04-09 19:45:04,425 INFO L131 SettingsManager]: Preferences of IcfgTransformer differ from their defaults: [2018-04-09 19:45:04,426 INFO L133 SettingsManager]: * TransformationType=HEAP_SEPARATOR [2018-04-09 19:45:04,426 INFO L131 SettingsManager]: Preferences of Boogie Printer differ from their defaults: [2018-04-09 19:45:04,426 INFO L133 SettingsManager]: * Dump path:=C:\Users\alex\AppData\Local\Temp\ [2018-04-09 19:45:04,478 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2018-04-09 19:45:04,491 INFO L266 ainManager$Toolchain]: [Toolchain 1]: Parser(s) successfully (re)initialized [2018-04-09 19:45:04,495 INFO L222 ainManager$Toolchain]: [Toolchain 1]: Toolchain data selected. [2018-04-09 19:45:04,497 INFO L271 PluginConnector]: Initializing CDTParser... [2018-04-09 19:45:04,497 INFO L276 PluginConnector]: CDTParser initialized [2018-04-09 19:45:04,498 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/array-memsafety/cstrncpy_unsafe_false-valid-deref.i [2018-04-09 19:45:04,853 INFO L225 CDTParser]: Created temporary CDT project at /storage/ultimate/releaseScripts/default/UAutomizer-linux/data/FLAGa3cfdf8cc [2018-04-09 19:45:04,968 INFO L287 CDTParser]: IsIndexed: true [2018-04-09 19:45:04,969 INFO L288 CDTParser]: Found 1 translation units. [2018-04-09 19:45:04,969 INFO L168 CDTParser]: Scanning cstrncpy_unsafe_false-valid-deref.i [2018-04-09 19:45:04,971 INFO L210 ultiparseSymbolTable]: Include resolver: [2018-04-09 19:45:04,971 INFO L215 ultiparseSymbolTable]: [2018-04-09 19:45:04,971 INFO L218 ultiparseSymbolTable]: Function table: [2018-04-09 19:45:04,971 INFO L221 ultiparseSymbolTable]: Function definition of __U_MULTI_fcstrncpy_unsafe_false_valid_deref_i__ ('') in cstrncpy_unsafe_false-valid-deref.i [2018-04-09 19:45:04,972 INFO L221 ultiparseSymbolTable]: Function definition of null ('main') in cstrncpy_unsafe_false-valid-deref.i [2018-04-09 19:45:04,972 INFO L227 ultiparseSymbolTable]: Global variable table: [2018-04-09 19:45:04,972 INFO L233 ultiparseSymbolTable]: [2018-04-09 19:45:04,987 INFO L330 CDTParser]: Deleted temporary CDT project at /storage/ultimate/releaseScripts/default/UAutomizer-linux/data/FLAGa3cfdf8cc [2018-04-09 19:45:04,991 INFO L304 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2018-04-09 19:45:04,993 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2018-04-09 19:45:04,994 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2018-04-09 19:45:04,995 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2018-04-09 19:45:05,000 INFO L276 PluginConnector]: CACSL2BoogieTranslator initialized [2018-04-09 19:45:05,000 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.04 07:45:04" (1/1) ... [2018-04-09 19:45:05,002 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6ad77784 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.04 07:45:05, skipping insertion in model container [2018-04-09 19:45:05,003 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.04 07:45:04" (1/1) ... [2018-04-09 19:45:05,016 INFO L167 Dispatcher]: Using SV-COMP mode [2018-04-09 19:45:05,029 INFO L167 Dispatcher]: Using SV-COMP mode [2018-04-09 19:45:05,158 INFO L175 PostProcessor]: Settings: Checked method=main [2018-04-09 19:45:05,184 INFO L175 PostProcessor]: Settings: Checked method=main [2018-04-09 19:45:05,190 INFO L100 SccComputation]: Graph consists of 0 InCaSumBalls and 9 non ball SCCs. Number of states in SCCs 9. [2018-04-09 19:45:05,200 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.04 07:45:05 WrapperNode [2018-04-09 19:45:05,200 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2018-04-09 19:45:05,201 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2018-04-09 19:45:05,201 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2018-04-09 19:45:05,201 INFO L276 PluginConnector]: Boogie Preprocessor initialized [2018-04-09 19:45:05,213 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.04 07:45:05" (1/1) ... [2018-04-09 19:45:05,213 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.04 07:45:05" (1/1) ... [2018-04-09 19:45:05,221 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.04 07:45:05" (1/1) ... [2018-04-09 19:45:05,222 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.04 07:45:05" (1/1) ... [2018-04-09 19:45:05,226 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.04 07:45:05" (1/1) ... [2018-04-09 19:45:05,232 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.04 07:45:05" (1/1) ... [2018-04-09 19:45:05,234 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.04 07:45:05" (1/1) ... [2018-04-09 19:45:05,236 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2018-04-09 19:45:05,236 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2018-04-09 19:45:05,237 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2018-04-09 19:45:05,237 INFO L276 PluginConnector]: RCFGBuilder initialized [2018-04-09 19:45:05,238 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.04 07:45:05" (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-04-09 19:45:05,296 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2018-04-09 19:45:05,296 INFO L136 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2018-04-09 19:45:05,296 INFO L136 BoogieDeclarations]: Found implementation of procedure cstrncpy [2018-04-09 19:45:05,296 INFO L136 BoogieDeclarations]: Found implementation of procedure main [2018-04-09 19:45:05,297 INFO L128 BoogieDeclarations]: Found specification of procedure __VERIFIER_nondet_int [2018-04-09 19:45:05,297 INFO L128 BoogieDeclarations]: Found specification of procedure cstrncpy [2018-04-09 19:45:05,297 INFO L128 BoogieDeclarations]: Found specification of procedure read~int [2018-04-09 19:45:05,297 INFO L128 BoogieDeclarations]: Found specification of procedure write~int [2018-04-09 19:45:05,297 INFO L128 BoogieDeclarations]: Found specification of procedure main [2018-04-09 19:45:05,297 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2018-04-09 19:45:05,297 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2018-04-09 19:45:05,298 INFO L128 BoogieDeclarations]: Found specification of procedure write~unchecked~int [2018-04-09 19:45:05,298 INFO L128 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2018-04-09 19:45:05,575 INFO L259 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2018-04-09 19:45:05,576 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.04 07:45:05 BoogieIcfgContainer [2018-04-09 19:45:05,576 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2018-04-09 19:45:05,577 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2018-04-09 19:45:05,577 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2018-04-09 19:45:05,579 INFO L276 PluginConnector]: TraceAbstraction initialized [2018-04-09 19:45:05,579 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 09.04 07:45:04" (1/3) ... [2018-04-09 19:45:05,580 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5f784b06 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 09.04 07:45:05, skipping insertion in model container [2018-04-09 19:45:05,580 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.04 07:45:05" (2/3) ... [2018-04-09 19:45:05,580 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5f784b06 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 09.04 07:45:05, skipping insertion in model container [2018-04-09 19:45:05,581 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.04 07:45:05" (3/3) ... [2018-04-09 19:45:05,582 INFO L107 eAbstractionObserver]: Analyzing ICFG cstrncpy_unsafe_false-valid-deref.i [2018-04-09 19:45:05,594 INFO L131 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2018-04-09 19:45:05,602 INFO L143 ceAbstractionStarter]: Appying trace abstraction to program that has 7 error locations. [2018-04-09 19:45:05,642 INFO L128 ementStrategyFactory]: Using default assertion order modulation [2018-04-09 19:45:05,643 INFO L369 AbstractCegarLoop]: Interprodecural is true [2018-04-09 19:45:05,643 INFO L370 AbstractCegarLoop]: Hoare is true [2018-04-09 19:45:05,643 INFO L371 AbstractCegarLoop]: Compute interpolants for FPandBP [2018-04-09 19:45:05,643 INFO L372 AbstractCegarLoop]: Backedges is TWOTRACK [2018-04-09 19:45:05,643 INFO L373 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2018-04-09 19:45:05,643 INFO L374 AbstractCegarLoop]: Difference is false [2018-04-09 19:45:05,644 INFO L375 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2018-04-09 19:45:05,644 INFO L380 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2018-04-09 19:45:05,645 INFO L87 2NestedWordAutomaton]: Mode: main mode - execution starts in main procedure [2018-04-09 19:45:05,662 INFO L276 IsEmpty]: Start isEmpty. Operand 65 states. [2018-04-09 19:45:05,667 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 27 [2018-04-09 19:45:05,667 INFO L347 BasicCegarLoop]: Found error trace [2018-04-09 19:45:05,668 INFO L355 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] [2018-04-09 19:45:05,668 INFO L408 AbstractCegarLoop]: === Iteration 1 === [cstrncpyErr3RequiresViolation, cstrncpyErr5RequiresViolation, cstrncpyErr4RequiresViolation, cstrncpyErr2RequiresViolation, cstrncpyErr0RequiresViolation, cstrncpyErr1RequiresViolation, mainErr0EnsuresViolationMEMORY_LEAK]=== [2018-04-09 19:45:05,671 INFO L82 PathProgramCache]: Analyzing trace with hash -478134567, now seen corresponding path program 1 times No working directory specified, using /storage/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-09 19:45:05,689 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-04-09 19:45:05,735 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2018-04-09 19:45:05,743 INFO L270 TraceCheckSpWp]: Computing forward predicates... [2018-04-09 19:45:05,760 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-09 19:45:05,760 INFO L314 TraceCheckSpWp]: Computing backward predicates... [2018-04-09 19:45:05,781 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-09 19:45:05,805 INFO L320 seRefinementStrategy]: Constructing automaton from 2 perfect and 0 imperfect interpolant sequences. [2018-04-09 19:45:05,805 INFO L335 seRefinementStrategy]: Number of different interpolants: perfect sequences [2, 2] imperfect sequences [] total 2 [2018-04-09 19:45:05,808 INFO L442 AbstractCegarLoop]: Interpolant automaton has 2 states [2018-04-09 19:45:05,821 INFO L132 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2018-04-09 19:45:05,822 INFO L133 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-04-09 19:45:05,824 INFO L87 Difference]: Start difference. First operand 65 states. Second operand 2 states. [2018-04-09 19:45:05,841 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2018-04-09 19:45:05,841 INFO L93 Difference]: Finished difference Result 74 states and 78 transitions. [2018-04-09 19:45:05,841 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2018-04-09 19:45:05,842 INFO L78 Accepts]: Start accepts. Automaton has 2 states. Word has length 26 [2018-04-09 19:45:05,843 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2018-04-09 19:45:05,850 INFO L225 Difference]: With dead ends: 74 [2018-04-09 19:45:05,850 INFO L226 Difference]: Without dead ends: 54 [2018-04-09 19:45:05,853 INFO L567 BasicCegarLoop]: 0 DeclaredPredicates, 51 GetRequests, 51 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2018-04-09 19:45:05,867 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 54 states. [2018-04-09 19:45:05,881 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 54 to 54. [2018-04-09 19:45:05,882 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 54 states. [2018-04-09 19:45:05,884 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 54 states to 54 states and 55 transitions. [2018-04-09 19:45:05,885 INFO L78 Accepts]: Start accepts. Automaton has 54 states and 55 transitions. Word has length 26 [2018-04-09 19:45:05,885 INFO L84 Accepts]: Finished accepts. word is rejected. [2018-04-09 19:45:05,885 INFO L459 AbstractCegarLoop]: Abstraction has 54 states and 55 transitions. [2018-04-09 19:45:05,885 INFO L460 AbstractCegarLoop]: Interpolant automaton has 2 states. [2018-04-09 19:45:05,885 INFO L276 IsEmpty]: Start isEmpty. Operand 54 states and 55 transitions. [2018-04-09 19:45:05,886 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2018-04-09 19:45:05,886 INFO L347 BasicCegarLoop]: Found error trace [2018-04-09 19:45:05,886 INFO L355 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] [2018-04-09 19:45:05,887 INFO L408 AbstractCegarLoop]: === Iteration 2 === [cstrncpyErr3RequiresViolation, cstrncpyErr5RequiresViolation, cstrncpyErr4RequiresViolation, cstrncpyErr2RequiresViolation, cstrncpyErr0RequiresViolation, cstrncpyErr1RequiresViolation, mainErr0EnsuresViolationMEMORY_LEAK]=== [2018-04-09 19:45:05,887 INFO L82 PathProgramCache]: Analyzing trace with hash 898093519, now seen corresponding path program 1 times No working directory specified, using /storage/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-09 19:45:05,908 INFO L68 tionRefinementEngine]: Using refinement strategy FixedRefinementStrategy [2018-04-09 19:45:05,940 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-04-09 19:45:05,958 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2018-04-09 19:45:06,014 INFO L421 BasicCegarLoop]: Counterexample might be feasible [2018-04-09 19:45:06,055 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 09.04 07:45:06 BoogieIcfgContainer [2018-04-09 19:45:06,055 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2018-04-09 19:45:06,056 INFO L168 Benchmark]: Toolchain (without parser) took 1063.94 ms. Allocated memory was 306.7 MB in the beginning and 465.0 MB in the end (delta: 158.3 MB). Free memory was 250.8 MB in the beginning and 392.9 MB in the end (delta: -142.1 MB). Peak memory consumption was 16.3 MB. Max. memory is 5.3 GB. [2018-04-09 19:45:06,058 INFO L168 Benchmark]: CDTParser took 0.19 ms. Allocated memory is still 306.7 MB. Free memory is still 269.0 MB. There was no memory consumed. Max. memory is 5.3 GB. [2018-04-09 19:45:06,058 INFO L168 Benchmark]: CACSL2BoogieTranslator took 206.25 ms. Allocated memory is still 306.7 MB. Free memory was 250.8 MB in the beginning and 241.6 MB in the end (delta: 9.2 MB). Peak memory consumption was 9.2 MB. Max. memory is 5.3 GB. [2018-04-09 19:45:06,059 INFO L168 Benchmark]: Boogie Preprocessor took 34.94 ms. Allocated memory is still 306.7 MB. Free memory was 240.6 MB in the beginning and 239.6 MB in the end (delta: 996.2 kB). Peak memory consumption was 996.2 kB. Max. memory is 5.3 GB. [2018-04-09 19:45:06,060 INFO L168 Benchmark]: RCFGBuilder took 339.59 ms. Allocated memory was 306.7 MB in the beginning and 465.0 MB in the end (delta: 158.3 MB). Free memory was 239.6 MB in the beginning and 431.0 MB in the end (delta: -191.4 MB). Peak memory consumption was 24.5 MB. Max. memory is 5.3 GB. [2018-04-09 19:45:06,060 INFO L168 Benchmark]: TraceAbstraction took 478.48 ms. Allocated memory is still 465.0 MB. Free memory was 431.0 MB in the beginning and 392.9 MB in the end (delta: 38.1 MB). Peak memory consumption was 38.1 MB. Max. memory is 5.3 GB. [2018-04-09 19:45:06,063 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.19 ms. Allocated memory is still 306.7 MB. Free memory is still 269.0 MB. There was no memory consumed. Max. memory is 5.3 GB. * CACSL2BoogieTranslator took 206.25 ms. Allocated memory is still 306.7 MB. Free memory was 250.8 MB in the beginning and 241.6 MB in the end (delta: 9.2 MB). Peak memory consumption was 9.2 MB. Max. memory is 5.3 GB. * Boogie Preprocessor took 34.94 ms. Allocated memory is still 306.7 MB. Free memory was 240.6 MB in the beginning and 239.6 MB in the end (delta: 996.2 kB). Peak memory consumption was 996.2 kB. Max. memory is 5.3 GB. * RCFGBuilder took 339.59 ms. Allocated memory was 306.7 MB in the beginning and 465.0 MB in the end (delta: 158.3 MB). Free memory was 239.6 MB in the beginning and 431.0 MB in the end (delta: -191.4 MB). Peak memory consumption was 24.5 MB. Max. memory is 5.3 GB. * TraceAbstraction took 478.48 ms. Allocated memory is still 465.0 MB. Free memory was 431.0 MB in the beginning and 392.9 MB in the end (delta: 38.1 MB). Peak memory consumption was 38.1 MB. Max. memory is 5.3 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 10]: pointer dereference may fail pointer dereference may fail We found a FailurePath: [L21] char *s1; [L22] char *s2; [L23] int n = __VERIFIER_nondet_int(); VAL [__VERIFIER_nondet_int()=1, n=1] [L24] CALL cstrncpy(s1, s2, n) VAL [\old(n)=1, s1={6:0}, s2={0:-1}] [L4] char *dst = s1; VAL [\old(n)=1, dst={6:0}, n=1, s1={6:0}, s1={6:0}, s2={0:-1}, s2={0:-1}] [L5] const char *src = s2; VAL [\old(n)=1, dst={6:0}, n=1, s1={6:0}, s1={6:0}, s2={0:-1}, s2={0:-1}, src={0:-1}] [L6] char *us; VAL [\old(n)=1, dst={6:0}, n=1, s1={6:0}, s1={6:0}, s2={0:-1}, s2={0:-1}, src={0:-1}] [L7] int n2; VAL [\old(n)=1, dst={6:0}, n=1, s1={6:0}, s1={6:0}, s2={0:-1}, s2={0:-1}, src={0:-1}] [L8] COND TRUE n > 0 VAL [\old(n)=1, dst={6:0}, n=1, s1={6:0}, s1={6:0}, s2={0:-1}, s2={0:-1}, src={0:-1}] [L9] n-- VAL [\old(n)=1, dst={6:0}, n=1, n--=1, s1={6:0}, s1={6:0}, s2={0:-1}, s2={0:-1}, src={0:-1}] [L9] n-- VAL [\old(n)=1, dst={6:0}, n=0, n--=1, s1={6:0}, s1={6:0}, s2={0:-1}, s2={0:-1}, src={0:-1}] [L10] dst++ VAL [\old(n)=1, dst={6:0}, dst++={6:0}, n=0, s1={6:0}, s1={6:0}, s2={0:-1}, s2={0:-1}, src={0:-1}] [L10] dst++ VAL [\old(n)=1, dst={6:1}, dst++={6:0}, n=0, s1={6:0}, s1={6:0}, s2={0:-1}, s2={0:-1}, src={0:-1}] [L10] src++ VAL [\old(n)=1, dst={6:1}, dst++={6:0}, n=0, s1={6:0}, s1={6:0}, s2={0:-1}, s2={0:-1}, src={0:-1}, src++={0:-1}] [L10] src++ VAL [\old(n)=1, dst={6:1}, dst++={6:0}, n=0, s1={6:0}, s1={6:0}, s2={0:-1}, s2={0:-1}, src={0:0}, src++={0:-1}] [L10] FCALL src++ - StatisticsResult: Ultimate Automizer benchmark data CFG has 4 procedures, 65 locations, 7 error locations. UNSAFE Result, 0.4s OverallTime, 2 OverallIterations, 1 TraceHistogramMax, 0.0s AutomataDifference, 0.0s DeadEndRemovalTime, 0.0s HoareAnnotationTime, HoareTripleCheckerStatistics: 66 SDtfs, 0 SDslu, 0 SDs, 0 SdLazy, 0 SolverSat, 0 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.0s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 51 GetRequests, 51 SyntacticMatches, 0 SemanticMatches, 0 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=65occurred 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, 1 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TraceCheckStatistics: 0.0s SsaConstructionTime, 0.0s SatisfiabilityAnalysisTime, 0.0s InterpolantComputationTime, 55 NumberOfCodeBlocks, 55 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 50 ConstructedInterpolants, 0 QuantifiedInterpolants, 1250 SizeOfPredicates, 0 NumberOfNonLiveVariables, 76 ConjunctsInSsa, 1 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 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 /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/cstrncpy_unsafe_false-valid-deref.i_svcomp-DerefFreeMemtrack-32bit-Automizer_Fixed_noBitfields+AI_EQ_SS.epf_AutomizerC.xml/Csv-Benchmark-0-2018-04-09_19-45-06-074.csv Written .csv to /storage/ultimate/releaseScripts/default/UAutomizer-linux/../../../releaseScripts/default/UAutomizer-linux/csv/cstrncpy_unsafe_false-valid-deref.i_svcomp-DerefFreeMemtrack-32bit-Automizer_Fixed_noBitfields+AI_EQ_SS.epf_AutomizerC.xml/Csv-TraceAbstractionBenchmarks-0-2018-04-09_19-45-06-074.csv Received shutdown request...