./Ultimate.py --spec /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/properties/valid-memsafety.prp --file /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread/stateful01-1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version a046e57d Calling Ultimate with: /root/.sdkman/candidates/java/current/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 /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread/stateful01-1.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 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03 --- Real Ultimate output --- This is Ultimate 0.2.5-tmp.dk.eval-mul-div-a046e57-m [2024-10-13 12:08:20,195 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-13 12:08:20,289 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2024-10-13 12:08:20,293 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-13 12:08:20,294 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-13 12:08:20,322 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-13 12:08:20,322 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-13 12:08:20,323 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-13 12:08:20,323 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-10-13 12:08:20,324 INFO L153 SettingsManager]: * Use memory slicer=true [2024-10-13 12:08:20,324 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-13 12:08:20,324 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-13 12:08:20,325 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-13 12:08:20,325 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-13 12:08:20,326 INFO L153 SettingsManager]: * Use SBE=true [2024-10-13 12:08:20,326 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-13 12:08:20,327 INFO L153 SettingsManager]: * sizeof long=4 [2024-10-13 12:08:20,327 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-13 12:08:20,327 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-10-13 12:08:20,328 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-13 12:08:20,328 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-10-13 12:08:20,329 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-10-13 12:08:20,329 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-10-13 12:08:20,329 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-13 12:08:20,329 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-10-13 12:08:20,330 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-13 12:08:20,330 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-10-13 12:08:20,330 INFO L153 SettingsManager]: * sizeof long double=12 [2024-10-13 12:08:20,331 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-13 12:08:20,331 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-13 12:08:20,331 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-13 12:08:20,332 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-13 12:08:20,332 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-13 12:08:20,332 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-13 12:08:20,332 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-13 12:08:20,333 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-13 12:08:20,333 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-10-13 12:08:20,333 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-10-13 12:08:20,333 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-13 12:08:20,334 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-10-13 12:08:20,334 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-10-13 12:08:20,335 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-10-13 12:08:20,335 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 -> 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03 [2024-10-13 12:08:20,595 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-13 12:08:20,627 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-13 12:08:20,631 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-13 12:08:20,632 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-13 12:08:20,633 INFO L274 PluginConnector]: CDTParser initialized [2024-10-13 12:08:20,635 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread/stateful01-1.i [2024-10-13 12:08:22,185 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-13 12:08:22,428 INFO L384 CDTParser]: Found 1 translation units. [2024-10-13 12:08:22,429 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread/stateful01-1.i [2024-10-13 12:08:22,444 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/0d54ee0cb/1c96ce4eeb4f470da473761abc5caae0/FLAG259e7cdf9 [2024-10-13 12:08:22,459 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/0d54ee0cb/1c96ce4eeb4f470da473761abc5caae0 [2024-10-13 12:08:22,463 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-13 12:08:22,464 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-13 12:08:22,466 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-13 12:08:22,466 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-13 12:08:22,476 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-13 12:08:22,477 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.10 12:08:22" (1/1) ... [2024-10-13 12:08:22,478 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1d9a37c7 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:22, skipping insertion in model container [2024-10-13 12:08:22,478 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.10 12:08:22" (1/1) ... [2024-10-13 12:08:22,522 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-13 12:08:22,941 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-13 12:08:22,960 INFO L200 MainTranslator]: Completed pre-run [2024-10-13 12:08:23,024 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-13 12:08:23,072 INFO L204 MainTranslator]: Completed translation [2024-10-13 12:08:23,073 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:23 WrapperNode [2024-10-13 12:08:23,073 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-13 12:08:23,074 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-13 12:08:23,075 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-13 12:08:23,076 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-13 12:08:23,083 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:23" (1/1) ... [2024-10-13 12:08:23,099 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:23" (1/1) ... [2024-10-13 12:08:23,123 INFO L138 Inliner]: procedures = 168, calls = 29, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 52 [2024-10-13 12:08:23,124 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-13 12:08:23,126 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-10-13 12:08:23,126 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-10-13 12:08:23,126 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-10-13 12:08:23,137 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:23" (1/1) ... [2024-10-13 12:08:23,137 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:23" (1/1) ... [2024-10-13 12:08:23,139 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:23" (1/1) ... [2024-10-13 12:08:23,171 INFO L175 MemorySlicer]: Split 12 memory accesses to 3 slices as follows [2, 5, 5]. 42 percent of accesses are in the largest equivalence class. The 12 initializations are split as follows [2, 5, 5]. The 0 writes are split as follows [0, 0, 0]. [2024-10-13 12:08:23,172 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:23" (1/1) ... [2024-10-13 12:08:23,172 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:23" (1/1) ... [2024-10-13 12:08:23,180 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:23" (1/1) ... [2024-10-13 12:08:23,186 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:23" (1/1) ... [2024-10-13 12:08:23,188 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:23" (1/1) ... [2024-10-13 12:08:23,189 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:23" (1/1) ... [2024-10-13 12:08:23,195 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-10-13 12:08:23,196 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-10-13 12:08:23,196 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-10-13 12:08:23,196 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-10-13 12:08:23,197 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:23" (1/1) ... [2024-10-13 12:08:23,206 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-13 12:08:23,222 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 12:08:23,241 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-10-13 12:08:23,248 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-10-13 12:08:23,300 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2024-10-13 12:08:23,300 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2024-10-13 12:08:23,300 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2024-10-13 12:08:23,300 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2024-10-13 12:08:23,300 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-10-13 12:08:23,301 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-10-13 12:08:23,301 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-10-13 12:08:23,301 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-10-13 12:08:23,301 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-10-13 12:08:23,301 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-10-13 12:08:23,301 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-10-13 12:08:23,303 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-10-13 12:08:23,305 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-10-13 12:08:23,458 INFO L238 CfgBuilder]: Building ICFG [2024-10-13 12:08:23,460 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-10-13 12:08:23,632 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-10-13 12:08:23,632 INFO L287 CfgBuilder]: Performing block encoding [2024-10-13 12:08:23,771 INFO L309 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-10-13 12:08:23,771 INFO L314 CfgBuilder]: Removed 0 assume(true) statements. [2024-10-13 12:08:23,775 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 12:08:23 BoogieIcfgContainer [2024-10-13 12:08:23,776 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-10-13 12:08:23,778 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-10-13 12:08:23,778 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-10-13 12:08:23,783 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-10-13 12:08:23,783 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 13.10 12:08:22" (1/3) ... [2024-10-13 12:08:23,784 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@26d98662 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.10 12:08:23, skipping insertion in model container [2024-10-13 12:08:23,785 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:23" (2/3) ... [2024-10-13 12:08:23,786 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@26d98662 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.10 12:08:23, skipping insertion in model container [2024-10-13 12:08:23,786 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 12:08:23" (3/3) ... [2024-10-13 12:08:23,787 INFO L112 eAbstractionObserver]: Analyzing ICFG stateful01-1.i [2024-10-13 12:08:23,802 INFO L209 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-10-13 12:08:23,803 INFO L149 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2024-10-13 12:08:23,803 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-10-13 12:08:23,854 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-10-13 12:08:23,884 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 42 places, 37 transitions, 88 flow [2024-10-13 12:08:23,923 INFO L124 PetriNetUnfolderBase]: 2/35 cut-off events. [2024-10-13 12:08:23,924 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-10-13 12:08:23,927 INFO L83 FinitePrefix]: Finished finitePrefix Result has 44 conditions, 35 events. 2/35 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 37 event pairs, 0 based on Foata normal form. 0/31 useless extension candidates. Maximal degree in co-relation 21. Up to 2 conditions per place. [2024-10-13 12:08:23,928 INFO L82 GeneralOperation]: Start removeDead. Operand has 42 places, 37 transitions, 88 flow [2024-10-13 12:08:23,933 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 39 places, 34 transitions, 80 flow [2024-10-13 12:08:23,943 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-13 12:08:23,954 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;@53a01e6b, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-13 12:08:23,954 INFO L334 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2024-10-13 12:08:23,973 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-13 12:08:23,974 INFO L124 PetriNetUnfolderBase]: 2/32 cut-off events. [2024-10-13 12:08:23,974 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-10-13 12:08:23,974 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:08:23,975 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-13 12:08:23,976 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-10-13 12:08:23,982 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:08:23,982 INFO L85 PathProgramCache]: Analyzing trace with hash -852408417, now seen corresponding path program 1 times [2024-10-13 12:08:23,992 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:08:23,993 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [990606504] [2024-10-13 12:08:23,993 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:08:23,994 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:08:24,224 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:08:24,504 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:08:24,505 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 12:08:24,506 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [990606504] [2024-10-13 12:08:24,506 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [990606504] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-13 12:08:24,507 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-13 12:08:24,507 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-10-13 12:08:24,508 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [793515428] [2024-10-13 12:08:24,509 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-13 12:08:24,516 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-13 12:08:24,522 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 12:08:24,545 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-13 12:08:24,546 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-13 12:08:24,548 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 10 out of 37 [2024-10-13 12:08:24,550 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 39 places, 34 transitions, 80 flow. Second operand has 3 states, 3 states have (on average 17.333333333333332) internal successors, (52), 3 states have internal predecessors, (52), 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-10-13 12:08:24,550 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-13 12:08:24,550 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 10 of 37 [2024-10-13 12:08:24,551 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-13 12:08:24,724 INFO L124 PetriNetUnfolderBase]: 182/360 cut-off events. [2024-10-13 12:08:24,724 INFO L125 PetriNetUnfolderBase]: For 19/19 co-relation queries the response was YES. [2024-10-13 12:08:24,727 INFO L83 FinitePrefix]: Finished finitePrefix Result has 728 conditions, 360 events. 182/360 cut-off events. For 19/19 co-relation queries the response was YES. Maximal size of possible extension queue 20. Compared 1334 event pairs, 182 based on Foata normal form. 3/358 useless extension candidates. Maximal degree in co-relation 671. Up to 337 conditions per place. [2024-10-13 12:08:24,736 INFO L140 encePairwiseOnDemand]: 33/37 looper letters, 21 selfloop transitions, 1 changer transitions 2/30 dead transitions. [2024-10-13 12:08:24,737 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 39 places, 30 transitions, 116 flow [2024-10-13 12:08:24,739 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-13 12:08:24,742 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-10-13 12:08:24,748 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 55 transitions. [2024-10-13 12:08:24,752 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.4954954954954955 [2024-10-13 12:08:24,754 INFO L175 Difference]: Start difference. First operand has 39 places, 34 transitions, 80 flow. Second operand 3 states and 55 transitions. [2024-10-13 12:08:24,755 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 39 places, 30 transitions, 116 flow [2024-10-13 12:08:24,760 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 35 places, 30 transitions, 108 flow, removed 0 selfloop flow, removed 4 redundant places. [2024-10-13 12:08:24,763 INFO L231 Difference]: Finished difference. Result has 35 places, 28 transitions, 62 flow [2024-10-13 12:08:24,765 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=37, PETRI_DIFFERENCE_MINUEND_FLOW=64, PETRI_DIFFERENCE_MINUEND_PLACES=33, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=30, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=29, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=62, PETRI_PLACES=35, PETRI_TRANSITIONS=28} [2024-10-13 12:08:24,770 INFO L277 CegarLoopForPetriNet]: 39 programPoint places, -4 predicate places. [2024-10-13 12:08:24,770 INFO L471 AbstractCegarLoop]: Abstraction has has 35 places, 28 transitions, 62 flow [2024-10-13 12:08:24,770 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 17.333333333333332) internal successors, (52), 3 states have internal predecessors, (52), 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-10-13 12:08:24,771 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:08:24,771 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-13 12:08:24,771 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-10-13 12:08:24,772 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-10-13 12:08:24,772 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:08:24,772 INFO L85 PathProgramCache]: Analyzing trace with hash 1582024772, now seen corresponding path program 1 times [2024-10-13 12:08:24,773 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:08:24,773 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [180520663] [2024-10-13 12:08:24,773 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:08:24,773 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:08:24,823 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:08:25,024 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:08:25,024 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-13 12:08:25,025 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [180520663] [2024-10-13 12:08:25,025 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [180520663] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-13 12:08:25,026 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-13 12:08:25,026 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2024-10-13 12:08:25,026 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [399529319] [2024-10-13 12:08:25,026 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-13 12:08:25,028 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-13 12:08:25,028 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-13 12:08:25,029 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-13 12:08:25,029 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-13 12:08:25,030 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 11 out of 37 [2024-10-13 12:08:25,030 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 35 places, 28 transitions, 62 flow. Second operand has 3 states, 3 states have (on average 18.333333333333332) internal successors, (55), 3 states have internal predecessors, (55), 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-10-13 12:08:25,030 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-13 12:08:25,030 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 11 of 37 [2024-10-13 12:08:25,031 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-13 12:08:25,175 INFO L124 PetriNetUnfolderBase]: 102/235 cut-off events. [2024-10-13 12:08:25,176 INFO L125 PetriNetUnfolderBase]: For 5/5 co-relation queries the response was YES. [2024-10-13 12:08:25,178 INFO L83 FinitePrefix]: Finished finitePrefix Result has 473 conditions, 235 events. 102/235 cut-off events. For 5/5 co-relation queries the response was YES. Maximal size of possible extension queue 13. Compared 807 event pairs, 42 based on Foata normal form. 32/259 useless extension candidates. Maximal degree in co-relation 467. Up to 136 conditions per place. [2024-10-13 12:08:25,180 INFO L140 encePairwiseOnDemand]: 29/37 looper letters, 20 selfloop transitions, 8 changer transitions 0/34 dead transitions. [2024-10-13 12:08:25,182 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 35 places, 34 transitions, 132 flow [2024-10-13 12:08:25,183 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-13 12:08:25,183 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-10-13 12:08:25,184 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 65 transitions. [2024-10-13 12:08:25,184 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5855855855855856 [2024-10-13 12:08:25,185 INFO L175 Difference]: Start difference. First operand has 35 places, 28 transitions, 62 flow. Second operand 3 states and 65 transitions. [2024-10-13 12:08:25,185 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 35 places, 34 transitions, 132 flow [2024-10-13 12:08:25,185 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 34 places, 34 transitions, 131 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-10-13 12:08:25,187 INFO L231 Difference]: Finished difference. Result has 34 places, 28 transitions, 77 flow [2024-10-13 12:08:25,188 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=37, PETRI_DIFFERENCE_MINUEND_FLOW=61, PETRI_DIFFERENCE_MINUEND_PLACES=32, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=28, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=8, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=20, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=77, PETRI_PLACES=34, PETRI_TRANSITIONS=28} [2024-10-13 12:08:25,189 INFO L277 CegarLoopForPetriNet]: 39 programPoint places, -5 predicate places. [2024-10-13 12:08:25,190 INFO L471 AbstractCegarLoop]: Abstraction has has 34 places, 28 transitions, 77 flow [2024-10-13 12:08:25,191 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 18.333333333333332) internal successors, (55), 3 states have internal predecessors, (55), 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-10-13 12:08:25,192 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:08:25,192 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-13 12:08:25,192 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-10-13 12:08:25,193 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-10-13 12:08:25,193 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:08:25,193 INFO L85 PathProgramCache]: Analyzing trace with hash 185942528, now seen corresponding path program 2 times [2024-10-13 12:08:25,195 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-13 12:08:25,195 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1014469398] [2024-10-13 12:08:25,196 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:08:25,196 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-13 12:08:25,277 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 12:08:25,278 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 12:08:25,316 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 12:08:25,359 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-13 12:08:25,360 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-10-13 12:08:25,364 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (3 of 4 remaining) [2024-10-13 12:08:25,367 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK (2 of 4 remaining) [2024-10-13 12:08:25,368 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 4 remaining) [2024-10-13 12:08:25,368 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 4 remaining) [2024-10-13 12:08:25,369 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-10-13 12:08:25,370 INFO L407 BasicCegarLoop]: Path program histogram: [2, 1] [2024-10-13 12:08:25,428 INFO L234 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-10-13 12:08:25,429 INFO L165 ceAbstractionStarter]: Computing trace abstraction results [2024-10-13 12:08:25,437 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 13.10 12:08:25 BasicIcfg [2024-10-13 12:08:25,440 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-10-13 12:08:25,440 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-10-13 12:08:25,440 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-10-13 12:08:25,441 INFO L274 PluginConnector]: Witness Printer initialized [2024-10-13 12:08:25,441 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 12:08:23" (3/4) ... [2024-10-13 12:08:25,445 INFO L142 WitnessPrinter]: No result that supports witness generation found [2024-10-13 12:08:25,446 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-10-13 12:08:25,447 INFO L158 Benchmark]: Toolchain (without parser) took 2982.65ms. Allocated memory was 153.1MB in the beginning and 205.5MB in the end (delta: 52.4MB). Free memory was 94.3MB in the beginning and 155.9MB in the end (delta: -61.6MB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-13 12:08:25,448 INFO L158 Benchmark]: CDTParser took 0.28ms. Allocated memory is still 96.5MB. Free memory was 51.5MB in the beginning and 51.4MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-13 12:08:25,448 INFO L158 Benchmark]: CACSL2BoogieTranslator took 607.93ms. Allocated memory is still 153.1MB. Free memory was 94.3MB in the beginning and 117.1MB in the end (delta: -22.7MB). Peak memory consumption was 13.1MB. Max. memory is 16.1GB. [2024-10-13 12:08:25,448 INFO L158 Benchmark]: Boogie Procedure Inliner took 50.76ms. Allocated memory is still 153.1MB. Free memory was 117.1MB in the beginning and 115.0MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-13 12:08:25,449 INFO L158 Benchmark]: Boogie Preprocessor took 69.65ms. Allocated memory is still 153.1MB. Free memory was 115.0MB in the beginning and 112.9MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-13 12:08:25,449 INFO L158 Benchmark]: RCFGBuilder took 579.41ms. Allocated memory is still 153.1MB. Free memory was 112.9MB in the beginning and 85.0MB in the end (delta: 27.9MB). Peak memory consumption was 27.3MB. Max. memory is 16.1GB. [2024-10-13 12:08:25,450 INFO L158 Benchmark]: TraceAbstraction took 1661.81ms. Allocated memory was 153.1MB in the beginning and 205.5MB in the end (delta: 52.4MB). Free memory was 84.7MB in the beginning and 157.0MB in the end (delta: -72.2MB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-13 12:08:25,453 INFO L158 Benchmark]: Witness Printer took 6.11ms. Allocated memory is still 205.5MB. Free memory is still 155.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-10-13 12:08:25,459 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.28ms. Allocated memory is still 96.5MB. Free memory was 51.5MB in the beginning and 51.4MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 607.93ms. Allocated memory is still 153.1MB. Free memory was 94.3MB in the beginning and 117.1MB in the end (delta: -22.7MB). Peak memory consumption was 13.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 50.76ms. Allocated memory is still 153.1MB. Free memory was 117.1MB in the beginning and 115.0MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 69.65ms. Allocated memory is still 153.1MB. Free memory was 115.0MB in the beginning and 112.9MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 579.41ms. Allocated memory is still 153.1MB. Free memory was 112.9MB in the beginning and 85.0MB in the end (delta: 27.9MB). Peak memory consumption was 27.3MB. Max. memory is 16.1GB. * TraceAbstraction took 1661.81ms. Allocated memory was 153.1MB in the beginning and 205.5MB in the end (delta: 52.4MB). Free memory was 84.7MB in the beginning and 157.0MB in the end (delta: -72.2MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 6.11ms. Allocated memory is still 205.5MB. Free memory is still 155.9MB. There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - UnprovableResult [Line: 20]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 20. Possible FailurePath: [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L693] 0 int data1, data2; [L716] 0 pthread_t t1, t2; [L719] 0 data1 = 10 [L720] 0 data2 = 10 [L721] FCALL, FORK 0 pthread_create(&t1, 0, thread1, 0) VAL [\old(arg)={0:0}, data1=10, data2=10, ma={3:0}, mb={4:0}, t1=-2] [L697] 1 data1++ VAL [\old(arg)={0:0}, arg={0:0}, data1=11, data2=10, ma={3:0}, mb={4:0}] [L700] 1 data2++ VAL [\old(arg)={0:0}, arg={0:0}, data1=11, data2=11, ma={3:0}, mb={4:0}] [L722] FCALL, FORK 0 pthread_create(&t2, 0, thread2, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, data1=11, data2=11, ma={3:0}, mb={4:0}, t1=-2, t2=-1] [L707] 2 data1+=5 VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=11, ma={3:0}, mb={4:0}] [L710] 2 data2-=6 VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}] [L702] 1 return 0; [L712] 2 return 0; [L723] FCALL, JOIN 1 pthread_join(t1, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}, t1=-2, t2=-1] [L724] FCALL, JOIN 2 pthread_join(t2, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}, t1=-2, t2=-1] [L725] COND TRUE 0 data1==16 && data2==5 [L727] CALL 0 reach_error() [L20] COND FALSE 0 !(0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}] [L20] 0 __assert_fail ("0", "stateful01-1.c", 3, __extension__ __PRETTY_FUNCTION__) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}] - UnprovableResult [Line: 714]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - UnprovableResult [Line: 722]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - UnprovableResult [Line: 721]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 5 procedures, 58 locations, 4 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 0.0s, RemoveRedundantFlowTime: 0.0s, RemoveRedundantFlowUnfoldingTime: 0.0s, BackfoldingTime: 0.0s, BackfoldingUnfoldingTime: 0.0s, FlowIncreaseByBackfolding: 0, BasicCegarLoop: OverallTime: 1.5s, OverallIterations: 3, TraceHistogramMax: 1, PathProgramHistogramMax: 2, EmptinessCheckTime: 0.0s, AutomataDifference: 0.4s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 9 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 9 mSDsluCounter, 0 SdHoareTripleChecker+Invalid, 0.1s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 6 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 64 IncrementalHoareTripleChecker+Invalid, 70 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 6 mSolverCounterUnsat, 0 mSDtfsCounter, 64 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 4 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 2 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=80occurred in iteration=0, InterpolantAutomatonStates: 6, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.2s SatisfiabilityAnalysisTime, 0.5s InterpolantComputationTime, 84 NumberOfCodeBlocks, 84 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 54 ConstructedInterpolants, 0 QuantifiedInterpolants, 132 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-10-13 12:08:25,489 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /root/.sdkman/candidates/java/current/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 /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread/stateful01-1.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.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 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03 --- Real Ultimate output --- This is Ultimate 0.2.5-tmp.dk.eval-mul-div-a046e57-m [2024-10-13 12:08:27,866 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-13 12:08:27,953 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2024-10-13 12:08:27,960 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-13 12:08:27,961 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-13 12:08:27,991 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-13 12:08:27,992 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-13 12:08:27,992 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-13 12:08:27,993 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-10-13 12:08:27,993 INFO L153 SettingsManager]: * Use memory slicer=true [2024-10-13 12:08:27,993 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-13 12:08:27,994 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-13 12:08:27,994 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-13 12:08:27,995 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-13 12:08:27,998 INFO L153 SettingsManager]: * Use SBE=true [2024-10-13 12:08:27,998 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-13 12:08:27,998 INFO L153 SettingsManager]: * sizeof long=4 [2024-10-13 12:08:27,999 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-13 12:08:27,999 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-10-13 12:08:28,002 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-13 12:08:28,002 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-10-13 12:08:28,002 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-10-13 12:08:28,003 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-10-13 12:08:28,003 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-13 12:08:28,003 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-10-13 12:08:28,004 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-10-13 12:08:28,004 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-13 12:08:28,004 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-10-13 12:08:28,004 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-10-13 12:08:28,005 INFO L153 SettingsManager]: * sizeof long double=12 [2024-10-13 12:08:28,005 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-13 12:08:28,005 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-13 12:08:28,006 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-13 12:08:28,006 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-13 12:08:28,010 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-13 12:08:28,011 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-13 12:08:28,011 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-13 12:08:28,012 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-13 12:08:28,013 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-10-13 12:08:28,013 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-10-13 12:08:28,014 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-13 12:08:28,014 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-10-13 12:08:28,015 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-10-13 12:08:28,015 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-10-13 12:08:28,015 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-10-13 12:08:28,015 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 -> 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03 [2024-10-13 12:08:28,384 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-13 12:08:28,406 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-13 12:08:28,411 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-13 12:08:28,413 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-13 12:08:28,413 INFO L274 PluginConnector]: CDTParser initialized [2024-10-13 12:08:28,416 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread/stateful01-1.i [2024-10-13 12:08:30,056 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-13 12:08:30,419 INFO L384 CDTParser]: Found 1 translation units. [2024-10-13 12:08:30,424 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread/stateful01-1.i [2024-10-13 12:08:30,445 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b95cf1dfe/1b38022e198543a5bb7d6bd36063e9d8/FLAG3930db50d [2024-10-13 12:08:30,636 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b95cf1dfe/1b38022e198543a5bb7d6bd36063e9d8 [2024-10-13 12:08:30,638 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-13 12:08:30,640 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-13 12:08:30,641 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-13 12:08:30,641 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-13 12:08:30,646 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-13 12:08:30,647 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.10 12:08:30" (1/1) ... [2024-10-13 12:08:30,648 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@6044c47e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:30, skipping insertion in model container [2024-10-13 12:08:30,648 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.10 12:08:30" (1/1) ... [2024-10-13 12:08:30,691 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-13 12:08:31,093 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-13 12:08:31,119 INFO L200 MainTranslator]: Completed pre-run [2024-10-13 12:08:31,281 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-13 12:08:31,340 INFO L204 MainTranslator]: Completed translation [2024-10-13 12:08:31,341 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:31 WrapperNode [2024-10-13 12:08:31,341 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-13 12:08:31,343 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-13 12:08:31,343 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-13 12:08:31,343 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-13 12:08:31,352 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:31" (1/1) ... [2024-10-13 12:08:31,376 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:31" (1/1) ... [2024-10-13 12:08:31,405 INFO L138 Inliner]: procedures = 172, calls = 29, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 53 [2024-10-13 12:08:31,405 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-13 12:08:31,407 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-10-13 12:08:31,407 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-10-13 12:08:31,407 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-10-13 12:08:31,418 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:31" (1/1) ... [2024-10-13 12:08:31,418 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:31" (1/1) ... [2024-10-13 12:08:31,425 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:31" (1/1) ... [2024-10-13 12:08:31,452 INFO L175 MemorySlicer]: Split 12 memory accesses to 3 slices as follows [2, 5, 5]. 42 percent of accesses are in the largest equivalence class. The 12 initializations are split as follows [2, 5, 5]. The 0 writes are split as follows [0, 0, 0]. [2024-10-13 12:08:31,453 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:31" (1/1) ... [2024-10-13 12:08:31,453 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:31" (1/1) ... [2024-10-13 12:08:31,465 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:31" (1/1) ... [2024-10-13 12:08:31,469 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:31" (1/1) ... [2024-10-13 12:08:31,471 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:31" (1/1) ... [2024-10-13 12:08:31,475 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:31" (1/1) ... [2024-10-13 12:08:31,478 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-10-13 12:08:31,485 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-10-13 12:08:31,485 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-10-13 12:08:31,486 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-10-13 12:08:31,487 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:31" (1/1) ... [2024-10-13 12:08:31,492 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-10-13 12:08:31,506 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-10-13 12:08:31,526 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-10-13 12:08:31,530 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-10-13 12:08:31,581 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2024-10-13 12:08:31,582 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2024-10-13 12:08:31,582 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2024-10-13 12:08:31,582 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2024-10-13 12:08:31,582 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-10-13 12:08:31,582 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-10-13 12:08:31,583 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#0 [2024-10-13 12:08:31,583 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#1 [2024-10-13 12:08:31,584 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#2 [2024-10-13 12:08:31,585 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4#0 [2024-10-13 12:08:31,585 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4#1 [2024-10-13 12:08:31,585 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4#2 [2024-10-13 12:08:31,585 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-10-13 12:08:31,586 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-10-13 12:08:31,586 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-10-13 12:08:31,588 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-10-13 12:08:31,775 INFO L238 CfgBuilder]: Building ICFG [2024-10-13 12:08:31,778 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-10-13 12:08:31,996 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-10-13 12:08:31,997 INFO L287 CfgBuilder]: Performing block encoding [2024-10-13 12:08:32,215 INFO L309 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-10-13 12:08:32,217 INFO L314 CfgBuilder]: Removed 0 assume(true) statements. [2024-10-13 12:08:32,218 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 12:08:32 BoogieIcfgContainer [2024-10-13 12:08:32,218 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-10-13 12:08:32,220 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-10-13 12:08:32,222 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-10-13 12:08:32,226 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-10-13 12:08:32,226 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 13.10 12:08:30" (1/3) ... [2024-10-13 12:08:32,228 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@26a4928f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.10 12:08:32, skipping insertion in model container [2024-10-13 12:08:32,228 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.10 12:08:31" (2/3) ... [2024-10-13 12:08:32,228 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@26a4928f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 13.10 12:08:32, skipping insertion in model container [2024-10-13 12:08:32,229 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 12:08:32" (3/3) ... [2024-10-13 12:08:32,231 INFO L112 eAbstractionObserver]: Analyzing ICFG stateful01-1.i [2024-10-13 12:08:32,249 INFO L209 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-10-13 12:08:32,250 INFO L149 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2024-10-13 12:08:32,250 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-10-13 12:08:32,301 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-10-13 12:08:32,342 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 42 places, 37 transitions, 88 flow [2024-10-13 12:08:32,378 INFO L124 PetriNetUnfolderBase]: 2/35 cut-off events. [2024-10-13 12:08:32,380 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-10-13 12:08:32,383 INFO L83 FinitePrefix]: Finished finitePrefix Result has 44 conditions, 35 events. 2/35 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 4. Compared 37 event pairs, 0 based on Foata normal form. 0/31 useless extension candidates. Maximal degree in co-relation 21. Up to 2 conditions per place. [2024-10-13 12:08:32,384 INFO L82 GeneralOperation]: Start removeDead. Operand has 42 places, 37 transitions, 88 flow [2024-10-13 12:08:32,388 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 39 places, 34 transitions, 80 flow [2024-10-13 12:08:32,399 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-10-13 12:08:32,405 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;@5d8ee7b, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-13 12:08:32,406 INFO L334 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2024-10-13 12:08:32,419 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-10-13 12:08:32,420 INFO L124 PetriNetUnfolderBase]: 2/32 cut-off events. [2024-10-13 12:08:32,420 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-10-13 12:08:32,420 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:08:32,421 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-13 12:08:32,421 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-10-13 12:08:32,442 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:08:32,443 INFO L85 PathProgramCache]: Analyzing trace with hash 339122975, now seen corresponding path program 1 times [2024-10-13 12:08:32,456 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-10-13 12:08:32,457 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1284124857] [2024-10-13 12:08:32,457 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:08:32,457 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-10-13 12:08:32,457 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2024-10-13 12:08:32,459 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2024-10-13 12:08:32,460 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (2)] Waiting until timeout for monitored process [2024-10-13 12:08:32,606 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-13 12:08:32,610 INFO L255 TraceCheckSpWp]: Trace formula consists of 111 conjuncts, 7 conjuncts are in the unsatisfiable core [2024-10-13 12:08:32,616 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-13 12:08:32,986 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:08:32,986 INFO L307 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2024-10-13 12:08:32,987 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2024-10-13 12:08:32,987 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1284124857] [2024-10-13 12:08:32,988 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [1284124857] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-13 12:08:32,989 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-13 12:08:32,990 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2024-10-13 12:08:32,992 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [263091007] [2024-10-13 12:08:32,992 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-13 12:08:33,001 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2024-10-13 12:08:33,006 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2024-10-13 12:08:33,035 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2024-10-13 12:08:33,036 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2024-10-13 12:08:33,051 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 10 out of 37 [2024-10-13 12:08:33,055 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 39 places, 34 transitions, 80 flow. Second operand has 7 states, 7 states have (on average 13.142857142857142) internal successors, (92), 7 states have internal predecessors, (92), 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-10-13 12:08:33,056 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-13 12:08:33,056 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 10 of 37 [2024-10-13 12:08:33,057 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-13 12:08:33,475 INFO L124 PetriNetUnfolderBase]: 224/453 cut-off events. [2024-10-13 12:08:33,476 INFO L125 PetriNetUnfolderBase]: For 34/34 co-relation queries the response was YES. [2024-10-13 12:08:33,479 INFO L83 FinitePrefix]: Finished finitePrefix Result has 914 conditions, 453 events. 224/453 cut-off events. For 34/34 co-relation queries the response was YES. Maximal size of possible extension queue 22. Compared 1812 event pairs, 42 based on Foata normal form. 2/451 useless extension candidates. Maximal degree in co-relation 821. Up to 236 conditions per place. [2024-10-13 12:08:33,485 INFO L140 encePairwiseOnDemand]: 28/37 looper letters, 49 selfloop transitions, 8 changer transitions 0/65 dead transitions. [2024-10-13 12:08:33,486 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 44 places, 65 transitions, 274 flow [2024-10-13 12:08:33,487 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2024-10-13 12:08:33,490 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 7 states. [2024-10-13 12:08:33,497 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 7 states to 7 states and 130 transitions. [2024-10-13 12:08:33,501 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5019305019305019 [2024-10-13 12:08:33,503 INFO L175 Difference]: Start difference. First operand has 39 places, 34 transitions, 80 flow. Second operand 7 states and 130 transitions. [2024-10-13 12:08:33,504 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 44 places, 65 transitions, 274 flow [2024-10-13 12:08:33,510 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 40 places, 65 transitions, 254 flow, removed 0 selfloop flow, removed 4 redundant places. [2024-10-13 12:08:33,517 INFO L231 Difference]: Finished difference. Result has 45 places, 37 transitions, 118 flow [2024-10-13 12:08:33,519 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=37, PETRI_DIFFERENCE_MINUEND_FLOW=66, PETRI_DIFFERENCE_MINUEND_PLACES=34, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=31, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=25, PETRI_DIFFERENCE_SUBTRAHEND_STATES=7, PETRI_FLOW=118, PETRI_PLACES=45, PETRI_TRANSITIONS=37} [2024-10-13 12:08:33,525 INFO L277 CegarLoopForPetriNet]: 39 programPoint places, 6 predicate places. [2024-10-13 12:08:33,526 INFO L471 AbstractCegarLoop]: Abstraction has has 45 places, 37 transitions, 118 flow [2024-10-13 12:08:33,526 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 13.142857142857142) internal successors, (92), 7 states have internal predecessors, (92), 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-10-13 12:08:33,527 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:08:33,528 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-13 12:08:33,534 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (2)] Forceful destruction successful, exit code 0 [2024-10-13 12:08:33,728 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-10-13 12:08:33,729 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-10-13 12:08:33,730 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:08:33,730 INFO L85 PathProgramCache]: Analyzing trace with hash -448582809, now seen corresponding path program 2 times [2024-10-13 12:08:33,731 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-10-13 12:08:33,731 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1982115464] [2024-10-13 12:08:33,731 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2024-10-13 12:08:33,731 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-10-13 12:08:33,731 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2024-10-13 12:08:33,733 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2024-10-13 12:08:33,736 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Waiting until timeout for monitored process [2024-10-13 12:08:33,844 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 1 check-sat command(s) [2024-10-13 12:08:33,845 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2024-10-13 12:08:33,847 INFO L255 TraceCheckSpWp]: Trace formula consists of 111 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-10-13 12:08:33,849 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-13 12:08:33,885 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 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 11 treesize of output 9 [2024-10-13 12:08:33,919 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-13 12:08:33,923 INFO L307 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2024-10-13 12:08:33,923 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2024-10-13 12:08:33,924 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1982115464] [2024-10-13 12:08:33,924 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [1982115464] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-13 12:08:33,924 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-13 12:08:33,924 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2024-10-13 12:08:33,924 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1933853623] [2024-10-13 12:08:33,924 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-13 12:08:33,925 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-10-13 12:08:33,926 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2024-10-13 12:08:33,926 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-10-13 12:08:33,926 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-10-13 12:08:33,927 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 11 out of 37 [2024-10-13 12:08:33,927 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 45 places, 37 transitions, 118 flow. Second operand has 3 states, 3 states have (on average 18.0) internal successors, (54), 3 states have internal predecessors, (54), 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-10-13 12:08:33,927 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-10-13 12:08:33,927 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 11 of 37 [2024-10-13 12:08:33,927 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-10-13 12:08:34,044 INFO L124 PetriNetUnfolderBase]: 123/285 cut-off events. [2024-10-13 12:08:34,047 INFO L125 PetriNetUnfolderBase]: For 27/27 co-relation queries the response was YES. [2024-10-13 12:08:34,049 INFO L83 FinitePrefix]: Finished finitePrefix Result has 639 conditions, 285 events. 123/285 cut-off events. For 27/27 co-relation queries the response was YES. Maximal size of possible extension queue 15. Compared 1030 event pairs, 46 based on Foata normal form. 32/309 useless extension candidates. Maximal degree in co-relation 547. Up to 156 conditions per place. [2024-10-13 12:08:34,051 INFO L140 encePairwiseOnDemand]: 29/37 looper letters, 26 selfloop transitions, 8 changer transitions 0/43 dead transitions. [2024-10-13 12:08:34,053 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 47 places, 43 transitions, 200 flow [2024-10-13 12:08:34,054 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-10-13 12:08:34,054 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-10-13 12:08:34,055 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 65 transitions. [2024-10-13 12:08:34,055 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5855855855855856 [2024-10-13 12:08:34,056 INFO L175 Difference]: Start difference. First operand has 45 places, 37 transitions, 118 flow. Second operand 3 states and 65 transitions. [2024-10-13 12:08:34,056 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 47 places, 43 transitions, 200 flow [2024-10-13 12:08:34,058 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 47 places, 43 transitions, 200 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-10-13 12:08:34,059 INFO L231 Difference]: Finished difference. Result has 47 places, 37 transitions, 134 flow [2024-10-13 12:08:34,059 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=37, PETRI_DIFFERENCE_MINUEND_FLOW=118, PETRI_DIFFERENCE_MINUEND_PLACES=45, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=37, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=8, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=29, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=134, PETRI_PLACES=47, PETRI_TRANSITIONS=37} [2024-10-13 12:08:34,060 INFO L277 CegarLoopForPetriNet]: 39 programPoint places, 8 predicate places. [2024-10-13 12:08:34,060 INFO L471 AbstractCegarLoop]: Abstraction has has 47 places, 37 transitions, 134 flow [2024-10-13 12:08:34,061 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 18.0) internal successors, (54), 3 states have internal predecessors, (54), 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-10-13 12:08:34,061 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-10-13 12:08:34,061 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-10-13 12:08:34,066 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Ended with exit code 0 [2024-10-13 12:08:34,266 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-10-13 12:08:34,267 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-10-13 12:08:34,267 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-13 12:08:34,268 INFO L85 PathProgramCache]: Analyzing trace with hash 1377473920, now seen corresponding path program 1 times [2024-10-13 12:08:34,268 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-10-13 12:08:34,268 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [960541036] [2024-10-13 12:08:34,268 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-13 12:08:34,269 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-10-13 12:08:34,269 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2024-10-13 12:08:34,272 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2024-10-13 12:08:34,274 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (4)] Waiting until timeout for monitored process [2024-10-13 12:08:34,375 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 12:08:34,375 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-13 12:08:34,418 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-13 12:08:34,478 INFO L130 FreeRefinementEngine]: Strategy WOLF found a feasible trace [2024-10-13 12:08:34,478 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-10-13 12:08:34,479 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (3 of 4 remaining) [2024-10-13 12:08:34,482 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK (2 of 4 remaining) [2024-10-13 12:08:34,483 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 4 remaining) [2024-10-13 12:08:34,483 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 4 remaining) [2024-10-13 12:08:34,490 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (4)] Ended with exit code 0 [2024-10-13 12:08:34,684 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 4 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-10-13 12:08:34,685 INFO L407 BasicCegarLoop]: Path program histogram: [2, 1] [2024-10-13 12:08:34,740 INFO L234 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-10-13 12:08:34,740 INFO L165 ceAbstractionStarter]: Computing trace abstraction results [2024-10-13 12:08:34,746 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 13.10 12:08:34 BasicIcfg [2024-10-13 12:08:34,746 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-10-13 12:08:34,747 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-10-13 12:08:34,747 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-10-13 12:08:34,747 INFO L274 PluginConnector]: Witness Printer initialized [2024-10-13 12:08:34,748 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.10 12:08:32" (3/4) ... [2024-10-13 12:08:34,750 INFO L142 WitnessPrinter]: No result that supports witness generation found [2024-10-13 12:08:34,751 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-10-13 12:08:34,752 INFO L158 Benchmark]: Toolchain (without parser) took 4112.19ms. Allocated memory was 69.2MB in the beginning and 94.4MB in the end (delta: 25.2MB). Free memory was 44.9MB in the beginning and 66.0MB in the end (delta: -21.1MB). Peak memory consumption was 6.7MB. Max. memory is 16.1GB. [2024-10-13 12:08:34,753 INFO L158 Benchmark]: CDTParser took 0.27ms. Allocated memory is still 69.2MB. Free memory was 45.8MB in the beginning and 45.7MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-13 12:08:34,755 INFO L158 Benchmark]: CACSL2BoogieTranslator took 700.97ms. Allocated memory was 69.2MB in the beginning and 94.4MB in the end (delta: 25.2MB). Free memory was 44.7MB in the beginning and 65.9MB in the end (delta: -21.2MB). Peak memory consumption was 16.7MB. Max. memory is 16.1GB. [2024-10-13 12:08:34,755 INFO L158 Benchmark]: Boogie Procedure Inliner took 62.53ms. Allocated memory is still 94.4MB. Free memory was 65.9MB in the beginning and 63.9MB in the end (delta: 2.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-13 12:08:34,755 INFO L158 Benchmark]: Boogie Preprocessor took 71.57ms. Allocated memory is still 94.4MB. Free memory was 63.9MB in the beginning and 61.2MB in the end (delta: 2.7MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. [2024-10-13 12:08:34,759 INFO L158 Benchmark]: RCFGBuilder took 733.13ms. Allocated memory is still 94.4MB. Free memory was 61.2MB in the beginning and 51.9MB in the end (delta: 9.3MB). Peak memory consumption was 30.7MB. Max. memory is 16.1GB. [2024-10-13 12:08:34,760 INFO L158 Benchmark]: TraceAbstraction took 2525.96ms. Allocated memory is still 94.4MB. Free memory was 50.9MB in the beginning and 66.0MB in the end (delta: -15.1MB). Peak memory consumption was 20.3MB. Max. memory is 16.1GB. [2024-10-13 12:08:34,760 INFO L158 Benchmark]: Witness Printer took 4.11ms. Allocated memory is still 94.4MB. Free memory is still 66.0MB. There was no memory consumed. Max. memory is 16.1GB. [2024-10-13 12:08:34,763 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.27ms. Allocated memory is still 69.2MB. Free memory was 45.8MB in the beginning and 45.7MB in the end (delta: 83.9kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 700.97ms. Allocated memory was 69.2MB in the beginning and 94.4MB in the end (delta: 25.2MB). Free memory was 44.7MB in the beginning and 65.9MB in the end (delta: -21.2MB). Peak memory consumption was 16.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 62.53ms. Allocated memory is still 94.4MB. Free memory was 65.9MB in the beginning and 63.9MB in the end (delta: 2.0MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 71.57ms. Allocated memory is still 94.4MB. Free memory was 63.9MB in the beginning and 61.2MB in the end (delta: 2.7MB). Peak memory consumption was 6.3MB. Max. memory is 16.1GB. * RCFGBuilder took 733.13ms. Allocated memory is still 94.4MB. Free memory was 61.2MB in the beginning and 51.9MB in the end (delta: 9.3MB). Peak memory consumption was 30.7MB. Max. memory is 16.1GB. * TraceAbstraction took 2525.96ms. Allocated memory is still 94.4MB. Free memory was 50.9MB in the beginning and 66.0MB in the end (delta: -15.1MB). Peak memory consumption was 20.3MB. Max. memory is 16.1GB. * Witness Printer took 4.11ms. Allocated memory is still 94.4MB. Free memory is still 66.0MB. There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - UnprovableResult [Line: 20]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 20. Possible FailurePath: [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L692] 0 pthread_mutex_t ma, mb; [L693] 0 int data1, data2; [L716] 0 pthread_t t1, t2; [L719] 0 data1 = 10 [L720] 0 data2 = 10 [L721] FCALL, FORK 0 pthread_create(&t1, 0, thread1, 0) VAL [\old(arg)={0:0}, data1=10, data2=10, ma={3:0}, mb={4:0}, t1=0] [L697] 1 data1++ VAL [\old(arg)={0:0}, arg={0:0}, data1=11, data2=10, ma={3:0}, mb={4:0}] [L700] 1 data2++ VAL [\old(arg)={0:0}, arg={0:0}, data1=11, data2=11, ma={3:0}, mb={4:0}] [L722] FCALL, FORK 0 pthread_create(&t2, 0, thread2, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, data1=11, data2=11, ma={3:0}, mb={4:0}, t1=0, t2=1] [L707] 2 data1+=5 VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=11, ma={3:0}, mb={4:0}] [L710] 2 data2-=6 VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}] [L702] 1 return 0; [L712] 2 return 0; [L723] FCALL, JOIN 1 pthread_join(t1, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}, t1=0, t2=1] [L724] FCALL, JOIN 2 pthread_join(t2, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}, t1=0, t2=1] [L725] COND TRUE 0 data1==16 && data2==5 [L727] CALL 0 reach_error() [L20] COND FALSE 0 !(0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}] [L20] 0 __assert_fail ("0", "stateful01-1.c", 3, __extension__ __PRETTY_FUNCTION__) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}] - UnprovableResult [Line: 714]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - UnprovableResult [Line: 722]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - UnprovableResult [Line: 721]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 5 procedures, 58 locations, 4 error locations. Started 1 CEGAR loops. EmptinessCheckTime: 0.0s, RemoveRedundantFlowTime: 0.0s, RemoveRedundantFlowUnfoldingTime: 0.0s, BackfoldingTime: 0.0s, BackfoldingUnfoldingTime: 0.0s, FlowIncreaseByBackfolding: 0, BasicCegarLoop: OverallTime: 2.3s, OverallIterations: 3, TraceHistogramMax: 1, PathProgramHistogramMax: 2, EmptinessCheckTime: 0.0s, AutomataDifference: 0.6s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 28 SdHoareTripleChecker+Valid, 0.4s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 27 mSDsluCounter, 0 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 7 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 302 IncrementalHoareTripleChecker+Invalid, 309 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 7 mSolverCounterUnsat, 0 mSDtfsCounter, 302 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 54 GetRequests, 48 SyntacticMatches, 0 SemanticMatches, 6 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=134occurred in iteration=2, InterpolantAutomatonStates: 10, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.1s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.5s InterpolantComputationTime, 84 NumberOfCodeBlocks, 84 NumberOfCodeBlocksAsserted, 3 NumberOfCheckSat, 54 ConstructedInterpolants, 0 QuantifiedInterpolants, 236 SizeOfPredicates, 0 NumberOfNonLiveVariables, 222 ConjunctsInSsa, 10 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-10-13 12:08:34,806 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample