./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/valid-memsafety.prp --file ../../../trunk/examples/svcomp/pthread-ext/28_buggy_simple_loop1_vf.i --full-output --traceabstraction.when.to.check.the.insufficient.erros.location.relative.to.the.other.error.locations AFTER --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version b8dbc81d Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../../../trunk/examples/svcomp/pthread-ext/28_buggy_simple_loop1_vf.i -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 f7757e6e73d857d492b029f13f86cb5d550622238e5a2b483c58ab6fc3ffdeb1 --traceabstraction.when.to.check.the.insufficient.erros.location.relative.to.the.other.error.locations AFTER --- Real Ultimate output --- This is Ultimate 0.2.3-?-b8dbc81 [2023-08-29 19:56:56,675 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-08-29 19:56:56,677 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-08-29 19:56:56,722 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-08-29 19:56:56,722 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-08-29 19:56:56,725 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-08-29 19:56:56,728 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-08-29 19:56:56,730 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-08-29 19:56:56,732 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-08-29 19:56:56,737 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-08-29 19:56:56,738 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-08-29 19:56:56,740 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-08-29 19:56:56,740 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-08-29 19:56:56,742 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-08-29 19:56:56,744 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-08-29 19:56:56,750 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-08-29 19:56:56,751 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-08-29 19:56:56,752 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-08-29 19:56:56,754 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-08-29 19:56:56,759 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-08-29 19:56:56,760 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-08-29 19:56:56,761 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-08-29 19:56:56,762 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-08-29 19:56:56,763 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-08-29 19:56:56,769 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-08-29 19:56:56,769 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-08-29 19:56:56,770 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-08-29 19:56:56,771 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-08-29 19:56:56,772 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-08-29 19:56:56,773 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-08-29 19:56:56,773 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-08-29 19:56:56,774 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-08-29 19:56:56,775 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-08-29 19:56:56,776 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-08-29 19:56:56,777 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-08-29 19:56:56,777 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-08-29 19:56:56,777 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-08-29 19:56:56,778 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-08-29 19:56:56,778 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-08-29 19:56:56,779 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-08-29 19:56:56,779 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-08-29 19:56:56,781 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-08-29 19:56:56,824 INFO L113 SettingsManager]: Loading preferences was successful [2023-08-29 19:56:56,824 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-08-29 19:56:56,825 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-08-29 19:56:56,825 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-08-29 19:56:56,826 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-08-29 19:56:56,826 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-08-29 19:56:56,827 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-08-29 19:56:56,827 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-08-29 19:56:56,827 INFO L138 SettingsManager]: * Use SBE=true [2023-08-29 19:56:56,827 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-08-29 19:56:56,828 INFO L138 SettingsManager]: * sizeof long=4 [2023-08-29 19:56:56,828 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-08-29 19:56:56,828 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-08-29 19:56:56,828 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-08-29 19:56:56,829 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-08-29 19:56:56,829 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-08-29 19:56:56,829 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2023-08-29 19:56:56,829 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-08-29 19:56:56,829 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-08-29 19:56:56,829 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-08-29 19:56:56,830 INFO L138 SettingsManager]: * sizeof long double=12 [2023-08-29 19:56:56,830 INFO L138 SettingsManager]: * Use constant arrays=true [2023-08-29 19:56:56,830 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-08-29 19:56:56,830 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-08-29 19:56:56,830 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-08-29 19:56:56,830 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 19:56:56,831 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-08-29 19:56:56,831 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-08-29 19:56:56,831 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-08-29 19:56:56,831 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-08-29 19:56:56,831 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-08-29 19:56:56,831 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-08-29 19:56:56,832 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-08-29 19:56:56,832 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-08-29 19:56:56,832 INFO L138 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release 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 -> f7757e6e73d857d492b029f13f86cb5d550622238e5a2b483c58ab6fc3ffdeb1 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: When to check the insufficient erros location relative to the other error locations -> AFTER [2023-08-29 19:56:57,149 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-29 19:56:57,164 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-29 19:56:57,167 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-29 19:56:57,168 INFO L271 PluginConnector]: Initializing CDTParser... [2023-08-29 19:56:57,168 INFO L275 PluginConnector]: CDTParser initialized [2023-08-29 19:56:57,170 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/28_buggy_simple_loop1_vf.i [2023-08-29 19:56:58,378 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-08-29 19:56:58,636 INFO L351 CDTParser]: Found 1 translation units. [2023-08-29 19:56:58,637 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/28_buggy_simple_loop1_vf.i [2023-08-29 19:56:58,646 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/59cbec484/1613b5eb34f9432998d450809430d7da/FLAG30698439f [2023-08-29 19:56:58,657 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/59cbec484/1613b5eb34f9432998d450809430d7da [2023-08-29 19:56:58,659 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-29 19:56:58,659 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-08-29 19:56:58,660 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-29 19:56:58,660 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-29 19:56:58,663 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-29 19:56:58,664 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 07:56:58" (1/1) ... [2023-08-29 19:56:58,664 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7bc41cfb and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:56:58, skipping insertion in model container [2023-08-29 19:56:58,665 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 07:56:58" (1/1) ... [2023-08-29 19:56:58,670 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-08-29 19:56:58,717 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-08-29 19:56:58,981 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/28_buggy_simple_loop1_vf.i[30287,30300] [2023-08-29 19:56:58,990 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 19:56:58,998 INFO L203 MainTranslator]: Completed pre-run [2023-08-29 19:56:59,040 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/28_buggy_simple_loop1_vf.i[30287,30300] [2023-08-29 19:56:59,049 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 19:56:59,083 INFO L208 MainTranslator]: Completed translation [2023-08-29 19:56:59,083 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:56:59 WrapperNode [2023-08-29 19:56:59,084 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-29 19:56:59,085 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-29 19:56:59,085 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-29 19:56:59,085 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-29 19:56:59,091 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:56:59" (1/1) ... [2023-08-29 19:56:59,113 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:56:59" (1/1) ... [2023-08-29 19:56:59,131 INFO L138 Inliner]: procedures = 167, calls = 10, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 22 [2023-08-29 19:56:59,131 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-29 19:56:59,132 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-29 19:56:59,132 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-29 19:56:59,132 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-08-29 19:56:59,139 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:56:59" (1/1) ... [2023-08-29 19:56:59,139 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:56:59" (1/1) ... [2023-08-29 19:56:59,141 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:56:59" (1/1) ... [2023-08-29 19:56:59,141 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:56:59" (1/1) ... [2023-08-29 19:56:59,145 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:56:59" (1/1) ... [2023-08-29 19:56:59,148 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:56:59" (1/1) ... [2023-08-29 19:56:59,150 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:56:59" (1/1) ... [2023-08-29 19:56:59,151 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:56:59" (1/1) ... [2023-08-29 19:56:59,153 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-29 19:56:59,153 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-29 19:56:59,153 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-08-29 19:56:59,154 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-08-29 19:56:59,154 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:56:59" (1/1) ... [2023-08-29 19:56:59,159 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 19:56:59,169 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 19:56:59,179 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-08-29 19:56:59,194 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-08-29 19:56:59,216 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-08-29 19:56:59,217 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-08-29 19:56:59,217 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-08-29 19:56:59,217 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-29 19:56:59,217 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-29 19:56:59,217 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-29 19:56:59,217 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-08-29 19:56:59,219 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-29 19:56:59,219 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-29 19:56:59,220 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-08-29 19:56:59,338 INFO L236 CfgBuilder]: Building ICFG [2023-08-29 19:56:59,340 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-29 19:56:59,529 INFO L277 CfgBuilder]: Performing block encoding [2023-08-29 19:56:59,534 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-29 19:56:59,535 INFO L302 CfgBuilder]: Removed 4 assume(true) statements. [2023-08-29 19:56:59,536 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 07:56:59 BoogieIcfgContainer [2023-08-29 19:56:59,537 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-08-29 19:56:59,538 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-08-29 19:56:59,538 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-08-29 19:56:59,541 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-08-29 19:56:59,541 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.08 07:56:58" (1/3) ... [2023-08-29 19:56:59,542 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1b59bdb2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 07:56:59, skipping insertion in model container [2023-08-29 19:56:59,542 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:56:59" (2/3) ... [2023-08-29 19:56:59,542 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1b59bdb2 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 07:56:59, skipping insertion in model container [2023-08-29 19:56:59,542 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 07:56:59" (3/3) ... [2023-08-29 19:56:59,543 INFO L112 eAbstractionObserver]: Analyzing ICFG 28_buggy_simple_loop1_vf.i [2023-08-29 19:56:59,559 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-08-29 19:56:59,559 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 4 error locations. [2023-08-29 19:56:59,559 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-08-29 19:56:59,642 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-29 19:56:59,685 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 67 places, 73 transitions, 151 flow [2023-08-29 19:56:59,726 INFO L130 PetriNetUnfolder]: 10/88 cut-off events. [2023-08-29 19:56:59,726 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:56:59,731 INFO L83 FinitePrefix]: Finished finitePrefix Result has 93 conditions, 88 events. 10/88 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 142 event pairs, 0 based on Foata normal form. 0/69 useless extension candidates. Maximal degree in co-relation 60. Up to 4 conditions per place. [2023-08-29 19:56:59,734 INFO L82 GeneralOperation]: Start removeDead. Operand has 67 places, 73 transitions, 151 flow [2023-08-29 19:56:59,737 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 67 places, 73 transitions, 151 flow [2023-08-29 19:56:59,740 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:56:59,754 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 67 places, 73 transitions, 151 flow [2023-08-29 19:56:59,763 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 67 places, 73 transitions, 151 flow [2023-08-29 19:56:59,768 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 67 places, 73 transitions, 151 flow [2023-08-29 19:56:59,796 INFO L130 PetriNetUnfolder]: 10/88 cut-off events. [2023-08-29 19:56:59,799 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:56:59,800 INFO L83 FinitePrefix]: Finished finitePrefix Result has 93 conditions, 88 events. 10/88 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 142 event pairs, 0 based on Foata normal form. 0/69 useless extension candidates. Maximal degree in co-relation 60. Up to 4 conditions per place. [2023-08-29 19:56:59,802 INFO L119 LiptonReduction]: Number of co-enabled transitions 1548 [2023-08-29 19:57:01,453 INFO L134 LiptonReduction]: Checked pairs total: 1220 [2023-08-29 19:57:01,453 INFO L136 LiptonReduction]: Total number of compositions: 64 [2023-08-29 19:57:01,465 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 19:57:01,471 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@e064f03, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:57:01,471 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2023-08-29 19:57:01,473 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 19:57:01,473 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:01,473 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:01,474 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:01,474 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 2 more)] === [2023-08-29 19:57:01,478 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:01,478 INFO L85 PathProgramCache]: Analyzing trace with hash 10322, now seen corresponding path program 1 times [2023-08-29 19:57:01,485 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:01,485 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1350294063] [2023-08-29 19:57:01,485 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:01,486 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:01,587 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:01,644 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:01,645 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:57:01,645 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1350294063] [2023-08-29 19:57:01,646 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1350294063] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:01,647 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:01,647 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:01,648 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1077215285] [2023-08-29 19:57:01,649 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:01,658 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-08-29 19:57:01,661 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:57:01,676 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-08-29 19:57:01,677 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-08-29 19:57:01,678 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 65 out of 137 [2023-08-29 19:57:01,680 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 18 places, 20 transitions, 45 flow. Second operand has 2 states, 2 states have (on average 66.0) internal successors, (132), 2 states have internal predecessors, (132), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:01,681 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:01,681 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 65 of 137 [2023-08-29 19:57:01,681 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:01,737 INFO L130 PetriNetUnfolder]: 40/81 cut-off events. [2023-08-29 19:57:01,737 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:01,738 INFO L83 FinitePrefix]: Finished finitePrefix Result has 162 conditions, 81 events. 40/81 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 16. Compared 233 event pairs, 20 based on Foata normal form. 5/47 useless extension candidates. Maximal degree in co-relation 143. Up to 75 conditions per place. [2023-08-29 19:57:01,740 INFO L137 encePairwiseOnDemand]: 134/137 looper letters, 15 selfloop transitions, 0 changer transitions 0/17 dead transitions. [2023-08-29 19:57:01,740 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 17 places, 17 transitions, 69 flow [2023-08-29 19:57:01,742 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-08-29 19:57:01,744 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2023-08-29 19:57:01,751 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 148 transitions. [2023-08-29 19:57:01,754 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.5401459854014599 [2023-08-29 19:57:01,754 INFO L72 ComplementDD]: Start complementDD. Operand 2 states and 148 transitions. [2023-08-29 19:57:01,755 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2 states and 148 transitions. [2023-08-29 19:57:01,756 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:01,758 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 2 states and 148 transitions. [2023-08-29 19:57:01,764 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 3 states, 2 states have (on average 74.0) internal successors, (148), 2 states have internal predecessors, (148), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:01,768 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 3 states, 3 states have (on average 137.0) internal successors, (411), 3 states have internal predecessors, (411), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:01,768 INFO L81 ComplementDD]: Finished complementDD. Result has 3 states, 3 states have (on average 137.0) internal successors, (411), 3 states have internal predecessors, (411), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:01,770 INFO L175 Difference]: Start difference. First operand has 18 places, 20 transitions, 45 flow. Second operand 2 states and 148 transitions. [2023-08-29 19:57:01,771 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 17 places, 17 transitions, 69 flow [2023-08-29 19:57:01,774 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 17 places, 17 transitions, 69 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 19:57:01,775 INFO L231 Difference]: Finished difference. Result has 17 places, 17 transitions, 39 flow [2023-08-29 19:57:01,776 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=137, PETRI_DIFFERENCE_MINUEND_FLOW=39, PETRI_DIFFERENCE_MINUEND_PLACES=16, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=17, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=17, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=39, PETRI_PLACES=17, PETRI_TRANSITIONS=17} [2023-08-29 19:57:01,781 INFO L281 CegarLoopForPetriNet]: 18 programPoint places, -1 predicate places. [2023-08-29 19:57:01,781 INFO L495 AbstractCegarLoop]: Abstraction has has 17 places, 17 transitions, 39 flow [2023-08-29 19:57:01,782 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 66.0) internal successors, (132), 2 states have internal predecessors, (132), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:01,782 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:01,782 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:01,782 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-08-29 19:57:01,783 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 2 more)] === [2023-08-29 19:57:01,783 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:01,783 INFO L85 PathProgramCache]: Analyzing trace with hash 10336, now seen corresponding path program 1 times [2023-08-29 19:57:01,784 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:01,784 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [747108547] [2023-08-29 19:57:01,784 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:01,784 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:01,816 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:01,902 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:01,902 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:57:01,903 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [747108547] [2023-08-29 19:57:01,903 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [747108547] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:01,903 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:01,903 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:01,904 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1290986252] [2023-08-29 19:57:01,904 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:01,905 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:57:01,905 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:57:01,905 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:57:01,906 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:57:01,918 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 61 out of 137 [2023-08-29 19:57:01,919 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 17 places, 17 transitions, 39 flow. Second operand has 3 states, 3 states have (on average 61.666666666666664) internal successors, (185), 3 states have internal predecessors, (185), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:01,919 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:01,919 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 61 of 137 [2023-08-29 19:57:01,919 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:01,944 INFO L130 PetriNetUnfolder]: 31/64 cut-off events. [2023-08-29 19:57:01,945 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:01,945 INFO L83 FinitePrefix]: Finished finitePrefix Result has 130 conditions, 64 events. 31/64 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 173 event pairs, 15 based on Foata normal form. 0/37 useless extension candidates. Maximal degree in co-relation 126. Up to 58 conditions per place. [2023-08-29 19:57:01,946 INFO L137 encePairwiseOnDemand]: 135/137 looper letters, 13 selfloop transitions, 1 changer transitions 0/16 dead transitions. [2023-08-29 19:57:01,946 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 18 places, 16 transitions, 65 flow [2023-08-29 19:57:01,946 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:57:01,947 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:57:01,950 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 198 transitions. [2023-08-29 19:57:01,952 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.48175182481751827 [2023-08-29 19:57:01,952 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 198 transitions. [2023-08-29 19:57:01,952 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 198 transitions. [2023-08-29 19:57:01,953 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:01,953 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 198 transitions. [2023-08-29 19:57:01,954 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 66.0) internal successors, (198), 3 states have internal predecessors, (198), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:01,956 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 137.0) internal successors, (548), 4 states have internal predecessors, (548), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:01,956 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 137.0) internal successors, (548), 4 states have internal predecessors, (548), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:01,956 INFO L175 Difference]: Start difference. First operand has 17 places, 17 transitions, 39 flow. Second operand 3 states and 198 transitions. [2023-08-29 19:57:01,957 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 18 places, 16 transitions, 65 flow [2023-08-29 19:57:01,957 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 18 places, 16 transitions, 65 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 19:57:01,958 INFO L231 Difference]: Finished difference. Result has 18 places, 16 transitions, 39 flow [2023-08-29 19:57:01,958 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=137, PETRI_DIFFERENCE_MINUEND_FLOW=37, PETRI_DIFFERENCE_MINUEND_PLACES=16, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=16, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=15, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=39, PETRI_PLACES=18, PETRI_TRANSITIONS=16} [2023-08-29 19:57:01,959 INFO L281 CegarLoopForPetriNet]: 18 programPoint places, 0 predicate places. [2023-08-29 19:57:01,959 INFO L495 AbstractCegarLoop]: Abstraction has has 18 places, 16 transitions, 39 flow [2023-08-29 19:57:01,960 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 61.666666666666664) internal successors, (185), 3 states have internal predecessors, (185), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:01,960 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:01,960 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:01,960 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-08-29 19:57:01,960 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 2 more)] === [2023-08-29 19:57:01,961 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:01,961 INFO L85 PathProgramCache]: Analyzing trace with hash 10335, now seen corresponding path program 1 times [2023-08-29 19:57:01,962 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:01,962 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [475538072] [2023-08-29 19:57:01,962 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:01,963 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:01,989 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:02,041 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:02,042 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2023-08-29 19:57:02,042 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [475538072] [2023-08-29 19:57:02,042 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [475538072] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:02,042 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:02,042 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:02,043 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1493276688] [2023-08-29 19:57:02,043 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:02,044 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:57:02,044 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2023-08-29 19:57:02,044 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:57:02,045 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:57:02,082 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 59 out of 137 [2023-08-29 19:57:02,083 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 18 places, 16 transitions, 39 flow. Second operand has 3 states, 3 states have (on average 59.666666666666664) internal successors, (179), 3 states have internal predecessors, (179), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:02,083 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:02,083 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 59 of 137 [2023-08-29 19:57:02,083 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:02,152 INFO L130 PetriNetUnfolder]: 22/47 cut-off events. [2023-08-29 19:57:02,152 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:02,153 INFO L83 FinitePrefix]: Finished finitePrefix Result has 99 conditions, 47 events. 22/47 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 112 event pairs, 10 based on Foata normal form. 0/32 useless extension candidates. Maximal degree in co-relation 94. Up to 42 conditions per place. [2023-08-29 19:57:02,153 INFO L137 encePairwiseOnDemand]: 135/137 looper letters, 11 selfloop transitions, 1 changer transitions 1/15 dead transitions. [2023-08-29 19:57:02,153 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 19 places, 15 transitions, 63 flow [2023-08-29 19:57:02,163 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:57:02,163 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:57:02,164 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 191 transitions. [2023-08-29 19:57:02,164 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.46472019464720193 [2023-08-29 19:57:02,164 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 191 transitions. [2023-08-29 19:57:02,165 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 191 transitions. [2023-08-29 19:57:02,165 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:02,165 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 191 transitions. [2023-08-29 19:57:02,165 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 63.666666666666664) internal successors, (191), 3 states have internal predecessors, (191), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:02,166 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 137.0) internal successors, (548), 4 states have internal predecessors, (548), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:02,167 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 137.0) internal successors, (548), 4 states have internal predecessors, (548), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:02,167 INFO L175 Difference]: Start difference. First operand has 18 places, 16 transitions, 39 flow. Second operand 3 states and 191 transitions. [2023-08-29 19:57:02,167 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 19 places, 15 transitions, 63 flow [2023-08-29 19:57:02,167 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 18 places, 15 transitions, 62 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 19:57:02,168 INFO L231 Difference]: Finished difference. Result has 18 places, 14 transitions, 36 flow [2023-08-29 19:57:02,168 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=137, PETRI_DIFFERENCE_MINUEND_FLOW=36, PETRI_DIFFERENCE_MINUEND_PLACES=16, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=15, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=14, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=36, PETRI_PLACES=18, PETRI_TRANSITIONS=14} [2023-08-29 19:57:02,169 INFO L281 CegarLoopForPetriNet]: 18 programPoint places, 0 predicate places. [2023-08-29 19:57:02,169 INFO L495 AbstractCegarLoop]: Abstraction has has 18 places, 14 transitions, 36 flow [2023-08-29 19:57:02,169 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 59.666666666666664) internal successors, (179), 3 states have internal predecessors, (179), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:02,170 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:02,170 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-08-29 19:57:02,170 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-08-29 19:57:02,170 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting thr1Err0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 2 more)] === [2023-08-29 19:57:02,170 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:02,171 INFO L85 PathProgramCache]: Analyzing trace with hash 960936312, now seen corresponding path program 1 times [2023-08-29 19:57:02,171 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-08-29 19:57:02,171 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [6862110] [2023-08-29 19:57:02,171 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:02,171 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-08-29 19:57:02,199 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:57:02,202 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 19:57:02,214 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:57:02,239 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-08-29 19:57:02,239 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 19:57:02,240 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 5 remaining) [2023-08-29 19:57:02,241 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 5 remaining) [2023-08-29 19:57:02,242 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (2 of 5 remaining) [2023-08-29 19:57:02,242 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (1 of 5 remaining) [2023-08-29 19:57:02,243 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 5 remaining) [2023-08-29 19:57:02,243 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-08-29 19:57:02,243 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2023-08-29 19:57:02,245 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was UNSAFE,UNKNOWN,UNKNOWN,UNKNOWN,UNKNOWN (1/2) [2023-08-29 19:57:02,249 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2023-08-29 19:57:02,249 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-08-29 19:57:02,268 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 29.08 07:57:02 BasicIcfg [2023-08-29 19:57:02,268 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-08-29 19:57:02,269 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-08-29 19:57:02,269 INFO L271 PluginConnector]: Initializing Witness Printer... [2023-08-29 19:57:02,269 INFO L275 PluginConnector]: Witness Printer initialized [2023-08-29 19:57:02,270 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 07:56:59" (3/4) ... [2023-08-29 19:57:02,272 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-08-29 19:57:02,272 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-08-29 19:57:02,275 INFO L158 Benchmark]: Toolchain (without parser) took 3613.08ms. Allocated memory was 69.2MB in the beginning and 92.3MB in the end (delta: 23.1MB). Free memory was 39.6MB in the beginning and 55.6MB in the end (delta: -16.0MB). Peak memory consumption was 4.7MB. Max. memory is 16.1GB. [2023-08-29 19:57:02,276 INFO L158 Benchmark]: CDTParser took 0.19ms. Allocated memory is still 54.5MB. Free memory is still 32.9MB. There was no memory consumed. Max. memory is 16.1GB. [2023-08-29 19:57:02,276 INFO L158 Benchmark]: CACSL2BoogieTranslator took 423.63ms. Allocated memory is still 69.2MB. Free memory was 39.4MB in the beginning and 39.7MB in the end (delta: -272.3kB). Peak memory consumption was 12.0MB. Max. memory is 16.1GB. [2023-08-29 19:57:02,279 INFO L158 Benchmark]: Boogie Procedure Inliner took 46.35ms. Allocated memory is still 69.2MB. Free memory was 39.7MB in the beginning and 37.8MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-08-29 19:57:02,279 INFO L158 Benchmark]: Boogie Preprocessor took 21.05ms. Allocated memory is still 69.2MB. Free memory was 37.8MB in the beginning and 36.6MB in the end (delta: 1.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-08-29 19:57:02,280 INFO L158 Benchmark]: RCFGBuilder took 383.48ms. Allocated memory is still 69.2MB. Free memory was 36.6MB in the beginning and 43.0MB in the end (delta: -6.4MB). Peak memory consumption was 9.8MB. Max. memory is 16.1GB. [2023-08-29 19:57:02,281 INFO L158 Benchmark]: TraceAbstraction took 2730.25ms. Allocated memory was 69.2MB in the beginning and 92.3MB in the end (delta: 23.1MB). Free memory was 42.3MB in the beginning and 56.3MB in the end (delta: -14.0MB). Peak memory consumption was 8.1MB. Max. memory is 16.1GB. [2023-08-29 19:57:02,284 INFO L158 Benchmark]: Witness Printer took 3.26ms. Allocated memory is still 92.3MB. Free memory was 56.3MB in the beginning and 55.6MB in the end (delta: 711.9kB). There was no memory consumed. Max. memory is 16.1GB. [2023-08-29 19:57:02,286 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.19ms. Allocated memory is still 54.5MB. Free memory is still 32.9MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 423.63ms. Allocated memory is still 69.2MB. Free memory was 39.4MB in the beginning and 39.7MB in the end (delta: -272.3kB). Peak memory consumption was 12.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 46.35ms. Allocated memory is still 69.2MB. Free memory was 39.7MB in the beginning and 37.8MB in the end (delta: 1.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 21.05ms. Allocated memory is still 69.2MB. Free memory was 37.8MB in the beginning and 36.6MB in the end (delta: 1.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 383.48ms. Allocated memory is still 69.2MB. Free memory was 36.6MB in the beginning and 43.0MB in the end (delta: -6.4MB). Peak memory consumption was 9.8MB. Max. memory is 16.1GB. * TraceAbstraction took 2730.25ms. Allocated memory was 69.2MB in the beginning and 92.3MB in the end (delta: 23.1MB). Free memory was 42.3MB in the beginning and 56.3MB in the end (delta: -14.0MB). Peak memory consumption was 8.1MB. Max. memory is 16.1GB. * Witness Printer took 3.26ms. Allocated memory is still 92.3MB. Free memory was 56.3MB in the beginning and 55.6MB in the end (delta: 711.9kB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: PetriNetLargeBlockEncoding benchmarks Lipton Reduction Statistics: ReductionTime: 1.7s, 67 PlacesBefore, 18 PlacesAfterwards, 73 TransitionsBefore, 20 TransitionsAfterwards, 1548 CoEnabledTransitionPairs, 5 FixpointIterations, 10 TrivialSequentialCompositions, 41 ConcurrentSequentialCompositions, 0 TrivialYvCompositions, 9 ConcurrentYvCompositions, 4 ChoiceCompositions, 64 TotalNumberOfCompositions, 1220 MoverChecksTotal, Independence Relation Statistics: CachedIndependenceRelation.Independence Queries: [ total: 1220, independent: 1220, independent conditional: 0, independent unconditional: 1220, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: SyntacticIndependenceRelation.Independence Queries: [ total: 746, independent: 746, independent conditional: 0, independent unconditional: 746, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Cache Queries: [ total: 1220, independent: 474, independent conditional: 0, independent unconditional: 474, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 746, unknown conditional: 0, unknown unconditional: 746] , Statistics on independence cache: Total cache size (in pairs): 11, Positive cache size: 11, Positive conditional cache size: 0, Positive unconditional cache size: 11, Negative cache size: 0, Negative conditional cache size: 0, Negative unconditional cache size: 0, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0 - UnprovableResult [Line: 695]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 695. Possible FailurePath: [L700] 0 pthread_t t; VAL [t={3:0}] [L701] COND TRUE 0 1 [L703] FCALL, FORK 0 pthread_create(&t, 0, thr1, 0) VAL [arg={0:0}, pthread_create(&t, 0, thr1, 0)=-1, t={3:0}] [L686] 1 unsigned int x=__VERIFIER_nondet_uint(), y=__VERIFIER_nondet_uint(), z=__VERIFIER_nondet_uint(); [L686] 1 unsigned int x=__VERIFIER_nondet_uint(), y=__VERIFIER_nondet_uint(), z=__VERIFIER_nondet_uint(); [L686] 1 unsigned int x=__VERIFIER_nondet_uint(), y=__VERIFIER_nondet_uint(), z=__VERIFIER_nondet_uint(); [L687] 1 int i, j=1, k=1; [L688] 1 i=0 VAL [arg={0:0}, arg={0:0}, i=0, j=1, k=1] [L688] COND FALSE 1 !(i 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 -> f7757e6e73d857d492b029f13f86cb5d550622238e5a2b483c58ab6fc3ffdeb1 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: When to check the insufficient erros location relative to the other error locations -> AFTER [2023-08-29 19:57:04,643 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-08-29 19:57:04,662 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-08-29 19:57:04,664 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-08-29 19:57:04,665 INFO L271 PluginConnector]: Initializing CDTParser... [2023-08-29 19:57:04,666 INFO L275 PluginConnector]: CDTParser initialized [2023-08-29 19:57:04,668 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/pthread-ext/28_buggy_simple_loop1_vf.i [2023-08-29 19:57:05,896 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-08-29 19:57:06,145 INFO L351 CDTParser]: Found 1 translation units. [2023-08-29 19:57:06,145 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/28_buggy_simple_loop1_vf.i [2023-08-29 19:57:06,157 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d5b83fa5f/9a634b1a44524f6db0bfaf6edbc1f860/FLAG888a4386b [2023-08-29 19:57:06,170 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d5b83fa5f/9a634b1a44524f6db0bfaf6edbc1f860 [2023-08-29 19:57:06,172 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-08-29 19:57:06,173 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-08-29 19:57:06,175 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-08-29 19:57:06,175 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-08-29 19:57:06,178 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-08-29 19:57:06,178 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 07:57:06" (1/1) ... [2023-08-29 19:57:06,179 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@36ad086 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:06, skipping insertion in model container [2023-08-29 19:57:06,180 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 29.08 07:57:06" (1/1) ... [2023-08-29 19:57:06,185 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-08-29 19:57:06,216 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-08-29 19:57:06,499 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/28_buggy_simple_loop1_vf.i[30287,30300] [2023-08-29 19:57:06,508 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 19:57:06,521 INFO L203 MainTranslator]: Completed pre-run [2023-08-29 19:57:06,567 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread-ext/28_buggy_simple_loop1_vf.i[30287,30300] [2023-08-29 19:57:06,574 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-08-29 19:57:06,621 INFO L208 MainTranslator]: Completed translation [2023-08-29 19:57:06,621 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:06 WrapperNode [2023-08-29 19:57:06,621 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-08-29 19:57:06,623 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-08-29 19:57:06,623 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-08-29 19:57:06,623 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-08-29 19:57:06,629 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:06" (1/1) ... [2023-08-29 19:57:06,659 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:06" (1/1) ... [2023-08-29 19:57:06,676 INFO L138 Inliner]: procedures = 170, calls = 10, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 23 [2023-08-29 19:57:06,677 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-08-29 19:57:06,677 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-08-29 19:57:06,677 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-08-29 19:57:06,677 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-08-29 19:57:06,684 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:06" (1/1) ... [2023-08-29 19:57:06,685 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:06" (1/1) ... [2023-08-29 19:57:06,692 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:06" (1/1) ... [2023-08-29 19:57:06,692 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:06" (1/1) ... [2023-08-29 19:57:06,709 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:06" (1/1) ... [2023-08-29 19:57:06,712 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:06" (1/1) ... [2023-08-29 19:57:06,714 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:06" (1/1) ... [2023-08-29 19:57:06,715 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:06" (1/1) ... [2023-08-29 19:57:06,717 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-08-29 19:57:06,718 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-08-29 19:57:06,718 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-08-29 19:57:06,718 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-08-29 19:57:06,719 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:06" (1/1) ... [2023-08-29 19:57:06,730 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-08-29 19:57:06,741 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-08-29 19:57:06,758 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2023-08-29 19:57:06,784 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2023-08-29 19:57:06,802 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2023-08-29 19:57:06,802 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2023-08-29 19:57:06,803 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-08-29 19:57:06,803 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-08-29 19:57:06,803 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-08-29 19:57:06,803 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2023-08-29 19:57:06,804 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2023-08-29 19:57:06,804 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-08-29 19:57:06,804 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-08-29 19:57:06,805 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-08-29 19:57:06,944 INFO L236 CfgBuilder]: Building ICFG [2023-08-29 19:57:06,946 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-08-29 19:57:07,185 INFO L277 CfgBuilder]: Performing block encoding [2023-08-29 19:57:07,191 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-08-29 19:57:07,191 INFO L302 CfgBuilder]: Removed 4 assume(true) statements. [2023-08-29 19:57:07,193 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 07:57:07 BoogieIcfgContainer [2023-08-29 19:57:07,206 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-08-29 19:57:07,211 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-08-29 19:57:07,211 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-08-29 19:57:07,214 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-08-29 19:57:07,214 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 29.08 07:57:06" (1/3) ... [2023-08-29 19:57:07,214 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5f9b47cf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 07:57:07, skipping insertion in model container [2023-08-29 19:57:07,214 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 29.08 07:57:06" (2/3) ... [2023-08-29 19:57:07,215 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5f9b47cf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 29.08 07:57:07, skipping insertion in model container [2023-08-29 19:57:07,215 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 07:57:07" (3/3) ... [2023-08-29 19:57:07,216 INFO L112 eAbstractionObserver]: Analyzing ICFG 28_buggy_simple_loop1_vf.i [2023-08-29 19:57:07,230 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-08-29 19:57:07,232 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 4 error locations. [2023-08-29 19:57:07,233 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-08-29 19:57:07,344 INFO L144 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2023-08-29 19:57:07,386 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 68 places, 74 transitions, 153 flow [2023-08-29 19:57:07,438 INFO L130 PetriNetUnfolder]: 10/89 cut-off events. [2023-08-29 19:57:07,438 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:07,443 INFO L83 FinitePrefix]: Finished finitePrefix Result has 94 conditions, 89 events. 10/89 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 143 event pairs, 0 based on Foata normal form. 0/70 useless extension candidates. Maximal degree in co-relation 60. Up to 4 conditions per place. [2023-08-29 19:57:07,443 INFO L82 GeneralOperation]: Start removeDead. Operand has 68 places, 74 transitions, 153 flow [2023-08-29 19:57:07,447 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 68 places, 74 transitions, 153 flow [2023-08-29 19:57:07,450 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-08-29 19:57:07,464 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 68 places, 74 transitions, 153 flow [2023-08-29 19:57:07,466 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 68 places, 74 transitions, 153 flow [2023-08-29 19:57:07,467 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 68 places, 74 transitions, 153 flow [2023-08-29 19:57:07,499 INFO L130 PetriNetUnfolder]: 10/89 cut-off events. [2023-08-29 19:57:07,500 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:07,501 INFO L83 FinitePrefix]: Finished finitePrefix Result has 94 conditions, 89 events. 10/89 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 143 event pairs, 0 based on Foata normal form. 0/70 useless extension candidates. Maximal degree in co-relation 60. Up to 4 conditions per place. [2023-08-29 19:57:07,502 INFO L119 LiptonReduction]: Number of co-enabled transitions 1548 [2023-08-29 19:57:09,793 INFO L134 LiptonReduction]: Checked pairs total: 1226 [2023-08-29 19:57:09,794 INFO L136 LiptonReduction]: Total number of compositions: 65 [2023-08-29 19:57:09,805 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2023-08-29 19:57:09,810 INFO L357 AbstractCegarLoop]: Settings: SEPARATE_VIOLATION_CHECK=true, mInterprocedural=true, mMaxIterations=1000000, mWatchIteration=1000000, mArtifact=RCFG, mInterpolation=FPandBP, mInterpolantAutomaton=STRAIGHT_LINE, mDumpAutomata=false, mAutomataFormat=ATS_NUMERATE, mDumpPath=., mDeterminiation=PREDICATE_ABSTRACTION, mMinimize=MINIMIZE_SEVPA, mHoare=false, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=All, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@5a5bf70d, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-08-29 19:57:09,811 INFO L358 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2023-08-29 19:57:09,813 INFO L130 PetriNetUnfolder]: 0/1 cut-off events. [2023-08-29 19:57:09,813 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:09,813 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:09,814 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:09,814 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 2 more)] === [2023-08-29 19:57:09,818 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:09,818 INFO L85 PathProgramCache]: Analyzing trace with hash 10482, now seen corresponding path program 1 times [2023-08-29 19:57:09,828 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2023-08-29 19:57:09,828 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1828013545] [2023-08-29 19:57:09,828 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:09,828 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-08-29 19:57:09,829 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2023-08-29 19:57:09,833 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2023-08-29 19:57:09,845 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (2)] Waiting until timeout for monitored process [2023-08-29 19:57:09,903 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:09,905 INFO L263 TraceCheckSpWp]: Trace formula consists of 22 conjuncts, 1 conjunts are in the unsatisfiable core [2023-08-29 19:57:09,907 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 19:57:09,921 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:09,922 INFO L324 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-08-29 19:57:09,922 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2023-08-29 19:57:09,922 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1828013545] [2023-08-29 19:57:09,923 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [1828013545] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:09,923 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:09,923 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:09,924 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [672750701] [2023-08-29 19:57:09,925 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:09,931 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2023-08-29 19:57:09,935 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2023-08-29 19:57:09,950 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2023-08-29 19:57:09,951 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2023-08-29 19:57:09,952 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 66 out of 139 [2023-08-29 19:57:09,954 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 18 places, 20 transitions, 45 flow. Second operand has 2 states, 2 states have (on average 67.0) internal successors, (134), 2 states have internal predecessors, (134), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:09,954 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:09,954 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 66 of 139 [2023-08-29 19:57:09,955 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:10,021 INFO L130 PetriNetUnfolder]: 40/81 cut-off events. [2023-08-29 19:57:10,021 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:10,022 INFO L83 FinitePrefix]: Finished finitePrefix Result has 162 conditions, 81 events. 40/81 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 15. Compared 230 event pairs, 20 based on Foata normal form. 5/47 useless extension candidates. Maximal degree in co-relation 143. Up to 75 conditions per place. [2023-08-29 19:57:10,023 INFO L137 encePairwiseOnDemand]: 136/139 looper letters, 15 selfloop transitions, 0 changer transitions 0/17 dead transitions. [2023-08-29 19:57:10,023 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 17 places, 17 transitions, 69 flow [2023-08-29 19:57:10,037 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2023-08-29 19:57:10,040 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2023-08-29 19:57:10,045 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 150 transitions. [2023-08-29 19:57:10,046 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.539568345323741 [2023-08-29 19:57:10,047 INFO L72 ComplementDD]: Start complementDD. Operand 2 states and 150 transitions. [2023-08-29 19:57:10,047 INFO L73 IsDeterministic]: Start isDeterministic. Operand 2 states and 150 transitions. [2023-08-29 19:57:10,048 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:10,050 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 2 states and 150 transitions. [2023-08-29 19:57:10,052 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 3 states, 2 states have (on average 75.0) internal successors, (150), 2 states have internal predecessors, (150), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:10,066 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 3 states, 3 states have (on average 139.0) internal successors, (417), 3 states have internal predecessors, (417), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:10,067 INFO L81 ComplementDD]: Finished complementDD. Result has 3 states, 3 states have (on average 139.0) internal successors, (417), 3 states have internal predecessors, (417), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:10,069 INFO L175 Difference]: Start difference. First operand has 18 places, 20 transitions, 45 flow. Second operand 2 states and 150 transitions. [2023-08-29 19:57:10,069 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 17 places, 17 transitions, 69 flow [2023-08-29 19:57:10,071 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 17 places, 17 transitions, 69 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 19:57:10,086 INFO L231 Difference]: Finished difference. Result has 17 places, 17 transitions, 39 flow [2023-08-29 19:57:10,087 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=139, PETRI_DIFFERENCE_MINUEND_FLOW=39, PETRI_DIFFERENCE_MINUEND_PLACES=16, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=17, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=17, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=39, PETRI_PLACES=17, PETRI_TRANSITIONS=17} [2023-08-29 19:57:10,090 INFO L281 CegarLoopForPetriNet]: 18 programPoint places, -1 predicate places. [2023-08-29 19:57:10,090 INFO L495 AbstractCegarLoop]: Abstraction has has 17 places, 17 transitions, 39 flow [2023-08-29 19:57:10,091 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 67.0) internal successors, (134), 2 states have internal predecessors, (134), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:10,091 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:10,091 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:10,101 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (2)] Forceful destruction successful, exit code 0 [2023-08-29 19:57:10,299 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-08-29 19:57:10,300 INFO L420 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 2 more)] === [2023-08-29 19:57:10,301 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:10,301 INFO L85 PathProgramCache]: Analyzing trace with hash 10491, now seen corresponding path program 1 times [2023-08-29 19:57:10,301 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2023-08-29 19:57:10,302 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [65531715] [2023-08-29 19:57:10,302 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:10,302 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-08-29 19:57:10,302 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2023-08-29 19:57:10,303 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2023-08-29 19:57:10,306 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Waiting until timeout for monitored process [2023-08-29 19:57:10,346 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:10,347 INFO L263 TraceCheckSpWp]: Trace formula consists of 24 conjuncts, 4 conjunts are in the unsatisfiable core [2023-08-29 19:57:10,348 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 19:57:10,394 INFO L350 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 5 [2023-08-29 19:57:10,406 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:10,406 INFO L324 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-08-29 19:57:10,407 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2023-08-29 19:57:10,407 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [65531715] [2023-08-29 19:57:10,408 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [65531715] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:10,409 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:10,409 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:10,410 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [271281763] [2023-08-29 19:57:10,410 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:10,411 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:57:10,411 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2023-08-29 19:57:10,412 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:57:10,412 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:57:10,439 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 62 out of 139 [2023-08-29 19:57:10,442 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 17 places, 17 transitions, 39 flow. Second operand has 3 states, 3 states have (on average 62.666666666666664) internal successors, (188), 3 states have internal predecessors, (188), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:10,443 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:10,443 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 62 of 139 [2023-08-29 19:57:10,443 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:10,493 INFO L130 PetriNetUnfolder]: 31/64 cut-off events. [2023-08-29 19:57:10,493 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:10,496 INFO L83 FinitePrefix]: Finished finitePrefix Result has 130 conditions, 64 events. 31/64 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 167 event pairs, 15 based on Foata normal form. 0/37 useless extension candidates. Maximal degree in co-relation 126. Up to 58 conditions per place. [2023-08-29 19:57:10,499 INFO L137 encePairwiseOnDemand]: 137/139 looper letters, 13 selfloop transitions, 1 changer transitions 0/16 dead transitions. [2023-08-29 19:57:10,500 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 18 places, 16 transitions, 65 flow [2023-08-29 19:57:10,501 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:57:10,501 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:57:10,505 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 201 transitions. [2023-08-29 19:57:10,507 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.48201438848920863 [2023-08-29 19:57:10,508 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 201 transitions. [2023-08-29 19:57:10,508 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 201 transitions. [2023-08-29 19:57:10,509 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:10,510 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 201 transitions. [2023-08-29 19:57:10,511 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 67.0) internal successors, (201), 3 states have internal predecessors, (201), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:10,514 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 139.0) internal successors, (556), 4 states have internal predecessors, (556), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:10,514 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 139.0) internal successors, (556), 4 states have internal predecessors, (556), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:10,514 INFO L175 Difference]: Start difference. First operand has 17 places, 17 transitions, 39 flow. Second operand 3 states and 201 transitions. [2023-08-29 19:57:10,515 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 18 places, 16 transitions, 65 flow [2023-08-29 19:57:10,515 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 18 places, 16 transitions, 65 flow, removed 0 selfloop flow, removed 0 redundant places. [2023-08-29 19:57:10,516 INFO L231 Difference]: Finished difference. Result has 18 places, 16 transitions, 39 flow [2023-08-29 19:57:10,517 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=139, PETRI_DIFFERENCE_MINUEND_FLOW=37, PETRI_DIFFERENCE_MINUEND_PLACES=16, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=16, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=15, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=39, PETRI_PLACES=18, PETRI_TRANSITIONS=16} [2023-08-29 19:57:10,518 INFO L281 CegarLoopForPetriNet]: 18 programPoint places, 0 predicate places. [2023-08-29 19:57:10,518 INFO L495 AbstractCegarLoop]: Abstraction has has 18 places, 16 transitions, 39 flow [2023-08-29 19:57:10,518 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 62.666666666666664) internal successors, (188), 3 states have internal predecessors, (188), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:10,518 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:10,519 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1] [2023-08-29 19:57:10,531 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Forceful destruction successful, exit code 0 [2023-08-29 19:57:10,727 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-08-29 19:57:10,728 INFO L420 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 2 more)] === [2023-08-29 19:57:10,728 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:10,728 INFO L85 PathProgramCache]: Analyzing trace with hash 10490, now seen corresponding path program 1 times [2023-08-29 19:57:10,729 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2023-08-29 19:57:10,729 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [26122229] [2023-08-29 19:57:10,729 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:10,729 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-08-29 19:57:10,729 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2023-08-29 19:57:10,731 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2023-08-29 19:57:10,733 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (4)] Waiting until timeout for monitored process [2023-08-29 19:57:10,775 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-08-29 19:57:10,776 INFO L263 TraceCheckSpWp]: Trace formula consists of 24 conjuncts, 3 conjunts are in the unsatisfiable core [2023-08-29 19:57:10,777 INFO L286 TraceCheckSpWp]: Computing forward predicates... [2023-08-29 19:57:10,784 INFO L350 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 6 treesize of output 7 [2023-08-29 19:57:10,789 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-08-29 19:57:10,789 INFO L324 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2023-08-29 19:57:10,790 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2023-08-29 19:57:10,790 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [26122229] [2023-08-29 19:57:10,791 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [26122229] provided 1 perfect and 0 imperfect interpolant sequences [2023-08-29 19:57:10,791 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2023-08-29 19:57:10,792 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2023-08-29 19:57:10,792 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2083989253] [2023-08-29 19:57:10,792 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2023-08-29 19:57:10,792 INFO L571 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2023-08-29 19:57:10,792 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2023-08-29 19:57:10,793 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2023-08-29 19:57:10,793 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2023-08-29 19:57:10,827 INFO L471 CegarLoopForPetriNet]: Number of universal loopers: 60 out of 139 [2023-08-29 19:57:10,828 INFO L100 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 18 places, 16 transitions, 39 flow. Second operand has 3 states, 3 states have (on average 60.666666666666664) internal successors, (182), 3 states have internal predecessors, (182), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:10,828 INFO L109 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2023-08-29 19:57:10,828 INFO L110 encePairwiseOnDemand]: Number of universal subtrahend loopers: 60 of 139 [2023-08-29 19:57:10,828 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2023-08-29 19:57:10,873 INFO L130 PetriNetUnfolder]: 22/47 cut-off events. [2023-08-29 19:57:10,873 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-08-29 19:57:10,873 INFO L83 FinitePrefix]: Finished finitePrefix Result has 99 conditions, 47 events. 22/47 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 109 event pairs, 10 based on Foata normal form. 0/32 useless extension candidates. Maximal degree in co-relation 94. Up to 42 conditions per place. [2023-08-29 19:57:10,874 INFO L137 encePairwiseOnDemand]: 137/139 looper letters, 11 selfloop transitions, 1 changer transitions 1/15 dead transitions. [2023-08-29 19:57:10,875 INFO L142 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 19 places, 15 transitions, 63 flow [2023-08-29 19:57:10,875 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2023-08-29 19:57:10,875 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2023-08-29 19:57:10,877 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 194 transitions. [2023-08-29 19:57:10,878 INFO L516 CegarLoopForPetriNet]: DFA transition density 0.46522781774580335 [2023-08-29 19:57:10,878 INFO L72 ComplementDD]: Start complementDD. Operand 3 states and 194 transitions. [2023-08-29 19:57:10,878 INFO L73 IsDeterministic]: Start isDeterministic. Operand 3 states and 194 transitions. [2023-08-29 19:57:10,878 INFO L80 IsDeterministic]: Finished isDeterministic. Operand is deterministic. [2023-08-29 19:57:10,879 INFO L117 ReachableStatesCopy]: Start reachableStatesCopy. Operand 3 states and 194 transitions. [2023-08-29 19:57:10,881 INFO L343 DoubleDeckerVisitor]: Before removal of dead ends has 4 states, 3 states have (on average 64.66666666666667) internal successors, (194), 3 states have internal predecessors, (194), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:10,883 INFO L131 ReachableStatesCopy]: Finished reachableStatesCopy Result has 4 states, 4 states have (on average 139.0) internal successors, (556), 4 states have internal predecessors, (556), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:10,884 INFO L81 ComplementDD]: Finished complementDD. Result has 4 states, 4 states have (on average 139.0) internal successors, (556), 4 states have internal predecessors, (556), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:10,884 INFO L175 Difference]: Start difference. First operand has 18 places, 16 transitions, 39 flow. Second operand 3 states and 194 transitions. [2023-08-29 19:57:10,884 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 19 places, 15 transitions, 63 flow [2023-08-29 19:57:10,885 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 18 places, 15 transitions, 62 flow, removed 0 selfloop flow, removed 1 redundant places. [2023-08-29 19:57:10,885 INFO L231 Difference]: Finished difference. Result has 18 places, 14 transitions, 36 flow [2023-08-29 19:57:10,885 INFO L264 CegarLoopForPetriNet]: {PETRI_ALPHABET=139, PETRI_DIFFERENCE_MINUEND_FLOW=36, PETRI_DIFFERENCE_MINUEND_PLACES=16, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=15, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=14, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=36, PETRI_PLACES=18, PETRI_TRANSITIONS=14} [2023-08-29 19:57:10,886 INFO L281 CegarLoopForPetriNet]: 18 programPoint places, 0 predicate places. [2023-08-29 19:57:10,887 INFO L495 AbstractCegarLoop]: Abstraction has has 18 places, 14 transitions, 36 flow [2023-08-29 19:57:10,889 INFO L496 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 60.666666666666664) internal successors, (182), 3 states have internal predecessors, (182), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2023-08-29 19:57:10,889 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-08-29 19:57:10,889 INFO L208 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1] [2023-08-29 19:57:10,897 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (4)] Forceful destruction successful, exit code 0 [2023-08-29 19:57:11,096 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 4 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-08-29 19:57:11,097 INFO L420 AbstractCegarLoop]: === Iteration 4 === Targeting thr1Err0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK, thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (and 2 more)] === [2023-08-29 19:57:11,097 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-08-29 19:57:11,097 INFO L85 PathProgramCache]: Analyzing trace with hash 1104144658, now seen corresponding path program 1 times [2023-08-29 19:57:11,098 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2023-08-29 19:57:11,098 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [248909420] [2023-08-29 19:57:11,098 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-08-29 19:57:11,098 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-08-29 19:57:11,098 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2023-08-29 19:57:11,099 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2023-08-29 19:57:11,102 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (5)] Waiting until timeout for monitored process [2023-08-29 19:57:11,143 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:57:11,143 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-08-29 19:57:11,158 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-08-29 19:57:11,195 INFO L130 FreeRefinementEngine]: Strategy WOLF found a feasible trace [2023-08-29 19:57:11,196 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-08-29 19:57:11,197 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 5 remaining) [2023-08-29 19:57:11,199 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (3 of 5 remaining) [2023-08-29 19:57:11,203 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (2 of 5 remaining) [2023-08-29 19:57:11,204 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (1 of 5 remaining) [2023-08-29 19:57:11,204 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (0 of 5 remaining) [2023-08-29 19:57:11,216 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (5)] Forceful destruction successful, exit code 0 [2023-08-29 19:57:11,416 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 5 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2023-08-29 19:57:11,416 INFO L445 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2023-08-29 19:57:11,418 INFO L307 ceAbstractionStarter]: Result for error location AllErrorsAtOnce was UNSAFE,UNKNOWN,UNKNOWN,UNKNOWN,UNKNOWN (1/2) [2023-08-29 19:57:11,422 INFO L228 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2023-08-29 19:57:11,422 INFO L178 ceAbstractionStarter]: Computing trace abstraction results [2023-08-29 19:57:11,449 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 29.08 07:57:11 BasicIcfg [2023-08-29 19:57:11,450 INFO L132 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2023-08-29 19:57:11,450 INFO L113 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-08-29 19:57:11,450 INFO L271 PluginConnector]: Initializing Witness Printer... [2023-08-29 19:57:11,451 INFO L275 PluginConnector]: Witness Printer initialized [2023-08-29 19:57:11,451 INFO L185 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 29.08 07:57:07" (3/4) ... [2023-08-29 19:57:11,453 INFO L140 WitnessPrinter]: No result that supports witness generation found [2023-08-29 19:57:11,453 INFO L132 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-08-29 19:57:11,454 INFO L158 Benchmark]: Toolchain (without parser) took 5280.23ms. Allocated memory was 79.7MB in the beginning and 96.5MB in the end (delta: 16.8MB). Free memory was 55.3MB in the beginning and 54.3MB in the end (delta: 948.6kB). Peak memory consumption was 19.7MB. Max. memory is 16.1GB. [2023-08-29 19:57:11,454 INFO L158 Benchmark]: CDTParser took 0.20ms. Allocated memory is still 58.7MB. Free memory is still 36.1MB. There was no memory consumed. Max. memory is 16.1GB. [2023-08-29 19:57:11,454 INFO L158 Benchmark]: CACSL2BoogieTranslator took 447.18ms. Allocated memory is still 79.7MB. Free memory was 55.3MB in the beginning and 55.1MB in the end (delta: 203.4kB). Peak memory consumption was 24.1MB. Max. memory is 16.1GB. [2023-08-29 19:57:11,455 INFO L158 Benchmark]: Boogie Procedure Inliner took 54.27ms. Allocated memory is still 79.7MB. Free memory was 55.1MB in the beginning and 53.1MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-08-29 19:57:11,460 INFO L158 Benchmark]: Boogie Preprocessor took 39.65ms. Allocated memory is still 79.7MB. Free memory was 53.1MB in the beginning and 51.7MB in the end (delta: 1.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-08-29 19:57:11,460 INFO L158 Benchmark]: RCFGBuilder took 488.47ms. Allocated memory is still 79.7MB. Free memory was 51.3MB in the beginning and 38.1MB in the end (delta: 13.3MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. [2023-08-29 19:57:11,461 INFO L158 Benchmark]: TraceAbstraction took 4238.92ms. Allocated memory was 79.7MB in the beginning and 96.5MB in the end (delta: 16.8MB). Free memory was 37.3MB in the beginning and 54.9MB in the end (delta: -17.6MB). There was no memory consumed. Max. memory is 16.1GB. [2023-08-29 19:57:11,461 INFO L158 Benchmark]: Witness Printer took 3.02ms. Allocated memory is still 96.5MB. Free memory was 54.9MB in the beginning and 54.3MB in the end (delta: 560.4kB). There was no memory consumed. Max. memory is 16.1GB. [2023-08-29 19:57:11,463 INFO L339 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.20ms. Allocated memory is still 58.7MB. Free memory is still 36.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 447.18ms. Allocated memory is still 79.7MB. Free memory was 55.3MB in the beginning and 55.1MB in the end (delta: 203.4kB). Peak memory consumption was 24.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 54.27ms. Allocated memory is still 79.7MB. Free memory was 55.1MB in the beginning and 53.1MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 39.65ms. Allocated memory is still 79.7MB. Free memory was 53.1MB in the beginning and 51.7MB in the end (delta: 1.4MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 488.47ms. Allocated memory is still 79.7MB. Free memory was 51.3MB in the beginning and 38.1MB in the end (delta: 13.3MB). Peak memory consumption was 12.6MB. Max. memory is 16.1GB. * TraceAbstraction took 4238.92ms. Allocated memory was 79.7MB in the beginning and 96.5MB in the end (delta: 16.8MB). Free memory was 37.3MB in the beginning and 54.9MB in the end (delta: -17.6MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 3.02ms. Allocated memory is still 96.5MB. Free memory was 54.9MB in the beginning and 54.3MB in the end (delta: 560.4kB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: PetriNetLargeBlockEncoding benchmarks Lipton Reduction Statistics: ReductionTime: 2.3s, 68 PlacesBefore, 18 PlacesAfterwards, 74 TransitionsBefore, 20 TransitionsAfterwards, 1548 CoEnabledTransitionPairs, 5 FixpointIterations, 11 TrivialSequentialCompositions, 41 ConcurrentSequentialCompositions, 0 TrivialYvCompositions, 9 ConcurrentYvCompositions, 4 ChoiceCompositions, 65 TotalNumberOfCompositions, 1226 MoverChecksTotal, Independence Relation Statistics: CachedIndependenceRelation.Independence Queries: [ total: 1226, independent: 1226, independent conditional: 0, independent unconditional: 1226, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: SyntacticIndependenceRelation.Independence Queries: [ total: 739, independent: 739, independent conditional: 0, independent unconditional: 739, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Cache Queries: [ total: 1226, independent: 487, independent conditional: 0, independent unconditional: 487, dependent: 0, dependent conditional: 0, dependent unconditional: 0, unknown: 739, unknown conditional: 0, unknown unconditional: 739] , Statistics on independence cache: Total cache size (in pairs): 11, Positive cache size: 11, Positive conditional cache size: 0, Positive unconditional cache size: 11, Negative cache size: 0, Negative conditional cache size: 0, Negative unconditional cache size: 0, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0 - UnprovableResult [Line: 695]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 695. Possible FailurePath: [L700] 0 pthread_t t; VAL [t={3:0}] [L701] COND TRUE 0 1 [L703] FCALL, FORK 0 pthread_create(&t, 0, thr1, 0) VAL [arg={0:0}, pthread_create(&t, 0, thr1, 0)=0, t={3:0}] [L686] 1 unsigned int x=__VERIFIER_nondet_uint(), y=__VERIFIER_nondet_uint(), z=__VERIFIER_nondet_uint(); [L686] 1 unsigned int x=__VERIFIER_nondet_uint(), y=__VERIFIER_nondet_uint(), z=__VERIFIER_nondet_uint(); [L686] 1 unsigned int x=__VERIFIER_nondet_uint(), y=__VERIFIER_nondet_uint(), z=__VERIFIER_nondet_uint(); [L687] 1 int i, j=1, k=1; [L688] 1 i=0 VAL [arg={0:0}, arg={0:0}, i=0, j=1, k=1] [L688] COND FALSE 1 !(i