./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/memsafety-ext3/derefAfterFree2.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 30f4e4ab Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx12G -Xms1G -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/memsafety-ext3/derefAfterFree2.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness.graphml --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 44834c55142a76240cb3980fc2bb6f5aeaa27c83 ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................. Execution finished normally Writing output log to file Ultimate.log Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(valid-deref) --- Real Ultimate output --- This is Ultimate 0.1.24-30f4e4a [2019-11-28 02:46:29,276 INFO L177 SettingsManager]: Resetting all preferences to default values... [2019-11-28 02:46:29,278 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2019-11-28 02:46:29,291 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2019-11-28 02:46:29,292 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2019-11-28 02:46:29,293 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2019-11-28 02:46:29,295 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2019-11-28 02:46:29,297 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2019-11-28 02:46:29,299 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2019-11-28 02:46:29,300 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2019-11-28 02:46:29,302 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2019-11-28 02:46:29,303 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2019-11-28 02:46:29,303 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2019-11-28 02:46:29,305 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2019-11-28 02:46:29,306 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2019-11-28 02:46:29,307 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2019-11-28 02:46:29,308 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2019-11-28 02:46:29,310 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2019-11-28 02:46:29,312 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2019-11-28 02:46:29,314 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2019-11-28 02:46:29,316 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2019-11-28 02:46:29,317 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2019-11-28 02:46:29,318 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2019-11-28 02:46:29,319 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2019-11-28 02:46:29,322 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2019-11-28 02:46:29,322 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2019-11-28 02:46:29,322 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2019-11-28 02:46:29,323 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2019-11-28 02:46:29,324 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2019-11-28 02:46:29,325 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2019-11-28 02:46:29,325 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2019-11-28 02:46:29,326 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2019-11-28 02:46:29,327 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2019-11-28 02:46:29,328 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2019-11-28 02:46:29,329 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2019-11-28 02:46:29,329 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2019-11-28 02:46:29,330 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2019-11-28 02:46:29,330 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2019-11-28 02:46:29,331 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2019-11-28 02:46:29,332 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2019-11-28 02:46:29,333 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2019-11-28 02:46:29,333 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2019-11-28 02:46:29,348 INFO L113 SettingsManager]: Loading preferences was successful [2019-11-28 02:46:29,349 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2019-11-28 02:46:29,350 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2019-11-28 02:46:29,351 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2019-11-28 02:46:29,351 INFO L138 SettingsManager]: * Use SBE=true [2019-11-28 02:46:29,351 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2019-11-28 02:46:29,352 INFO L138 SettingsManager]: * sizeof long=4 [2019-11-28 02:46:29,352 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2019-11-28 02:46:29,352 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2019-11-28 02:46:29,352 INFO L138 SettingsManager]: * sizeof POINTER=4 [2019-11-28 02:46:29,353 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2019-11-28 02:46:29,353 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2019-11-28 02:46:29,353 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2019-11-28 02:46:29,354 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2019-11-28 02:46:29,354 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2019-11-28 02:46:29,354 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2019-11-28 02:46:29,355 INFO L138 SettingsManager]: * sizeof long double=12 [2019-11-28 02:46:29,355 INFO L138 SettingsManager]: * Use constant arrays=true [2019-11-28 02:46:29,355 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2019-11-28 02:46:29,355 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2019-11-28 02:46:29,356 INFO L138 SettingsManager]: * To the following directory=./dump/ [2019-11-28 02:46:29,356 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2019-11-28 02:46:29,356 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2019-11-28 02:46:29,357 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2019-11-28 02:46:29,357 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2019-11-28 02:46:29,357 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2019-11-28 02:46:29,358 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2019-11-28 02:46:29,358 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness.graphml Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> 44834c55142a76240cb3980fc2bb6f5aeaa27c83 [2019-11-28 02:46:29,671 INFO L81 nceAwareModelManager]: Repository-Root is: /tmp [2019-11-28 02:46:29,685 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2019-11-28 02:46:29,688 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2019-11-28 02:46:29,690 INFO L271 PluginConnector]: Initializing CDTParser... [2019-11-28 02:46:29,690 INFO L275 PluginConnector]: CDTParser initialized [2019-11-28 02:46:29,691 INFO L428 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/memsafety-ext3/derefAfterFree2.c [2019-11-28 02:46:29,748 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f1dee24cb/3fca2b9125c14f5d8c401523341b0bbd/FLAG3dd25bb9c [2019-11-28 02:46:30,191 INFO L306 CDTParser]: Found 1 translation units. [2019-11-28 02:46:30,192 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/memsafety-ext3/derefAfterFree2.c [2019-11-28 02:46:30,198 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f1dee24cb/3fca2b9125c14f5d8c401523341b0bbd/FLAG3dd25bb9c [2019-11-28 02:46:30,539 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/f1dee24cb/3fca2b9125c14f5d8c401523341b0bbd [2019-11-28 02:46:30,543 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2019-11-28 02:46:30,545 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2019-11-28 02:46:30,546 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2019-11-28 02:46:30,546 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2019-11-28 02:46:30,550 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2019-11-28 02:46:30,551 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 02:46:30" (1/1) ... [2019-11-28 02:46:30,554 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@cfe3764 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:46:30, skipping insertion in model container [2019-11-28 02:46:30,555 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 28.11 02:46:30" (1/1) ... [2019-11-28 02:46:30,563 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2019-11-28 02:46:30,579 INFO L178 MainTranslator]: Built tables and reachable declarations [2019-11-28 02:46:30,801 INFO L206 PostProcessor]: Analyzing one entry point: main [2019-11-28 02:46:30,821 INFO L203 MainTranslator]: Completed pre-run [2019-11-28 02:46:30,837 INFO L206 PostProcessor]: Analyzing one entry point: main [2019-11-28 02:46:30,853 INFO L208 MainTranslator]: Completed translation [2019-11-28 02:46:30,854 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:46:30 WrapperNode [2019-11-28 02:46:30,854 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2019-11-28 02:46:30,855 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2019-11-28 02:46:30,855 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2019-11-28 02:46:30,855 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2019-11-28 02:46:30,925 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:46:30" (1/1) ... [2019-11-28 02:46:30,925 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:46:30" (1/1) ... [2019-11-28 02:46:30,935 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:46:30" (1/1) ... [2019-11-28 02:46:30,935 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:46:30" (1/1) ... [2019-11-28 02:46:30,950 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:46:30" (1/1) ... [2019-11-28 02:46:30,955 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:46:30" (1/1) ... [2019-11-28 02:46:30,962 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:46:30" (1/1) ... [2019-11-28 02:46:30,964 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2019-11-28 02:46:30,965 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2019-11-28 02:46:30,965 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2019-11-28 02:46:30,965 INFO L275 PluginConnector]: RCFGBuilder initialized [2019-11-28 02:46:30,966 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:46:30" (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 [2019-11-28 02:46:31,024 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2019-11-28 02:46:31,024 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2019-11-28 02:46:31,024 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2019-11-28 02:46:31,024 INFO L130 BoogieDeclarations]: Found specification of procedure free [2019-11-28 02:46:31,025 INFO L130 BoogieDeclarations]: Found specification of procedure malloc [2019-11-28 02:46:31,025 INFO L130 BoogieDeclarations]: Found specification of procedure main [2019-11-28 02:46:31,025 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2019-11-28 02:46:31,025 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2019-11-28 02:46:31,025 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2019-11-28 02:46:31,025 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2019-11-28 02:46:31,026 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2019-11-28 02:46:31,026 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2019-11-28 02:46:31,276 INFO L292 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2019-11-28 02:46:31,277 INFO L297 CfgBuilder]: Removed 1 assume(true) statements. [2019-11-28 02:46:31,278 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 02:46:31 BoogieIcfgContainer [2019-11-28 02:46:31,278 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2019-11-28 02:46:31,279 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2019-11-28 02:46:31,279 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2019-11-28 02:46:31,283 INFO L275 PluginConnector]: TraceAbstraction initialized [2019-11-28 02:46:31,283 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 28.11 02:46:30" (1/3) ... [2019-11-28 02:46:31,284 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@28033ffb and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.11 02:46:31, skipping insertion in model container [2019-11-28 02:46:31,284 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 28.11 02:46:30" (2/3) ... [2019-11-28 02:46:31,285 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@28033ffb and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 28.11 02:46:31, skipping insertion in model container [2019-11-28 02:46:31,285 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 02:46:31" (3/3) ... [2019-11-28 02:46:31,287 INFO L109 eAbstractionObserver]: Analyzing ICFG derefAfterFree2.c [2019-11-28 02:46:31,299 INFO L156 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2019-11-28 02:46:31,307 INFO L168 ceAbstractionStarter]: Appying trace abstraction to program that has 6 error locations. [2019-11-28 02:46:31,322 INFO L249 AbstractCegarLoop]: Starting to check reachability of 6 error locations. [2019-11-28 02:46:31,363 INFO L373 AbstractCegarLoop]: Interprodecural is true [2019-11-28 02:46:31,364 INFO L374 AbstractCegarLoop]: Hoare is false [2019-11-28 02:46:31,364 INFO L375 AbstractCegarLoop]: Compute interpolants for FPandBP [2019-11-28 02:46:31,364 INFO L376 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2019-11-28 02:46:31,364 INFO L377 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2019-11-28 02:46:31,364 INFO L378 AbstractCegarLoop]: Difference is false [2019-11-28 02:46:31,365 INFO L379 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2019-11-28 02:46:31,365 INFO L383 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2019-11-28 02:46:31,386 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states. [2019-11-28 02:46:31,397 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2019-11-28 02:46:31,397 INFO L402 BasicCegarLoop]: Found error trace [2019-11-28 02:46:31,398 INFO L410 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 02:46:31,399 INFO L410 AbstractCegarLoop]: === Iteration 1 === [mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr5ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr4ASSERT_VIOLATIONMEMORY_FREE, mainErr1REQUIRES_VIOLATION]=== [2019-11-28 02:46:31,406 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 02:46:31,406 INFO L82 PathProgramCache]: Analyzing trace with hash 868112163, now seen corresponding path program 1 times [2019-11-28 02:46:31,416 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 02:46:31,417 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1187524697] [2019-11-28 02:46:31,417 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 02:46:31,519 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:31,646 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:31,658 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 02:46:31,659 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1187524697] [2019-11-28 02:46:31,659 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 02:46:31,660 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2019-11-28 02:46:31,661 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2023756607] [2019-11-28 02:46:31,666 INFO L442 AbstractCegarLoop]: Interpolant automaton has 4 states [2019-11-28 02:46:31,666 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 02:46:31,677 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2019-11-28 02:46:31,677 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2019-11-28 02:46:31,679 INFO L87 Difference]: Start difference. First operand 24 states. Second operand 4 states. [2019-11-28 02:46:31,796 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 02:46:31,797 INFO L93 Difference]: Finished difference Result 29 states and 30 transitions. [2019-11-28 02:46:31,797 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2019-11-28 02:46:31,799 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 8 [2019-11-28 02:46:31,799 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-28 02:46:31,807 INFO L225 Difference]: With dead ends: 29 [2019-11-28 02:46:31,807 INFO L226 Difference]: Without dead ends: 26 [2019-11-28 02:46:31,809 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 5 GetRequests, 2 SyntacticMatches, 1 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2019-11-28 02:46:31,825 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 26 states. [2019-11-28 02:46:31,839 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 26 to 24. [2019-11-28 02:46:31,840 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 24 states. [2019-11-28 02:46:31,841 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 24 states and 26 transitions. [2019-11-28 02:46:31,843 INFO L78 Accepts]: Start accepts. Automaton has 24 states and 26 transitions. Word has length 8 [2019-11-28 02:46:31,843 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-28 02:46:31,843 INFO L462 AbstractCegarLoop]: Abstraction has 24 states and 26 transitions. [2019-11-28 02:46:31,843 INFO L463 AbstractCegarLoop]: Interpolant automaton has 4 states. [2019-11-28 02:46:31,844 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 26 transitions. [2019-11-28 02:46:31,844 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2019-11-28 02:46:31,844 INFO L402 BasicCegarLoop]: Found error trace [2019-11-28 02:46:31,844 INFO L410 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 02:46:31,845 INFO L410 AbstractCegarLoop]: === Iteration 2 === [mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr5ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr4ASSERT_VIOLATIONMEMORY_FREE, mainErr1REQUIRES_VIOLATION]=== [2019-11-28 02:46:31,845 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 02:46:31,845 INFO L82 PathProgramCache]: Analyzing trace with hash 868112162, now seen corresponding path program 1 times [2019-11-28 02:46:31,846 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 02:46:31,846 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1574013033] [2019-11-28 02:46:31,846 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 02:46:31,857 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:31,902 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:31,914 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 02:46:31,915 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1574013033] [2019-11-28 02:46:31,915 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 02:46:31,915 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2019-11-28 02:46:31,916 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [806843572] [2019-11-28 02:46:31,919 INFO L442 AbstractCegarLoop]: Interpolant automaton has 4 states [2019-11-28 02:46:31,919 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 02:46:31,920 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2019-11-28 02:46:31,920 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2019-11-28 02:46:31,920 INFO L87 Difference]: Start difference. First operand 24 states and 26 transitions. Second operand 4 states. [2019-11-28 02:46:31,999 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 02:46:32,000 INFO L93 Difference]: Finished difference Result 30 states and 31 transitions. [2019-11-28 02:46:32,000 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2019-11-28 02:46:32,001 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 8 [2019-11-28 02:46:32,001 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-28 02:46:32,002 INFO L225 Difference]: With dead ends: 30 [2019-11-28 02:46:32,002 INFO L226 Difference]: Without dead ends: 30 [2019-11-28 02:46:32,004 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2019-11-28 02:46:32,005 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 30 states. [2019-11-28 02:46:32,010 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 30 to 26. [2019-11-28 02:46:32,012 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 26 states. [2019-11-28 02:46:32,013 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 26 states and 29 transitions. [2019-11-28 02:46:32,014 INFO L78 Accepts]: Start accepts. Automaton has 26 states and 29 transitions. Word has length 8 [2019-11-28 02:46:32,014 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-28 02:46:32,014 INFO L462 AbstractCegarLoop]: Abstraction has 26 states and 29 transitions. [2019-11-28 02:46:32,015 INFO L463 AbstractCegarLoop]: Interpolant automaton has 4 states. [2019-11-28 02:46:32,015 INFO L276 IsEmpty]: Start isEmpty. Operand 26 states and 29 transitions. [2019-11-28 02:46:32,015 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2019-11-28 02:46:32,016 INFO L402 BasicCegarLoop]: Found error trace [2019-11-28 02:46:32,016 INFO L410 BasicCegarLoop]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 02:46:32,017 INFO L410 AbstractCegarLoop]: === Iteration 3 === [mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr5ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr4ASSERT_VIOLATIONMEMORY_FREE, mainErr1REQUIRES_VIOLATION]=== [2019-11-28 02:46:32,017 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 02:46:32,018 INFO L82 PathProgramCache]: Analyzing trace with hash -258436314, now seen corresponding path program 1 times [2019-11-28 02:46:32,018 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 02:46:32,019 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1093886157] [2019-11-28 02:46:32,020 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 02:46:32,057 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:32,179 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:32,184 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 02:46:32,184 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1093886157] [2019-11-28 02:46:32,184 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 02:46:32,185 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2019-11-28 02:46:32,185 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [153602057] [2019-11-28 02:46:32,185 INFO L442 AbstractCegarLoop]: Interpolant automaton has 7 states [2019-11-28 02:46:32,186 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 02:46:32,186 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2019-11-28 02:46:32,186 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=17, Invalid=25, Unknown=0, NotChecked=0, Total=42 [2019-11-28 02:46:32,187 INFO L87 Difference]: Start difference. First operand 26 states and 29 transitions. Second operand 7 states. [2019-11-28 02:46:32,266 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 02:46:32,266 INFO L93 Difference]: Finished difference Result 25 states and 27 transitions. [2019-11-28 02:46:32,266 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2019-11-28 02:46:32,266 INFO L78 Accepts]: Start accepts. Automaton has 7 states. Word has length 12 [2019-11-28 02:46:32,267 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-28 02:46:32,267 INFO L225 Difference]: With dead ends: 25 [2019-11-28 02:46:32,267 INFO L226 Difference]: Without dead ends: 25 [2019-11-28 02:46:32,268 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 7 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 3 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=17, Invalid=25, Unknown=0, NotChecked=0, Total=42 [2019-11-28 02:46:32,268 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 25 states. [2019-11-28 02:46:32,271 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 25 to 24. [2019-11-28 02:46:32,271 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 24 states. [2019-11-28 02:46:32,272 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 24 states and 26 transitions. [2019-11-28 02:46:32,272 INFO L78 Accepts]: Start accepts. Automaton has 24 states and 26 transitions. Word has length 12 [2019-11-28 02:46:32,273 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-28 02:46:32,273 INFO L462 AbstractCegarLoop]: Abstraction has 24 states and 26 transitions. [2019-11-28 02:46:32,273 INFO L463 AbstractCegarLoop]: Interpolant automaton has 7 states. [2019-11-28 02:46:32,273 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 26 transitions. [2019-11-28 02:46:32,273 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2019-11-28 02:46:32,274 INFO L402 BasicCegarLoop]: Found error trace [2019-11-28 02:46:32,274 INFO L410 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 02:46:32,274 INFO L410 AbstractCegarLoop]: === Iteration 4 === [mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr5ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr4ASSERT_VIOLATIONMEMORY_FREE, mainErr1REQUIRES_VIOLATION]=== [2019-11-28 02:46:32,274 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 02:46:32,275 INFO L82 PathProgramCache]: Analyzing trace with hash 578407498, now seen corresponding path program 1 times [2019-11-28 02:46:32,275 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 02:46:32,275 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1318822531] [2019-11-28 02:46:32,275 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 02:46:32,287 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:32,323 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:32,327 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 02:46:32,327 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1318822531] [2019-11-28 02:46:32,328 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1493937400] [2019-11-28 02:46:32,328 INFO L94 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 [2019-11-28 02:46:32,374 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:32,376 INFO L255 TraceCheckSpWp]: Trace formula consists of 55 conjuncts, 3 conjunts are in the unsatisfiable core [2019-11-28 02:46:32,382 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 02:46:32,423 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 02:46:32,424 INFO L220 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2019-11-28 02:46:32,424 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [5, 4] total 6 [2019-11-28 02:46:32,425 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [439176309] [2019-11-28 02:46:32,425 INFO L442 AbstractCegarLoop]: Interpolant automaton has 6 states [2019-11-28 02:46:32,425 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 02:46:32,426 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2019-11-28 02:46:32,426 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=12, Invalid=18, Unknown=0, NotChecked=0, Total=30 [2019-11-28 02:46:32,426 INFO L87 Difference]: Start difference. First operand 24 states and 26 transitions. Second operand 6 states. [2019-11-28 02:46:32,509 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 02:46:32,510 INFO L93 Difference]: Finished difference Result 29 states and 31 transitions. [2019-11-28 02:46:32,510 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2019-11-28 02:46:32,511 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 13 [2019-11-28 02:46:32,511 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-28 02:46:32,511 INFO L225 Difference]: With dead ends: 29 [2019-11-28 02:46:32,512 INFO L226 Difference]: Without dead ends: 29 [2019-11-28 02:46:32,512 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 18 GetRequests, 14 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=12, Invalid=18, Unknown=0, NotChecked=0, Total=30 [2019-11-28 02:46:32,513 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 29 states. [2019-11-28 02:46:32,516 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 29 to 28. [2019-11-28 02:46:32,516 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 28 states. [2019-11-28 02:46:32,517 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 28 states to 28 states and 30 transitions. [2019-11-28 02:46:32,518 INFO L78 Accepts]: Start accepts. Automaton has 28 states and 30 transitions. Word has length 13 [2019-11-28 02:46:32,519 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-28 02:46:32,519 INFO L462 AbstractCegarLoop]: Abstraction has 28 states and 30 transitions. [2019-11-28 02:46:32,519 INFO L463 AbstractCegarLoop]: Interpolant automaton has 6 states. [2019-11-28 02:46:32,520 INFO L276 IsEmpty]: Start isEmpty. Operand 28 states and 30 transitions. [2019-11-28 02:46:32,520 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 18 [2019-11-28 02:46:32,520 INFO L402 BasicCegarLoop]: Found error trace [2019-11-28 02:46:32,521 INFO L410 BasicCegarLoop]: trace histogram [2, 2, 2, 2, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 02:46:32,721 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 z3 -smt2 -in SMTLIB2_COMPLIANT=true [2019-11-28 02:46:32,722 INFO L410 AbstractCegarLoop]: === Iteration 5 === [mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr5ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr4ASSERT_VIOLATIONMEMORY_FREE, mainErr1REQUIRES_VIOLATION]=== [2019-11-28 02:46:32,722 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 02:46:32,723 INFO L82 PathProgramCache]: Analyzing trace with hash -977036761, now seen corresponding path program 2 times [2019-11-28 02:46:32,723 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 02:46:32,724 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1607553365] [2019-11-28 02:46:32,724 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 02:46:32,744 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:32,818 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:32,823 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 02:46:32,825 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1607553365] [2019-11-28 02:46:32,825 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [612145932] [2019-11-28 02:46:32,826 INFO L92 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 3 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 3 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2019-11-28 02:46:32,868 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2019-11-28 02:46:32,868 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2019-11-28 02:46:32,869 INFO L255 TraceCheckSpWp]: Trace formula consists of 64 conjuncts, 4 conjunts are in the unsatisfiable core [2019-11-28 02:46:32,871 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 02:46:32,885 INFO L134 CoverageAnalysis]: Checked inductivity of 6 backedges. 0 proven. 6 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 02:46:32,885 INFO L220 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2019-11-28 02:46:32,886 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [6, 5] total 7 [2019-11-28 02:46:32,886 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [353136332] [2019-11-28 02:46:32,886 INFO L442 AbstractCegarLoop]: Interpolant automaton has 7 states [2019-11-28 02:46:32,887 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 02:46:32,887 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2019-11-28 02:46:32,887 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=17, Invalid=25, Unknown=0, NotChecked=0, Total=42 [2019-11-28 02:46:32,888 INFO L87 Difference]: Start difference. First operand 28 states and 30 transitions. Second operand 7 states. [2019-11-28 02:46:32,961 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 02:46:32,961 INFO L93 Difference]: Finished difference Result 33 states and 35 transitions. [2019-11-28 02:46:32,962 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2019-11-28 02:46:32,963 INFO L78 Accepts]: Start accepts. Automaton has 7 states. Word has length 17 [2019-11-28 02:46:32,963 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-28 02:46:32,964 INFO L225 Difference]: With dead ends: 33 [2019-11-28 02:46:32,964 INFO L226 Difference]: Without dead ends: 33 [2019-11-28 02:46:32,965 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 23 GetRequests, 18 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 4 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=17, Invalid=25, Unknown=0, NotChecked=0, Total=42 [2019-11-28 02:46:32,966 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 33 states. [2019-11-28 02:46:32,971 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 33 to 32. [2019-11-28 02:46:32,972 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 32 states. [2019-11-28 02:46:32,975 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 32 states to 32 states and 34 transitions. [2019-11-28 02:46:32,977 INFO L78 Accepts]: Start accepts. Automaton has 32 states and 34 transitions. Word has length 17 [2019-11-28 02:46:32,978 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-28 02:46:32,978 INFO L462 AbstractCegarLoop]: Abstraction has 32 states and 34 transitions. [2019-11-28 02:46:32,978 INFO L463 AbstractCegarLoop]: Interpolant automaton has 7 states. [2019-11-28 02:46:32,979 INFO L276 IsEmpty]: Start isEmpty. Operand 32 states and 34 transitions. [2019-11-28 02:46:32,980 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 22 [2019-11-28 02:46:32,980 INFO L402 BasicCegarLoop]: Found error trace [2019-11-28 02:46:32,980 INFO L410 BasicCegarLoop]: trace histogram [3, 3, 3, 3, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 02:46:33,181 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 z3 -smt2 -in SMTLIB2_COMPLIANT=true [2019-11-28 02:46:33,187 INFO L410 AbstractCegarLoop]: === Iteration 6 === [mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr5ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr4ASSERT_VIOLATIONMEMORY_FREE, mainErr1REQUIRES_VIOLATION]=== [2019-11-28 02:46:33,187 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 02:46:33,188 INFO L82 PathProgramCache]: Analyzing trace with hash -242667132, now seen corresponding path program 3 times [2019-11-28 02:46:33,188 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 02:46:33,188 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1459591083] [2019-11-28 02:46:33,188 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 02:46:33,203 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:33,287 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:33,298 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 0 proven. 15 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 02:46:33,299 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1459591083] [2019-11-28 02:46:33,299 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1355425474] [2019-11-28 02:46:33,299 INFO L92 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST2 No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 4 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 4 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2019-11-28 02:46:33,348 INFO L249 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST2 issued 4 check-sat command(s) [2019-11-28 02:46:33,348 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2019-11-28 02:46:33,349 INFO L255 TraceCheckSpWp]: Trace formula consists of 73 conjuncts, 5 conjunts are in the unsatisfiable core [2019-11-28 02:46:33,352 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 02:46:33,375 INFO L134 CoverageAnalysis]: Checked inductivity of 15 backedges. 0 proven. 15 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 02:46:33,376 INFO L220 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2019-11-28 02:46:33,376 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [7, 6] total 8 [2019-11-28 02:46:33,376 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1027799868] [2019-11-28 02:46:33,377 INFO L442 AbstractCegarLoop]: Interpolant automaton has 8 states [2019-11-28 02:46:33,377 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 02:46:33,377 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 8 interpolants. [2019-11-28 02:46:33,378 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=23, Invalid=33, Unknown=0, NotChecked=0, Total=56 [2019-11-28 02:46:33,378 INFO L87 Difference]: Start difference. First operand 32 states and 34 transitions. Second operand 8 states. [2019-11-28 02:46:33,454 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 02:46:33,454 INFO L93 Difference]: Finished difference Result 37 states and 39 transitions. [2019-11-28 02:46:33,454 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2019-11-28 02:46:33,455 INFO L78 Accepts]: Start accepts. Automaton has 8 states. Word has length 21 [2019-11-28 02:46:33,455 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-28 02:46:33,456 INFO L225 Difference]: With dead ends: 37 [2019-11-28 02:46:33,456 INFO L226 Difference]: Without dead ends: 37 [2019-11-28 02:46:33,457 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 28 GetRequests, 22 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 7 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=23, Invalid=33, Unknown=0, NotChecked=0, Total=56 [2019-11-28 02:46:33,457 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 37 states. [2019-11-28 02:46:33,460 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 37 to 36. [2019-11-28 02:46:33,460 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 36 states. [2019-11-28 02:46:33,461 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 36 states to 36 states and 38 transitions. [2019-11-28 02:46:33,461 INFO L78 Accepts]: Start accepts. Automaton has 36 states and 38 transitions. Word has length 21 [2019-11-28 02:46:33,461 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-28 02:46:33,462 INFO L462 AbstractCegarLoop]: Abstraction has 36 states and 38 transitions. [2019-11-28 02:46:33,462 INFO L463 AbstractCegarLoop]: Interpolant automaton has 8 states. [2019-11-28 02:46:33,462 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 38 transitions. [2019-11-28 02:46:33,463 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 26 [2019-11-28 02:46:33,463 INFO L402 BasicCegarLoop]: Found error trace [2019-11-28 02:46:33,463 INFO L410 BasicCegarLoop]: trace histogram [4, 4, 4, 4, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 02:46:33,666 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 4 z3 -smt2 -in SMTLIB2_COMPLIANT=true [2019-11-28 02:46:33,667 INFO L410 AbstractCegarLoop]: === Iteration 7 === [mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr5ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr4ASSERT_VIOLATIONMEMORY_FREE, mainErr1REQUIRES_VIOLATION]=== [2019-11-28 02:46:33,668 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 02:46:33,668 INFO L82 PathProgramCache]: Analyzing trace with hash 130667105, now seen corresponding path program 4 times [2019-11-28 02:46:33,669 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 02:46:33,670 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1277603471] [2019-11-28 02:46:33,670 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 02:46:33,696 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:33,786 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:33,790 INFO L134 CoverageAnalysis]: Checked inductivity of 28 backedges. 0 proven. 28 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 02:46:33,791 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1277603471] [2019-11-28 02:46:33,791 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [233947754] [2019-11-28 02:46:33,791 INFO L92 rtionOrderModulation]: Changing assertion order to TERMS_WITH_SMALL_CONSTANTS_FIRST No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 5 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 5 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2019-11-28 02:46:33,844 INFO L249 tOrderPrioritization]: Assert order TERMS_WITH_SMALL_CONSTANTS_FIRST issued 0 check-sat command(s) [2019-11-28 02:46:33,845 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2019-11-28 02:46:33,846 INFO L255 TraceCheckSpWp]: Trace formula consists of 82 conjuncts, 6 conjunts are in the unsatisfiable core [2019-11-28 02:46:33,848 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 02:46:33,864 INFO L134 CoverageAnalysis]: Checked inductivity of 28 backedges. 0 proven. 28 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 02:46:33,865 INFO L220 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2019-11-28 02:46:33,865 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [8, 7] total 9 [2019-11-28 02:46:33,865 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [109284120] [2019-11-28 02:46:33,866 INFO L442 AbstractCegarLoop]: Interpolant automaton has 9 states [2019-11-28 02:46:33,866 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 02:46:33,867 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2019-11-28 02:46:33,867 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=30, Invalid=42, Unknown=0, NotChecked=0, Total=72 [2019-11-28 02:46:33,867 INFO L87 Difference]: Start difference. First operand 36 states and 38 transitions. Second operand 9 states. [2019-11-28 02:46:33,949 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 02:46:33,949 INFO L93 Difference]: Finished difference Result 41 states and 43 transitions. [2019-11-28 02:46:33,949 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 8 states. [2019-11-28 02:46:33,950 INFO L78 Accepts]: Start accepts. Automaton has 9 states. Word has length 25 [2019-11-28 02:46:33,950 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-28 02:46:33,951 INFO L225 Difference]: With dead ends: 41 [2019-11-28 02:46:33,951 INFO L226 Difference]: Without dead ends: 41 [2019-11-28 02:46:33,952 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 33 GetRequests, 26 SyntacticMatches, 0 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 10 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=30, Invalid=42, Unknown=0, NotChecked=0, Total=72 [2019-11-28 02:46:33,953 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 41 states. [2019-11-28 02:46:33,956 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 41 to 40. [2019-11-28 02:46:33,956 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 40 states. [2019-11-28 02:46:33,957 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 40 states to 40 states and 42 transitions. [2019-11-28 02:46:33,957 INFO L78 Accepts]: Start accepts. Automaton has 40 states and 42 transitions. Word has length 25 [2019-11-28 02:46:33,958 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-28 02:46:33,958 INFO L462 AbstractCegarLoop]: Abstraction has 40 states and 42 transitions. [2019-11-28 02:46:33,958 INFO L463 AbstractCegarLoop]: Interpolant automaton has 9 states. [2019-11-28 02:46:33,958 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 42 transitions. [2019-11-28 02:46:33,959 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 30 [2019-11-28 02:46:33,959 INFO L402 BasicCegarLoop]: Found error trace [2019-11-28 02:46:33,959 INFO L410 BasicCegarLoop]: trace histogram [5, 5, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 02:46:34,167 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 5 z3 -smt2 -in SMTLIB2_COMPLIANT=true [2019-11-28 02:46:34,169 INFO L410 AbstractCegarLoop]: === Iteration 8 === [mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr5ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr4ASSERT_VIOLATIONMEMORY_FREE, mainErr1REQUIRES_VIOLATION]=== [2019-11-28 02:46:34,169 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 02:46:34,170 INFO L82 PathProgramCache]: Analyzing trace with hash -656098114, now seen corresponding path program 5 times [2019-11-28 02:46:34,170 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 02:46:34,172 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [794959257] [2019-11-28 02:46:34,173 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 02:46:34,187 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:34,301 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:34,306 INFO L134 CoverageAnalysis]: Checked inductivity of 45 backedges. 13 proven. 32 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 02:46:34,306 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [794959257] [2019-11-28 02:46:34,306 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [934241292] [2019-11-28 02:46:34,307 INFO L92 rtionOrderModulation]: Changing assertion order to INSIDE_LOOP_FIRST1 No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 Starting monitored process 6 with z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) Waiting until toolchain timeout for monitored process 6 with z3 -smt2 -in SMTLIB2_COMPLIANT=true [2019-11-28 02:46:34,358 INFO L249 tOrderPrioritization]: Assert order INSIDE_LOOP_FIRST1 issued 6 check-sat command(s) [2019-11-28 02:46:34,359 INFO L250 tOrderPrioritization]: Conjunction of SSA is unsat [2019-11-28 02:46:34,359 INFO L255 TraceCheckSpWp]: Trace formula consists of 91 conjuncts, 7 conjunts are in the unsatisfiable core [2019-11-28 02:46:34,362 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2019-11-28 02:46:34,470 INFO L134 CoverageAnalysis]: Checked inductivity of 45 backedges. 0 proven. 45 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2019-11-28 02:46:34,470 INFO L220 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2019-11-28 02:46:34,470 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [10, 8] total 16 [2019-11-28 02:46:34,471 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [318512015] [2019-11-28 02:46:34,471 INFO L442 AbstractCegarLoop]: Interpolant automaton has 16 states [2019-11-28 02:46:34,472 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 02:46:34,472 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 16 interpolants. [2019-11-28 02:46:34,472 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=87, Invalid=153, Unknown=0, NotChecked=0, Total=240 [2019-11-28 02:46:34,472 INFO L87 Difference]: Start difference. First operand 40 states and 42 transitions. Second operand 16 states. [2019-11-28 02:46:34,887 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 02:46:34,887 INFO L93 Difference]: Finished difference Result 55 states and 60 transitions. [2019-11-28 02:46:34,888 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 19 states. [2019-11-28 02:46:34,888 INFO L78 Accepts]: Start accepts. Automaton has 16 states. Word has length 29 [2019-11-28 02:46:34,888 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-28 02:46:34,891 INFO L225 Difference]: With dead ends: 55 [2019-11-28 02:46:34,891 INFO L226 Difference]: Without dead ends: 55 [2019-11-28 02:46:34,892 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 53 GetRequests, 29 SyntacticMatches, 0 SemanticMatches, 24 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 122 ImplicationChecksByTransitivity, 0.4s TimeCoverageRelationStatistics Valid=218, Invalid=432, Unknown=0, NotChecked=0, Total=650 [2019-11-28 02:46:34,893 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 55 states. [2019-11-28 02:46:34,898 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 55 to 55. [2019-11-28 02:46:34,898 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 55 states. [2019-11-28 02:46:34,899 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 55 states to 55 states and 60 transitions. [2019-11-28 02:46:34,900 INFO L78 Accepts]: Start accepts. Automaton has 55 states and 60 transitions. Word has length 29 [2019-11-28 02:46:34,900 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-28 02:46:34,900 INFO L462 AbstractCegarLoop]: Abstraction has 55 states and 60 transitions. [2019-11-28 02:46:34,901 INFO L463 AbstractCegarLoop]: Interpolant automaton has 16 states. [2019-11-28 02:46:34,901 INFO L276 IsEmpty]: Start isEmpty. Operand 55 states and 60 transitions. [2019-11-28 02:46:34,902 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 32 [2019-11-28 02:46:34,902 INFO L402 BasicCegarLoop]: Found error trace [2019-11-28 02:46:34,902 INFO L410 BasicCegarLoop]: trace histogram [6, 6, 5, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 02:46:35,106 WARN L499 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 6 z3 -smt2 -in SMTLIB2_COMPLIANT=true [2019-11-28 02:46:35,115 INFO L410 AbstractCegarLoop]: === Iteration 9 === [mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr5ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr4ASSERT_VIOLATIONMEMORY_FREE, mainErr1REQUIRES_VIOLATION]=== [2019-11-28 02:46:35,115 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 02:46:35,115 INFO L82 PathProgramCache]: Analyzing trace with hash 851171268, now seen corresponding path program 1 times [2019-11-28 02:46:35,116 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 02:46:35,116 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [317960235] [2019-11-28 02:46:35,116 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 02:46:35,132 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:35,173 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2019-11-28 02:46:35,183 INFO L134 CoverageAnalysis]: Checked inductivity of 55 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 55 trivial. 0 not checked. [2019-11-28 02:46:35,184 INFO L348 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [317960235] [2019-11-28 02:46:35,184 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2019-11-28 02:46:35,184 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2019-11-28 02:46:35,185 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [699788907] [2019-11-28 02:46:35,186 INFO L442 AbstractCegarLoop]: Interpolant automaton has 4 states [2019-11-28 02:46:35,187 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2019-11-28 02:46:35,187 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2019-11-28 02:46:35,188 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2019-11-28 02:46:35,188 INFO L87 Difference]: Start difference. First operand 55 states and 60 transitions. Second operand 4 states. [2019-11-28 02:46:35,224 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2019-11-28 02:46:35,224 INFO L93 Difference]: Finished difference Result 54 states and 59 transitions. [2019-11-28 02:46:35,224 INFO L142 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2019-11-28 02:46:35,225 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 31 [2019-11-28 02:46:35,225 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2019-11-28 02:46:35,226 INFO L225 Difference]: With dead ends: 54 [2019-11-28 02:46:35,226 INFO L226 Difference]: Without dead ends: 54 [2019-11-28 02:46:35,226 INFO L630 BasicCegarLoop]: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2019-11-28 02:46:35,226 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 54 states. [2019-11-28 02:46:35,229 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 54 to 54. [2019-11-28 02:46:35,230 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 54 states. [2019-11-28 02:46:35,231 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 54 states to 54 states and 59 transitions. [2019-11-28 02:46:35,231 INFO L78 Accepts]: Start accepts. Automaton has 54 states and 59 transitions. Word has length 31 [2019-11-28 02:46:35,231 INFO L84 Accepts]: Finished accepts. word is rejected. [2019-11-28 02:46:35,231 INFO L462 AbstractCegarLoop]: Abstraction has 54 states and 59 transitions. [2019-11-28 02:46:35,231 INFO L463 AbstractCegarLoop]: Interpolant automaton has 4 states. [2019-11-28 02:46:35,231 INFO L276 IsEmpty]: Start isEmpty. Operand 54 states and 59 transitions. [2019-11-28 02:46:35,232 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 36 [2019-11-28 02:46:35,232 INFO L402 BasicCegarLoop]: Found error trace [2019-11-28 02:46:35,232 INFO L410 BasicCegarLoop]: trace histogram [7, 6, 6, 5, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2019-11-28 02:46:35,233 INFO L410 AbstractCegarLoop]: === Iteration 10 === [mainErr3ASSERT_VIOLATIONMEMORY_FREE, mainErr2ASSERT_VIOLATIONMEMORY_FREE, mainErr5ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr4ASSERT_VIOLATIONMEMORY_FREE, mainErr1REQUIRES_VIOLATION]=== [2019-11-28 02:46:35,233 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2019-11-28 02:46:35,233 INFO L82 PathProgramCache]: Analyzing trace with hash 1037842699, now seen corresponding path program 1 times [2019-11-28 02:46:35,233 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2019-11-28 02:46:35,234 INFO L348 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [521871149] [2019-11-28 02:46:35,234 INFO L94 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2019-11-28 02:46:35,254 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 02:46:35,273 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2019-11-28 02:46:35,306 INFO L174 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2019-11-28 02:46:35,307 INFO L475 BasicCegarLoop]: Counterexample might be feasible [2019-11-28 02:46:35,367 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 28.11 02:46:35 BoogieIcfgContainer [2019-11-28 02:46:35,367 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2019-11-28 02:46:35,368 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2019-11-28 02:46:35,368 INFO L271 PluginConnector]: Initializing Witness Printer... [2019-11-28 02:46:35,368 INFO L275 PluginConnector]: Witness Printer initialized [2019-11-28 02:46:35,368 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 28.11 02:46:31" (3/4) ... [2019-11-28 02:46:35,371 INFO L131 WitnessPrinter]: Generating witness for reachability counterexample [2019-11-28 02:46:35,444 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2019-11-28 02:46:35,447 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2019-11-28 02:46:35,450 INFO L168 Benchmark]: Toolchain (without parser) took 4904.56 ms. Allocated memory was 1.0 GB in the beginning and 1.1 GB in the end (delta: 85.5 MB). Free memory was 960.4 MB in the beginning and 758.7 MB in the end (delta: 201.6 MB). Peak memory consumption was 287.1 MB. Max. memory is 11.5 GB. [2019-11-28 02:46:35,450 INFO L168 Benchmark]: CDTParser took 0.29 ms. Allocated memory is still 1.0 GB. Free memory is still 987.2 MB. There was no memory consumed. Max. memory is 11.5 GB. [2019-11-28 02:46:35,451 INFO L168 Benchmark]: CACSL2BoogieTranslator took 308.18 ms. Allocated memory is still 1.0 GB. Free memory was 960.4 MB in the beginning and 949.6 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. [2019-11-28 02:46:35,452 INFO L168 Benchmark]: Boogie Preprocessor took 109.76 ms. Allocated memory was 1.0 GB in the beginning and 1.1 GB in the end (delta: 85.5 MB). Free memory was 949.6 MB in the beginning and 1.1 GB in the end (delta: -124.9 MB). Peak memory consumption was 9.6 MB. Max. memory is 11.5 GB. [2019-11-28 02:46:35,454 INFO L168 Benchmark]: RCFGBuilder took 313.50 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 14.2 MB). Peak memory consumption was 14.2 MB. Max. memory is 11.5 GB. [2019-11-28 02:46:35,457 INFO L168 Benchmark]: TraceAbstraction took 4087.95 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 758.7 MB in the end (delta: 301.5 MB). Peak memory consumption was 301.5 MB. Max. memory is 11.5 GB. [2019-11-28 02:46:35,458 INFO L168 Benchmark]: Witness Printer took 79.67 ms. Allocated memory is still 1.1 GB. Free memory is still 758.7 MB. There was no memory consumed. Max. memory is 11.5 GB. [2019-11-28 02:46:35,466 INFO L335 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.29 ms. Allocated memory is still 1.0 GB. Free memory is still 987.2 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 308.18 ms. Allocated memory is still 1.0 GB. Free memory was 960.4 MB in the beginning and 949.6 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 109.76 ms. Allocated memory was 1.0 GB in the beginning and 1.1 GB in the end (delta: 85.5 MB). Free memory was 949.6 MB in the beginning and 1.1 GB in the end (delta: -124.9 MB). Peak memory consumption was 9.6 MB. Max. memory is 11.5 GB. * RCFGBuilder took 313.50 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 14.2 MB). Peak memory consumption was 14.2 MB. Max. memory is 11.5 GB. * TraceAbstraction took 4087.95 ms. Allocated memory is still 1.1 GB. Free memory was 1.1 GB in the beginning and 758.7 MB in the end (delta: 301.5 MB). Peak memory consumption was 301.5 MB. Max. memory is 11.5 GB. * Witness Printer took 79.67 ms. Allocated memory is still 1.1 GB. Free memory is still 758.7 MB. There was no memory consumed. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - CounterExampleResult [Line: 9]: pointer dereference may fail pointer dereference may fail We found a FailurePath: [L6] int* p = malloc(10 * sizeof(int)); [L8] int i = 0; VAL [i=0, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L8] COND TRUE i < 10 VAL [i=0, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L9] p[i] = 1 VAL [i=0, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L10] COND FALSE !(i == 5) VAL [i=0, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L8] i++ VAL [i=1, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L8] COND TRUE i < 10 VAL [i=1, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L9] p[i] = 1 VAL [i=1, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L10] COND FALSE !(i == 5) VAL [i=1, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L8] i++ VAL [i=2, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L8] COND TRUE i < 10 VAL [i=2, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L9] p[i] = 1 VAL [i=2, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L10] COND FALSE !(i == 5) VAL [i=2, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L8] i++ VAL [i=3, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L8] COND TRUE i < 10 VAL [i=3, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L9] p[i] = 1 VAL [i=3, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L10] COND FALSE !(i == 5) VAL [i=3, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L8] i++ VAL [i=4, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L8] COND TRUE i < 10 VAL [i=4, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L9] p[i] = 1 VAL [i=4, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L10] COND FALSE !(i == 5) VAL [i=4, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L8] i++ VAL [i=5, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L8] COND TRUE i < 10 VAL [i=5, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L9] p[i] = 1 VAL [i=5, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L10] COND TRUE i == 5 VAL [i=5, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L11] free(p) VAL [i=5, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L11] free(p) VAL [i=5, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L11] free(p) [L8] i++ VAL [i=6, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L8] COND TRUE i < 10 VAL [i=6, malloc(10 * sizeof(int))={2:0}, p={2:0}] [L9] p[i] = 1 - StatisticsResult: Ultimate Automizer benchmark data CFG has 3 procedures, 24 locations, 6 error locations. Result: UNSAFE, OverallTime: 3.9s, OverallIterations: 10, TraceHistogramMax: 7, AutomataDifference: 1.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, HoareTripleCheckerStatistics: 112 SDtfs, 176 SDslu, 252 SDs, 0 SdLazy, 421 SolverSat, 47 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.5s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 175 GetRequests, 117 SyntacticMatches, 1 SemanticMatches, 57 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 147 ImplicationChecksByTransitivity, 0.8s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=55occurred in iteration=8, 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, 9 MinimizatonAttempts, 11 StatesRemovedByMinimization, 7 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 1.0s InterpolantComputationTime, 304 NumberOfCodeBlocks, 304 NumberOfCodeBlocksAsserted, 25 NumberOfCheckSat, 255 ConstructedInterpolants, 0 QuantifiedInterpolants, 18153 SizeOfPredicates, 5 NumberOfNonLiveVariables, 365 ConjunctsInSsa, 25 ConjunctsInUnsatCore, 14 InterpolantComputations, 4 PerfectInterpolantSequences, 70/247 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate proved your program to be incorrect! Received shutdown request...