./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/ldv-memsafety/memsetNonZero.c --full-output -ea --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 8bd4bc60 Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx12G -Xms1G -ea -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/ldv-memsafety/memsetNonZero.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 053e01a2cec6b58c9d93ee902fbde2c977d3366f .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................... Execution finished normally Writing output log to file Ultimate.log Result: TRUE --- Real Ultimate output --- This is Ultimate 0.1.25-8bd4bc6 [2020-07-29 01:07:10,828 INFO L177 SettingsManager]: Resetting all preferences to default values... [2020-07-29 01:07:10,830 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2020-07-29 01:07:10,843 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2020-07-29 01:07:10,843 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2020-07-29 01:07:10,845 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2020-07-29 01:07:10,846 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2020-07-29 01:07:10,849 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2020-07-29 01:07:10,850 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2020-07-29 01:07:10,852 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2020-07-29 01:07:10,853 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2020-07-29 01:07:10,854 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2020-07-29 01:07:10,855 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2020-07-29 01:07:10,856 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2020-07-29 01:07:10,857 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2020-07-29 01:07:10,858 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2020-07-29 01:07:10,859 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2020-07-29 01:07:10,861 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2020-07-29 01:07:10,862 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2020-07-29 01:07:10,864 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2020-07-29 01:07:10,866 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2020-07-29 01:07:10,867 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2020-07-29 01:07:10,869 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2020-07-29 01:07:10,869 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2020-07-29 01:07:10,872 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2020-07-29 01:07:10,873 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2020-07-29 01:07:10,873 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2020-07-29 01:07:10,874 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2020-07-29 01:07:10,874 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2020-07-29 01:07:10,875 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2020-07-29 01:07:10,876 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2020-07-29 01:07:10,877 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2020-07-29 01:07:10,877 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2020-07-29 01:07:10,878 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2020-07-29 01:07:10,879 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2020-07-29 01:07:10,880 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2020-07-29 01:07:10,881 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2020-07-29 01:07:10,881 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2020-07-29 01:07:10,881 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2020-07-29 01:07:10,882 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2020-07-29 01:07:10,883 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2020-07-29 01:07:10,884 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2020-07-29 01:07:10,899 INFO L113 SettingsManager]: Loading preferences was successful [2020-07-29 01:07:10,899 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2020-07-29 01:07:10,900 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2020-07-29 01:07:10,901 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2020-07-29 01:07:10,901 INFO L138 SettingsManager]: * Use SBE=true [2020-07-29 01:07:10,901 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2020-07-29 01:07:10,902 INFO L138 SettingsManager]: * sizeof long=4 [2020-07-29 01:07:10,902 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2020-07-29 01:07:10,902 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2020-07-29 01:07:10,903 INFO L138 SettingsManager]: * sizeof POINTER=4 [2020-07-29 01:07:10,903 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2020-07-29 01:07:10,903 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2020-07-29 01:07:10,903 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2020-07-29 01:07:10,904 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2020-07-29 01:07:10,904 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2020-07-29 01:07:10,904 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2020-07-29 01:07:10,905 INFO L138 SettingsManager]: * sizeof long double=12 [2020-07-29 01:07:10,905 INFO L138 SettingsManager]: * Use constant arrays=true [2020-07-29 01:07:10,905 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2020-07-29 01:07:10,905 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2020-07-29 01:07:10,906 INFO L138 SettingsManager]: * To the following directory=./dump/ [2020-07-29 01:07:10,906 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2020-07-29 01:07:10,906 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2020-07-29 01:07:10,907 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2020-07-29 01:07:10,907 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2020-07-29 01:07:10,907 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2020-07-29 01:07:10,907 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2020-07-29 01:07:10,908 INFO L138 SettingsManager]: * Trace refinement exception blacklist=NONE [2020-07-29 01:07:10,908 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 -> 053e01a2cec6b58c9d93ee902fbde2c977d3366f [2020-07-29 01:07:11,231 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2020-07-29 01:07:11,244 INFO L258 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2020-07-29 01:07:11,247 INFO L214 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2020-07-29 01:07:11,249 INFO L271 PluginConnector]: Initializing CDTParser... [2020-07-29 01:07:11,249 INFO L275 PluginConnector]: CDTParser initialized [2020-07-29 01:07:11,250 INFO L429 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/ldv-memsafety/memsetNonZero.c [2020-07-29 01:07:11,322 INFO L220 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4d75da08f/d6d71f7e6f4a48efb3137168eaef2ef4/FLAGb50bf74c0 [2020-07-29 01:07:11,780 INFO L306 CDTParser]: Found 1 translation units. [2020-07-29 01:07:11,781 INFO L160 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/ldv-memsafety/memsetNonZero.c [2020-07-29 01:07:11,786 INFO L349 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4d75da08f/d6d71f7e6f4a48efb3137168eaef2ef4/FLAGb50bf74c0 [2020-07-29 01:07:12,150 INFO L357 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/4d75da08f/d6d71f7e6f4a48efb3137168eaef2ef4 [2020-07-29 01:07:12,153 INFO L296 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2020-07-29 01:07:12,155 INFO L131 ToolchainWalker]: Walking toolchain with 5 elements. [2020-07-29 01:07:12,156 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2020-07-29 01:07:12,157 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2020-07-29 01:07:12,160 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2020-07-29 01:07:12,162 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.07 01:07:12" (1/1) ... [2020-07-29 01:07:12,165 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2c75c34 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.07 01:07:12, skipping insertion in model container [2020-07-29 01:07:12,166 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.07 01:07:12" (1/1) ... [2020-07-29 01:07:12,174 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2020-07-29 01:07:12,195 INFO L178 MainTranslator]: Built tables and reachable declarations [2020-07-29 01:07:12,362 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-07-29 01:07:12,374 INFO L203 MainTranslator]: Completed pre-run [2020-07-29 01:07:12,399 INFO L206 PostProcessor]: Analyzing one entry point: main [2020-07-29 01:07:12,418 INFO L208 MainTranslator]: Completed translation [2020-07-29 01:07:12,419 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.07 01:07:12 WrapperNode [2020-07-29 01:07:12,419 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2020-07-29 01:07:12,420 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2020-07-29 01:07:12,420 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2020-07-29 01:07:12,421 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2020-07-29 01:07:12,435 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.07 01:07:12" (1/1) ... [2020-07-29 01:07:12,436 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.07 01:07:12" (1/1) ... [2020-07-29 01:07:12,503 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.07 01:07:12" (1/1) ... [2020-07-29 01:07:12,505 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.07 01:07:12" (1/1) ... [2020-07-29 01:07:12,513 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.07 01:07:12" (1/1) ... [2020-07-29 01:07:12,517 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.07 01:07:12" (1/1) ... [2020-07-29 01:07:12,518 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.07 01:07:12" (1/1) ... [2020-07-29 01:07:12,520 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2020-07-29 01:07:12,520 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2020-07-29 01:07:12,520 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2020-07-29 01:07:12,521 INFO L275 PluginConnector]: RCFGBuilder initialized [2020-07-29 01:07:12,522 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.07 01:07:12" (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-07-29 01:07:12,580 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.init [2020-07-29 01:07:12,580 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2020-07-29 01:07:12,580 INFO L138 BoogieDeclarations]: Found implementation of procedure main [2020-07-29 01:07:12,581 INFO L138 BoogieDeclarations]: Found implementation of procedure #Ultimate.C_memset [2020-07-29 01:07:12,581 INFO L130 BoogieDeclarations]: Found specification of procedure memset [2020-07-29 01:07:12,581 INFO L130 BoogieDeclarations]: Found specification of procedure main [2020-07-29 01:07:12,581 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2020-07-29 01:07:12,581 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.C_memset [2020-07-29 01:07:12,582 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2020-07-29 01:07:12,582 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.init [2020-07-29 01:07:12,582 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2020-07-29 01:07:12,719 WARN L775 $ProcedureCfgBuilder]: Label in the middle of a codeblock. [2020-07-29 01:07:12,835 INFO L290 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2020-07-29 01:07:12,835 INFO L295 CfgBuilder]: Removed 0 assume(true) statements. [2020-07-29 01:07:12,840 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.07 01:07:12 BoogieIcfgContainer [2020-07-29 01:07:12,841 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2020-07-29 01:07:12,843 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2020-07-29 01:07:12,843 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2020-07-29 01:07:12,846 INFO L275 PluginConnector]: TraceAbstraction initialized [2020-07-29 01:07:12,847 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.07 01:07:12" (1/3) ... [2020-07-29 01:07:12,848 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2561e6d8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.07 01:07:12, skipping insertion in model container [2020-07-29 01:07:12,848 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.07 01:07:12" (2/3) ... [2020-07-29 01:07:12,848 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2561e6d8 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.07 01:07:12, skipping insertion in model container [2020-07-29 01:07:12,849 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.07 01:07:12" (3/3) ... [2020-07-29 01:07:12,850 INFO L109 eAbstractionObserver]: Analyzing ICFG memsetNonZero.c [2020-07-29 01:07:12,863 INFO L157 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2020-07-29 01:07:12,872 INFO L169 ceAbstractionStarter]: Appying trace abstraction to program that has 3 error locations. [2020-07-29 01:07:12,890 INFO L251 AbstractCegarLoop]: Starting to check reachability of 3 error locations. [2020-07-29 01:07:12,915 INFO L375 AbstractCegarLoop]: Interprodecural is true [2020-07-29 01:07:12,916 INFO L376 AbstractCegarLoop]: Hoare is false [2020-07-29 01:07:12,918 INFO L377 AbstractCegarLoop]: Compute interpolants for FPandBP [2020-07-29 01:07:12,919 INFO L378 AbstractCegarLoop]: Backedges is STRAIGHT_LINE [2020-07-29 01:07:12,919 INFO L379 AbstractCegarLoop]: Determinization is PREDICATE_ABSTRACTION [2020-07-29 01:07:12,919 INFO L380 AbstractCegarLoop]: Difference is false [2020-07-29 01:07:12,919 INFO L381 AbstractCegarLoop]: Minimize is MINIMIZE_SEVPA [2020-07-29 01:07:12,920 INFO L385 AbstractCegarLoop]: ======== Iteration 0==of CEGAR loop == AllErrorsAtOnce======== [2020-07-29 01:07:12,944 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states. [2020-07-29 01:07:12,959 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2020-07-29 01:07:12,960 INFO L414 BasicCegarLoop]: Found error trace [2020-07-29 01:07:12,961 INFO L422 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1] [2020-07-29 01:07:12,961 INFO L427 AbstractCegarLoop]: === Iteration 1 === [mainErr2ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION]=== [2020-07-29 01:07:12,968 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-07-29 01:07:12,969 INFO L82 PathProgramCache]: Analyzing trace with hash -1092847368, now seen corresponding path program 1 times [2020-07-29 01:07:12,981 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-07-29 01:07:12,981 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1589482709] [2020-07-29 01:07:12,981 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-07-29 01:07:13,067 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-29 01:07:13,178 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2020-07-29 01:07:13,181 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-29 01:07:13,200 INFO L280 TraceCheckUtils]: 0: Hoare triple {29#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; {23#true} is VALID [2020-07-29 01:07:13,201 INFO L280 TraceCheckUtils]: 1: Hoare triple {23#true} assume true; {23#true} is VALID [2020-07-29 01:07:13,201 INFO L275 TraceCheckUtils]: 2: Hoare quadruple {23#true} {23#true} #22#return; {23#true} is VALID [2020-07-29 01:07:13,204 INFO L263 TraceCheckUtils]: 0: Hoare triple {23#true} call ULTIMATE.init(); {29#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} is VALID [2020-07-29 01:07:13,205 INFO L280 TraceCheckUtils]: 1: Hoare triple {29#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; {23#true} is VALID [2020-07-29 01:07:13,205 INFO L280 TraceCheckUtils]: 2: Hoare triple {23#true} assume true; {23#true} is VALID [2020-07-29 01:07:13,205 INFO L275 TraceCheckUtils]: 3: Hoare quadruple {23#true} {23#true} #22#return; {23#true} is VALID [2020-07-29 01:07:13,206 INFO L263 TraceCheckUtils]: 4: Hoare triple {23#true} call #t~ret4 := main(); {23#true} is VALID [2020-07-29 01:07:13,209 INFO L280 TraceCheckUtils]: 5: Hoare triple {23#true} call ~#cstats~0.base, ~#cstats~0.offset := #Ultimate.allocOnStack(80); {28#(= 1 (select |#valid| |main_~#cstats~0.base|))} is VALID [2020-07-29 01:07:13,209 INFO L280 TraceCheckUtils]: 6: Hoare triple {28#(= 1 (select |#valid| |main_~#cstats~0.base|))} assume !(1 == #valid[~#cstats~0.base]); {24#false} is VALID [2020-07-29 01:07:13,210 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-07-29 01:07:13,211 INFO L354 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1589482709] [2020-07-29 01:07:13,212 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-07-29 01:07:13,212 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-07-29 01:07:13,213 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [99802098] [2020-07-29 01:07:13,219 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 7 [2020-07-29 01:07:13,222 INFO L84 Accepts]: Finished accepts. word is accepted. [2020-07-29 01:07:13,226 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 4 states. [2020-07-29 01:07:13,248 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 7 edges. 7 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2020-07-29 01:07:13,249 INFO L459 AbstractCegarLoop]: Interpolant automaton has 4 states [2020-07-29 01:07:13,249 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-07-29 01:07:13,259 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2020-07-29 01:07:13,260 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2020-07-29 01:07:13,262 INFO L87 Difference]: Start difference. First operand 20 states. Second operand 4 states. [2020-07-29 01:07:13,415 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-29 01:07:13,415 INFO L93 Difference]: Finished difference Result 19 states and 19 transitions. [2020-07-29 01:07:13,415 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2020-07-29 01:07:13,416 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 7 [2020-07-29 01:07:13,416 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2020-07-29 01:07:13,417 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2020-07-29 01:07:13,430 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 20 transitions. [2020-07-29 01:07:13,430 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2020-07-29 01:07:13,433 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 20 transitions. [2020-07-29 01:07:13,434 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 4 states and 20 transitions. [2020-07-29 01:07:13,473 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 20 edges. 20 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2020-07-29 01:07:13,484 INFO L225 Difference]: With dead ends: 19 [2020-07-29 01:07:13,484 INFO L226 Difference]: Without dead ends: 16 [2020-07-29 01:07:13,487 INFO L675 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 [2020-07-29 01:07:13,506 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 16 states. [2020-07-29 01:07:13,519 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 16 to 16. [2020-07-29 01:07:13,519 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2020-07-29 01:07:13,520 INFO L82 GeneralOperation]: Start isEquivalent. First operand 16 states. Second operand 16 states. [2020-07-29 01:07:13,520 INFO L74 IsIncluded]: Start isIncluded. First operand 16 states. Second operand 16 states. [2020-07-29 01:07:13,521 INFO L87 Difference]: Start difference. First operand 16 states. Second operand 16 states. [2020-07-29 01:07:13,524 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-29 01:07:13,524 INFO L93 Difference]: Finished difference Result 16 states and 16 transitions. [2020-07-29 01:07:13,524 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 16 transitions. [2020-07-29 01:07:13,525 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2020-07-29 01:07:13,525 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2020-07-29 01:07:13,525 INFO L74 IsIncluded]: Start isIncluded. First operand 16 states. Second operand 16 states. [2020-07-29 01:07:13,525 INFO L87 Difference]: Start difference. First operand 16 states. Second operand 16 states. [2020-07-29 01:07:13,529 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-29 01:07:13,529 INFO L93 Difference]: Finished difference Result 16 states and 16 transitions. [2020-07-29 01:07:13,529 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 16 transitions. [2020-07-29 01:07:13,530 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2020-07-29 01:07:13,530 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2020-07-29 01:07:13,530 INFO L88 GeneralOperation]: Finished isEquivalent. [2020-07-29 01:07:13,530 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2020-07-29 01:07:13,531 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 16 states. [2020-07-29 01:07:13,533 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 16 states to 16 states and 16 transitions. [2020-07-29 01:07:13,534 INFO L78 Accepts]: Start accepts. Automaton has 16 states and 16 transitions. Word has length 7 [2020-07-29 01:07:13,534 INFO L84 Accepts]: Finished accepts. word is rejected. [2020-07-29 01:07:13,534 INFO L479 AbstractCegarLoop]: Abstraction has 16 states and 16 transitions. [2020-07-29 01:07:13,535 INFO L480 AbstractCegarLoop]: Interpolant automaton has 4 states. [2020-07-29 01:07:13,535 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 16 transitions. [2020-07-29 01:07:13,535 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 8 [2020-07-29 01:07:13,535 INFO L414 BasicCegarLoop]: Found error trace [2020-07-29 01:07:13,535 INFO L422 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1] [2020-07-29 01:07:13,536 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2020-07-29 01:07:13,536 INFO L427 AbstractCegarLoop]: === Iteration 2 === [mainErr2ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION]=== [2020-07-29 01:07:13,536 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-07-29 01:07:13,536 INFO L82 PathProgramCache]: Analyzing trace with hash -1092847367, now seen corresponding path program 1 times [2020-07-29 01:07:13,537 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-07-29 01:07:13,537 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [842205648] [2020-07-29 01:07:13,537 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-07-29 01:07:13,553 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-29 01:07:13,631 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2020-07-29 01:07:13,633 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-29 01:07:13,640 INFO L280 TraceCheckUtils]: 0: Hoare triple {105#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; {99#true} is VALID [2020-07-29 01:07:13,640 INFO L280 TraceCheckUtils]: 1: Hoare triple {99#true} assume true; {99#true} is VALID [2020-07-29 01:07:13,641 INFO L275 TraceCheckUtils]: 2: Hoare quadruple {99#true} {99#true} #22#return; {99#true} is VALID [2020-07-29 01:07:13,642 INFO L263 TraceCheckUtils]: 0: Hoare triple {99#true} call ULTIMATE.init(); {105#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} is VALID [2020-07-29 01:07:13,642 INFO L280 TraceCheckUtils]: 1: Hoare triple {105#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; {99#true} is VALID [2020-07-29 01:07:13,643 INFO L280 TraceCheckUtils]: 2: Hoare triple {99#true} assume true; {99#true} is VALID [2020-07-29 01:07:13,643 INFO L275 TraceCheckUtils]: 3: Hoare quadruple {99#true} {99#true} #22#return; {99#true} is VALID [2020-07-29 01:07:13,643 INFO L263 TraceCheckUtils]: 4: Hoare triple {99#true} call #t~ret4 := main(); {99#true} is VALID [2020-07-29 01:07:13,645 INFO L280 TraceCheckUtils]: 5: Hoare triple {99#true} call ~#cstats~0.base, ~#cstats~0.offset := #Ultimate.allocOnStack(80); {104#(and (= 0 |main_~#cstats~0.offset|) (= 80 (select |#length| |main_~#cstats~0.base|)))} is VALID [2020-07-29 01:07:13,647 INFO L280 TraceCheckUtils]: 6: Hoare triple {104#(and (= 0 |main_~#cstats~0.offset|) (= 80 (select |#length| |main_~#cstats~0.base|)))} assume !(80 + ~#cstats~0.offset <= #length[~#cstats~0.base] && 0 <= ~#cstats~0.offset); {100#false} is VALID [2020-07-29 01:07:13,648 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-07-29 01:07:13,648 INFO L354 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [842205648] [2020-07-29 01:07:13,648 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-07-29 01:07:13,649 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2020-07-29 01:07:13,649 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [399189427] [2020-07-29 01:07:13,651 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 7 [2020-07-29 01:07:13,651 INFO L84 Accepts]: Finished accepts. word is accepted. [2020-07-29 01:07:13,651 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 4 states. [2020-07-29 01:07:13,664 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 7 edges. 7 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2020-07-29 01:07:13,665 INFO L459 AbstractCegarLoop]: Interpolant automaton has 4 states [2020-07-29 01:07:13,665 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-07-29 01:07:13,666 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2020-07-29 01:07:13,666 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2020-07-29 01:07:13,666 INFO L87 Difference]: Start difference. First operand 16 states and 16 transitions. Second operand 4 states. [2020-07-29 01:07:13,755 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-29 01:07:13,755 INFO L93 Difference]: Finished difference Result 15 states and 15 transitions. [2020-07-29 01:07:13,756 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2020-07-29 01:07:13,756 INFO L78 Accepts]: Start accepts. Automaton has 4 states. Word has length 7 [2020-07-29 01:07:13,756 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2020-07-29 01:07:13,756 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2020-07-29 01:07:13,759 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 16 transitions. [2020-07-29 01:07:13,759 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2020-07-29 01:07:13,762 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 16 transitions. [2020-07-29 01:07:13,762 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 4 states and 16 transitions. [2020-07-29 01:07:13,792 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 16 edges. 16 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2020-07-29 01:07:13,794 INFO L225 Difference]: With dead ends: 15 [2020-07-29 01:07:13,794 INFO L226 Difference]: Without dead ends: 15 [2020-07-29 01:07:13,795 INFO L675 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 [2020-07-29 01:07:13,795 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 15 states. [2020-07-29 01:07:13,798 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 15 to 15. [2020-07-29 01:07:13,798 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2020-07-29 01:07:13,798 INFO L82 GeneralOperation]: Start isEquivalent. First operand 15 states. Second operand 15 states. [2020-07-29 01:07:13,799 INFO L74 IsIncluded]: Start isIncluded. First operand 15 states. Second operand 15 states. [2020-07-29 01:07:13,799 INFO L87 Difference]: Start difference. First operand 15 states. Second operand 15 states. [2020-07-29 01:07:13,801 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-29 01:07:13,801 INFO L93 Difference]: Finished difference Result 15 states and 15 transitions. [2020-07-29 01:07:13,802 INFO L276 IsEmpty]: Start isEmpty. Operand 15 states and 15 transitions. [2020-07-29 01:07:13,802 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2020-07-29 01:07:13,802 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2020-07-29 01:07:13,803 INFO L74 IsIncluded]: Start isIncluded. First operand 15 states. Second operand 15 states. [2020-07-29 01:07:13,803 INFO L87 Difference]: Start difference. First operand 15 states. Second operand 15 states. [2020-07-29 01:07:13,805 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-29 01:07:13,805 INFO L93 Difference]: Finished difference Result 15 states and 15 transitions. [2020-07-29 01:07:13,806 INFO L276 IsEmpty]: Start isEmpty. Operand 15 states and 15 transitions. [2020-07-29 01:07:13,806 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2020-07-29 01:07:13,806 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2020-07-29 01:07:13,807 INFO L88 GeneralOperation]: Finished isEquivalent. [2020-07-29 01:07:13,807 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2020-07-29 01:07:13,807 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 15 states. [2020-07-29 01:07:13,809 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 15 states and 15 transitions. [2020-07-29 01:07:13,809 INFO L78 Accepts]: Start accepts. Automaton has 15 states and 15 transitions. Word has length 7 [2020-07-29 01:07:13,810 INFO L84 Accepts]: Finished accepts. word is rejected. [2020-07-29 01:07:13,810 INFO L479 AbstractCegarLoop]: Abstraction has 15 states and 15 transitions. [2020-07-29 01:07:13,810 INFO L480 AbstractCegarLoop]: Interpolant automaton has 4 states. [2020-07-29 01:07:13,810 INFO L276 IsEmpty]: Start isEmpty. Operand 15 states and 15 transitions. [2020-07-29 01:07:13,811 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2020-07-29 01:07:13,811 INFO L414 BasicCegarLoop]: Found error trace [2020-07-29 01:07:13,812 INFO L422 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-07-29 01:07:13,812 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2020-07-29 01:07:13,812 INFO L427 AbstractCegarLoop]: === Iteration 3 === [mainErr2ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION]=== [2020-07-29 01:07:13,813 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-07-29 01:07:13,813 INFO L82 PathProgramCache]: Analyzing trace with hash 1462327129, now seen corresponding path program 1 times [2020-07-29 01:07:13,813 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-07-29 01:07:13,814 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [975352759] [2020-07-29 01:07:13,814 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-07-29 01:07:13,830 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-29 01:07:13,865 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2020-07-29 01:07:13,867 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-29 01:07:13,874 INFO L280 TraceCheckUtils]: 0: Hoare triple {178#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; {168#true} is VALID [2020-07-29 01:07:13,874 INFO L280 TraceCheckUtils]: 1: Hoare triple {168#true} assume true; {168#true} is VALID [2020-07-29 01:07:13,874 INFO L275 TraceCheckUtils]: 2: Hoare quadruple {168#true} {168#true} #22#return; {168#true} is VALID [2020-07-29 01:07:13,875 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 6 [2020-07-29 01:07:13,884 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-29 01:07:13,928 INFO L280 TraceCheckUtils]: 0: Hoare triple {168#true} assume 1 == #valid[#ptr.base];assume #amount + #ptr.offset <= #length[#ptr.base] && 0 <= #ptr.offset; {168#true} is VALID [2020-07-29 01:07:13,929 INFO L280 TraceCheckUtils]: 1: Hoare triple {168#true} #t~loopctr5 := 0; {179#(<= |#Ultimate.C_memset_#t~loopctr5| 0)} is VALID [2020-07-29 01:07:13,931 INFO L280 TraceCheckUtils]: 2: Hoare triple {179#(<= |#Ultimate.C_memset_#t~loopctr5| 0)} assume !(#t~loopctr5 < #amount); {180#(<= |#Ultimate.C_memset_#amount| 0)} is VALID [2020-07-29 01:07:13,932 INFO L280 TraceCheckUtils]: 3: Hoare triple {180#(<= |#Ultimate.C_memset_#amount| 0)} assume #res.base == #ptr.base && #res.offset == #ptr.offset; {180#(<= |#Ultimate.C_memset_#amount| 0)} is VALID [2020-07-29 01:07:13,934 INFO L275 TraceCheckUtils]: 4: Hoare quadruple {180#(<= |#Ultimate.C_memset_#amount| 0)} {168#true} #26#return; {169#false} is VALID [2020-07-29 01:07:13,936 INFO L263 TraceCheckUtils]: 0: Hoare triple {168#true} call ULTIMATE.init(); {178#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} is VALID [2020-07-29 01:07:13,936 INFO L280 TraceCheckUtils]: 1: Hoare triple {178#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; {168#true} is VALID [2020-07-29 01:07:13,936 INFO L280 TraceCheckUtils]: 2: Hoare triple {168#true} assume true; {168#true} is VALID [2020-07-29 01:07:13,937 INFO L275 TraceCheckUtils]: 3: Hoare quadruple {168#true} {168#true} #22#return; {168#true} is VALID [2020-07-29 01:07:13,937 INFO L263 TraceCheckUtils]: 4: Hoare triple {168#true} call #t~ret4 := main(); {168#true} is VALID [2020-07-29 01:07:13,938 INFO L280 TraceCheckUtils]: 5: Hoare triple {168#true} call ~#cstats~0.base, ~#cstats~0.offset := #Ultimate.allocOnStack(80); {168#true} is VALID [2020-07-29 01:07:13,938 INFO L263 TraceCheckUtils]: 6: Hoare triple {168#true} call #t~memset~res3.base, #t~memset~res3.offset := #Ultimate.C_memset(~#cstats~0.base, ~#cstats~0.offset, 10, 80); {168#true} is VALID [2020-07-29 01:07:13,938 INFO L280 TraceCheckUtils]: 7: Hoare triple {168#true} assume 1 == #valid[#ptr.base];assume #amount + #ptr.offset <= #length[#ptr.base] && 0 <= #ptr.offset; {168#true} is VALID [2020-07-29 01:07:13,940 INFO L280 TraceCheckUtils]: 8: Hoare triple {168#true} #t~loopctr5 := 0; {179#(<= |#Ultimate.C_memset_#t~loopctr5| 0)} is VALID [2020-07-29 01:07:13,942 INFO L280 TraceCheckUtils]: 9: Hoare triple {179#(<= |#Ultimate.C_memset_#t~loopctr5| 0)} assume !(#t~loopctr5 < #amount); {180#(<= |#Ultimate.C_memset_#amount| 0)} is VALID [2020-07-29 01:07:13,943 INFO L280 TraceCheckUtils]: 10: Hoare triple {180#(<= |#Ultimate.C_memset_#amount| 0)} assume #res.base == #ptr.base && #res.offset == #ptr.offset; {180#(<= |#Ultimate.C_memset_#amount| 0)} is VALID [2020-07-29 01:07:13,946 INFO L275 TraceCheckUtils]: 11: Hoare quadruple {180#(<= |#Ultimate.C_memset_#amount| 0)} {168#true} #26#return; {169#false} is VALID [2020-07-29 01:07:13,946 INFO L280 TraceCheckUtils]: 12: Hoare triple {169#false} havoc #t~memset~res3.base, #t~memset~res3.offset;#res := 0;call ULTIMATE.dealloc(~#cstats~0.base, ~#cstats~0.offset);havoc ~#cstats~0.base, ~#cstats~0.offset; {169#false} is VALID [2020-07-29 01:07:13,946 INFO L280 TraceCheckUtils]: 13: Hoare triple {169#false} assume !(#valid == old(#valid)); {169#false} is VALID [2020-07-29 01:07:13,948 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-07-29 01:07:13,948 INFO L354 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [975352759] [2020-07-29 01:07:13,949 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 0 imperfect interpolant sequences. [2020-07-29 01:07:13,949 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [] total 5 [2020-07-29 01:07:13,949 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1313123307] [2020-07-29 01:07:13,950 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 14 [2020-07-29 01:07:13,950 INFO L84 Accepts]: Finished accepts. word is accepted. [2020-07-29 01:07:13,950 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 5 states. [2020-07-29 01:07:13,975 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 14 edges. 14 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2020-07-29 01:07:13,975 INFO L459 AbstractCegarLoop]: Interpolant automaton has 5 states [2020-07-29 01:07:13,975 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-07-29 01:07:13,976 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2020-07-29 01:07:13,976 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2020-07-29 01:07:13,977 INFO L87 Difference]: Start difference. First operand 15 states and 15 transitions. Second operand 5 states. [2020-07-29 01:07:14,128 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-29 01:07:14,128 INFO L93 Difference]: Finished difference Result 18 states and 18 transitions. [2020-07-29 01:07:14,128 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2020-07-29 01:07:14,128 INFO L78 Accepts]: Start accepts. Automaton has 5 states. Word has length 14 [2020-07-29 01:07:14,128 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2020-07-29 01:07:14,129 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2020-07-29 01:07:14,131 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 19 transitions. [2020-07-29 01:07:14,131 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2020-07-29 01:07:14,133 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 19 transitions. [2020-07-29 01:07:14,133 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 5 states and 19 transitions. [2020-07-29 01:07:14,163 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 19 edges. 19 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2020-07-29 01:07:14,164 INFO L225 Difference]: With dead ends: 18 [2020-07-29 01:07:14,164 INFO L226 Difference]: Without dead ends: 16 [2020-07-29 01:07:14,165 INFO L675 BasicCegarLoop]: 0 DeclaredPredicates, 10 GetRequests, 5 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=17, Invalid=25, Unknown=0, NotChecked=0, Total=42 [2020-07-29 01:07:14,166 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 16 states. [2020-07-29 01:07:14,168 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 16 to 16. [2020-07-29 01:07:14,168 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2020-07-29 01:07:14,168 INFO L82 GeneralOperation]: Start isEquivalent. First operand 16 states. Second operand 16 states. [2020-07-29 01:07:14,168 INFO L74 IsIncluded]: Start isIncluded. First operand 16 states. Second operand 16 states. [2020-07-29 01:07:14,169 INFO L87 Difference]: Start difference. First operand 16 states. Second operand 16 states. [2020-07-29 01:07:14,170 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-29 01:07:14,171 INFO L93 Difference]: Finished difference Result 16 states and 16 transitions. [2020-07-29 01:07:14,171 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 16 transitions. [2020-07-29 01:07:14,171 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2020-07-29 01:07:14,172 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2020-07-29 01:07:14,172 INFO L74 IsIncluded]: Start isIncluded. First operand 16 states. Second operand 16 states. [2020-07-29 01:07:14,172 INFO L87 Difference]: Start difference. First operand 16 states. Second operand 16 states. [2020-07-29 01:07:14,174 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-29 01:07:14,174 INFO L93 Difference]: Finished difference Result 16 states and 16 transitions. [2020-07-29 01:07:14,175 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 16 transitions. [2020-07-29 01:07:14,175 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2020-07-29 01:07:14,176 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2020-07-29 01:07:14,176 INFO L88 GeneralOperation]: Finished isEquivalent. [2020-07-29 01:07:14,176 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2020-07-29 01:07:14,176 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 16 states. [2020-07-29 01:07:14,178 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 16 states to 16 states and 16 transitions. [2020-07-29 01:07:14,178 INFO L78 Accepts]: Start accepts. Automaton has 16 states and 16 transitions. Word has length 14 [2020-07-29 01:07:14,178 INFO L84 Accepts]: Finished accepts. word is rejected. [2020-07-29 01:07:14,179 INFO L479 AbstractCegarLoop]: Abstraction has 16 states and 16 transitions. [2020-07-29 01:07:14,179 INFO L480 AbstractCegarLoop]: Interpolant automaton has 5 states. [2020-07-29 01:07:14,179 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 16 transitions. [2020-07-29 01:07:14,180 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 16 [2020-07-29 01:07:14,180 INFO L414 BasicCegarLoop]: Found error trace [2020-07-29 01:07:14,180 INFO L422 BasicCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-07-29 01:07:14,180 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2020-07-29 01:07:14,181 INFO L427 AbstractCegarLoop]: === Iteration 4 === [mainErr2ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION]=== [2020-07-29 01:07:14,181 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-07-29 01:07:14,182 INFO L82 PathProgramCache]: Analyzing trace with hash -1971150090, now seen corresponding path program 1 times [2020-07-29 01:07:14,182 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-07-29 01:07:14,182 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [62970605] [2020-07-29 01:07:14,183 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-07-29 01:07:14,199 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-29 01:07:14,241 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2020-07-29 01:07:14,243 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-29 01:07:14,259 INFO L280 TraceCheckUtils]: 0: Hoare triple {264#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; {253#true} is VALID [2020-07-29 01:07:14,260 INFO L280 TraceCheckUtils]: 1: Hoare triple {253#true} assume true; {253#true} is VALID [2020-07-29 01:07:14,260 INFO L275 TraceCheckUtils]: 2: Hoare quadruple {253#true} {253#true} #22#return; {253#true} is VALID [2020-07-29 01:07:14,261 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 6 [2020-07-29 01:07:14,275 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-29 01:07:14,335 INFO L280 TraceCheckUtils]: 0: Hoare triple {253#true} assume 1 == #valid[#ptr.base];assume #amount + #ptr.offset <= #length[#ptr.base] && 0 <= #ptr.offset; {253#true} is VALID [2020-07-29 01:07:14,336 INFO L280 TraceCheckUtils]: 1: Hoare triple {253#true} #t~loopctr5 := 0; {265#(<= |#Ultimate.C_memset_#t~loopctr5| 0)} is VALID [2020-07-29 01:07:14,337 INFO L280 TraceCheckUtils]: 2: Hoare triple {265#(<= |#Ultimate.C_memset_#t~loopctr5| 0)} assume #t~loopctr5 < #amount;#t~loopctr5 := 1 + #t~loopctr5; {266#(<= |#Ultimate.C_memset_#t~loopctr5| 1)} is VALID [2020-07-29 01:07:14,338 INFO L280 TraceCheckUtils]: 3: Hoare triple {266#(<= |#Ultimate.C_memset_#t~loopctr5| 1)} assume !(#t~loopctr5 < #amount); {267#(<= |#Ultimate.C_memset_#amount| 1)} is VALID [2020-07-29 01:07:14,339 INFO L280 TraceCheckUtils]: 4: Hoare triple {267#(<= |#Ultimate.C_memset_#amount| 1)} assume #res.base == #ptr.base && #res.offset == #ptr.offset; {267#(<= |#Ultimate.C_memset_#amount| 1)} is VALID [2020-07-29 01:07:14,345 INFO L275 TraceCheckUtils]: 5: Hoare quadruple {267#(<= |#Ultimate.C_memset_#amount| 1)} {253#true} #26#return; {254#false} is VALID [2020-07-29 01:07:14,346 INFO L263 TraceCheckUtils]: 0: Hoare triple {253#true} call ULTIMATE.init(); {264#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} is VALID [2020-07-29 01:07:14,347 INFO L280 TraceCheckUtils]: 1: Hoare triple {264#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; {253#true} is VALID [2020-07-29 01:07:14,347 INFO L280 TraceCheckUtils]: 2: Hoare triple {253#true} assume true; {253#true} is VALID [2020-07-29 01:07:14,347 INFO L275 TraceCheckUtils]: 3: Hoare quadruple {253#true} {253#true} #22#return; {253#true} is VALID [2020-07-29 01:07:14,348 INFO L263 TraceCheckUtils]: 4: Hoare triple {253#true} call #t~ret4 := main(); {253#true} is VALID [2020-07-29 01:07:14,348 INFO L280 TraceCheckUtils]: 5: Hoare triple {253#true} call ~#cstats~0.base, ~#cstats~0.offset := #Ultimate.allocOnStack(80); {253#true} is VALID [2020-07-29 01:07:14,348 INFO L263 TraceCheckUtils]: 6: Hoare triple {253#true} call #t~memset~res3.base, #t~memset~res3.offset := #Ultimate.C_memset(~#cstats~0.base, ~#cstats~0.offset, 10, 80); {253#true} is VALID [2020-07-29 01:07:14,348 INFO L280 TraceCheckUtils]: 7: Hoare triple {253#true} assume 1 == #valid[#ptr.base];assume #amount + #ptr.offset <= #length[#ptr.base] && 0 <= #ptr.offset; {253#true} is VALID [2020-07-29 01:07:14,349 INFO L280 TraceCheckUtils]: 8: Hoare triple {253#true} #t~loopctr5 := 0; {265#(<= |#Ultimate.C_memset_#t~loopctr5| 0)} is VALID [2020-07-29 01:07:14,350 INFO L280 TraceCheckUtils]: 9: Hoare triple {265#(<= |#Ultimate.C_memset_#t~loopctr5| 0)} assume #t~loopctr5 < #amount;#t~loopctr5 := 1 + #t~loopctr5; {266#(<= |#Ultimate.C_memset_#t~loopctr5| 1)} is VALID [2020-07-29 01:07:14,353 INFO L280 TraceCheckUtils]: 10: Hoare triple {266#(<= |#Ultimate.C_memset_#t~loopctr5| 1)} assume !(#t~loopctr5 < #amount); {267#(<= |#Ultimate.C_memset_#amount| 1)} is VALID [2020-07-29 01:07:14,356 INFO L280 TraceCheckUtils]: 11: Hoare triple {267#(<= |#Ultimate.C_memset_#amount| 1)} assume #res.base == #ptr.base && #res.offset == #ptr.offset; {267#(<= |#Ultimate.C_memset_#amount| 1)} is VALID [2020-07-29 01:07:14,359 INFO L275 TraceCheckUtils]: 12: Hoare quadruple {267#(<= |#Ultimate.C_memset_#amount| 1)} {253#true} #26#return; {254#false} is VALID [2020-07-29 01:07:14,359 INFO L280 TraceCheckUtils]: 13: Hoare triple {254#false} havoc #t~memset~res3.base, #t~memset~res3.offset;#res := 0;call ULTIMATE.dealloc(~#cstats~0.base, ~#cstats~0.offset);havoc ~#cstats~0.base, ~#cstats~0.offset; {254#false} is VALID [2020-07-29 01:07:14,359 INFO L280 TraceCheckUtils]: 14: Hoare triple {254#false} assume !(#valid == old(#valid)); {254#false} is VALID [2020-07-29 01:07:14,361 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-07-29 01:07:14,361 INFO L354 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [62970605] [2020-07-29 01:07:14,363 INFO L354 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1159915448] [2020-07-29 01:07:14,363 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-07-29 01:07:14,404 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-29 01:07:14,406 INFO L263 TraceCheckSpWp]: Trace formula consists of 66 conjuncts, 4 conjunts are in the unsatisfiable core [2020-07-29 01:07:14,415 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-29 01:07:14,420 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-07-29 01:07:14,572 INFO L263 TraceCheckUtils]: 0: Hoare triple {253#true} call ULTIMATE.init(); {253#true} is VALID [2020-07-29 01:07:14,573 INFO L280 TraceCheckUtils]: 1: Hoare triple {253#true} #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; {253#true} is VALID [2020-07-29 01:07:14,573 INFO L280 TraceCheckUtils]: 2: Hoare triple {253#true} assume true; {253#true} is VALID [2020-07-29 01:07:14,573 INFO L275 TraceCheckUtils]: 3: Hoare quadruple {253#true} {253#true} #22#return; {253#true} is VALID [2020-07-29 01:07:14,574 INFO L263 TraceCheckUtils]: 4: Hoare triple {253#true} call #t~ret4 := main(); {253#true} is VALID [2020-07-29 01:07:14,574 INFO L280 TraceCheckUtils]: 5: Hoare triple {253#true} call ~#cstats~0.base, ~#cstats~0.offset := #Ultimate.allocOnStack(80); {253#true} is VALID [2020-07-29 01:07:14,574 INFO L263 TraceCheckUtils]: 6: Hoare triple {253#true} call #t~memset~res3.base, #t~memset~res3.offset := #Ultimate.C_memset(~#cstats~0.base, ~#cstats~0.offset, 10, 80); {253#true} is VALID [2020-07-29 01:07:14,575 INFO L280 TraceCheckUtils]: 7: Hoare triple {253#true} assume 1 == #valid[#ptr.base];assume #amount + #ptr.offset <= #length[#ptr.base] && 0 <= #ptr.offset; {253#true} is VALID [2020-07-29 01:07:14,575 INFO L280 TraceCheckUtils]: 8: Hoare triple {253#true} #t~loopctr5 := 0; {265#(<= |#Ultimate.C_memset_#t~loopctr5| 0)} is VALID [2020-07-29 01:07:14,577 INFO L280 TraceCheckUtils]: 9: Hoare triple {265#(<= |#Ultimate.C_memset_#t~loopctr5| 0)} assume #t~loopctr5 < #amount;#t~loopctr5 := 1 + #t~loopctr5; {266#(<= |#Ultimate.C_memset_#t~loopctr5| 1)} is VALID [2020-07-29 01:07:14,578 INFO L280 TraceCheckUtils]: 10: Hoare triple {266#(<= |#Ultimate.C_memset_#t~loopctr5| 1)} assume !(#t~loopctr5 < #amount); {267#(<= |#Ultimate.C_memset_#amount| 1)} is VALID [2020-07-29 01:07:14,579 INFO L280 TraceCheckUtils]: 11: Hoare triple {267#(<= |#Ultimate.C_memset_#amount| 1)} assume #res.base == #ptr.base && #res.offset == #ptr.offset; {267#(<= |#Ultimate.C_memset_#amount| 1)} is VALID [2020-07-29 01:07:14,581 INFO L275 TraceCheckUtils]: 12: Hoare quadruple {267#(<= |#Ultimate.C_memset_#amount| 1)} {253#true} #26#return; {254#false} is VALID [2020-07-29 01:07:14,581 INFO L280 TraceCheckUtils]: 13: Hoare triple {254#false} havoc #t~memset~res3.base, #t~memset~res3.offset;#res := 0;call ULTIMATE.dealloc(~#cstats~0.base, ~#cstats~0.offset);havoc ~#cstats~0.base, ~#cstats~0.offset; {254#false} is VALID [2020-07-29 01:07:14,582 INFO L280 TraceCheckUtils]: 14: Hoare triple {254#false} assume !(#valid == old(#valid)); {254#false} is VALID [2020-07-29 01:07:14,582 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-07-29 01:07:14,583 INFO L220 FreeRefinementEngine]: Constructing automaton from 0 perfect and 2 imperfect interpolant sequences. [2020-07-29 01:07:14,583 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [6, 5] total 6 [2020-07-29 01:07:14,583 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [758654861] [2020-07-29 01:07:14,584 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 15 [2020-07-29 01:07:14,584 INFO L84 Accepts]: Finished accepts. word is accepted. [2020-07-29 01:07:14,585 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 6 states. [2020-07-29 01:07:14,607 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 17 edges. 17 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2020-07-29 01:07:14,608 INFO L459 AbstractCegarLoop]: Interpolant automaton has 6 states [2020-07-29 01:07:14,608 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-07-29 01:07:14,608 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2020-07-29 01:07:14,609 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=10, Invalid=20, Unknown=0, NotChecked=0, Total=30 [2020-07-29 01:07:14,609 INFO L87 Difference]: Start difference. First operand 16 states and 16 transitions. Second operand 6 states. [2020-07-29 01:07:14,812 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-29 01:07:14,812 INFO L93 Difference]: Finished difference Result 19 states and 19 transitions. [2020-07-29 01:07:14,812 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2020-07-29 01:07:14,813 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 15 [2020-07-29 01:07:14,813 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2020-07-29 01:07:14,813 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2020-07-29 01:07:14,815 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 20 transitions. [2020-07-29 01:07:14,815 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2020-07-29 01:07:14,817 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 20 transitions. [2020-07-29 01:07:14,817 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 6 states and 20 transitions. [2020-07-29 01:07:14,849 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 20 edges. 20 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2020-07-29 01:07:14,850 INFO L225 Difference]: With dead ends: 19 [2020-07-29 01:07:14,851 INFO L226 Difference]: Without dead ends: 17 [2020-07-29 01:07:14,851 INFO L675 BasicCegarLoop]: 0 DeclaredPredicates, 26 GetRequests, 19 SyntacticMatches, 0 SemanticMatches, 7 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 3 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=26, Invalid=46, Unknown=0, NotChecked=0, Total=72 [2020-07-29 01:07:14,852 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 17 states. [2020-07-29 01:07:14,853 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 17 to 17. [2020-07-29 01:07:14,854 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2020-07-29 01:07:14,854 INFO L82 GeneralOperation]: Start isEquivalent. First operand 17 states. Second operand 17 states. [2020-07-29 01:07:14,854 INFO L74 IsIncluded]: Start isIncluded. First operand 17 states. Second operand 17 states. [2020-07-29 01:07:14,854 INFO L87 Difference]: Start difference. First operand 17 states. Second operand 17 states. [2020-07-29 01:07:14,856 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-29 01:07:14,856 INFO L93 Difference]: Finished difference Result 17 states and 17 transitions. [2020-07-29 01:07:14,856 INFO L276 IsEmpty]: Start isEmpty. Operand 17 states and 17 transitions. [2020-07-29 01:07:14,857 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2020-07-29 01:07:14,857 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2020-07-29 01:07:14,857 INFO L74 IsIncluded]: Start isIncluded. First operand 17 states. Second operand 17 states. [2020-07-29 01:07:14,857 INFO L87 Difference]: Start difference. First operand 17 states. Second operand 17 states. [2020-07-29 01:07:14,859 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-29 01:07:14,859 INFO L93 Difference]: Finished difference Result 17 states and 17 transitions. [2020-07-29 01:07:14,859 INFO L276 IsEmpty]: Start isEmpty. Operand 17 states and 17 transitions. [2020-07-29 01:07:14,860 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2020-07-29 01:07:14,860 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2020-07-29 01:07:14,860 INFO L88 GeneralOperation]: Finished isEquivalent. [2020-07-29 01:07:14,860 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2020-07-29 01:07:14,860 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 17 states. [2020-07-29 01:07:14,862 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 17 states and 17 transitions. [2020-07-29 01:07:14,862 INFO L78 Accepts]: Start accepts. Automaton has 17 states and 17 transitions. Word has length 15 [2020-07-29 01:07:14,862 INFO L84 Accepts]: Finished accepts. word is rejected. [2020-07-29 01:07:14,862 INFO L479 AbstractCegarLoop]: Abstraction has 17 states and 17 transitions. [2020-07-29 01:07:14,862 INFO L480 AbstractCegarLoop]: Interpolant automaton has 6 states. [2020-07-29 01:07:14,862 INFO L276 IsEmpty]: Start isEmpty. Operand 17 states and 17 transitions. [2020-07-29 01:07:14,863 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2020-07-29 01:07:14,863 INFO L414 BasicCegarLoop]: Found error trace [2020-07-29 01:07:14,863 INFO L422 BasicCegarLoop]: trace histogram [2, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2020-07-29 01:07:15,077 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3,2 z3 -smt2 -in SMTLIB2_COMPLIANT=true [2020-07-29 01:07:15,078 INFO L427 AbstractCegarLoop]: === Iteration 5 === [mainErr2ENSURES_VIOLATIONMEMORY_LEAK, mainErr0REQUIRES_VIOLATION, mainErr1REQUIRES_VIOLATION]=== [2020-07-29 01:07:15,079 INFO L144 PredicateUnifier]: Initialized classic predicate unifier [2020-07-29 01:07:15,079 INFO L82 PathProgramCache]: Analyzing trace with hash -1034761479, now seen corresponding path program 2 times [2020-07-29 01:07:15,079 INFO L163 FreeRefinementEngine]: Executing refinement strategy CAMEL [2020-07-29 01:07:15,080 INFO L354 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [574382842] [2020-07-29 01:07:15,080 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2020-07-29 01:07:15,093 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-29 01:07:15,130 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 0 [2020-07-29 01:07:15,132 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-29 01:07:15,146 INFO L280 TraceCheckUtils]: 0: Hoare triple {400#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; {388#true} is VALID [2020-07-29 01:07:15,146 INFO L280 TraceCheckUtils]: 1: Hoare triple {388#true} assume true; {388#true} is VALID [2020-07-29 01:07:15,147 INFO L275 TraceCheckUtils]: 2: Hoare quadruple {388#true} {388#true} #22#return; {388#true} is VALID [2020-07-29 01:07:15,147 INFO L375 atingTraceCheckCraig]: Compute interpolants for subsequence at non-pending call position 6 [2020-07-29 01:07:15,164 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-29 01:07:15,231 INFO L280 TraceCheckUtils]: 0: Hoare triple {388#true} assume 1 == #valid[#ptr.base];assume #amount + #ptr.offset <= #length[#ptr.base] && 0 <= #ptr.offset; {388#true} is VALID [2020-07-29 01:07:15,232 INFO L280 TraceCheckUtils]: 1: Hoare triple {388#true} #t~loopctr5 := 0; {401#(<= |#Ultimate.C_memset_#t~loopctr5| 0)} is VALID [2020-07-29 01:07:15,233 INFO L280 TraceCheckUtils]: 2: Hoare triple {401#(<= |#Ultimate.C_memset_#t~loopctr5| 0)} assume #t~loopctr5 < #amount;#t~loopctr5 := 1 + #t~loopctr5; {402#(<= |#Ultimate.C_memset_#t~loopctr5| 1)} is VALID [2020-07-29 01:07:15,234 INFO L280 TraceCheckUtils]: 3: Hoare triple {402#(<= |#Ultimate.C_memset_#t~loopctr5| 1)} assume #t~loopctr5 < #amount;#t~loopctr5 := 1 + #t~loopctr5; {403#(<= |#Ultimate.C_memset_#t~loopctr5| 2)} is VALID [2020-07-29 01:07:15,235 INFO L280 TraceCheckUtils]: 4: Hoare triple {403#(<= |#Ultimate.C_memset_#t~loopctr5| 2)} assume !(#t~loopctr5 < #amount); {404#(<= |#Ultimate.C_memset_#amount| 2)} is VALID [2020-07-29 01:07:15,236 INFO L280 TraceCheckUtils]: 5: Hoare triple {404#(<= |#Ultimate.C_memset_#amount| 2)} assume #res.base == #ptr.base && #res.offset == #ptr.offset; {404#(<= |#Ultimate.C_memset_#amount| 2)} is VALID [2020-07-29 01:07:15,239 INFO L275 TraceCheckUtils]: 6: Hoare quadruple {404#(<= |#Ultimate.C_memset_#amount| 2)} {388#true} #26#return; {389#false} is VALID [2020-07-29 01:07:15,240 INFO L263 TraceCheckUtils]: 0: Hoare triple {388#true} call ULTIMATE.init(); {400#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} is VALID [2020-07-29 01:07:15,241 INFO L280 TraceCheckUtils]: 1: Hoare triple {400#(and (= |#valid| |old(#valid)|) (= |#NULL.base| |old(#NULL.base)|) (= |#NULL.offset| |old(#NULL.offset)|))} #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; {388#true} is VALID [2020-07-29 01:07:15,241 INFO L280 TraceCheckUtils]: 2: Hoare triple {388#true} assume true; {388#true} is VALID [2020-07-29 01:07:15,242 INFO L275 TraceCheckUtils]: 3: Hoare quadruple {388#true} {388#true} #22#return; {388#true} is VALID [2020-07-29 01:07:15,242 INFO L263 TraceCheckUtils]: 4: Hoare triple {388#true} call #t~ret4 := main(); {388#true} is VALID [2020-07-29 01:07:15,242 INFO L280 TraceCheckUtils]: 5: Hoare triple {388#true} call ~#cstats~0.base, ~#cstats~0.offset := #Ultimate.allocOnStack(80); {388#true} is VALID [2020-07-29 01:07:15,242 INFO L263 TraceCheckUtils]: 6: Hoare triple {388#true} call #t~memset~res3.base, #t~memset~res3.offset := #Ultimate.C_memset(~#cstats~0.base, ~#cstats~0.offset, 10, 80); {388#true} is VALID [2020-07-29 01:07:15,243 INFO L280 TraceCheckUtils]: 7: Hoare triple {388#true} assume 1 == #valid[#ptr.base];assume #amount + #ptr.offset <= #length[#ptr.base] && 0 <= #ptr.offset; {388#true} is VALID [2020-07-29 01:07:15,244 INFO L280 TraceCheckUtils]: 8: Hoare triple {388#true} #t~loopctr5 := 0; {401#(<= |#Ultimate.C_memset_#t~loopctr5| 0)} is VALID [2020-07-29 01:07:15,245 INFO L280 TraceCheckUtils]: 9: Hoare triple {401#(<= |#Ultimate.C_memset_#t~loopctr5| 0)} assume #t~loopctr5 < #amount;#t~loopctr5 := 1 + #t~loopctr5; {402#(<= |#Ultimate.C_memset_#t~loopctr5| 1)} is VALID [2020-07-29 01:07:15,246 INFO L280 TraceCheckUtils]: 10: Hoare triple {402#(<= |#Ultimate.C_memset_#t~loopctr5| 1)} assume #t~loopctr5 < #amount;#t~loopctr5 := 1 + #t~loopctr5; {403#(<= |#Ultimate.C_memset_#t~loopctr5| 2)} is VALID [2020-07-29 01:07:15,248 INFO L280 TraceCheckUtils]: 11: Hoare triple {403#(<= |#Ultimate.C_memset_#t~loopctr5| 2)} assume !(#t~loopctr5 < #amount); {404#(<= |#Ultimate.C_memset_#amount| 2)} is VALID [2020-07-29 01:07:15,249 INFO L280 TraceCheckUtils]: 12: Hoare triple {404#(<= |#Ultimate.C_memset_#amount| 2)} assume #res.base == #ptr.base && #res.offset == #ptr.offset; {404#(<= |#Ultimate.C_memset_#amount| 2)} is VALID [2020-07-29 01:07:15,251 INFO L275 TraceCheckUtils]: 13: Hoare quadruple {404#(<= |#Ultimate.C_memset_#amount| 2)} {388#true} #26#return; {389#false} is VALID [2020-07-29 01:07:15,251 INFO L280 TraceCheckUtils]: 14: Hoare triple {389#false} havoc #t~memset~res3.base, #t~memset~res3.offset;#res := 0;call ULTIMATE.dealloc(~#cstats~0.base, ~#cstats~0.offset);havoc ~#cstats~0.base, ~#cstats~0.offset; {389#false} is VALID [2020-07-29 01:07:15,252 INFO L280 TraceCheckUtils]: 15: Hoare triple {389#false} assume !(#valid == old(#valid)); {389#false} is VALID [2020-07-29 01:07:15,253 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2020-07-29 01:07:15,253 INFO L354 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [574382842] [2020-07-29 01:07:15,253 INFO L354 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1699183775] [2020-07-29 01:07:15,254 INFO L93 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 [2020-07-29 01:07:15,296 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 1 check-sat command(s) [2020-07-29 01:07:15,296 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2020-07-29 01:07:15,298 INFO L263 TraceCheckSpWp]: Trace formula consists of 63 conjuncts, 8 conjunts are in the unsatisfiable core [2020-07-29 01:07:15,305 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2020-07-29 01:07:15,306 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2020-07-29 01:07:15,393 INFO L384 Elim1Store]: Elim1 did not use preprocessing eliminated variable of array dimension 1, 1 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 12 treesize of output 9 [2020-07-29 01:07:15,395 INFO L544 ElimStorePlain]: Start of recursive call 2: End of recursive call: and 1 xjuncts. [2020-07-29 01:07:15,398 INFO L624 ElimStorePlain]: treesize reduction 0, result has 100.0 percent of original size [2020-07-29 01:07:15,400 INFO L544 ElimStorePlain]: Start of recursive call 1: 1 dim-0 vars, 1 dim-1 vars, End of recursive call: 1 dim-0 vars, and 1 xjuncts. [2020-07-29 01:07:15,400 INFO L244 ElimStorePlain]: Needed 2 recursive calls to eliminate 2 variables, input treesize:12, output treesize:5 [2020-07-29 01:07:15,526 WARN L406 uantifierElimination]: Trying to double check SDD result, but SMT solver's response was UNKNOWN. [2020-07-29 01:07:15,527 WARN L407 uantifierElimination]: Input elimination task: ∃ [|v_old(#valid)_BEFORE_CALL_1|, |v_main_~#cstats~0.base_BEFORE_CALL_1|]. (and (= 0 (select |v_old(#valid)_BEFORE_CALL_1| |v_main_~#cstats~0.base_BEFORE_CALL_1|)) (= |#valid| (store |v_old(#valid)_BEFORE_CALL_1| |v_main_~#cstats~0.base_BEFORE_CALL_1| 1))) [2020-07-29 01:07:15,527 WARN L408 uantifierElimination]: ElimStorePlain result: ∃ [|v_main_~#cstats~0.base_BEFORE_CALL_1|]. (= (select |#valid| |v_main_~#cstats~0.base_BEFORE_CALL_1|) 1) [2020-07-29 01:07:15,658 INFO L263 TraceCheckUtils]: 0: Hoare triple {388#true} call ULTIMATE.init(); {388#true} is VALID [2020-07-29 01:07:15,659 INFO L280 TraceCheckUtils]: 1: Hoare triple {388#true} #NULL.base, #NULL.offset := 0, 0;#valid := #valid[0 := 0];assume 0 < #StackHeapBarrier; {388#true} is VALID [2020-07-29 01:07:15,659 INFO L280 TraceCheckUtils]: 2: Hoare triple {388#true} assume true; {388#true} is VALID [2020-07-29 01:07:15,659 INFO L275 TraceCheckUtils]: 3: Hoare quadruple {388#true} {388#true} #22#return; {388#true} is VALID [2020-07-29 01:07:15,661 INFO L263 TraceCheckUtils]: 4: Hoare triple {388#true} call #t~ret4 := main(); {420#(= |#valid| |old(#valid)|)} is VALID [2020-07-29 01:07:15,662 INFO L280 TraceCheckUtils]: 5: Hoare triple {420#(= |#valid| |old(#valid)|)} call ~#cstats~0.base, ~#cstats~0.offset := #Ultimate.allocOnStack(80); {424#(and (= 0 (select |old(#valid)| |main_~#cstats~0.base|)) (= |#valid| (store |old(#valid)| |main_~#cstats~0.base| 1)))} is VALID [2020-07-29 01:07:15,664 INFO L263 TraceCheckUtils]: 6: Hoare triple {424#(and (= 0 (select |old(#valid)| |main_~#cstats~0.base|)) (= |#valid| (store |old(#valid)| |main_~#cstats~0.base| 1)))} call #t~memset~res3.base, #t~memset~res3.offset := #Ultimate.C_memset(~#cstats~0.base, ~#cstats~0.offset, 10, 80); {428#(exists ((|v_main_~#cstats~0.base_BEFORE_CALL_1| Int)) (= (select |#valid| |v_main_~#cstats~0.base_BEFORE_CALL_1|) 1))} is VALID [2020-07-29 01:07:15,666 INFO L280 TraceCheckUtils]: 7: Hoare triple {428#(exists ((|v_main_~#cstats~0.base_BEFORE_CALL_1| Int)) (= (select |#valid| |v_main_~#cstats~0.base_BEFORE_CALL_1|) 1))} assume 1 == #valid[#ptr.base];assume #amount + #ptr.offset <= #length[#ptr.base] && 0 <= #ptr.offset; {428#(exists ((|v_main_~#cstats~0.base_BEFORE_CALL_1| Int)) (= (select |#valid| |v_main_~#cstats~0.base_BEFORE_CALL_1|) 1))} is VALID [2020-07-29 01:07:15,667 INFO L280 TraceCheckUtils]: 8: Hoare triple {428#(exists ((|v_main_~#cstats~0.base_BEFORE_CALL_1| Int)) (= (select |#valid| |v_main_~#cstats~0.base_BEFORE_CALL_1|) 1))} #t~loopctr5 := 0; {428#(exists ((|v_main_~#cstats~0.base_BEFORE_CALL_1| Int)) (= (select |#valid| |v_main_~#cstats~0.base_BEFORE_CALL_1|) 1))} is VALID [2020-07-29 01:07:15,668 INFO L280 TraceCheckUtils]: 9: Hoare triple {428#(exists ((|v_main_~#cstats~0.base_BEFORE_CALL_1| Int)) (= (select |#valid| |v_main_~#cstats~0.base_BEFORE_CALL_1|) 1))} assume #t~loopctr5 < #amount;#t~loopctr5 := 1 + #t~loopctr5; {428#(exists ((|v_main_~#cstats~0.base_BEFORE_CALL_1| Int)) (= (select |#valid| |v_main_~#cstats~0.base_BEFORE_CALL_1|) 1))} is VALID [2020-07-29 01:07:15,669 INFO L280 TraceCheckUtils]: 10: Hoare triple {428#(exists ((|v_main_~#cstats~0.base_BEFORE_CALL_1| Int)) (= (select |#valid| |v_main_~#cstats~0.base_BEFORE_CALL_1|) 1))} assume #t~loopctr5 < #amount;#t~loopctr5 := 1 + #t~loopctr5; {428#(exists ((|v_main_~#cstats~0.base_BEFORE_CALL_1| Int)) (= (select |#valid| |v_main_~#cstats~0.base_BEFORE_CALL_1|) 1))} is VALID [2020-07-29 01:07:15,670 INFO L280 TraceCheckUtils]: 11: Hoare triple {428#(exists ((|v_main_~#cstats~0.base_BEFORE_CALL_1| Int)) (= (select |#valid| |v_main_~#cstats~0.base_BEFORE_CALL_1|) 1))} assume !(#t~loopctr5 < #amount); {428#(exists ((|v_main_~#cstats~0.base_BEFORE_CALL_1| Int)) (= (select |#valid| |v_main_~#cstats~0.base_BEFORE_CALL_1|) 1))} is VALID [2020-07-29 01:07:15,671 INFO L280 TraceCheckUtils]: 12: Hoare triple {428#(exists ((|v_main_~#cstats~0.base_BEFORE_CALL_1| Int)) (= (select |#valid| |v_main_~#cstats~0.base_BEFORE_CALL_1|) 1))} assume #res.base == #ptr.base && #res.offset == #ptr.offset; {428#(exists ((|v_main_~#cstats~0.base_BEFORE_CALL_1| Int)) (= (select |#valid| |v_main_~#cstats~0.base_BEFORE_CALL_1|) 1))} is VALID [2020-07-29 01:07:15,673 INFO L275 TraceCheckUtils]: 13: Hoare quadruple {428#(exists ((|v_main_~#cstats~0.base_BEFORE_CALL_1| Int)) (= (select |#valid| |v_main_~#cstats~0.base_BEFORE_CALL_1|) 1))} {424#(and (= 0 (select |old(#valid)| |main_~#cstats~0.base|)) (= |#valid| (store |old(#valid)| |main_~#cstats~0.base| 1)))} #26#return; {424#(and (= 0 (select |old(#valid)| |main_~#cstats~0.base|)) (= |#valid| (store |old(#valid)| |main_~#cstats~0.base| 1)))} is VALID [2020-07-29 01:07:15,674 INFO L280 TraceCheckUtils]: 14: Hoare triple {424#(and (= 0 (select |old(#valid)| |main_~#cstats~0.base|)) (= |#valid| (store |old(#valid)| |main_~#cstats~0.base| 1)))} havoc #t~memset~res3.base, #t~memset~res3.offset;#res := 0;call ULTIMATE.dealloc(~#cstats~0.base, ~#cstats~0.offset);havoc ~#cstats~0.base, ~#cstats~0.offset; {453#(exists ((|v_main_~#cstats~0.base_8| Int)) (and (= 0 (select |old(#valid)| |v_main_~#cstats~0.base_8|)) (= (store |old(#valid)| |v_main_~#cstats~0.base_8| 0) |#valid|)))} is VALID [2020-07-29 01:07:15,675 INFO L280 TraceCheckUtils]: 15: Hoare triple {453#(exists ((|v_main_~#cstats~0.base_8| Int)) (and (= 0 (select |old(#valid)| |v_main_~#cstats~0.base_8|)) (= (store |old(#valid)| |v_main_~#cstats~0.base_8| 0) |#valid|)))} assume !(#valid == old(#valid)); {389#false} is VALID [2020-07-29 01:07:15,677 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 3 trivial. 0 not checked. [2020-07-29 01:07:15,677 INFO L220 FreeRefinementEngine]: Constructing automaton from 1 perfect and 1 imperfect interpolant sequences. [2020-07-29 01:07:15,677 INFO L233 FreeRefinementEngine]: Number of different interpolants: perfect sequences [5] imperfect sequences [7] total 11 [2020-07-29 01:07:15,678 INFO L156 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [94789840] [2020-07-29 01:07:15,678 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 16 [2020-07-29 01:07:15,679 INFO L84 Accepts]: Finished accepts. word is accepted. [2020-07-29 01:07:15,679 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 6 states. [2020-07-29 01:07:15,705 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 15 edges. 15 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2020-07-29 01:07:15,705 INFO L459 AbstractCegarLoop]: Interpolant automaton has 6 states [2020-07-29 01:07:15,705 INFO L143 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2020-07-29 01:07:15,705 INFO L142 InterpolantAutomaton]: Constructing interpolant automaton starting with 6 interpolants. [2020-07-29 01:07:15,706 INFO L144 InterpolantAutomaton]: CoverageRelationStatistics Valid=25, Invalid=85, Unknown=0, NotChecked=0, Total=110 [2020-07-29 01:07:15,706 INFO L87 Difference]: Start difference. First operand 17 states and 17 transitions. Second operand 6 states. [2020-07-29 01:07:15,853 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-29 01:07:15,854 INFO L93 Difference]: Finished difference Result 16 states and 16 transitions. [2020-07-29 01:07:15,854 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2020-07-29 01:07:15,854 INFO L78 Accepts]: Start accepts. Automaton has 6 states. Word has length 16 [2020-07-29 01:07:15,855 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2020-07-29 01:07:15,855 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2020-07-29 01:07:15,856 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 15 transitions. [2020-07-29 01:07:15,856 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2020-07-29 01:07:15,858 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 15 transitions. [2020-07-29 01:07:15,858 INFO L86 InductivityCheck]: Starting indutivity check of a Floyd-Hoare automaton with 6 states and 15 transitions. [2020-07-29 01:07:15,901 INFO L119 InductivityCheck]: Floyd-Hoare automaton has 15 edges. 15 inductive. 0 not inductive. 0 times theorem prover too weak to decide inductivity. [2020-07-29 01:07:15,902 INFO L225 Difference]: With dead ends: 16 [2020-07-29 01:07:15,902 INFO L226 Difference]: Without dead ends: 0 [2020-07-29 01:07:15,902 INFO L675 BasicCegarLoop]: 0 DeclaredPredicates, 26 GetRequests, 15 SyntacticMatches, 1 SemanticMatches, 10 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 18 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=29, Invalid=103, Unknown=0, NotChecked=0, Total=132 [2020-07-29 01:07:15,902 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 0 states. [2020-07-29 01:07:15,903 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 0 to 0. [2020-07-29 01:07:15,903 INFO L214 AbstractMinimizeNwa]: Start testing correctness of minimizeSevpa [2020-07-29 01:07:15,903 INFO L82 GeneralOperation]: Start isEquivalent. First operand 0 states. Second operand 0 states. [2020-07-29 01:07:15,903 INFO L74 IsIncluded]: Start isIncluded. First operand 0 states. Second operand 0 states. [2020-07-29 01:07:15,903 INFO L87 Difference]: Start difference. First operand 0 states. Second operand 0 states. [2020-07-29 01:07:15,903 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-29 01:07:15,904 INFO L93 Difference]: Finished difference Result 0 states and 0 transitions. [2020-07-29 01:07:15,904 INFO L276 IsEmpty]: Start isEmpty. Operand 0 states and 0 transitions. [2020-07-29 01:07:15,904 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2020-07-29 01:07:15,904 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2020-07-29 01:07:15,904 INFO L74 IsIncluded]: Start isIncluded. First operand 0 states. Second operand 0 states. [2020-07-29 01:07:15,904 INFO L87 Difference]: Start difference. First operand 0 states. Second operand 0 states. [2020-07-29 01:07:15,905 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2020-07-29 01:07:15,905 INFO L93 Difference]: Finished difference Result 0 states and 0 transitions. [2020-07-29 01:07:15,905 INFO L276 IsEmpty]: Start isEmpty. Operand 0 states and 0 transitions. [2020-07-29 01:07:15,905 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2020-07-29 01:07:15,905 INFO L83 IsIncluded]: Finished isIncluded. Language is included [2020-07-29 01:07:15,905 INFO L88 GeneralOperation]: Finished isEquivalent. [2020-07-29 01:07:15,905 INFO L221 AbstractMinimizeNwa]: Finished testing correctness of minimizeSevpa [2020-07-29 01:07:15,906 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 0 states. [2020-07-29 01:07:15,906 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 0 states to 0 states and 0 transitions. [2020-07-29 01:07:15,906 INFO L78 Accepts]: Start accepts. Automaton has 0 states and 0 transitions. Word has length 16 [2020-07-29 01:07:15,906 INFO L84 Accepts]: Finished accepts. word is rejected. [2020-07-29 01:07:15,906 INFO L479 AbstractCegarLoop]: Abstraction has 0 states and 0 transitions. [2020-07-29 01:07:15,907 INFO L480 AbstractCegarLoop]: Interpolant automaton has 6 states. [2020-07-29 01:07:15,907 INFO L276 IsEmpty]: Start isEmpty. Operand 0 states and 0 transitions. [2020-07-29 01:07:15,908 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2020-07-29 01:07:16,109 WARN L516 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4,3 z3 -smt2 -in SMTLIB2_COMPLIANT=true [2020-07-29 01:07:16,115 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 29.07 01:07:16 BoogieIcfgContainer [2020-07-29 01:07:16,115 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2020-07-29 01:07:16,115 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2020-07-29 01:07:16,115 INFO L271 PluginConnector]: Initializing Witness Printer... [2020-07-29 01:07:16,116 INFO L275 PluginConnector]: Witness Printer initialized [2020-07-29 01:07:16,116 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.07 01:07:12" (3/4) ... [2020-07-29 01:07:16,119 INFO L137 WitnessPrinter]: Generating witness for correct program [2020-07-29 01:07:16,124 INFO L354 RCFGBacktranslator]: Ignoring RootEdge to procedure ULTIMATE.init [2020-07-29 01:07:16,124 INFO L354 RCFGBacktranslator]: Ignoring RootEdge to procedure #Ultimate.C_memset [2020-07-29 01:07:16,125 INFO L354 RCFGBacktranslator]: Ignoring RootEdge to procedure main [2020-07-29 01:07:16,131 INFO L902 BoogieBacktranslator]: Reduced CFG by removing 11 nodes and edges [2020-07-29 01:07:16,132 INFO L902 BoogieBacktranslator]: Reduced CFG by removing 6 nodes and edges [2020-07-29 01:07:16,132 INFO L902 BoogieBacktranslator]: Reduced CFG by removing 2 nodes and edges [2020-07-29 01:07:16,132 INFO L902 BoogieBacktranslator]: Reduced CFG by removing 2 nodes and edges [2020-07-29 01:07:16,168 INFO L141 WitnessManager]: Wrote witness to /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/witness.graphml [2020-07-29 01:07:16,168 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2020-07-29 01:07:16,171 INFO L168 Benchmark]: Toolchain (without parser) took 4015.93 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 202.9 MB). Free memory was 954.9 MB in the beginning and 1.2 GB in the end (delta: -233.5 MB). There was no memory consumed. Max. memory is 11.5 GB. [2020-07-29 01:07:16,171 INFO L168 Benchmark]: CDTParser took 0.29 ms. Allocated memory is still 1.0 GB. Free memory is still 981.7 MB. There was no memory consumed. Max. memory is 11.5 GB. [2020-07-29 01:07:16,172 INFO L168 Benchmark]: CACSL2BoogieTranslator took 263.41 ms. Allocated memory is still 1.0 GB. Free memory was 954.9 MB in the beginning and 944.1 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. [2020-07-29 01:07:16,173 INFO L168 Benchmark]: Boogie Preprocessor took 99.65 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 134.2 MB). Free memory was 944.1 MB in the beginning and 1.1 GB in the end (delta: -186.7 MB). Peak memory consumption was 9.5 MB. Max. memory is 11.5 GB. [2020-07-29 01:07:16,173 INFO L168 Benchmark]: RCFGBuilder took 320.75 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 30.9 MB). Peak memory consumption was 30.9 MB. Max. memory is 11.5 GB. [2020-07-29 01:07:16,174 INFO L168 Benchmark]: TraceAbstraction took 3272.37 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 68.7 MB). Free memory was 1.1 GB in the beginning and 1.2 GB in the end (delta: -92.3 MB). There was no memory consumed. Max. memory is 11.5 GB. [2020-07-29 01:07:16,174 INFO L168 Benchmark]: Witness Printer took 52.75 ms. Allocated memory is still 1.2 GB. Free memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 4.0 MB). Peak memory consumption was 4.0 MB. Max. memory is 11.5 GB. [2020-07-29 01:07:16,178 INFO L336 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - AssertionsEnabledResult: Assertions are enabled Assertions are enabled - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.29 ms. Allocated memory is still 1.0 GB. Free memory is still 981.7 MB. There was no memory consumed. Max. memory is 11.5 GB. * CACSL2BoogieTranslator took 263.41 ms. Allocated memory is still 1.0 GB. Free memory was 954.9 MB in the beginning and 944.1 MB in the end (delta: 10.7 MB). Peak memory consumption was 10.7 MB. Max. memory is 11.5 GB. * Boogie Preprocessor took 99.65 ms. Allocated memory was 1.0 GB in the beginning and 1.2 GB in the end (delta: 134.2 MB). Free memory was 944.1 MB in the beginning and 1.1 GB in the end (delta: -186.7 MB). Peak memory consumption was 9.5 MB. Max. memory is 11.5 GB. * RCFGBuilder took 320.75 ms. Allocated memory is still 1.2 GB. Free memory was 1.1 GB in the beginning and 1.1 GB in the end (delta: 30.9 MB). Peak memory consumption was 30.9 MB. Max. memory is 11.5 GB. * TraceAbstraction took 3272.37 ms. Allocated memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 68.7 MB). Free memory was 1.1 GB in the beginning and 1.2 GB in the end (delta: -92.3 MB). There was no memory consumed. Max. memory is 11.5 GB. * Witness Printer took 52.75 ms. Allocated memory is still 1.2 GB. Free memory was 1.2 GB in the beginning and 1.2 GB in the end (delta: 4.0 MB). Peak memory consumption was 4.0 MB. Max. memory is 11.5 GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - PositiveResult [Line: 25]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - PositiveResult [Line: 27]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 27]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - AllSpecificationsHoldResult: All specifications hold 3 specifications checked. All of them hold - StatisticsResult: Ultimate Automizer benchmark data CFG has 4 procedures, 20 locations, 3 error locations. Started 1 CEGAR loops. VerificationResult: SAFE, OverallTime: 3.1s, OverallIterations: 5, TraceHistogramMax: 2, AutomataDifference: 0.9s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 53 SDtfs, 34 SDslu, 65 SDs, 0 SdLazy, 123 SolverSat, 18 SolverUnsat, 0 SolverUnknown, 0 SolverNotchecked, 0.2s Time, PredicateUnifierStatistics: 0 DeclaredPredicates, 70 GetRequests, 43 SyntacticMatches, 1 SemanticMatches, 26 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 21 ImplicationChecksByTransitivity, 0.3s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=20occurred in iteration=0, 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, 5 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 1.2s InterpolantComputationTime, 90 NumberOfCodeBlocks, 88 NumberOfCodeBlocksAsserted, 7 NumberOfCheckSat, 83 ConstructedInterpolants, 8 QuantifiedInterpolants, 3158 SizeOfPredicates, 1 NumberOfNonLiveVariables, 129 ConjunctsInSsa, 12 ConjunctsInUnsatCore, 7 InterpolantComputations, 4 PerfectInterpolantSequences, 3/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 correct! Received shutdown request...