./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/valid-memsafety.prp --file ../../../trunk/examples/svcomp/goblint-regression/28-race_reach_82-list_racefree.i --full-output --traceabstraction.when.to.check.the.insufficient.erros.location.relative.to.the.other.error.locations BEFORE --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/goblint-regression/28-race_reach_82-list_racefree.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 6ac894f5c6207d1329786eb676509b79ca36f8c33f880cc59ffa30652ab92765 --traceabstraction.when.to.check.the.insufficient.erros.location.relative.to.the.other.error.locations BEFORE --- Real Ultimate output --- This is Ultimate 0.2.3-?-b8dbc81 [2023-09-01 00:53:47,562 INFO L177 SettingsManager]: Resetting all preferences to default values... [2023-09-01 00:53:47,565 INFO L181 SettingsManager]: Resetting UltimateCore preferences to default values [2023-09-01 00:53:47,606 INFO L184 SettingsManager]: Ultimate Commandline Interface provides no preferences, ignoring... [2023-09-01 00:53:47,608 INFO L181 SettingsManager]: Resetting Boogie Preprocessor preferences to default values [2023-09-01 00:53:47,611 INFO L181 SettingsManager]: Resetting Boogie Procedure Inliner preferences to default values [2023-09-01 00:53:47,613 INFO L181 SettingsManager]: Resetting Abstract Interpretation preferences to default values [2023-09-01 00:53:47,615 INFO L181 SettingsManager]: Resetting LassoRanker preferences to default values [2023-09-01 00:53:47,617 INFO L181 SettingsManager]: Resetting Reaching Definitions preferences to default values [2023-09-01 00:53:47,621 INFO L181 SettingsManager]: Resetting SyntaxChecker preferences to default values [2023-09-01 00:53:47,622 INFO L181 SettingsManager]: Resetting Sifa preferences to default values [2023-09-01 00:53:47,625 INFO L184 SettingsManager]: Büchi Program Product provides no preferences, ignoring... [2023-09-01 00:53:47,625 INFO L181 SettingsManager]: Resetting LTL2Aut preferences to default values [2023-09-01 00:53:47,627 INFO L181 SettingsManager]: Resetting PEA to Boogie preferences to default values [2023-09-01 00:53:47,628 INFO L181 SettingsManager]: Resetting BlockEncodingV2 preferences to default values [2023-09-01 00:53:47,633 INFO L181 SettingsManager]: Resetting ChcToBoogie preferences to default values [2023-09-01 00:53:47,633 INFO L181 SettingsManager]: Resetting AutomataScriptInterpreter preferences to default values [2023-09-01 00:53:47,635 INFO L181 SettingsManager]: Resetting BuchiAutomizer preferences to default values [2023-09-01 00:53:47,636 INFO L181 SettingsManager]: Resetting CACSL2BoogieTranslator preferences to default values [2023-09-01 00:53:47,641 INFO L181 SettingsManager]: Resetting CodeCheck preferences to default values [2023-09-01 00:53:47,642 INFO L181 SettingsManager]: Resetting InvariantSynthesis preferences to default values [2023-09-01 00:53:47,644 INFO L181 SettingsManager]: Resetting RCFGBuilder preferences to default values [2023-09-01 00:53:47,645 INFO L181 SettingsManager]: Resetting Referee preferences to default values [2023-09-01 00:53:47,646 INFO L181 SettingsManager]: Resetting TraceAbstraction preferences to default values [2023-09-01 00:53:47,652 INFO L184 SettingsManager]: TraceAbstractionConcurrent provides no preferences, ignoring... [2023-09-01 00:53:47,653 INFO L184 SettingsManager]: TraceAbstractionWithAFAs provides no preferences, ignoring... [2023-09-01 00:53:47,653 INFO L181 SettingsManager]: Resetting TreeAutomizer preferences to default values [2023-09-01 00:53:47,655 INFO L181 SettingsManager]: Resetting IcfgToChc preferences to default values [2023-09-01 00:53:47,655 INFO L181 SettingsManager]: Resetting IcfgTransformer preferences to default values [2023-09-01 00:53:47,656 INFO L184 SettingsManager]: ReqToTest provides no preferences, ignoring... [2023-09-01 00:53:47,656 INFO L181 SettingsManager]: Resetting Boogie Printer preferences to default values [2023-09-01 00:53:47,662 INFO L181 SettingsManager]: Resetting ChcSmtPrinter preferences to default values [2023-09-01 00:53:47,663 INFO L181 SettingsManager]: Resetting ReqPrinter preferences to default values [2023-09-01 00:53:47,664 INFO L181 SettingsManager]: Resetting Witness Printer preferences to default values [2023-09-01 00:53:47,665 INFO L184 SettingsManager]: Boogie PL CUP Parser provides no preferences, ignoring... [2023-09-01 00:53:47,665 INFO L181 SettingsManager]: Resetting CDTParser preferences to default values [2023-09-01 00:53:47,666 INFO L184 SettingsManager]: AutomataScriptParser provides no preferences, ignoring... [2023-09-01 00:53:47,666 INFO L184 SettingsManager]: ReqParser provides no preferences, ignoring... [2023-09-01 00:53:47,666 INFO L181 SettingsManager]: Resetting SmtParser preferences to default values [2023-09-01 00:53:47,667 INFO L181 SettingsManager]: Resetting Witness Parser preferences to default values [2023-09-01 00:53:47,667 INFO L188 SettingsManager]: Finished resetting all preferences to default values... [2023-09-01 00:53:47,669 INFO L101 SettingsManager]: Beginning loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2023-09-01 00:53:47,700 INFO L113 SettingsManager]: Loading preferences was successful [2023-09-01 00:53:47,700 INFO L115 SettingsManager]: Preferences different from defaults after loading the file: [2023-09-01 00:53:47,701 INFO L136 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2023-09-01 00:53:47,702 INFO L138 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2023-09-01 00:53:47,703 INFO L136 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2023-09-01 00:53:47,703 INFO L138 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2023-09-01 00:53:47,703 INFO L136 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-09-01 00:53:47,704 INFO L138 SettingsManager]: * Create parallel compositions if possible=false [2023-09-01 00:53:47,704 INFO L138 SettingsManager]: * Use SBE=true [2023-09-01 00:53:47,704 INFO L136 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-09-01 00:53:47,705 INFO L138 SettingsManager]: * sizeof long=4 [2023-09-01 00:53:47,705 INFO L138 SettingsManager]: * Check unreachability of error function in SV-COMP mode=false [2023-09-01 00:53:47,705 INFO L138 SettingsManager]: * Overapproximate operations on floating types=true [2023-09-01 00:53:47,706 INFO L138 SettingsManager]: * sizeof POINTER=4 [2023-09-01 00:53:47,706 INFO L138 SettingsManager]: * Check division by zero=IGNORE [2023-09-01 00:53:47,706 INFO L138 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-09-01 00:53:47,706 INFO L138 SettingsManager]: * Bitprecise bitfields=true [2023-09-01 00:53:47,706 INFO L138 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-09-01 00:53:47,707 INFO L138 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-09-01 00:53:47,707 INFO L138 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2023-09-01 00:53:47,707 INFO L138 SettingsManager]: * sizeof long double=12 [2023-09-01 00:53:47,707 INFO L138 SettingsManager]: * Use constant arrays=true [2023-09-01 00:53:47,708 INFO L136 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-09-01 00:53:47,708 INFO L138 SettingsManager]: * Size of a code block=SequenceOfStatements [2023-09-01 00:53:47,708 INFO L138 SettingsManager]: * SMT solver=External_DefaultMode [2023-09-01 00:53:47,708 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-09-01 00:53:47,709 INFO L136 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-09-01 00:53:47,709 INFO L138 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-09-01 00:53:47,709 INFO L138 SettingsManager]: * Trace refinement strategy=CAMEL [2023-09-01 00:53:47,709 INFO L138 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-09-01 00:53:47,709 INFO L138 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2023-09-01 00:53:47,710 INFO L138 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2023-09-01 00:53:47,710 INFO L138 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2023-09-01 00:53:47,710 INFO L138 SettingsManager]: * Independence relation used for large block encoding in concurrent analysis=SYNTACTIC [2023-09-01 00:53:47,711 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 -> 6ac894f5c6207d1329786eb676509b79ca36f8c33f880cc59ffa30652ab92765 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 -> BEFORE [2023-09-01 00:53:48,024 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-09-01 00:53:48,043 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-09-01 00:53:48,045 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-09-01 00:53:48,046 INFO L271 PluginConnector]: Initializing CDTParser... [2023-09-01 00:53:48,046 INFO L275 PluginConnector]: CDTParser initialized [2023-09-01 00:53:48,047 INFO L432 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../../../trunk/examples/svcomp/goblint-regression/28-race_reach_82-list_racefree.i [2023-09-01 00:53:49,179 INFO L500 CDTParser]: Created temporary CDT project at NULL [2023-09-01 00:53:49,526 INFO L351 CDTParser]: Found 1 translation units. [2023-09-01 00:53:49,527 INFO L172 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_82-list_racefree.i [2023-09-01 00:53:49,547 INFO L394 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e7dcb864c/0021115054d74fe8b0e94f4786346089/FLAG10108bf56 [2023-09-01 00:53:49,574 INFO L402 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/e7dcb864c/0021115054d74fe8b0e94f4786346089 [2023-09-01 00:53:49,577 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-09-01 00:53:49,578 INFO L131 ToolchainWalker]: Walking toolchain with 6 elements. [2023-09-01 00:53:49,581 INFO L113 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-09-01 00:53:49,581 INFO L271 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-09-01 00:53:49,584 INFO L275 PluginConnector]: CACSL2BoogieTranslator initialized [2023-09-01 00:53:49,585 INFO L185 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 01.09 12:53:49" (1/1) ... [2023-09-01 00:53:49,586 INFO L205 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4c152de3 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:53:49, skipping insertion in model container [2023-09-01 00:53:49,586 INFO L185 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 01.09 12:53:49" (1/1) ... [2023-09-01 00:53:49,591 INFO L145 MainTranslator]: Starting translation in SV-COMP mode [2023-09-01 00:53:49,639 INFO L178 MainTranslator]: Built tables and reachable declarations [2023-09-01 00:53:50,001 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_82-list_racefree.i[47038,47051] [2023-09-01 00:53:50,042 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-09-01 00:53:50,057 INFO L203 MainTranslator]: Completed pre-run [2023-09-01 00:53:50,101 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/goblint-regression/28-race_reach_82-list_racefree.i[47038,47051] [2023-09-01 00:53:50,118 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-09-01 00:53:50,198 INFO L208 MainTranslator]: Completed translation [2023-09-01 00:53:50,198 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:53:50 WrapperNode [2023-09-01 00:53:50,198 INFO L132 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-09-01 00:53:50,199 INFO L113 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-09-01 00:53:50,199 INFO L271 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-09-01 00:53:50,200 INFO L275 PluginConnector]: Boogie Procedure Inliner initialized [2023-09-01 00:53:50,205 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:53:50" (1/1) ... [2023-09-01 00:53:50,234 INFO L185 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:53:50" (1/1) ... [2023-09-01 00:53:50,262 INFO L138 Inliner]: procedures = 278, calls = 61, calls flagged for inlining = 7, calls inlined = 7, statements flattened = 208 [2023-09-01 00:53:50,262 INFO L132 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-09-01 00:53:50,263 INFO L113 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-09-01 00:53:50,263 INFO L271 PluginConnector]: Initializing Boogie Preprocessor... [2023-09-01 00:53:50,263 INFO L275 PluginConnector]: Boogie Preprocessor initialized [2023-09-01 00:53:50,270 INFO L185 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:53:50" (1/1) ... [2023-09-01 00:53:50,271 INFO L185 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:53:50" (1/1) ... [2023-09-01 00:53:50,274 INFO L185 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:53:50" (1/1) ... [2023-09-01 00:53:50,275 INFO L185 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:53:50" (1/1) ... [2023-09-01 00:53:50,291 INFO L185 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:53:50" (1/1) ... [2023-09-01 00:53:50,295 INFO L185 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:53:50" (1/1) ... [2023-09-01 00:53:50,297 INFO L185 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:53:50" (1/1) ... [2023-09-01 00:53:50,298 INFO L185 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:53:50" (1/1) ... [2023-09-01 00:53:50,306 INFO L132 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-09-01 00:53:50,307 INFO L113 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-09-01 00:53:50,307 INFO L271 PluginConnector]: Initializing RCFGBuilder... [2023-09-01 00:53:50,307 INFO L275 PluginConnector]: RCFGBuilder initialized [2023-09-01 00:53:50,308 INFO L185 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:53:50" (1/1) ... [2023-09-01 00:53:50,313 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2023-09-01 00:53:50,328 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2023-09-01 00:53:50,337 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-09-01 00:53:50,346 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-09-01 00:53:50,369 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-09-01 00:53:50,369 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2023-09-01 00:53:50,369 INFO L130 BoogieDeclarations]: Found specification of procedure t1_fun [2023-09-01 00:53:50,369 INFO L138 BoogieDeclarations]: Found implementation of procedure t1_fun [2023-09-01 00:53:50,370 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-09-01 00:53:50,370 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-09-01 00:53:50,370 INFO L130 BoogieDeclarations]: Found specification of procedure t2_fun [2023-09-01 00:53:50,370 INFO L138 BoogieDeclarations]: Found implementation of procedure t2_fun [2023-09-01 00:53:50,370 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-09-01 00:53:50,373 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2023-09-01 00:53:50,373 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2023-09-01 00:53:50,373 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-09-01 00:53:50,373 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2023-09-01 00:53:50,373 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-09-01 00:53:50,373 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-09-01 00:53:50,373 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-09-01 00:53:50,375 WARN L210 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement [2023-09-01 00:53:50,509 INFO L236 CfgBuilder]: Building ICFG [2023-09-01 00:53:50,511 INFO L262 CfgBuilder]: Building CFG for each procedure with an implementation [2023-09-01 00:53:50,965 INFO L277 CfgBuilder]: Performing block encoding [2023-09-01 00:53:50,973 INFO L297 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-09-01 00:53:50,978 INFO L302 CfgBuilder]: Removed 15 assume(true) statements. [2023-09-01 00:53:50,981 INFO L202 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 01.09 12:53:50 BoogieIcfgContainer [2023-09-01 00:53:50,982 INFO L132 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-09-01 00:53:50,984 INFO L113 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2023-09-01 00:53:50,985 INFO L271 PluginConnector]: Initializing TraceAbstraction... [2023-09-01 00:53:50,988 INFO L275 PluginConnector]: TraceAbstraction initialized [2023-09-01 00:53:50,990 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 01.09 12:53:49" (1/3) ... [2023-09-01 00:53:50,991 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3d9147 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 01.09 12:53:50, skipping insertion in model container [2023-09-01 00:53:50,991 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 01.09 12:53:50" (2/3) ... [2023-09-01 00:53:50,991 INFO L205 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3d9147 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 01.09 12:53:50, skipping insertion in model container [2023-09-01 00:53:50,991 INFO L185 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 01.09 12:53:50" (3/3) ... [2023-09-01 00:53:50,993 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_82-list_racefree.i [2023-09-01 00:53:51,008 INFO L203 ceAbstractionStarter]: Automizer settings: Hoare:false NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2023-09-01 00:53:51,008 INFO L162 ceAbstractionStarter]: Applying trace abstraction to program that has 38 error locations. [2023-09-01 00:53:51,008 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2023-09-01 00:53:51,114 INFO L144 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2023-09-01 00:53:51,150 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 232 places, 250 transitions, 522 flow [2023-09-01 00:53:51,344 INFO L130 PetriNetUnfolder]: 52/485 cut-off events. [2023-09-01 00:53:51,344 INFO L131 PetriNetUnfolder]: For 8/15 co-relation queries the response was YES. [2023-09-01 00:53:51,354 INFO L83 FinitePrefix]: Finished finitePrefix Result has 505 conditions, 485 events. 52/485 cut-off events. For 8/15 co-relation queries the response was YES. Maximal size of possible extension queue 20. Compared 2225 event pairs, 0 based on Foata normal form. 0/350 useless extension candidates. Maximal degree in co-relation 245. Up to 8 conditions per place. [2023-09-01 00:53:51,355 INFO L82 GeneralOperation]: Start removeDead. Operand has 232 places, 250 transitions, 522 flow [2023-09-01 00:53:51,364 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 226 places, 242 transitions, 500 flow [2023-09-01 00:53:51,367 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-09-01 00:53:51,380 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 226 places, 242 transitions, 500 flow [2023-09-01 00:53:51,382 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 226 places, 242 transitions, 500 flow [2023-09-01 00:53:51,383 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 226 places, 242 transitions, 500 flow [2023-09-01 00:53:51,445 INFO L130 PetriNetUnfolder]: 48/465 cut-off events. [2023-09-01 00:53:51,445 INFO L131 PetriNetUnfolder]: For 4/7 co-relation queries the response was YES. [2023-09-01 00:53:51,449 INFO L83 FinitePrefix]: Finished finitePrefix Result has 481 conditions, 465 events. 48/465 cut-off events. For 4/7 co-relation queries the response was YES. Maximal size of possible extension queue 20. Compared 2120 event pairs, 0 based on Foata normal form. 0/338 useless extension candidates. Maximal degree in co-relation 227. Up to 8 conditions per place. [2023-09-01 00:53:51,463 INFO L119 LiptonReduction]: Number of co-enabled transitions 20022 [2023-09-01 00:53:58,863 INFO L134 LiptonReduction]: Checked pairs total: 51834 [2023-09-01 00:53:58,863 INFO L136 LiptonReduction]: Total number of compositions: 194 [2023-09-01 00:53:58,876 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-09-01 00:53:58,881 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;@4a9f8f39, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-09-01 00:53:58,882 INFO L358 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2023-09-01 00:53:58,890 INFO L130 PetriNetUnfolder]: 2/44 cut-off events. [2023-09-01 00:53:58,890 INFO L131 PetriNetUnfolder]: For 0/0 co-relation queries the response was YES. [2023-09-01 00:53:58,890 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-09-01 00:53:58,891 INFO L208 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1] [2023-09-01 00:53:58,891 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-09-01 00:53:58,895 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-09-01 00:53:58,895 INFO L85 PathProgramCache]: Analyzing trace with hash -1809259835, now seen corresponding path program 1 times [2023-09-01 00:53:58,903 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-09-01 00:53:58,903 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [992840112] [2023-09-01 00:53:58,904 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-09-01 00:53:58,904 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-09-01 00:53:59,050 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-09-01 00:53:59,050 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-09-01 00:53:59,107 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-09-01 00:53:59,143 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-09-01 00:53:59,146 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-09-01 00:53:59,147 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 2 remaining) [2023-09-01 00:53:59,149 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 2 remaining) [2023-09-01 00:53:59,149 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2023-09-01 00:53:59,150 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-09-01 00:53:59,156 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE,UNKNOWN (1/2) [2023-09-01 00:53:59,157 WARN L233 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2023-09-01 00:53:59,157 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2023-09-01 00:53:59,240 INFO L144 ThreadInstanceAdder]: Constructed 8 joinOtherThreadTransitions. [2023-09-01 00:53:59,250 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 358 places, 391 transitions, 830 flow [2023-09-01 00:53:59,537 INFO L130 PetriNetUnfolder]: 191/1440 cut-off events. [2023-09-01 00:53:59,538 INFO L131 PetriNetUnfolder]: For 72/107 co-relation queries the response was YES. [2023-09-01 00:53:59,559 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1537 conditions, 1440 events. 191/1440 cut-off events. For 72/107 co-relation queries the response was YES. Maximal size of possible extension queue 43. Compared 9872 event pairs, 2 based on Foata normal form. 0/1038 useless extension candidates. Maximal degree in co-relation 898. Up to 32 conditions per place. [2023-09-01 00:53:59,559 INFO L82 GeneralOperation]: Start removeDead. Operand has 358 places, 391 transitions, 830 flow [2023-09-01 00:53:59,570 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 352 places, 385 transitions, 818 flow [2023-09-01 00:53:59,570 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-09-01 00:53:59,570 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 352 places, 385 transitions, 818 flow [2023-09-01 00:53:59,571 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 352 places, 385 transitions, 818 flow [2023-09-01 00:53:59,571 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 352 places, 385 transitions, 818 flow [2023-09-01 00:53:59,834 INFO L130 PetriNetUnfolder]: 191/1430 cut-off events. [2023-09-01 00:53:59,834 INFO L131 PetriNetUnfolder]: For 72/107 co-relation queries the response was YES. [2023-09-01 00:53:59,856 INFO L83 FinitePrefix]: Finished finitePrefix Result has 1527 conditions, 1430 events. 191/1430 cut-off events. For 72/107 co-relation queries the response was YES. Maximal size of possible extension queue 43. Compared 9758 event pairs, 2 based on Foata normal form. 0/1038 useless extension candidates. Maximal degree in co-relation 890. Up to 32 conditions per place. [2023-09-01 00:53:59,919 INFO L119 LiptonReduction]: Number of co-enabled transitions 80376 [2023-09-01 00:54:08,909 INFO L134 LiptonReduction]: Checked pairs total: 261113 [2023-09-01 00:54:08,909 INFO L136 LiptonReduction]: Total number of compositions: 299 [2023-09-01 00:54:08,911 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-09-01 00:54:08,912 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;@4a9f8f39, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-09-01 00:54:08,912 INFO L358 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2023-09-01 00:54:08,923 INFO L130 PetriNetUnfolder]: 11/129 cut-off events. [2023-09-01 00:54:08,923 INFO L131 PetriNetUnfolder]: For 5/6 co-relation queries the response was YES. [2023-09-01 00:54:08,923 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-09-01 00:54:08,924 INFO L208 CegarLoopForPetriNet]: trace histogram [3, 2, 2, 1, 1, 1, 1] [2023-09-01 00:54:08,924 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-09-01 00:54:08,924 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-09-01 00:54:08,925 INFO L85 PathProgramCache]: Analyzing trace with hash 1227167803, now seen corresponding path program 1 times [2023-09-01 00:54:08,925 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-09-01 00:54:08,925 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1827023035] [2023-09-01 00:54:08,925 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-09-01 00:54:08,925 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-09-01 00:54:08,959 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-09-01 00:54:08,960 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-09-01 00:54:08,981 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-09-01 00:54:08,988 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-09-01 00:54:08,989 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-09-01 00:54:08,989 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 2 remaining) [2023-09-01 00:54:08,989 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 2 remaining) [2023-09-01 00:54:08,989 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2023-09-01 00:54:08,989 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-09-01 00:54:08,990 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE,UNKNOWN (1/2) [2023-09-01 00:54:08,990 WARN L233 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2023-09-01 00:54:08,990 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2023-09-01 00:54:09,061 INFO L144 ThreadInstanceAdder]: Constructed 12 joinOtherThreadTransitions. [2023-09-01 00:54:09,066 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 484 places, 532 transitions, 1142 flow [2023-09-01 00:54:10,049 INFO L130 PetriNetUnfolder]: 664/4009 cut-off events. [2023-09-01 00:54:10,049 INFO L131 PetriNetUnfolder]: For 419/482 co-relation queries the response was YES. [2023-09-01 00:54:10,132 INFO L83 FinitePrefix]: Finished finitePrefix Result has 4460 conditions, 4009 events. 664/4009 cut-off events. For 419/482 co-relation queries the response was YES. Maximal size of possible extension queue 88. Compared 33060 event pairs, 52 based on Foata normal form. 0/2946 useless extension candidates. Maximal degree in co-relation 2583. Up to 192 conditions per place. [2023-09-01 00:54:10,132 INFO L82 GeneralOperation]: Start removeDead. Operand has 484 places, 532 transitions, 1142 flow [2023-09-01 00:54:10,217 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 478 places, 526 transitions, 1130 flow [2023-09-01 00:54:10,218 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-09-01 00:54:10,218 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 478 places, 526 transitions, 1130 flow [2023-09-01 00:54:10,219 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 478 places, 526 transitions, 1130 flow [2023-09-01 00:54:10,219 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 478 places, 526 transitions, 1130 flow [2023-09-01 00:54:11,322 INFO L130 PetriNetUnfolder]: 664/3997 cut-off events. [2023-09-01 00:54:11,322 INFO L131 PetriNetUnfolder]: For 419/482 co-relation queries the response was YES. [2023-09-01 00:54:11,414 INFO L83 FinitePrefix]: Finished finitePrefix Result has 4448 conditions, 3997 events. 664/3997 cut-off events. For 419/482 co-relation queries the response was YES. Maximal size of possible extension queue 88. Compared 32987 event pairs, 52 based on Foata normal form. 0/2946 useless extension candidates. Maximal degree in co-relation 2573. Up to 192 conditions per place. [2023-09-01 00:54:11,727 INFO L119 LiptonReduction]: Number of co-enabled transitions 179082 [2023-09-01 00:54:22,232 INFO L134 LiptonReduction]: Checked pairs total: 601980 [2023-09-01 00:54:22,233 INFO L136 LiptonReduction]: Total number of compositions: 400 [2023-09-01 00:54:22,235 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-09-01 00:54:22,236 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;@4a9f8f39, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-09-01 00:54:22,236 INFO L358 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2023-09-01 00:54:22,259 INFO L130 PetriNetUnfolder]: 38/295 cut-off events. [2023-09-01 00:54:22,259 INFO L131 PetriNetUnfolder]: For 26/33 co-relation queries the response was YES. [2023-09-01 00:54:22,259 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-09-01 00:54:22,260 INFO L208 CegarLoopForPetriNet]: trace histogram [4, 3, 3, 1, 1, 1, 1, 1] [2023-09-01 00:54:22,260 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-09-01 00:54:22,260 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-09-01 00:54:22,260 INFO L85 PathProgramCache]: Analyzing trace with hash -714140401, now seen corresponding path program 1 times [2023-09-01 00:54:22,261 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-09-01 00:54:22,261 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1038116427] [2023-09-01 00:54:22,261 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-09-01 00:54:22,261 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-09-01 00:54:22,293 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-09-01 00:54:22,293 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-09-01 00:54:22,311 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-09-01 00:54:22,319 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-09-01 00:54:22,319 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-09-01 00:54:22,319 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 2 remaining) [2023-09-01 00:54:22,319 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 2 remaining) [2023-09-01 00:54:22,319 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2023-09-01 00:54:22,320 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-09-01 00:54:22,320 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE,UNKNOWN (1/2) [2023-09-01 00:54:22,320 WARN L233 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2023-09-01 00:54:22,321 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2023-09-01 00:54:22,389 INFO L144 ThreadInstanceAdder]: Constructed 16 joinOtherThreadTransitions. [2023-09-01 00:54:22,394 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 610 places, 673 transitions, 1458 flow [2023-09-01 00:54:26,614 INFO L130 PetriNetUnfolder]: 2659/12620 cut-off events. [2023-09-01 00:54:26,615 INFO L131 PetriNetUnfolder]: For 2144/2256 co-relation queries the response was YES. [2023-09-01 00:54:26,922 INFO L83 FinitePrefix]: Finished finitePrefix Result has 14785 conditions, 12620 events. 2659/12620 cut-off events. For 2144/2256 co-relation queries the response was YES. Maximal size of possible extension queue 172. Compared 125396 event pairs, 626 based on Foata normal form. 0/9530 useless extension candidates. Maximal degree in co-relation 7949. Up to 1024 conditions per place. [2023-09-01 00:54:26,922 INFO L82 GeneralOperation]: Start removeDead. Operand has 610 places, 673 transitions, 1458 flow [2023-09-01 00:54:27,093 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 604 places, 667 transitions, 1446 flow [2023-09-01 00:54:27,094 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-09-01 00:54:27,094 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 604 places, 667 transitions, 1446 flow [2023-09-01 00:54:27,094 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 604 places, 667 transitions, 1446 flow [2023-09-01 00:54:27,094 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 604 places, 667 transitions, 1446 flow [2023-09-01 00:54:30,911 INFO L130 PetriNetUnfolder]: 2659/12606 cut-off events. [2023-09-01 00:54:30,912 INFO L131 PetriNetUnfolder]: For 2144/2256 co-relation queries the response was YES. [2023-09-01 00:54:31,245 INFO L83 FinitePrefix]: Finished finitePrefix Result has 14771 conditions, 12606 events. 2659/12606 cut-off events. For 2144/2256 co-relation queries the response was YES. Maximal size of possible extension queue 172. Compared 125526 event pairs, 626 based on Foata normal form. 0/9530 useless extension candidates. Maximal degree in co-relation 7937. Up to 1024 conditions per place. [2023-09-01 00:54:32,183 INFO L119 LiptonReduction]: Number of co-enabled transitions 316800 [2023-09-01 00:54:44,172 INFO L134 LiptonReduction]: Checked pairs total: 1076234 [2023-09-01 00:54:44,172 INFO L136 LiptonReduction]: Total number of compositions: 503 [2023-09-01 00:54:44,174 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-09-01 00:54:44,175 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;@4a9f8f39, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-09-01 00:54:44,175 INFO L358 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2023-09-01 00:54:44,227 INFO L130 PetriNetUnfolder]: 90/608 cut-off events. [2023-09-01 00:54:44,227 INFO L131 PetriNetUnfolder]: For 85/100 co-relation queries the response was YES. [2023-09-01 00:54:44,228 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-09-01 00:54:44,228 INFO L208 CegarLoopForPetriNet]: trace histogram [5, 4, 4, 1, 1, 1, 1, 1, 1] [2023-09-01 00:54:44,228 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-09-01 00:54:44,228 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-09-01 00:54:44,229 INFO L85 PathProgramCache]: Analyzing trace with hash 1994880348, now seen corresponding path program 1 times [2023-09-01 00:54:44,229 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-09-01 00:54:44,229 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [70722866] [2023-09-01 00:54:44,229 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-09-01 00:54:44,229 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-09-01 00:54:44,260 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-09-01 00:54:44,260 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-09-01 00:54:44,276 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-09-01 00:54:44,286 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-09-01 00:54:44,286 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-09-01 00:54:44,287 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 2 remaining) [2023-09-01 00:54:44,287 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 2 remaining) [2023-09-01 00:54:44,287 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2023-09-01 00:54:44,287 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-09-01 00:54:44,288 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE,UNKNOWN (1/2) [2023-09-01 00:54:44,288 WARN L233 ceAbstractionStarter]: 4 thread instances were not sufficient, I will increase this number and restart the analysis [2023-09-01 00:54:44,288 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 5 thread instances. [2023-09-01 00:54:44,368 INFO L144 ThreadInstanceAdder]: Constructed 20 joinOtherThreadTransitions. [2023-09-01 00:54:44,373 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 736 places, 814 transitions, 1778 flow [2023-09-01 00:55:04,416 INFO L130 PetriNetUnfolder]: 11792/45849 cut-off events. [2023-09-01 00:55:04,416 INFO L131 PetriNetUnfolder]: For 10450/10605 co-relation queries the response was YES. [2023-09-01 00:55:06,836 INFO L83 FinitePrefix]: Finished finitePrefix Result has 56275 conditions, 45849 events. 11792/45849 cut-off events. For 10450/10605 co-relation queries the response was YES. Maximal size of possible extension queue 590. Compared 540775 event pairs, 3924 based on Foata normal form. 0/35478 useless extension candidates. Maximal degree in co-relation 28447. Up to 5120 conditions per place. [2023-09-01 00:55:06,837 INFO L82 GeneralOperation]: Start removeDead. Operand has 736 places, 814 transitions, 1778 flow [2023-09-01 00:55:07,853 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 730 places, 808 transitions, 1766 flow [2023-09-01 00:55:07,854 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-09-01 00:55:07,854 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 730 places, 808 transitions, 1766 flow [2023-09-01 00:55:07,854 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 730 places, 808 transitions, 1766 flow [2023-09-01 00:55:07,854 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 730 places, 808 transitions, 1766 flow [2023-09-01 00:55:27,424 INFO L130 PetriNetUnfolder]: 11792/45833 cut-off events. [2023-09-01 00:55:27,424 INFO L131 PetriNetUnfolder]: For 10450/10605 co-relation queries the response was YES. [2023-09-01 00:55:29,511 INFO L83 FinitePrefix]: Finished finitePrefix Result has 56259 conditions, 45833 events. 11792/45833 cut-off events. For 10450/10605 co-relation queries the response was YES. Maximal size of possible extension queue 590. Compared 541050 event pairs, 3924 based on Foata normal form. 0/35478 useless extension candidates. Maximal degree in co-relation 28433. Up to 5120 conditions per place. [2023-09-01 00:55:34,550 INFO L119 LiptonReduction]: Number of co-enabled transitions 493530 [2023-09-01 00:55:47,972 INFO L134 LiptonReduction]: Checked pairs total: 1684201 [2023-09-01 00:55:47,972 INFO L136 LiptonReduction]: Total number of compositions: 597 [2023-09-01 00:55:47,974 INFO L356 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == InUseError ======== [2023-09-01 00:55:47,975 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;@4a9f8f39, mLbeIndependenceSettings=[IndependenceType=SYNTACTIC, AbstractionType=NONE, UseConditional=, UseSemiCommutativity=, Solver=, SolverTimeout=] [2023-09-01 00:55:47,975 INFO L358 AbstractCegarLoop]: Starting to check reachability of 2 error locations. [2023-09-01 00:55:48,071 INFO L130 PetriNetUnfolder]: 163/981 cut-off events. [2023-09-01 00:55:48,071 INFO L131 PetriNetUnfolder]: For 175/197 co-relation queries the response was YES. [2023-09-01 00:55:48,072 INFO L200 CegarLoopForPetriNet]: Found error trace [2023-09-01 00:55:48,072 INFO L208 CegarLoopForPetriNet]: trace histogram [6, 5, 5, 1, 1, 1, 1, 1, 1, 1] [2023-09-01 00:55:48,072 INFO L420 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES, ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES] === [2023-09-01 00:55:48,072 INFO L145 PredicateUnifier]: Initialized classic predicate unifier [2023-09-01 00:55:48,072 INFO L85 PathProgramCache]: Analyzing trace with hash 1518970094, now seen corresponding path program 1 times [2023-09-01 00:55:48,072 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2023-09-01 00:55:48,072 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [309320358] [2023-09-01 00:55:48,073 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2023-09-01 00:55:48,073 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-09-01 00:55:48,127 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-09-01 00:55:48,127 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2023-09-01 00:55:48,143 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2023-09-01 00:55:48,161 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2023-09-01 00:55:48,167 INFO L360 BasicCegarLoop]: Counterexample is feasible [2023-09-01 00:55:48,167 INFO L805 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 2 remaining) [2023-09-01 00:55:48,167 INFO L805 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 2 remaining) [2023-09-01 00:55:48,167 WARN L477 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2023-09-01 00:55:48,167 INFO L445 BasicCegarLoop]: Path program histogram: [1] [2023-09-01 00:55:48,168 INFO L307 ceAbstractionStarter]: Result for error location InUseError was UNSAFE,UNKNOWN (1/2) [2023-09-01 00:55:48,168 WARN L233 ceAbstractionStarter]: 5 thread instances were not sufficient, I will increase this number and restart the analysis [2023-09-01 00:55:48,168 INFO L515 ceAbstractionStarter]: Constructing petrified ICFG for 6 thread instances. [2023-09-01 00:55:48,260 INFO L144 ThreadInstanceAdder]: Constructed 24 joinOtherThreadTransitions. [2023-09-01 00:55:48,266 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 862 places, 955 transitions, 2102 flow [2023-09-01 00:57:42,486 INFO L130 PetriNetUnfolder]: 53983/181456 cut-off events. [2023-09-01 00:57:42,486 INFO L131 PetriNetUnfolder]: For 49552/49714 co-relation queries the response was YES. [2023-09-01 00:58:02,531 INFO L83 FinitePrefix]: Finished finitePrefix Result has 230885 conditions, 181456 events. 53983/181456 cut-off events. For 49552/49714 co-relation queries the response was YES. Maximal size of possible extension queue 2205. Compared 2499582 event pairs, 24930 based on Foata normal form. 0/142998 useless extension candidates. Maximal degree in co-relation 113328. Up to 24576 conditions per place. [2023-09-01 00:58:02,532 INFO L82 GeneralOperation]: Start removeDead. Operand has 862 places, 955 transitions, 2102 flow [2023-09-01 00:58:10,554 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 856 places, 949 transitions, 2090 flow [2023-09-01 00:58:10,555 INFO L124 etLargeBlockEncoding]: Petri net LBE is using variable-based independence relation. [2023-09-01 00:58:10,555 INFO L131 etLargeBlockEncoding]: Starting large block encoding on Petri net that has 856 places, 949 transitions, 2090 flow [2023-09-01 00:58:10,555 INFO L113 LiptonReduction]: Starting Lipton reduction on Petri net that has 856 places, 949 transitions, 2090 flow [2023-09-01 00:58:10,556 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 856 places, 949 transitions, 2090 flow