/usr/bin/java -Xmx8000000000 -Xss4m -jar ./plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata ./data -tc ../../../trunk/examples/toolchains/AutomizerC.xml -s ../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf -i ../../../trunk/examples/svcomp/loops/verisec_NetBSD-libc_loop.i -------------------------------------------------------------------------------- This is Ultimate 0.1.25-72570d3 [2020-08-22 16:57:20,140 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-08-22 16:57:20,143 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-08-22 16:57:20,179 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-08-22 16:57:20,179 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-08-22 16:57:20,190 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-08-22 16:57:20,192 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-08-22 16:57:20,195 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-08-22 16:57:20,198 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-08-22 16:57:20,201 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-08-22 16:57:20,202 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-08-22 16:57:20,204 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-08-22 16:57:20,204 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-08-22 16:57:20,207 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-08-22 16:57:20,209 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-08-22 16:57:20,211 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-08-22 16:57:20,212 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-08-22 16:57:20,213 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-08-22 16:57:20,215 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-08-22 16:57:20,222 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-08-22 16:57:20,225 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-08-22 16:57:20,226 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-08-22 16:57:20,227 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-08-22 16:57:20,227 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-08-22 16:57:20,230 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-08-22 16:57:20,230 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-08-22 16:57:20,231 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-08-22 16:57:20,234 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-08-22 16:57:20,234 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-08-22 16:57:20,236 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-08-22 16:57:20,236 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-08-22 16:57:20,237 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-08-22 16:57:20,238 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-08-22 16:57:20,239 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-08-22 16:57:20,240 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-08-22 16:57:20,240 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-08-22 16:57:20,241 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-08-22 16:57:20,241 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-08-22 16:57:20,241 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-08-22 16:57:20,242 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-08-22 16:57:20,243 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-08-22 16:57:20,244 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/settings/default/automizer/svcomp-Reach-32bit-Automizer_Default.epf [2020-08-22 16:57:20,288 INFO L113 SettingsManager]: Loading preferences was successful [2020-08-22 16:57:20,288 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-08-22 16:57:20,290 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-08-22 16:57:20,290 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-08-22 16:57:20,291 INFO L138 SettingsManager]: * Use SBE=true [2020-08-22 16:57:20,291 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-08-22 16:57:20,291 INFO L138 SettingsManager]: * sizeof long=4 [2020-08-22 16:57:20,291 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-08-22 16:57:20,291 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-08-22 16:57:20,292 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-08-22 16:57:20,293 INFO L138 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2020-08-22 16:57:20,293 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2020-08-22 16:57:20,293 INFO L138 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2020-08-22 16:57:20,293 INFO L138 SettingsManager]: * sizeof long double=12 [2020-08-22 16:57:20,294 INFO L138 SettingsManager]: * Check if freed pointer was valid=false [2020-08-22 16:57:20,294 INFO L138 SettingsManager]: * Use constant arrays=true [2020-08-22 16:57:20,294 INFO L138 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2020-08-22 16:57:20,294 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-08-22 16:57:20,294 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-08-22 16:57:20,295 INFO L138 SettingsManager]: * To the following directory=./dump/ [2020-08-22 16:57:20,295 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2020-08-22 16:57:20,295 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2020-08-22 16:57:20,295 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-08-22 16:57:20,295 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2020-08-22 16:57:20,296 INFO L138 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopsAndPotentialCycles [2020-08-22 16:57:20,296 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-08-22 16:57:20,296 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-08-22 16:57:20,296 INFO L138 SettingsManager]: * Compute Hoare Annotation of negated interpolant automaton, abstraction and CFG=true [2020-08-22 16:57:20,296 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-08-22 16:57:20,296 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2020-08-22 16:57:20,646 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-08-22 16:57:20,661 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-08-22 16:57:20,665 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-08-22 16:57:20,667 INFO L271 PluginConnector]: Initializing CDTParser... [2020-08-22 16:57:20,667 INFO L275 PluginConnector]: CDTParser initialized [2020-08-22 16:57:20,668 INFO L429 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/loops/verisec_NetBSD-libc_loop.i [2020-08-22 16:57:20,740 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/ce84d7a1a/fdc41cc1b4dd405da2536672961d932b/FLAG36ada8875 [2020-08-22 16:57:21,205 INFO L306 CDTParser]: Found 1 translation units. [2020-08-22 16:57:21,206 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/loops/verisec_NetBSD-libc_loop.i [2020-08-22 16:57:21,212 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/ce84d7a1a/fdc41cc1b4dd405da2536672961d932b/FLAG36ada8875 [2020-08-22 16:57:21,572 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/ce84d7a1a/fdc41cc1b4dd405da2536672961d932b [2020-08-22 16:57:21,582 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-08-22 16:57:21,584 INFO L131 ToolchainWalker]: Walking toolchain with 4 elements. [2020-08-22 16:57:21,585 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-08-22 16:57:21,585 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-08-22 16:57:21,589 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-08-22 16:57:21,590 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.08 04:57:21" (1/1) ... [2020-08-22 16:57:21,593 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@327c857d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.08 04:57:21, skipping insertion in model container [2020-08-22 16:57:21,593 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 22.08 04:57:21" (1/1) ... [2020-08-22 16:57:21,601 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-08-22 16:57:21,621 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-08-22 16:57:21,818 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-08-22 16:57:21,829 INFO L203 MainTranslator]: Completed pre-run [2020-08-22 16:57:21,847 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-08-22 16:57:21,861 INFO L208 MainTranslator]: Completed translation [2020-08-22 16:57:21,862 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.08 04:57:21 WrapperNode [2020-08-22 16:57:21,862 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-08-22 16:57:21,863 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-08-22 16:57:21,863 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-08-22 16:57:21,863 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-08-22 16:57:21,957 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.08 04:57:21" (1/1) ... [2020-08-22 16:57:21,959 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.08 04:57:21" (1/1) ... [2020-08-22 16:57:21,968 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.08 04:57:21" (1/1) ... [2020-08-22 16:57:21,969 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.08 04:57:21" (1/1) ... [2020-08-22 16:57:21,982 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.08 04:57:21" (1/1) ... [2020-08-22 16:57:21,987 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.08 04:57:21" (1/1) ... [2020-08-22 16:57:21,988 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.08 04:57:21" (1/1) ... [2020-08-22 16:57:21,989 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-08-22 16:57:21,990 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-08-22 16:57:21,990 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-08-22 16:57:21,990 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-08-22 16:57:21,991 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.08 04:57:21" (1/1) ... No working directory specified, using /storage/repos/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 [2020-08-22 16:57:22,044 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2020-08-22 16:57:22,045 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-08-22 16:57:22,045 INFO L138 BoogieDeclarations]: Found implementation of procedure __VERIFIER_assert [2020-08-22 16:57:22,045 INFO L138 BoogieDeclarations]: Found implementation of procedure glob2 [2020-08-22 16:57:22,045 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2020-08-22 16:57:22,045 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_error [2020-08-22 16:57:22,045 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_assert [2020-08-22 16:57:22,045 INFO L130 BoogieDeclarations]: Found specification of procedure glob2 [2020-08-22 16:57:22,046 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2020-08-22 16:57:22,046 INFO L130 BoogieDeclarations]: Found specification of procedure main [2020-08-22 16:57:22,046 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-08-22 16:57:22,046 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2020-08-22 16:57:22,046 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2020-08-22 16:57:22,047 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-08-22 16:57:22,047 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2020-08-22 16:57:22,279 INFO L290 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-08-22 16:57:22,279 INFO L295 CfgBuilder]: Removed 1 assume(true) statements. [2020-08-22 16:57:22,283 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.08 04:57:22 BoogieIcfgContainer [2020-08-22 16:57:22,283 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-08-22 16:57:22,287 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2020-08-22 16:57:22,287 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2020-08-22 16:57:22,290 INFO L275 PluginConnector]: TraceAbstraction initialized [2020-08-22 16:57:22,290 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 22.08 04:57:21" (1/3) ... [2020-08-22 16:57:22,293 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2d02ad57 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 22.08 04:57:22, skipping insertion in model container [2020-08-22 16:57:22,293 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 22.08 04:57:21" (2/3) ... [2020-08-22 16:57:22,294 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2d02ad57 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 22.08 04:57:22, skipping insertion in model container [2020-08-22 16:57:22,294 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 22.08 04:57:22" (3/3) ... [2020-08-22 16:57:22,296 INFO L109 eAbstractionObserver]: Analyzing ICFG verisec_NetBSD-libc_loop.i [2020-08-22 16:57:22,308 INFO L157 ceAbstractionStarter]: Automizer settings: Hoare:true NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2020-08-22 16:57:22,314 INFO L169 ceAbstractionStarter]: Appying trace abstraction to program that has 1 error locations. [2020-08-22 16:57:22,355 INFO L251 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2020-08-22 16:57:22,383 INFO L375 AbstractCegarLoop]: Interprodecural is true [2020-08-22 16:57:22,384 INFO L376 AbstractCegarLoop]: Hoare is true [2020-08-22 16:57:22,384 INFO L377 AbstractCegarLoop]: Compute interpolants for FPandBP [2020-08-22 16:57:22,384 INFO L378 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2020-08-22 16:57:22,384 INFO L379 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-08-22 16:57:22,384 INFO L380 AbstractCegarLoop]: Difference is false [2020-08-22 16:57:22,385 INFO L381 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-08-22 16:57:22,385 INFO L385 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2020-08-22 16:57:22,413 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states. [2020-08-22 16:57:22,420 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2020-08-22 16:57:22,421 INFO L414 BasicCegarLoop]: Found error trace [2020-08-22 16:57:22,422 INFO L422 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-08-22 16:57:22,423 INFO L427 AbstractCegarLoop]: === Iteration 1 === [__VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2020-08-22 16:57:22,429 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-08-22 16:57:22,430 INFO L82 PathProgramCache]: Analyzing trace with hash -1626450083, now seen corresponding path program 1 times [2020-08-22 16:57:22,440 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-08-22 16:57:22,441 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [161533601] [2020-08-22 16:57:22,441 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-08-22 16:57:22,603 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-08-22 16:57:22,806 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2020-08-22 16:57:22,809 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-08-22 16:57:22,820 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-08-22 16:57:22,821 INFO L354 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [161533601] [2020-08-22 16:57:22,822 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-08-22 16:57:22,822 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [8] imperfect sequences [] total 8 [2020-08-22 16:57:22,823 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2014977148] [2020-08-22 16:57:22,828 INFO L459 AbstractCegarLoop]: Interpolant automaton has 8 states [2020-08-22 16:57:22,829 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-08-22 16:57:22,839 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2020-08-22 16:57:22,840 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=43, Unknown=0, NotChecked=0, Total=56 [2020-08-22 16:57:22,842 INFO L87 Difference]: Start difference. First operand 26 states. Second operand 8 states. [2020-08-22 16:57:23,164 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-08-22 16:57:23,164 INFO L93 Difference]: Finished difference Result 55 states and 64 transitions. [2020-08-22 16:57:23,165 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 9 states. [2020-08-22 16:57:23,167 INFO L78 Accepts]: Start accepts. Automaton has 8 states. Word has length 13 [2020-08-22 16:57:23,167 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2020-08-22 16:57:23,176 INFO L225 Difference]: With dead ends: 55 [2020-08-22 16:57:23,176 INFO L226 Difference]: Without dead ends: 26 [2020-08-22 16:57:23,181 INFO L675 BasicCegarLoop]: 0 DeclaredPredicates, 14 GetRequests, 3 SyntacticMatches, 0 SemanticMatches, 11 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 8 ImplicationChecksByTransitivity, 0.2s TimeCoverageRelationStatistics Valid=38, Invalid=118, Unknown=0, NotChecked=0, Total=156 [2020-08-22 16:57:23,201 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 26 states. [2020-08-22 16:57:23,223 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 26 to 24. [2020-08-22 16:57:23,225 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 24 states. [2020-08-22 16:57:23,226 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 24 states and 24 transitions. [2020-08-22 16:57:23,228 INFO L78 Accepts]: Start accepts. Automaton has 24 states and 24 transitions. Word has length 13 [2020-08-22 16:57:23,228 INFO L84 Accepts]: Finished accepts. word is rejected. [2020-08-22 16:57:23,228 INFO L479 AbstractCegarLoop]: Abstraction has 24 states and 24 transitions. [2020-08-22 16:57:23,228 INFO L480 AbstractCegarLoop]: Interpolant automaton has 8 states. [2020-08-22 16:57:23,229 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 24 transitions. [2020-08-22 16:57:23,230 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2020-08-22 16:57:23,230 INFO L414 BasicCegarLoop]: Found error trace [2020-08-22 16:57:23,230 INFO L422 BasicCegarLoop]: trace histogram [2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-08-22 16:57:23,231 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2020-08-22 16:57:23,231 INFO L427 AbstractCegarLoop]: === Iteration 2 === [__VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2020-08-22 16:57:23,231 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-08-22 16:57:23,232 INFO L82 PathProgramCache]: Analyzing trace with hash -519824651, now seen corresponding path program 1 times [2020-08-22 16:57:23,232 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-08-22 16:57:23,232 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1224905041] [2020-08-22 16:57:23,233 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-08-22 16:57:23,260 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-08-22 16:57:23,391 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2020-08-22 16:57:23,393 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-08-22 16:57:23,398 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 9 [2020-08-22 16:57:23,409 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-08-22 16:57:23,434 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 2 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-08-22 16:57:23,435 INFO L354 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1224905041] [2020-08-22 16:57:23,435 INFO L354 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [18908053] [2020-08-22 16:57:23,436 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 2 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2020-08-22 16:57:23,491 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-08-22 16:57:23,494 INFO L263 TraceCheckSpWp]: Trace formula consists of 115 conjuncts, 18 conjunts are in the unsatisfiable core [2020-08-22 16:57:23,501 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-08-22 16:57:23,571 INFO L603 QuantifierPusher]: Distributing 2 conjuncts over 2 disjuncts [2020-08-22 16:57:23,612 INFO L134 CoverageAnalysis]: Checked inductivity of 4 backedges. 2 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-08-22 16:57:23,613 INFO L220 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2020-08-22 16:57:23,613 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [9, 8] total 11 [2020-08-22 16:57:23,614 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1765939407] [2020-08-22 16:57:23,615 INFO L459 AbstractCegarLoop]: Interpolant automaton has 11 states [2020-08-22 16:57:23,615 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-08-22 16:57:23,616 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 11 interpolants. [2020-08-22 16:57:23,616 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=22, Invalid=88, Unknown=0, NotChecked=0, Total=110 [2020-08-22 16:57:23,616 INFO L87 Difference]: Start difference. First operand 24 states and 24 transitions. Second operand 11 states. [2020-08-22 16:57:23,900 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-08-22 16:57:23,900 INFO L93 Difference]: Finished difference Result 36 states and 36 transitions. [2020-08-22 16:57:23,901 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 10 states. [2020-08-22 16:57:23,901 INFO L78 Accepts]: Start accepts. Automaton has 11 states. Word has length 21 [2020-08-22 16:57:23,901 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2020-08-22 16:57:23,902 INFO L225 Difference]: With dead ends: 36 [2020-08-22 16:57:23,903 INFO L226 Difference]: Without dead ends: 34 [2020-08-22 16:57:23,904 INFO L675 BasicCegarLoop]: 0 DeclaredPredicates, 39 GetRequests, 24 SyntacticMatches, 0 SemanticMatches, 15 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 26 ImplicationChecksByTransitivity, 0.2s TimeCoverageRelationStatistics Valid=58, Invalid=214, Unknown=0, NotChecked=0, Total=272 [2020-08-22 16:57:23,904 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 34 states. [2020-08-22 16:57:23,912 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 34 to 32. [2020-08-22 16:57:23,912 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 32 states. [2020-08-22 16:57:23,913 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 32 states and 32 transitions. [2020-08-22 16:57:23,914 INFO L78 Accepts]: Start accepts. Automaton has 32 states and 32 transitions. Word has length 21 [2020-08-22 16:57:23,914 INFO L84 Accepts]: Finished accepts. word is rejected. [2020-08-22 16:57:23,914 INFO L479 AbstractCegarLoop]: Abstraction has 32 states and 32 transitions. [2020-08-22 16:57:23,914 INFO L480 AbstractCegarLoop]: Interpolant automaton has 11 states. [2020-08-22 16:57:23,915 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 32 transitions. [2020-08-22 16:57:23,916 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2020-08-22 16:57:23,916 INFO L414 BasicCegarLoop]: Found error trace [2020-08-22 16:57:23,916 INFO L422 BasicCegarLoop]: trace histogram [3, 3, 3, 2, 2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-08-22 16:57:24,129 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable1 [2020-08-22 16:57:24,130 INFO L427 AbstractCegarLoop]: === Iteration 3 === [__VERIFIER_assertErr0ASSERT_VIOLATIONERROR_FUNCTION]=== [2020-08-22 16:57:24,130 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-08-22 16:57:24,130 INFO L82 PathProgramCache]: Analyzing trace with hash -2027370867, now seen corresponding path program 2 times [2020-08-22 16:57:24,131 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-08-22 16:57:24,131 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [379268345] [2020-08-22 16:57:24,131 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-08-22 16:57:24,157 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-08-22 16:57:24,158 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-08-22 16:57:24,180 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2020-08-22 16:57:24,181 INFO L221 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2020-08-22 16:57:24,203 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2020-08-22 16:57:24,204 INFO L520 BasicCegarLoop]: Counterexample might be feasible [2020-08-22 16:57:24,204 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2020-08-22 16:57:24,252 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 22.08 04:57:24 BoogieIcfgContainer [2020-08-22 16:57:24,252 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2020-08-22 16:57:24,254 INFO L168 Benchmark]: Toolchain (without parser) took 2669.89 ms. Allocated memory was 138.9 MB in the beginning and 231.7 MB in the end (delta: 92.8 MB). Free memory was 100.2 MB in the beginning and 136.8 MB in the end (delta: -36.6 MB). Peak memory consumption was 56.2 MB. Max. memory is 7.1 GB. [2020-08-22 16:57:24,256 INFO L168 Benchmark]: CDTParser took 0.59 ms. Allocated memory is still 138.9 MB. Free memory was 119.2 MB in the beginning and 119.0 MB in the end (delta: 210.0 kB). Peak memory consumption was 210.0 kB. Max. memory is 7.1 GB. [2020-08-22 16:57:24,257 INFO L168 Benchmark]: CACSL2BoogieTranslator took 277.11 ms. Allocated memory is still 138.9 MB. Free memory was 100.0 MB in the beginning and 90.1 MB in the end (delta: 9.9 MB). Peak memory consumption was 9.9 MB. Max. memory is 7.1 GB. [2020-08-22 16:57:24,258 INFO L168 Benchmark]: Boogie Preprocessor took 126.94 ms. Allocated memory was 138.9 MB in the beginning and 199.8 MB in the end (delta: 60.8 MB). Free memory was 90.1 MB in the beginning and 177.2 MB in the end (delta: -87.0 MB). Peak memory consumption was 12.3 MB. Max. memory is 7.1 GB. [2020-08-22 16:57:24,259 INFO L168 Benchmark]: RCFGBuilder took 293.69 ms. Allocated memory is still 199.8 MB. Free memory was 177.2 MB in the beginning and 162.5 MB in the end (delta: 14.6 MB). Peak memory consumption was 14.6 MB. Max. memory is 7.1 GB. [2020-08-22 16:57:24,260 INFO L168 Benchmark]: TraceAbstraction took 1965.23 ms. Allocated memory was 199.8 MB in the beginning and 231.7 MB in the end (delta: 32.0 MB). Free memory was 161.9 MB in the beginning and 136.8 MB in the end (delta: 25.0 MB). Peak memory consumption was 57.0 MB. Max. memory is 7.1 GB. [2020-08-22 16:57:24,264 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.59 ms. Allocated memory is still 138.9 MB. Free memory was 119.2 MB in the beginning and 119.0 MB in the end (delta: 210.0 kB). Peak memory consumption was 210.0 kB. Max. memory is 7.1 GB. * CACSL2BoogieTranslator took 277.11 ms. Allocated memory is still 138.9 MB. Free memory was 100.0 MB in the beginning and 90.1 MB in the end (delta: 9.9 MB). Peak memory consumption was 9.9 MB. Max. memory is 7.1 GB. * Boogie Preprocessor took 126.94 ms. Allocated memory was 138.9 MB in the beginning and 199.8 MB in the end (delta: 60.8 MB). Free memory was 90.1 MB in the beginning and 177.2 MB in the end (delta: -87.0 MB). Peak memory consumption was 12.3 MB. Max. memory is 7.1 GB. * RCFGBuilder took 293.69 ms. Allocated memory is still 199.8 MB. Free memory was 177.2 MB in the beginning and 162.5 MB in the end (delta: 14.6 MB). Peak memory consumption was 14.6 MB. Max. memory is 7.1 GB. * TraceAbstraction took 1965.23 ms. Allocated memory was 199.8 MB in the beginning and 231.7 MB in the end (delta: 32.0 MB). Free memory was 161.9 MB in the beginning and 136.8 MB in the end (delta: 25.0 MB). Peak memory consumption was 57.0 MB. Max. memory is 7.1 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 5]: a call of __VERIFIER_error() is reachable a call of __VERIFIER_error() is reachable We found a FailurePath: [L12] Char *tmp; VAL [\old(tmp)=30, \old(tmp)=32, tmp={0:0}] [L29] Char pathbuf[1 +1]; [L31] Char *bound = pathbuf + sizeof(pathbuf) - 1; [L33] tmp = pathbuf + sizeof(pathbuf)/sizeof(*pathbuf) - 1 VAL [\old(tmp)=0, \old(tmp)=0, bound={2:28}, pathbuf={2:0}, tmp={2:4}] [L35] CALL glob2 (pathbuf, bound) VAL [\old(tmp)=0, \old(tmp)=0, pathbuf={2:0}, pathlim={2:28}, tmp={2:4}] [L16] Char *p; [L18] p = pathbuf VAL [\old(tmp)=0, \old(tmp)=0, p={2:0}, pathbuf={2:0}, pathbuf={2:0}, pathlim={2:28}, pathlim={2:28}, tmp={2:4}] [L18] COND TRUE p <= pathlim VAL [\old(tmp)=0, \old(tmp)=0, p={2:0}, pathbuf={2:0}, pathbuf={2:0}, pathlim={2:28}, pathlim={2:28}, tmp={2:4}] [L20] CALL __VERIFIER_assert(p<=tmp) VAL [\old(cond)=1, \old(tmp)=0, \old(tmp)=0, tmp={2:4}] [L4] COND FALSE !(!(cond)) VAL [\old(cond)=1, \old(tmp)=0, \old(tmp)=0, cond=1, tmp={2:4}] [L20] RET __VERIFIER_assert(p<=tmp) VAL [\old(tmp)=0, \old(tmp)=0, p={2:0}, pathbuf={2:0}, pathbuf={2:0}, pathlim={2:28}, pathlim={2:28}, tmp={2:4}] [L21] *p = 1 VAL [\old(tmp)=0, \old(tmp)=0, p={2:0}, pathbuf={2:0}, pathbuf={2:0}, pathlim={2:28}, pathlim={2:28}, tmp={2:4}] [L18] p++ VAL [\old(tmp)=0, \old(tmp)=0, p={2:4}, pathbuf={2:0}, pathbuf={2:0}, pathlim={2:28}, pathlim={2:28}, tmp={2:4}] [L18] COND TRUE p <= pathlim VAL [\old(tmp)=0, \old(tmp)=0, p={2:4}, pathbuf={2:0}, pathbuf={2:0}, pathlim={2:28}, pathlim={2:28}, tmp={2:4}] [L20] CALL __VERIFIER_assert(p<=tmp) VAL [\old(cond)=1, \old(tmp)=0, \old(tmp)=0, tmp={2:4}] [L4] COND FALSE !(!(cond)) VAL [\old(cond)=1, \old(tmp)=0, \old(tmp)=0, cond=1, tmp={2:4}] [L20] RET __VERIFIER_assert(p<=tmp) VAL [\old(tmp)=0, \old(tmp)=0, p={2:4}, pathbuf={2:0}, pathbuf={2:0}, pathlim={2:28}, pathlim={2:28}, tmp={2:4}] [L21] *p = 1 VAL [\old(tmp)=0, \old(tmp)=0, p={2:4}, pathbuf={2:0}, pathbuf={2:0}, pathlim={2:28}, pathlim={2:28}, tmp={2:4}] [L18] p++ VAL [\old(tmp)=0, \old(tmp)=0, p={2:8}, pathbuf={2:0}, pathbuf={2:0}, pathlim={2:28}, pathlim={2:28}, tmp={2:4}] [L18] COND TRUE p <= pathlim VAL [\old(tmp)=0, \old(tmp)=0, p={2:8}, pathbuf={2:0}, pathbuf={2:0}, pathlim={2:28}, pathlim={2:28}, tmp={2:4}] [L20] CALL __VERIFIER_assert(p<=tmp) VAL [\old(cond)=0, \old(tmp)=0, \old(tmp)=0, tmp={2:4}] [L4] COND TRUE !(cond) VAL [\old(cond)=0, \old(tmp)=0, \old(tmp)=0, cond=0, tmp={2:4}] [L5] __VERIFIER_error() VAL [\old(cond)=0, \old(tmp)=0, \old(tmp)=0, cond=0, tmp={2:4}] - StatisticsResult: Ultimate Automizer benchmark data CFG has 5 procedures, 26 locations, 1 error locations. Started 1 CEGAR loops. VerificationResult: UNSAFE, OverallTime: 1.8s, OverallIterations: 3, TraceHistogramMax: 3, AutomataDifference: 0.6s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 23 SDtfs, 74 SDslu, 82 SDs, 0 SdLazy, 218 SolverSat, 31 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.2s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 53 GetRequests, 27 SyntacticMatches, 0 SemanticMatches, 26 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 34 ImplicationChecksByTransitivity, 0.4s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=32occurred in iteration=2, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 2 MinimizatonAttempts, 4 StatesRemovedByMinimization, 2 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.5s InterpolantComputationTime, 84 NumberOfCodeBlocks, 84 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 52 ConstructedInterpolants, 0 QuantifiedInterpolants, 4480 SizeOfPredicates, 7 NumberOfNonLiveVariables, 115 ConjunctsInSsa, 18 ConjunctsInUnsatCore, 3 InterpolantComputations, 1 PerfectInterpolantSequences, 4/8 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...