./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version c7c6ca5d Calling Ultimate with: /root/.sdkman/candidates/java/11.0.12-open/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 ../sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_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 --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 1fe12ce8951e45860142b9cebaa325eef531c18fa917882c03ee5396afb187f5 --- Real Ultimate output --- This is Ultimate 0.2.5-?-c7c6ca5-m [2024-11-09 10:41:35,023 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-09 10:41:35,099 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2024-11-09 10:41:35,105 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-09 10:41:35,106 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-09 10:41:35,138 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-09 10:41:35,141 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-09 10:41:35,141 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-09 10:41:35,142 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-09 10:41:35,142 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-09 10:41:35,143 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-09 10:41:35,143 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-09 10:41:35,144 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-09 10:41:35,147 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-09 10:41:35,147 INFO L153 SettingsManager]: * Use SBE=true [2024-11-09 10:41:35,148 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-09 10:41:35,148 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-09 10:41:35,148 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-09 10:41:35,149 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-09 10:41:35,149 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-09 10:41:35,149 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-09 10:41:35,153 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-09 10:41:35,154 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-09 10:41:35,154 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-09 10:41:35,154 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-09 10:41:35,154 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-09 10:41:35,155 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-09 10:41:35,155 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-09 10:41:35,155 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-09 10:41:35,155 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-09 10:41:35,156 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-09 10:41:35,156 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-09 10:41:35,156 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-09 10:41:35,156 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-09 10:41:35,157 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-09 10:41:35,157 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-09 10:41:35,159 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-09 10:41:35,160 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-09 10:41:35,160 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-09 10:41:35,161 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-09 10:41:35,161 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-09 10:41:35,162 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-09 10:41:35,162 INFO L153 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 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 -> 1fe12ce8951e45860142b9cebaa325eef531c18fa917882c03ee5396afb187f5 [2024-11-09 10:41:35,431 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-09 10:41:35,453 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-09 10:41:35,457 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-09 10:41:35,459 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-09 10:41:35,459 INFO L274 PluginConnector]: CDTParser initialized [2024-11-09 10:41:35,461 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i [2024-11-09 10:41:36,965 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-09 10:41:37,251 INFO L384 CDTParser]: Found 1 translation units. [2024-11-09 10:41:37,251 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i [2024-11-09 10:41:37,267 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/cb488f433/1493a57b5a1347b3905d8c67ede7462a/FLAG6ed56d493 [2024-11-09 10:41:37,282 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/cb488f433/1493a57b5a1347b3905d8c67ede7462a [2024-11-09 10:41:37,285 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-09 10:41:37,286 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-09 10:41:37,287 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-09 10:41:37,288 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-09 10:41:37,293 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-09 10:41:37,294 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 10:41:37" (1/1) ... [2024-11-09 10:41:37,295 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1aeb21f9 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 10:41:37, skipping insertion in model container [2024-11-09 10:41:37,296 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 09.11 10:41:37" (1/1) ... [2024-11-09 10:41:37,340 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-09 10:41:37,797 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 10:41:37,827 INFO L200 MainTranslator]: Completed pre-run [2024-11-09 10:41:37,887 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-09 10:41:37,937 INFO L204 MainTranslator]: Completed translation [2024-11-09 10:41:37,938 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 10:41:37 WrapperNode [2024-11-09 10:41:37,938 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-09 10:41:37,939 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-09 10:41:37,939 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-09 10:41:37,940 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-09 10:41:37,948 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 10:41:37" (1/1) ... [2024-11-09 10:41:37,969 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 10:41:37" (1/1) ... [2024-11-09 10:41:37,999 INFO L138 Inliner]: procedures = 173, calls = 38, calls flagged for inlining = 8, calls inlined = 8, statements flattened = 121 [2024-11-09 10:41:38,000 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-09 10:41:38,000 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-09 10:41:38,000 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-09 10:41:38,000 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-09 10:41:38,014 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 10:41:37" (1/1) ... [2024-11-09 10:41:38,014 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 10:41:37" (1/1) ... [2024-11-09 10:41:38,017 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 10:41:37" (1/1) ... [2024-11-09 10:41:38,042 INFO L175 MemorySlicer]: Split 14 memory accesses to 4 slices as follows [2, 5, 5, 2]. 36 percent of accesses are in the largest equivalence class. The 12 initializations are split as follows [2, 5, 5, 0]. The 1 writes are split as follows [0, 0, 0, 1]. [2024-11-09 10:41:38,043 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 10:41:37" (1/1) ... [2024-11-09 10:41:38,043 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 10:41:37" (1/1) ... [2024-11-09 10:41:38,050 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 10:41:37" (1/1) ... [2024-11-09 10:41:38,054 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 10:41:37" (1/1) ... [2024-11-09 10:41:38,056 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 10:41:37" (1/1) ... [2024-11-09 10:41:38,058 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 10:41:37" (1/1) ... [2024-11-09 10:41:38,061 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-09 10:41:38,062 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-09 10:41:38,062 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-09 10:41:38,062 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-09 10:41:38,063 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 10:41:37" (1/1) ... [2024-11-09 10:41:38,069 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-09 10:41:38,079 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-09 10:41:38,095 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-11-09 10:41:38,097 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-11-09 10:41:38,139 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2024-11-09 10:41:38,139 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2024-11-09 10:41:38,139 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2024-11-09 10:41:38,140 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#3 [2024-11-09 10:41:38,140 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2024-11-09 10:41:38,140 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2024-11-09 10:41:38,141 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2024-11-09 10:41:38,141 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#3 [2024-11-09 10:41:38,141 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-09 10:41:38,141 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-09 10:41:38,141 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-09 10:41:38,141 INFO L130 BoogieDeclarations]: Found specification of procedure t_fun [2024-11-09 10:41:38,141 INFO L138 BoogieDeclarations]: Found implementation of procedure t_fun [2024-11-09 10:41:38,141 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-09 10:41:38,141 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-11-09 10:41:38,142 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-11-09 10:41:38,142 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-11-09 10:41:38,142 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#3 [2024-11-09 10:41:38,142 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-09 10:41:38,142 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-09 10:41:38,142 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-09 10:41:38,144 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-09 10:41:38,270 INFO L238 CfgBuilder]: Building ICFG [2024-11-09 10:41:38,274 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-09 10:41:38,481 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-09 10:41:38,481 INFO L287 CfgBuilder]: Performing block encoding [2024-11-09 10:41:38,639 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-09 10:41:38,639 INFO L316 CfgBuilder]: Removed 10 assume(true) statements. [2024-11-09 10:41:38,639 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 10:41:38 BoogieIcfgContainer [2024-11-09 10:41:38,640 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-09 10:41:38,642 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-09 10:41:38,642 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-09 10:41:38,645 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-09 10:41:38,645 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 09.11 10:41:37" (1/3) ... [2024-11-09 10:41:38,646 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3a3c080e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 09.11 10:41:38, skipping insertion in model container [2024-11-09 10:41:38,646 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 09.11 10:41:37" (2/3) ... [2024-11-09 10:41:38,646 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3a3c080e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 09.11 10:41:38, skipping insertion in model container [2024-11-09 10:41:38,647 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 09.11 10:41:38" (3/3) ... [2024-11-09 10:41:38,648 INFO L112 eAbstractionObserver]: Analyzing ICFG 28-race_reach_05-lockfuns_racefree.i [2024-11-09 10:41:38,662 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-09 10:41:38,663 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 6 error locations. [2024-11-09 10:41:38,663 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-09 10:41:38,713 INFO L143 ThreadInstanceAdder]: Constructed 1 joinOtherThreadTransitions. [2024-11-09 10:41:38,753 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 54 places, 62 transitions, 131 flow [2024-11-09 10:41:38,796 INFO L124 PetriNetUnfolderBase]: 15/94 cut-off events. [2024-11-09 10:41:38,796 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-11-09 10:41:38,799 INFO L83 FinitePrefix]: Finished finitePrefix Result has 99 conditions, 94 events. 15/94 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 348 event pairs, 0 based on Foata normal form. 0/64 useless extension candidates. Maximal degree in co-relation 57. Up to 4 conditions per place. [2024-11-09 10:41:38,800 INFO L82 GeneralOperation]: Start removeDead. Operand has 54 places, 62 transitions, 131 flow [2024-11-09 10:41:38,805 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 54 places, 62 transitions, 131 flow [2024-11-09 10:41:38,814 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-09 10:41:38,821 INFO L333 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, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=None, 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;@6df18f74, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-09 10:41:38,822 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-09 10:41:38,825 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-09 10:41:38,826 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-09 10:41:38,826 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-09 10:41:38,826 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-09 10:41:38,827 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-09 10:41:38,827 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-09 10:41:38,833 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 10:41:38,833 INFO L85 PathProgramCache]: Analyzing trace with hash 342913, now seen corresponding path program 1 times [2024-11-09 10:41:38,843 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-09 10:41:38,843 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1162817322] [2024-11-09 10:41:38,844 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 10:41:38,844 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 10:41:38,969 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 10:41:39,162 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 10:41:39,163 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-09 10:41:39,164 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1162817322] [2024-11-09 10:41:39,164 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1162817322] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-09 10:41:39,165 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-09 10:41:39,165 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-09 10:41:39,167 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1824305984] [2024-11-09 10:41:39,168 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-09 10:41:39,177 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-09 10:41:39,184 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-09 10:41:39,246 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-09 10:41:39,247 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-09 10:41:39,267 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 18 out of 62 [2024-11-09 10:41:39,270 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 54 places, 62 transitions, 131 flow. Second operand has 3 states, 3 states have (on average 19.0) internal successors, (57), 3 states have internal predecessors, (57), 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) [2024-11-09 10:41:39,270 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-09 10:41:39,271 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 18 of 62 [2024-11-09 10:41:39,272 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-09 10:41:39,538 INFO L124 PetriNetUnfolderBase]: 177/564 cut-off events. [2024-11-09 10:41:39,538 INFO L125 PetriNetUnfolderBase]: For 1/1 co-relation queries the response was YES. [2024-11-09 10:41:39,540 INFO L83 FinitePrefix]: Finished finitePrefix Result has 968 conditions, 564 events. 177/564 cut-off events. For 1/1 co-relation queries the response was YES. Maximal size of possible extension queue 27. Compared 2864 event pairs, 154 based on Foata normal form. 105/649 useless extension candidates. Maximal degree in co-relation 912. Up to 350 conditions per place. [2024-11-09 10:41:39,547 INFO L140 encePairwiseOnDemand]: 48/62 looper letters, 39 selfloop transitions, 2 changer transitions 1/60 dead transitions. [2024-11-09 10:41:39,547 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 53 places, 60 transitions, 211 flow [2024-11-09 10:41:39,549 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-09 10:41:39,552 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-09 10:41:39,561 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 114 transitions. [2024-11-09 10:41:39,565 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6129032258064516 [2024-11-09 10:41:39,568 INFO L175 Difference]: Start difference. First operand has 54 places, 62 transitions, 131 flow. Second operand 3 states and 114 transitions. [2024-11-09 10:41:39,569 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 53 places, 60 transitions, 211 flow [2024-11-09 10:41:39,573 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 53 places, 60 transitions, 211 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-09 10:41:39,579 INFO L231 Difference]: Finished difference. Result has 53 places, 48 transitions, 107 flow [2024-11-09 10:41:39,581 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=62, PETRI_DIFFERENCE_MINUEND_FLOW=105, PETRI_DIFFERENCE_MINUEND_PLACES=51, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=49, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=47, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=107, PETRI_PLACES=53, PETRI_TRANSITIONS=48} [2024-11-09 10:41:39,587 INFO L277 CegarLoopForPetriNet]: 54 programPoint places, -1 predicate places. [2024-11-09 10:41:39,588 INFO L471 AbstractCegarLoop]: Abstraction has has 53 places, 48 transitions, 107 flow [2024-11-09 10:41:39,588 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 19.0) internal successors, (57), 3 states have internal predecessors, (57), 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) [2024-11-09 10:41:39,588 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-09 10:41:39,589 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-09 10:41:39,589 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-09 10:41:39,590 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-09 10:41:39,591 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 10:41:39,593 INFO L85 PathProgramCache]: Analyzing trace with hash 342914, now seen corresponding path program 1 times [2024-11-09 10:41:39,593 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-09 10:41:39,593 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1863564372] [2024-11-09 10:41:39,593 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 10:41:39,594 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 10:41:39,629 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 10:41:39,822 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 10:41:39,822 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-09 10:41:39,822 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1863564372] [2024-11-09 10:41:39,823 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1863564372] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-09 10:41:39,823 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-09 10:41:39,824 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-09 10:41:39,824 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1422722545] [2024-11-09 10:41:39,824 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-09 10:41:39,825 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-09 10:41:39,826 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-09 10:41:39,826 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-09 10:41:39,827 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-09 10:41:39,847 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 21 out of 62 [2024-11-09 10:41:39,847 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 53 places, 48 transitions, 107 flow. Second operand has 3 states, 3 states have (on average 22.0) internal successors, (66), 3 states have internal predecessors, (66), 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) [2024-11-09 10:41:39,848 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-09 10:41:39,848 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 21 of 62 [2024-11-09 10:41:39,848 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-09 10:41:40,016 INFO L124 PetriNetUnfolderBase]: 154/512 cut-off events. [2024-11-09 10:41:40,016 INFO L125 PetriNetUnfolderBase]: For 6/7 co-relation queries the response was YES. [2024-11-09 10:41:40,019 INFO L83 FinitePrefix]: Finished finitePrefix Result has 872 conditions, 512 events. 154/512 cut-off events. For 6/7 co-relation queries the response was YES. Maximal size of possible extension queue 25. Compared 2581 event pairs, 104 based on Foata normal form. 1/483 useless extension candidates. Maximal degree in co-relation 842. Up to 326 conditions per place. [2024-11-09 10:41:40,025 INFO L140 encePairwiseOnDemand]: 58/62 looper letters, 39 selfloop transitions, 2 changer transitions 0/60 dead transitions. [2024-11-09 10:41:40,026 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 54 places, 60 transitions, 213 flow [2024-11-09 10:41:40,027 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-09 10:41:40,027 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-09 10:41:40,028 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 106 transitions. [2024-11-09 10:41:40,028 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5698924731182796 [2024-11-09 10:41:40,029 INFO L175 Difference]: Start difference. First operand has 53 places, 48 transitions, 107 flow. Second operand 3 states and 106 transitions. [2024-11-09 10:41:40,029 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 54 places, 60 transitions, 213 flow [2024-11-09 10:41:40,031 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 52 places, 60 transitions, 209 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-09 10:41:40,033 INFO L231 Difference]: Finished difference. Result has 53 places, 48 transitions, 113 flow [2024-11-09 10:41:40,033 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=62, PETRI_DIFFERENCE_MINUEND_FLOW=103, PETRI_DIFFERENCE_MINUEND_PLACES=50, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=48, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=46, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=113, PETRI_PLACES=53, PETRI_TRANSITIONS=48} [2024-11-09 10:41:40,034 INFO L277 CegarLoopForPetriNet]: 54 programPoint places, -1 predicate places. [2024-11-09 10:41:40,034 INFO L471 AbstractCegarLoop]: Abstraction has has 53 places, 48 transitions, 113 flow [2024-11-09 10:41:40,034 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 22.0) internal successors, (66), 3 states have internal predecessors, (66), 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) [2024-11-09 10:41:40,035 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-09 10:41:40,035 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-11-09 10:41:40,035 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-09 10:41:40,035 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-09 10:41:40,036 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 10:41:40,036 INFO L85 PathProgramCache]: Analyzing trace with hash -1129669692, now seen corresponding path program 1 times [2024-11-09 10:41:40,037 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-09 10:41:40,037 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [614872901] [2024-11-09 10:41:40,037 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 10:41:40,037 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 10:41:40,062 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 10:41:40,247 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 10:41:40,247 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-09 10:41:40,247 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [614872901] [2024-11-09 10:41:40,248 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [614872901] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-09 10:41:40,248 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [627861942] [2024-11-09 10:41:40,248 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 10:41:40,248 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-09 10:41:40,249 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-09 10:41:40,252 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-11-09 10:41:40,254 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2024-11-09 10:41:40,335 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 10:41:40,337 INFO L255 TraceCheckSpWp]: Trace formula consists of 97 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-11-09 10:41:40,343 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 10:41:40,414 INFO L378 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 8 treesize of output 1 [2024-11-09 10:41:40,516 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 10:41:40,517 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-11-09 10:41:40,600 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 10:41:40,600 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [627861942] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-09 10:41:40,600 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-09 10:41:40,601 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-11-09 10:41:40,601 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [672888440] [2024-11-09 10:41:40,601 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-09 10:41:40,601 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-11-09 10:41:40,602 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-09 10:41:40,602 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-11-09 10:41:40,602 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-11-09 10:41:40,684 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 20 out of 62 [2024-11-09 10:41:40,685 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 53 places, 48 transitions, 113 flow. Second operand has 9 states, 9 states have (on average 22.333333333333332) internal successors, (201), 9 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) [2024-11-09 10:41:40,685 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-09 10:41:40,685 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 20 of 62 [2024-11-09 10:41:40,687 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-09 10:41:40,786 INFO L124 PetriNetUnfolderBase]: 33/113 cut-off events. [2024-11-09 10:41:40,787 INFO L125 PetriNetUnfolderBase]: For 27/27 co-relation queries the response was YES. [2024-11-09 10:41:40,787 INFO L83 FinitePrefix]: Finished finitePrefix Result has 229 conditions, 113 events. 33/113 cut-off events. For 27/27 co-relation queries the response was YES. Maximal size of possible extension queue 6. Compared 274 event pairs, 16 based on Foata normal form. 24/137 useless extension candidates. Maximal degree in co-relation 209. Up to 69 conditions per place. [2024-11-09 10:41:40,788 INFO L140 encePairwiseOnDemand]: 58/62 looper letters, 27 selfloop transitions, 2 changer transitions 0/37 dead transitions. [2024-11-09 10:41:40,788 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 33 places, 37 transitions, 142 flow [2024-11-09 10:41:40,791 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2024-11-09 10:41:40,792 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2024-11-09 10:41:40,793 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 111 transitions. [2024-11-09 10:41:40,793 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.4475806451612903 [2024-11-09 10:41:40,793 INFO L175 Difference]: Start difference. First operand has 53 places, 48 transitions, 113 flow. Second operand 4 states and 111 transitions. [2024-11-09 10:41:40,793 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 33 places, 37 transitions, 142 flow [2024-11-09 10:41:40,794 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 30 places, 37 transitions, 136 flow, removed 0 selfloop flow, removed 3 redundant places. [2024-11-09 10:41:40,794 INFO L231 Difference]: Finished difference. Result has 30 places, 24 transitions, 56 flow [2024-11-09 10:41:40,795 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=62, PETRI_DIFFERENCE_MINUEND_FLOW=52, PETRI_DIFFERENCE_MINUEND_PLACES=27, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=24, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=22, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=56, PETRI_PLACES=30, PETRI_TRANSITIONS=24} [2024-11-09 10:41:40,797 INFO L277 CegarLoopForPetriNet]: 54 programPoint places, -24 predicate places. [2024-11-09 10:41:40,798 INFO L471 AbstractCegarLoop]: Abstraction has has 30 places, 24 transitions, 56 flow [2024-11-09 10:41:40,798 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 22.333333333333332) internal successors, (201), 9 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) [2024-11-09 10:41:40,798 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-09 10:41:40,798 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1] [2024-11-09 10:41:40,819 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2024-11-09 10:41:40,999 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2,2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-09 10:41:40,999 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-09 10:41:41,000 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 10:41:41,000 INFO L85 PathProgramCache]: Analyzing trace with hash -660021772, now seen corresponding path program 1 times [2024-11-09 10:41:41,000 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-09 10:41:41,000 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1631117897] [2024-11-09 10:41:41,000 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 10:41:41,001 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 10:41:41,024 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 10:41:41,025 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 10:41:41,036 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 10:41:41,062 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-09 10:41:41,063 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-09 10:41:41,065 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-11-09 10:41:41,067 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-11-09 10:41:41,067 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-11-09 10:41:41,067 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 7 remaining) [2024-11-09 10:41:41,067 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-11-09 10:41:41,068 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 7 remaining) [2024-11-09 10:41:41,069 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-11-09 10:41:41,070 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-11-09 10:41:41,070 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-09 10:41:41,073 WARN L244 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-09 10:41:41,074 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2024-11-09 10:41:41,099 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-11-09 10:41:41,103 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 75 places, 88 transitions, 192 flow [2024-11-09 10:41:41,118 INFO L124 PetriNetUnfolderBase]: 27/164 cut-off events. [2024-11-09 10:41:41,119 INFO L125 PetriNetUnfolderBase]: For 6/6 co-relation queries the response was YES. [2024-11-09 10:41:41,121 INFO L83 FinitePrefix]: Finished finitePrefix Result has 176 conditions, 164 events. 27/164 cut-off events. For 6/6 co-relation queries the response was YES. Maximal size of possible extension queue 15. Compared 696 event pairs, 0 based on Foata normal form. 0/112 useless extension candidates. Maximal degree in co-relation 98. Up to 6 conditions per place. [2024-11-09 10:41:41,121 INFO L82 GeneralOperation]: Start removeDead. Operand has 75 places, 88 transitions, 192 flow [2024-11-09 10:41:41,124 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 75 places, 88 transitions, 192 flow [2024-11-09 10:41:41,126 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-09 10:41:41,127 INFO L333 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, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=None, 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;@6df18f74, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-09 10:41:41,128 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-09 10:41:41,130 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-09 10:41:41,130 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-09 10:41:41,130 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-09 10:41:41,130 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-09 10:41:41,131 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-09 10:41:41,131 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-09 10:41:41,132 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 10:41:41,132 INFO L85 PathProgramCache]: Analyzing trace with hash 430297, now seen corresponding path program 1 times [2024-11-09 10:41:41,132 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-09 10:41:41,132 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1026085469] [2024-11-09 10:41:41,132 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 10:41:41,133 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 10:41:41,142 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 10:41:41,168 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 10:41:41,168 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-09 10:41:41,168 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1026085469] [2024-11-09 10:41:41,169 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1026085469] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-09 10:41:41,169 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-09 10:41:41,169 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-09 10:41:41,169 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [276805313] [2024-11-09 10:41:41,169 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-09 10:41:41,169 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-09 10:41:41,170 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-09 10:41:41,170 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-09 10:41:41,170 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-09 10:41:41,183 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 25 out of 88 [2024-11-09 10:41:41,184 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 75 places, 88 transitions, 192 flow. Second operand has 3 states, 3 states have (on average 26.0) internal successors, (78), 3 states have internal predecessors, (78), 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) [2024-11-09 10:41:41,184 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-09 10:41:41,184 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 25 of 88 [2024-11-09 10:41:41,184 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-09 10:41:42,248 INFO L124 PetriNetUnfolderBase]: 4612/9436 cut-off events. [2024-11-09 10:41:42,248 INFO L125 PetriNetUnfolderBase]: For 65/65 co-relation queries the response was YES. [2024-11-09 10:41:42,268 INFO L83 FinitePrefix]: Finished finitePrefix Result has 16857 conditions, 9436 events. 4612/9436 cut-off events. For 65/65 co-relation queries the response was YES. Maximal size of possible extension queue 275. Compared 73262 event pairs, 4026 based on Foata normal form. 2120/11218 useless extension candidates. Maximal degree in co-relation 10528. Up to 6443 conditions per place. [2024-11-09 10:41:42,316 INFO L140 encePairwiseOnDemand]: 68/88 looper letters, 63 selfloop transitions, 2 changer transitions 1/91 dead transitions. [2024-11-09 10:41:42,316 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 74 places, 91 transitions, 330 flow [2024-11-09 10:41:42,317 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-09 10:41:42,317 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-09 10:41:42,318 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 171 transitions. [2024-11-09 10:41:42,320 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6477272727272727 [2024-11-09 10:41:42,320 INFO L175 Difference]: Start difference. First operand has 75 places, 88 transitions, 192 flow. Second operand 3 states and 171 transitions. [2024-11-09 10:41:42,321 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 74 places, 91 transitions, 330 flow [2024-11-09 10:41:42,323 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 74 places, 91 transitions, 330 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-09 10:41:42,325 INFO L231 Difference]: Finished difference. Result has 74 places, 68 transitions, 156 flow [2024-11-09 10:41:42,326 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=88, PETRI_DIFFERENCE_MINUEND_FLOW=154, PETRI_DIFFERENCE_MINUEND_PLACES=72, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=69, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=67, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=156, PETRI_PLACES=74, PETRI_TRANSITIONS=68} [2024-11-09 10:41:42,327 INFO L277 CegarLoopForPetriNet]: 75 programPoint places, -1 predicate places. [2024-11-09 10:41:42,328 INFO L471 AbstractCegarLoop]: Abstraction has has 74 places, 68 transitions, 156 flow [2024-11-09 10:41:42,328 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 26.0) internal successors, (78), 3 states have internal predecessors, (78), 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) [2024-11-09 10:41:42,329 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-09 10:41:42,329 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-09 10:41:42,329 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable4 [2024-11-09 10:41:42,329 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-09 10:41:42,332 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 10:41:42,333 INFO L85 PathProgramCache]: Analyzing trace with hash 430298, now seen corresponding path program 1 times [2024-11-09 10:41:42,333 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-09 10:41:42,333 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2128341765] [2024-11-09 10:41:42,333 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 10:41:42,334 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 10:41:42,346 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 10:41:42,421 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 10:41:42,422 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-09 10:41:42,422 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2128341765] [2024-11-09 10:41:42,422 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2128341765] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-09 10:41:42,422 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-09 10:41:42,422 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-09 10:41:42,423 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [446856797] [2024-11-09 10:41:42,423 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-09 10:41:42,423 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-09 10:41:42,424 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-09 10:41:42,424 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-09 10:41:42,425 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-09 10:41:42,436 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 28 out of 88 [2024-11-09 10:41:42,436 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 74 places, 68 transitions, 156 flow. Second operand has 3 states, 3 states have (on average 29.0) internal successors, (87), 3 states have internal predecessors, (87), 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) [2024-11-09 10:41:42,437 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-09 10:41:42,437 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 28 of 88 [2024-11-09 10:41:42,437 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-09 10:41:43,158 INFO L124 PetriNetUnfolderBase]: 4039/8560 cut-off events. [2024-11-09 10:41:43,158 INFO L125 PetriNetUnfolderBase]: For 163/163 co-relation queries the response was YES. [2024-11-09 10:41:43,171 INFO L83 FinitePrefix]: Finished finitePrefix Result has 15231 conditions, 8560 events. 4039/8560 cut-off events. For 163/163 co-relation queries the response was YES. Maximal size of possible extension queue 269. Compared 68895 event pairs, 1881 based on Foata normal form. 1/8212 useless extension candidates. Maximal degree in co-relation 13963. Up to 6419 conditions per place. [2024-11-09 10:41:43,221 INFO L140 encePairwiseOnDemand]: 84/88 looper letters, 53 selfloop transitions, 2 changer transitions 0/81 dead transitions. [2024-11-09 10:41:43,221 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 75 places, 81 transitions, 292 flow [2024-11-09 10:41:43,222 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-09 10:41:43,222 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-09 10:41:43,223 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 141 transitions. [2024-11-09 10:41:43,223 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5340909090909091 [2024-11-09 10:41:43,223 INFO L175 Difference]: Start difference. First operand has 74 places, 68 transitions, 156 flow. Second operand 3 states and 141 transitions. [2024-11-09 10:41:43,223 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 75 places, 81 transitions, 292 flow [2024-11-09 10:41:43,236 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 81 transitions, 288 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-09 10:41:43,238 INFO L231 Difference]: Finished difference. Result has 74 places, 69 transitions, 166 flow [2024-11-09 10:41:43,239 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=88, PETRI_DIFFERENCE_MINUEND_FLOW=152, PETRI_DIFFERENCE_MINUEND_PLACES=71, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=68, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=66, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=166, PETRI_PLACES=74, PETRI_TRANSITIONS=69} [2024-11-09 10:41:43,240 INFO L277 CegarLoopForPetriNet]: 75 programPoint places, -1 predicate places. [2024-11-09 10:41:43,241 INFO L471 AbstractCegarLoop]: Abstraction has has 74 places, 69 transitions, 166 flow [2024-11-09 10:41:43,241 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 29.0) internal successors, (87), 3 states have internal predecessors, (87), 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) [2024-11-09 10:41:43,241 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-09 10:41:43,241 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-11-09 10:41:43,241 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable5 [2024-11-09 10:41:43,242 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-09 10:41:43,242 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 10:41:43,242 INFO L85 PathProgramCache]: Analyzing trace with hash -2029665276, now seen corresponding path program 1 times [2024-11-09 10:41:43,242 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-09 10:41:43,243 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1489490886] [2024-11-09 10:41:43,243 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 10:41:43,243 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 10:41:43,256 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 10:41:43,433 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 10:41:43,433 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-09 10:41:43,434 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1489490886] [2024-11-09 10:41:43,434 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1489490886] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-09 10:41:43,434 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [517974224] [2024-11-09 10:41:43,434 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 10:41:43,434 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-09 10:41:43,434 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-09 10:41:43,436 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-11-09 10:41:43,438 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2024-11-09 10:41:43,505 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 10:41:43,506 INFO L255 TraceCheckSpWp]: Trace formula consists of 97 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-11-09 10:41:43,507 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 10:41:43,520 INFO L378 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 8 treesize of output 1 [2024-11-09 10:41:43,587 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 10:41:43,588 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-11-09 10:41:43,645 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 10:41:43,646 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [517974224] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-09 10:41:43,647 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-09 10:41:43,647 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-11-09 10:41:43,647 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [439777052] [2024-11-09 10:41:43,647 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-09 10:41:43,648 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-11-09 10:41:43,648 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-09 10:41:43,649 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-11-09 10:41:43,649 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-11-09 10:41:43,701 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 27 out of 88 [2024-11-09 10:41:43,702 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 74 places, 69 transitions, 166 flow. Second operand has 9 states, 9 states have (on average 29.333333333333332) internal successors, (264), 9 states have internal predecessors, (264), 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) [2024-11-09 10:41:43,702 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-09 10:41:43,702 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 27 of 88 [2024-11-09 10:41:43,702 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-09 10:41:44,059 INFO L124 PetriNetUnfolderBase]: 957/1861 cut-off events. [2024-11-09 10:41:44,060 INFO L125 PetriNetUnfolderBase]: For 339/339 co-relation queries the response was YES. [2024-11-09 10:41:44,063 INFO L83 FinitePrefix]: Finished finitePrefix Result has 3658 conditions, 1861 events. 957/1861 cut-off events. For 339/339 co-relation queries the response was YES. Maximal size of possible extension queue 60. Compared 10736 event pairs, 112 based on Foata normal form. 312/2105 useless extension candidates. Maximal degree in co-relation 2659. Up to 1224 conditions per place. [2024-11-09 10:41:44,069 INFO L140 encePairwiseOnDemand]: 84/88 looper letters, 63 selfloop transitions, 3 changer transitions 0/81 dead transitions. [2024-11-09 10:41:44,070 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 55 places, 81 transitions, 312 flow [2024-11-09 10:41:44,070 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 5 states. [2024-11-09 10:41:44,070 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 5 states. [2024-11-09 10:41:44,071 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 5 states to 5 states and 205 transitions. [2024-11-09 10:41:44,072 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.4659090909090909 [2024-11-09 10:41:44,072 INFO L175 Difference]: Start difference. First operand has 74 places, 69 transitions, 166 flow. Second operand 5 states and 205 transitions. [2024-11-09 10:41:44,072 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 55 places, 81 transitions, 312 flow [2024-11-09 10:41:44,073 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 54 places, 81 transitions, 310 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-11-09 10:41:44,074 INFO L231 Difference]: Finished difference. Result has 54 places, 44 transitions, 110 flow [2024-11-09 10:41:44,075 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=88, PETRI_DIFFERENCE_MINUEND_FLOW=104, PETRI_DIFFERENCE_MINUEND_PLACES=50, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=44, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=41, PETRI_DIFFERENCE_SUBTRAHEND_STATES=5, PETRI_FLOW=110, PETRI_PLACES=54, PETRI_TRANSITIONS=44} [2024-11-09 10:41:44,075 INFO L277 CegarLoopForPetriNet]: 75 programPoint places, -21 predicate places. [2024-11-09 10:41:44,076 INFO L471 AbstractCegarLoop]: Abstraction has has 54 places, 44 transitions, 110 flow [2024-11-09 10:41:44,076 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 29.333333333333332) internal successors, (264), 9 states have internal predecessors, (264), 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) [2024-11-09 10:41:44,076 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-09 10:41:44,076 INFO L204 CegarLoopForPetriNet]: trace histogram [3, 3, 2, 1, 1, 1, 1] [2024-11-09 10:41:44,096 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2024-11-09 10:41:44,277 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable6 [2024-11-09 10:41:44,278 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-09 10:41:44,278 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 10:41:44,278 INFO L85 PathProgramCache]: Analyzing trace with hash -1460335429, now seen corresponding path program 1 times [2024-11-09 10:41:44,278 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-09 10:41:44,279 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [81343591] [2024-11-09 10:41:44,279 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 10:41:44,279 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 10:41:44,297 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 10:41:44,299 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 10:41:44,311 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 10:41:44,322 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-09 10:41:44,325 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-09 10:41:44,326 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-11-09 10:41:44,326 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-11-09 10:41:44,326 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-11-09 10:41:44,327 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 7 remaining) [2024-11-09 10:41:44,327 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-11-09 10:41:44,327 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 7 remaining) [2024-11-09 10:41:44,327 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-11-09 10:41:44,327 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable7 [2024-11-09 10:41:44,327 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-09 10:41:44,328 WARN L244 ceAbstractionStarter]: 2 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-09 10:41:44,328 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 3 thread instances. [2024-11-09 10:41:44,355 INFO L143 ThreadInstanceAdder]: Constructed 3 joinOtherThreadTransitions. [2024-11-09 10:41:44,358 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 96 places, 114 transitions, 255 flow [2024-11-09 10:41:44,382 INFO L124 PetriNetUnfolderBase]: 42/255 cut-off events. [2024-11-09 10:41:44,382 INFO L125 PetriNetUnfolderBase]: For 19/19 co-relation queries the response was YES. [2024-11-09 10:41:44,384 INFO L83 FinitePrefix]: Finished finitePrefix Result has 280 conditions, 255 events. 42/255 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 15. Compared 1151 event pairs, 1 based on Foata normal form. 0/173 useless extension candidates. Maximal degree in co-relation 175. Up to 12 conditions per place. [2024-11-09 10:41:44,384 INFO L82 GeneralOperation]: Start removeDead. Operand has 96 places, 114 transitions, 255 flow [2024-11-09 10:41:44,386 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 96 places, 114 transitions, 255 flow [2024-11-09 10:41:44,388 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-09 10:41:44,388 INFO L333 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, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=None, 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;@6df18f74, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-09 10:41:44,389 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-09 10:41:44,390 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-09 10:41:44,390 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-09 10:41:44,390 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-09 10:41:44,391 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-09 10:41:44,391 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-09 10:41:44,391 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-09 10:41:44,391 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 10:41:44,391 INFO L85 PathProgramCache]: Analyzing trace with hash 543499, now seen corresponding path program 1 times [2024-11-09 10:41:44,392 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-09 10:41:44,392 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [925047544] [2024-11-09 10:41:44,392 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 10:41:44,392 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 10:41:44,400 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 10:41:44,420 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 10:41:44,420 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-09 10:41:44,420 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [925047544] [2024-11-09 10:41:44,421 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [925047544] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-09 10:41:44,421 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-09 10:41:44,421 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-09 10:41:44,421 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1845662827] [2024-11-09 10:41:44,421 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-09 10:41:44,422 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-09 10:41:44,422 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-09 10:41:44,422 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-09 10:41:44,422 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-09 10:41:44,433 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 32 out of 114 [2024-11-09 10:41:44,433 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 96 places, 114 transitions, 255 flow. Second operand has 3 states, 3 states have (on average 33.0) internal successors, (99), 3 states have internal predecessors, (99), 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) [2024-11-09 10:41:44,434 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-09 10:41:44,434 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 32 of 114 [2024-11-09 10:41:44,434 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-09 10:41:55,628 INFO L124 PetriNetUnfolderBase]: 86952/146186 cut-off events. [2024-11-09 10:41:55,628 INFO L125 PetriNetUnfolderBase]: For 1648/1648 co-relation queries the response was YES. [2024-11-09 10:41:55,880 INFO L83 FinitePrefix]: Finished finitePrefix Result has 268025 conditions, 146186 events. 86952/146186 cut-off events. For 1648/1648 co-relation queries the response was YES. Maximal size of possible extension queue 3077. Compared 1375979 event pairs, 75615 based on Foata normal form. 36536/177717 useless extension candidates. Maximal degree in co-relation 69283. Up to 105165 conditions per place. [2024-11-09 10:41:56,574 INFO L140 encePairwiseOnDemand]: 88/114 looper letters, 87 selfloop transitions, 2 changer transitions 1/122 dead transitions. [2024-11-09 10:41:56,574 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 95 places, 122 transitions, 451 flow [2024-11-09 10:41:56,575 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-09 10:41:56,575 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-09 10:41:56,576 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 228 transitions. [2024-11-09 10:41:56,576 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.6666666666666666 [2024-11-09 10:41:56,576 INFO L175 Difference]: Start difference. First operand has 96 places, 114 transitions, 255 flow. Second operand 3 states and 228 transitions. [2024-11-09 10:41:56,576 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 95 places, 122 transitions, 451 flow [2024-11-09 10:41:56,579 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 95 places, 122 transitions, 451 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-09 10:41:56,582 INFO L231 Difference]: Finished difference. Result has 95 places, 88 transitions, 207 flow [2024-11-09 10:41:56,582 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=114, PETRI_DIFFERENCE_MINUEND_FLOW=205, PETRI_DIFFERENCE_MINUEND_PLACES=93, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=89, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=87, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=207, PETRI_PLACES=95, PETRI_TRANSITIONS=88} [2024-11-09 10:41:56,583 INFO L277 CegarLoopForPetriNet]: 96 programPoint places, -1 predicate places. [2024-11-09 10:41:56,583 INFO L471 AbstractCegarLoop]: Abstraction has has 95 places, 88 transitions, 207 flow [2024-11-09 10:41:56,583 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 33.0) internal successors, (99), 3 states have internal predecessors, (99), 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) [2024-11-09 10:41:56,583 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-09 10:41:56,583 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-09 10:41:56,583 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable8 [2024-11-09 10:41:56,583 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-09 10:41:56,584 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 10:41:56,584 INFO L85 PathProgramCache]: Analyzing trace with hash 543500, now seen corresponding path program 1 times [2024-11-09 10:41:56,584 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-09 10:41:56,585 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [51368460] [2024-11-09 10:41:56,585 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 10:41:56,585 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 10:41:56,596 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 10:41:56,644 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 10:41:56,645 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-09 10:41:56,645 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [51368460] [2024-11-09 10:41:56,646 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [51368460] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-09 10:41:56,646 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-09 10:41:56,646 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-09 10:41:56,646 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1843158517] [2024-11-09 10:41:56,646 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-09 10:41:56,647 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-09 10:41:56,647 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-09 10:41:56,647 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-09 10:41:56,648 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-09 10:41:56,660 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 35 out of 114 [2024-11-09 10:41:56,661 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 95 places, 88 transitions, 207 flow. Second operand has 3 states, 3 states have (on average 36.0) internal successors, (108), 3 states have internal predecessors, (108), 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) [2024-11-09 10:41:56,661 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-09 10:41:56,661 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 35 of 114 [2024-11-09 10:41:56,661 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-09 10:42:05,454 INFO L124 PetriNetUnfolderBase]: 75797/130654 cut-off events. [2024-11-09 10:42:05,454 INFO L125 PetriNetUnfolderBase]: For 3082/3082 co-relation queries the response was YES. [2024-11-09 10:42:05,717 INFO L83 FinitePrefix]: Finished finitePrefix Result has 239133 conditions, 130654 events. 75797/130654 cut-off events. For 3082/3082 co-relation queries the response was YES. Maximal size of possible extension queue 3029. Compared 1255608 event pairs, 49182 based on Foata normal form. 1/126019 useless extension candidates. Maximal degree in co-relation 219122. Up to 105141 conditions per place. [2024-11-09 10:42:06,290 INFO L140 encePairwiseOnDemand]: 110/114 looper letters, 66 selfloop transitions, 2 changer transitions 0/101 dead transitions. [2024-11-09 10:42:06,290 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 96 places, 101 transitions, 369 flow [2024-11-09 10:42:06,291 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-09 10:42:06,291 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-09 10:42:06,292 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 175 transitions. [2024-11-09 10:42:06,292 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5116959064327485 [2024-11-09 10:42:06,292 INFO L175 Difference]: Start difference. First operand has 95 places, 88 transitions, 207 flow. Second operand 3 states and 175 transitions. [2024-11-09 10:42:06,292 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 96 places, 101 transitions, 369 flow [2024-11-09 10:42:06,649 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 94 places, 101 transitions, 365 flow, removed 0 selfloop flow, removed 2 redundant places. [2024-11-09 10:42:06,651 INFO L231 Difference]: Finished difference. Result has 95 places, 89 transitions, 217 flow [2024-11-09 10:42:06,652 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=114, PETRI_DIFFERENCE_MINUEND_FLOW=203, PETRI_DIFFERENCE_MINUEND_PLACES=92, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=88, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=86, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=217, PETRI_PLACES=95, PETRI_TRANSITIONS=89} [2024-11-09 10:42:06,652 INFO L277 CegarLoopForPetriNet]: 96 programPoint places, -1 predicate places. [2024-11-09 10:42:06,652 INFO L471 AbstractCegarLoop]: Abstraction has has 95 places, 89 transitions, 217 flow [2024-11-09 10:42:06,653 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 36.0) internal successors, (108), 3 states have internal predecessors, (108), 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) [2024-11-09 10:42:06,653 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-09 10:42:06,653 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 1, 1, 1, 1, 1] [2024-11-09 10:42:06,653 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable9 [2024-11-09 10:42:06,653 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-09 10:42:06,654 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 10:42:06,654 INFO L85 PathProgramCache]: Analyzing trace with hash -560231778, now seen corresponding path program 1 times [2024-11-09 10:42:06,654 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-09 10:42:06,654 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [464199950] [2024-11-09 10:42:06,654 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 10:42:06,655 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 10:42:06,664 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 10:42:07,054 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 10:42:07,055 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-09 10:42:07,055 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [464199950] [2024-11-09 10:42:07,055 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [464199950] provided 0 perfect and 1 imperfect interpolant sequences [2024-11-09 10:42:07,057 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [627850265] [2024-11-09 10:42:07,057 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 10:42:07,057 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-09 10:42:07,058 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-09 10:42:07,060 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-11-09 10:42:07,061 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2024-11-09 10:42:07,140 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 10:42:07,142 INFO L255 TraceCheckSpWp]: Trace formula consists of 97 conjuncts, 9 conjuncts are in the unsatisfiable core [2024-11-09 10:42:07,144 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-09 10:42:07,159 INFO L378 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 8 treesize of output 1 [2024-11-09 10:42:07,220 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 10:42:07,221 INFO L311 TraceCheckSpWp]: Computing backward predicates... [2024-11-09 10:42:07,299 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 10:42:07,299 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [627850265] provided 0 perfect and 2 imperfect interpolant sequences [2024-11-09 10:42:07,300 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2024-11-09 10:42:07,300 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [3, 2, 2] total 7 [2024-11-09 10:42:07,300 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1606666700] [2024-11-09 10:42:07,301 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2024-11-09 10:42:07,301 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 9 states [2024-11-09 10:42:07,301 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-09 10:42:07,302 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 9 interpolants. [2024-11-09 10:42:07,302 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=24, Invalid=48, Unknown=0, NotChecked=0, Total=72 [2024-11-09 10:42:07,364 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 34 out of 114 [2024-11-09 10:42:07,365 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 95 places, 89 transitions, 217 flow. Second operand has 9 states, 9 states have (on average 36.333333333333336) internal successors, (327), 9 states have internal predecessors, (327), 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) [2024-11-09 10:42:07,365 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-09 10:42:07,366 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 34 of 114 [2024-11-09 10:42:07,366 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-09 10:42:09,545 INFO L124 PetriNetUnfolderBase]: 18381/29251 cut-off events. [2024-11-09 10:42:09,545 INFO L125 PetriNetUnfolderBase]: For 7931/7931 co-relation queries the response was YES. [2024-11-09 10:42:09,607 INFO L83 FinitePrefix]: Finished finitePrefix Result has 57689 conditions, 29251 events. 18381/29251 cut-off events. For 7931/7931 co-relation queries the response was YES. Maximal size of possible extension queue 757. Compared 220410 event pairs, 1344 based on Foata normal form. 3768/32199 useless extension candidates. Maximal degree in co-relation 4908. Up to 19440 conditions per place. [2024-11-09 10:42:09,745 INFO L140 encePairwiseOnDemand]: 110/114 looper letters, 110 selfloop transitions, 4 changer transitions 0/136 dead transitions. [2024-11-09 10:42:09,745 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 77 places, 136 transitions, 528 flow [2024-11-09 10:42:09,745 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2024-11-09 10:42:09,745 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 6 states. [2024-11-09 10:42:09,746 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 6 states to 6 states and 324 transitions. [2024-11-09 10:42:09,747 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.47368421052631576 [2024-11-09 10:42:09,747 INFO L175 Difference]: Start difference. First operand has 95 places, 89 transitions, 217 flow. Second operand 6 states and 324 transitions. [2024-11-09 10:42:09,747 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 77 places, 136 transitions, 528 flow [2024-11-09 10:42:09,756 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 76 places, 136 transitions, 524 flow, removed 1 selfloop flow, removed 1 redundant places. [2024-11-09 10:42:09,758 INFO L231 Difference]: Finished difference. Result has 76 places, 64 transitions, 160 flow [2024-11-09 10:42:09,759 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=114, PETRI_DIFFERENCE_MINUEND_FLOW=148, PETRI_DIFFERENCE_MINUEND_PLACES=71, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=63, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=60, PETRI_DIFFERENCE_SUBTRAHEND_STATES=6, PETRI_FLOW=160, PETRI_PLACES=76, PETRI_TRANSITIONS=64} [2024-11-09 10:42:09,760 INFO L277 CegarLoopForPetriNet]: 96 programPoint places, -20 predicate places. [2024-11-09 10:42:09,760 INFO L471 AbstractCegarLoop]: Abstraction has has 76 places, 64 transitions, 160 flow [2024-11-09 10:42:09,760 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 9 states, 9 states have (on average 36.333333333333336) internal successors, (327), 9 states have internal predecessors, (327), 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) [2024-11-09 10:42:09,760 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-09 10:42:09,761 INFO L204 CegarLoopForPetriNet]: trace histogram [4, 4, 3, 1, 1, 1, 1, 1] [2024-11-09 10:42:09,781 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Ended with exit code 0 [2024-11-09 10:42:09,961 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable10,4 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-11-09 10:42:09,962 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-09 10:42:09,962 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 10:42:09,962 INFO L85 PathProgramCache]: Analyzing trace with hash -2072233549, now seen corresponding path program 1 times [2024-11-09 10:42:09,962 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-09 10:42:09,963 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1957571515] [2024-11-09 10:42:09,963 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 10:42:09,963 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 10:42:09,990 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 10:42:09,990 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-09 10:42:10,008 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-09 10:42:10,016 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-09 10:42:10,019 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-09 10:42:10,019 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (6 of 7 remaining) [2024-11-09 10:42:10,020 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 7 remaining) [2024-11-09 10:42:10,020 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (4 of 7 remaining) [2024-11-09 10:42:10,020 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (3 of 7 remaining) [2024-11-09 10:42:10,020 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (2 of 7 remaining) [2024-11-09 10:42:10,021 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (1 of 7 remaining) [2024-11-09 10:42:10,021 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5ASSERT_VIOLATIONMEMORY_LEAK (0 of 7 remaining) [2024-11-09 10:42:10,021 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable11 [2024-11-09 10:42:10,021 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2024-11-09 10:42:10,022 WARN L244 ceAbstractionStarter]: 3 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-09 10:42:10,023 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 4 thread instances. [2024-11-09 10:42:10,056 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-11-09 10:42:10,062 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 117 places, 140 transitions, 320 flow [2024-11-09 10:42:10,104 INFO L124 PetriNetUnfolderBase]: 65/390 cut-off events. [2024-11-09 10:42:10,104 INFO L125 PetriNetUnfolderBase]: For 48/48 co-relation queries the response was YES. [2024-11-09 10:42:10,109 INFO L83 FinitePrefix]: Finished finitePrefix Result has 441 conditions, 390 events. 65/390 cut-off events. For 48/48 co-relation queries the response was YES. Maximal size of possible extension queue 17. Compared 1910 event pairs, 6 based on Foata normal form. 0/262 useless extension candidates. Maximal degree in co-relation 279. Up to 32 conditions per place. [2024-11-09 10:42:10,109 INFO L82 GeneralOperation]: Start removeDead. Operand has 117 places, 140 transitions, 320 flow [2024-11-09 10:42:10,113 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 117 places, 140 transitions, 320 flow [2024-11-09 10:42:10,114 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-09 10:42:10,116 INFO L333 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, mAutomataTypeConcurrency=PETRI_NET, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=None, 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;@6df18f74, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-09 10:42:10,117 INFO L334 AbstractCegarLoop]: Starting to check reachability of 7 error locations. [2024-11-09 10:42:10,118 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-09 10:42:10,118 INFO L124 PetriNetUnfolderBase]: 0/4 cut-off events. [2024-11-09 10:42:10,118 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-09 10:42:10,118 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-09 10:42:10,118 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2024-11-09 10:42:10,118 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr0REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE, ULTIMATE.startErr2ASSERT_VIOLATIONMEMORY_LEAK (and 4 more)] === [2024-11-09 10:42:10,119 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-09 10:42:10,119 INFO L85 PathProgramCache]: Analyzing trace with hash 682519, now seen corresponding path program 1 times [2024-11-09 10:42:10,119 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-09 10:42:10,119 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1841061843] [2024-11-09 10:42:10,119 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-09 10:42:10,119 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-09 10:42:10,128 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-09 10:42:10,164 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-09 10:42:10,168 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-09 10:42:10,168 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1841061843] [2024-11-09 10:42:10,169 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1841061843] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-09 10:42:10,169 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-09 10:42:10,169 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-09 10:42:10,169 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1184404951] [2024-11-09 10:42:10,169 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-09 10:42:10,169 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-09 10:42:10,170 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-09 10:42:10,170 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-09 10:42:10,170 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-09 10:42:10,184 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 39 out of 140 [2024-11-09 10:42:10,185 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 117 places, 140 transitions, 320 flow. Second operand has 3 states, 3 states have (on average 40.0) internal successors, (120), 3 states have internal predecessors, (120), 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) [2024-11-09 10:42:10,185 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-09 10:42:10,185 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 39 of 140 [2024-11-09 10:42:10,185 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand