./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/pthread/stateful01-1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 3289d67d Calling Ultimate with: /root/.sdkman/candidates/java/11.0.12-open/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/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.fs.icfgbuilder-eval-3289d67-m [2024-11-17 03:05:58,275 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-17 03:05:58,372 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2024-11-17 03:05:58,380 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-17 03:05:58,380 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-17 03:05:58,407 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-17 03:05:58,408 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-17 03:05:58,408 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-17 03:05:58,409 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-17 03:05:58,409 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-17 03:05:58,410 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-17 03:05:58,410 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-17 03:05:58,411 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-17 03:05:58,411 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-17 03:05:58,412 INFO L153 SettingsManager]: * Use SBE=true [2024-11-17 03:05:58,412 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-17 03:05:58,412 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-17 03:05:58,413 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-17 03:05:58,413 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-17 03:05:58,413 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-17 03:05:58,414 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-17 03:05:58,418 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-17 03:05:58,418 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-17 03:05:58,418 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-17 03:05:58,418 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-17 03:05:58,419 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-17 03:05:58,419 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-17 03:05:58,419 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-17 03:05:58,419 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-17 03:05:58,420 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2024-11-17 03:05:58,420 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-17 03:05:58,420 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-17 03:05:58,420 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-17 03:05:58,421 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-17 03:05:58,421 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-17 03:05:58,425 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-17 03:05:58,425 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-17 03:05:58,425 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-17 03:05:58,425 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-17 03:05:58,426 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-17 03:05:58,426 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-17 03:05:58,426 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-17 03:05:58,427 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-11-17 03:05:58,687 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-17 03:05:58,712 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-17 03:05:58,715 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-17 03:05:58,717 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-17 03:05:58,717 INFO L274 PluginConnector]: CDTParser initialized [2024-11-17 03:05:58,719 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread/stateful01-1.i [2024-11-17 03:06:00,186 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-17 03:06:00,417 INFO L384 CDTParser]: Found 1 translation units. [2024-11-17 03:06:00,417 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread/stateful01-1.i [2024-11-17 03:06:00,439 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d4a3aa95c/b2d8f4f03f1f4387a6161d767afd2b9e/FLAG9498e7f64 [2024-11-17 03:06:00,762 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/d4a3aa95c/b2d8f4f03f1f4387a6161d767afd2b9e [2024-11-17 03:06:00,764 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-17 03:06:00,766 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-17 03:06:00,768 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-17 03:06:00,768 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-17 03:06:00,774 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-17 03:06:00,775 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 03:06:00" (1/1) ... [2024-11-17 03:06:00,776 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@602e29dd and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:00, skipping insertion in model container [2024-11-17 03:06:00,776 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 03:06:00" (1/1) ... [2024-11-17 03:06:00,821 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-17 03:06:01,249 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-17 03:06:01,285 INFO L200 MainTranslator]: Completed pre-run [2024-11-17 03:06:01,340 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-17 03:06:01,392 INFO L204 MainTranslator]: Completed translation [2024-11-17 03:06:01,392 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:01 WrapperNode [2024-11-17 03:06:01,393 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-17 03:06:01,394 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-17 03:06:01,394 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-17 03:06:01,395 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-17 03:06:01,405 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:01" (1/1) ... [2024-11-17 03:06:01,424 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:01" (1/1) ... [2024-11-17 03:06:01,456 INFO L138 Inliner]: procedures = 168, calls = 29, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 52 [2024-11-17 03:06:01,457 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-17 03:06:01,458 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-17 03:06:01,459 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-17 03:06:01,459 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-17 03:06:01,469 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:01" (1/1) ... [2024-11-17 03:06:01,470 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:01" (1/1) ... [2024-11-17 03:06:01,473 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:01" (1/1) ... [2024-11-17 03:06:01,502 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-11-17 03:06:01,502 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:01" (1/1) ... [2024-11-17 03:06:01,503 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:01" (1/1) ... [2024-11-17 03:06:01,511 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:01" (1/1) ... [2024-11-17 03:06:01,516 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:01" (1/1) ... [2024-11-17 03:06:01,517 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:01" (1/1) ... [2024-11-17 03:06:01,518 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:01" (1/1) ... [2024-11-17 03:06:01,526 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-17 03:06:01,527 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2024-11-17 03:06:01,527 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2024-11-17 03:06:01,527 INFO L274 PluginConnector]: IcfgBuilder initialized [2024-11-17 03:06:01,528 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:01" (1/1) ... [2024-11-17 03:06:01,534 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-17 03:06:01,546 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-17 03:06:01,568 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-11-17 03:06:01,572 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-11-17 03:06:01,625 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2024-11-17 03:06:01,625 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2024-11-17 03:06:01,625 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2024-11-17 03:06:01,625 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2024-11-17 03:06:01,626 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-17 03:06:01,626 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-17 03:06:01,626 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-11-17 03:06:01,626 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2024-11-17 03:06:01,626 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2024-11-17 03:06:01,626 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-17 03:06:01,627 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-17 03:06:01,628 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-17 03:06:01,630 WARN L225 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-17 03:06:01,760 INFO L256 CfgBuilder]: Building ICFG [2024-11-17 03:06:01,762 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-17 03:06:02,022 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-17 03:06:02,022 INFO L307 CfgBuilder]: Performing block encoding [2024-11-17 03:06:02,185 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-17 03:06:02,185 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-17 03:06:02,186 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.11 03:06:02 BoogieIcfgContainer [2024-11-17 03:06:02,186 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2024-11-17 03:06:02,188 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-17 03:06:02,188 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-17 03:06:02,192 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-17 03:06:02,192 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 17.11 03:06:00" (1/3) ... [2024-11-17 03:06:02,193 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1f766eab and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.11 03:06:02, skipping insertion in model container [2024-11-17 03:06:02,193 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:01" (2/3) ... [2024-11-17 03:06:02,195 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1f766eab and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.11 03:06:02, skipping insertion in model container [2024-11-17 03:06:02,195 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.11 03:06:02" (3/3) ... [2024-11-17 03:06:02,197 INFO L112 eAbstractionObserver]: Analyzing ICFG stateful01-1.i [2024-11-17 03:06:02,212 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-17 03:06:02,213 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2024-11-17 03:06:02,213 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-17 03:06:02,263 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-11-17 03:06:02,304 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 42 places, 37 transitions, 88 flow [2024-11-17 03:06:02,344 INFO L124 PetriNetUnfolderBase]: 2/35 cut-off events. [2024-11-17 03:06:02,347 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-11-17 03:06:02,350 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-11-17 03:06:02,352 INFO L82 GeneralOperation]: Start removeDead. Operand has 42 places, 37 transitions, 88 flow [2024-11-17 03:06:02,355 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 39 places, 34 transitions, 80 flow [2024-11-17 03:06:02,369 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-17 03:06:02,378 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;@7adfbd67, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-17 03:06:02,379 INFO L334 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2024-11-17 03:06:02,399 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-17 03:06:02,399 INFO L124 PetriNetUnfolderBase]: 2/32 cut-off events. [2024-11-17 03:06:02,399 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-11-17 03:06:02,399 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-17 03:06:02,402 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-11-17 03:06:02,403 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-17 03:06:02,408 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-17 03:06:02,409 INFO L85 PathProgramCache]: Analyzing trace with hash 416371346, now seen corresponding path program 1 times [2024-11-17 03:06:02,421 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-17 03:06:02,422 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [101277861] [2024-11-17 03:06:02,422 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-17 03:06:02,423 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-17 03:06:02,595 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-17 03:06:02,818 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-17 03:06:02,821 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-17 03:06:02,822 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [101277861] [2024-11-17 03:06:02,822 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [101277861] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-17 03:06:02,822 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-17 03:06:02,823 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-17 03:06:02,824 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [893255566] [2024-11-17 03:06:02,825 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-17 03:06:02,834 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-17 03:06:02,864 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-17 03:06:02,909 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-17 03:06:02,910 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-17 03:06:02,913 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 9 out of 37 [2024-11-17 03:06:02,919 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 39 places, 34 transitions, 80 flow. Second operand has 3 states, 3 states have (on average 16.666666666666668) internal successors, (50), 3 states have internal predecessors, (50), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-17 03:06:02,920 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-17 03:06:02,920 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 9 of 37 [2024-11-17 03:06:02,921 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-17 03:06:03,085 INFO L124 PetriNetUnfolderBase]: 182/360 cut-off events. [2024-11-17 03:06:03,086 INFO L125 PetriNetUnfolderBase]: For 19/19 co-relation queries the response was YES. [2024-11-17 03:06:03,089 INFO L83 FinitePrefix]: Finished finitePrefix Result has 729 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 1340 event pairs, 182 based on Foata normal form. 3/360 useless extension candidates. Maximal degree in co-relation 671. Up to 338 conditions per place. [2024-11-17 03:06:03,096 INFO L140 encePairwiseOnDemand]: 33/37 looper letters, 21 selfloop transitions, 1 changer transitions 2/30 dead transitions. [2024-11-17 03:06:03,096 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 39 places, 30 transitions, 118 flow [2024-11-17 03:06:03,098 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-17 03:06:03,101 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-17 03:06:03,108 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 53 transitions. [2024-11-17 03:06:03,110 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.4774774774774775 [2024-11-17 03:06:03,112 INFO L175 Difference]: Start difference. First operand has 39 places, 34 transitions, 80 flow. Second operand 3 states and 53 transitions. [2024-11-17 03:06:03,113 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 39 places, 30 transitions, 118 flow [2024-11-17 03:06:03,117 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 35 places, 30 transitions, 110 flow, removed 0 selfloop flow, removed 4 redundant places. [2024-11-17 03:06:03,119 INFO L231 Difference]: Finished difference. Result has 35 places, 28 transitions, 62 flow [2024-11-17 03:06:03,122 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-11-17 03:06:03,126 INFO L277 CegarLoopForPetriNet]: 39 programPoint places, -4 predicate places. [2024-11-17 03:06:03,126 INFO L471 AbstractCegarLoop]: Abstraction has has 35 places, 28 transitions, 62 flow [2024-11-17 03:06:03,126 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 16.666666666666668) internal successors, (50), 3 states have internal predecessors, (50), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-17 03:06:03,127 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-17 03:06:03,127 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-11-17 03:06:03,127 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-17 03:06:03,127 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-17 03:06:03,128 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-17 03:06:03,128 INFO L85 PathProgramCache]: Analyzing trace with hash -489496614, now seen corresponding path program 1 times [2024-11-17 03:06:03,128 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-17 03:06:03,128 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [2001720854] [2024-11-17 03:06:03,128 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-17 03:06:03,129 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-17 03:06:03,166 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-17 03:06:03,312 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-17 03:06:03,312 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-17 03:06:03,312 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [2001720854] [2024-11-17 03:06:03,313 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [2001720854] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-17 03:06:03,313 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-17 03:06:03,313 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2024-11-17 03:06:03,313 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1034048416] [2024-11-17 03:06:03,313 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-17 03:06:03,317 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-17 03:06:03,318 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-17 03:06:03,318 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-17 03:06:03,319 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-17 03:06:03,319 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 10 out of 37 [2024-11-17 03:06:03,319 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 35 places, 28 transitions, 62 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-11-17 03:06:03,319 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-17 03:06:03,319 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 10 of 37 [2024-11-17 03:06:03,319 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-17 03:06:03,427 INFO L124 PetriNetUnfolderBase]: 102/235 cut-off events. [2024-11-17 03:06:03,428 INFO L125 PetriNetUnfolderBase]: For 5/5 co-relation queries the response was YES. [2024-11-17 03:06:03,430 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 798 event pairs, 42 based on Foata normal form. 32/262 useless extension candidates. Maximal degree in co-relation 467. Up to 136 conditions per place. [2024-11-17 03:06:03,432 INFO L140 encePairwiseOnDemand]: 29/37 looper letters, 20 selfloop transitions, 8 changer transitions 0/34 dead transitions. [2024-11-17 03:06:03,432 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 35 places, 34 transitions, 132 flow [2024-11-17 03:06:03,433 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-17 03:06:03,433 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-17 03:06:03,434 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 62 transitions. [2024-11-17 03:06:03,434 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5585585585585585 [2024-11-17 03:06:03,434 INFO L175 Difference]: Start difference. First operand has 35 places, 28 transitions, 62 flow. Second operand 3 states and 62 transitions. [2024-11-17 03:06:03,435 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 35 places, 34 transitions, 132 flow [2024-11-17 03:06:03,435 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 34 places, 34 transitions, 131 flow, removed 0 selfloop flow, removed 1 redundant places. [2024-11-17 03:06:03,436 INFO L231 Difference]: Finished difference. Result has 34 places, 28 transitions, 77 flow [2024-11-17 03:06:03,436 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-11-17 03:06:03,438 INFO L277 CegarLoopForPetriNet]: 39 programPoint places, -5 predicate places. [2024-11-17 03:06:03,439 INFO L471 AbstractCegarLoop]: Abstraction has has 34 places, 28 transitions, 77 flow [2024-11-17 03:06:03,439 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-11-17 03:06:03,439 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-17 03:06:03,439 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-11-17 03:06:03,439 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-17 03:06:03,440 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-17 03:06:03,440 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-17 03:06:03,442 INFO L85 PathProgramCache]: Analyzing trace with hash -1466664298, now seen corresponding path program 2 times [2024-11-17 03:06:03,442 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-17 03:06:03,442 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1544389840] [2024-11-17 03:06:03,442 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-17 03:06:03,443 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-17 03:06:03,495 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-17 03:06:03,496 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-17 03:06:03,529 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-17 03:06:03,566 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-17 03:06:03,566 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-17 03:06:03,568 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK (3 of 4 remaining) [2024-11-17 03:06:03,571 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (2 of 4 remaining) [2024-11-17 03:06:03,573 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 4 remaining) [2024-11-17 03:06:03,573 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 4 remaining) [2024-11-17 03:06:03,573 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-11-17 03:06:03,574 INFO L407 BasicCegarLoop]: Path program histogram: [2, 1] [2024-11-17 03:06:03,621 INFO L239 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-11-17 03:06:03,621 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2024-11-17 03:06:03,627 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 17.11 03:06:03 BasicIcfg [2024-11-17 03:06:03,627 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-11-17 03:06:03,628 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-17 03:06:03,628 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-17 03:06:03,628 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-17 03:06:03,629 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.11 03:06:02" (3/4) ... [2024-11-17 03:06:03,632 INFO L146 WitnessPrinter]: No result that supports witness generation found [2024-11-17 03:06:03,635 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-17 03:06:03,635 INFO L158 Benchmark]: Toolchain (without parser) took 2869.42ms. Allocated memory was 134.2MB in the beginning and 174.1MB in the end (delta: 39.8MB). Free memory was 63.9MB in the beginning and 73.8MB in the end (delta: -9.9MB). Peak memory consumption was 29.2MB. Max. memory is 16.1GB. [2024-11-17 03:06:03,636 INFO L158 Benchmark]: CDTParser took 0.24ms. Allocated memory is still 134.2MB. Free memory is still 94.1MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-17 03:06:03,636 INFO L158 Benchmark]: CACSL2BoogieTranslator took 625.27ms. Allocated memory was 134.2MB in the beginning and 174.1MB in the end (delta: 39.8MB). Free memory was 63.6MB in the beginning and 134.5MB in the end (delta: -70.8MB). Peak memory consumption was 23.1MB. Max. memory is 16.1GB. [2024-11-17 03:06:03,637 INFO L158 Benchmark]: Boogie Procedure Inliner took 64.03ms. Allocated memory is still 174.1MB. Free memory was 134.5MB in the beginning and 133.4MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-17 03:06:03,637 INFO L158 Benchmark]: Boogie Preprocessor took 67.55ms. Allocated memory is still 174.1MB. Free memory was 133.4MB in the beginning and 131.3MB in the end (delta: 2.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2024-11-17 03:06:03,638 INFO L158 Benchmark]: IcfgBuilder took 659.31ms. Allocated memory is still 174.1MB. Free memory was 131.3MB in the beginning and 100.9MB in the end (delta: 30.4MB). Peak memory consumption was 29.4MB. Max. memory is 16.1GB. [2024-11-17 03:06:03,639 INFO L158 Benchmark]: TraceAbstraction took 1439.63ms. Allocated memory is still 174.1MB. Free memory was 99.9MB in the beginning and 73.8MB in the end (delta: 26.0MB). Peak memory consumption was 25.0MB. Max. memory is 16.1GB. [2024-11-17 03:06:03,640 INFO L158 Benchmark]: Witness Printer took 6.65ms. Allocated memory is still 174.1MB. Free memory is still 73.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-17 03:06:03,644 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.24ms. Allocated memory is still 134.2MB. Free memory is still 94.1MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 625.27ms. Allocated memory was 134.2MB in the beginning and 174.1MB in the end (delta: 39.8MB). Free memory was 63.6MB in the beginning and 134.5MB in the end (delta: -70.8MB). Peak memory consumption was 23.1MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 64.03ms. Allocated memory is still 174.1MB. Free memory was 134.5MB in the beginning and 133.4MB in the end (delta: 1.0MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 67.55ms. Allocated memory is still 174.1MB. Free memory was 133.4MB in the beginning and 131.3MB in the end (delta: 2.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * IcfgBuilder took 659.31ms. Allocated memory is still 174.1MB. Free memory was 131.3MB in the beginning and 100.9MB in the end (delta: 30.4MB). Peak memory consumption was 29.4MB. Max. memory is 16.1GB. * TraceAbstraction took 1439.63ms. Allocated memory is still 174.1MB. Free memory was 99.9MB in the beginning and 73.8MB in the end (delta: 26.0MB). Peak memory consumption was 25.0MB. Max. memory is 16.1GB. * Witness Printer took 6.65ms. Allocated memory is still 174.1MB. Free memory is still 73.8MB. 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=-1] [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=-1, t2=0] [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=-1, t2=0] [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=-1, t2=0] [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.3s, OverallIterations: 3, TraceHistogramMax: 1, PathProgramHistogramMax: 2, EmptinessCheckTime: 0.0s, AutomataDifference: 0.3s, 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, 65 IncrementalHoareTripleChecker+Invalid, 71 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 6 mSolverCounterUnsat, 0 mSDtfsCounter, 65 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.1s SatisfiabilityAnalysisTime, 0.4s 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-11-17 03:06:03,685 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/11.0.12-open/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/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.fs.icfgbuilder-eval-3289d67-m [2024-11-17 03:06:05,996 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-17 03:06:06,085 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2024-11-17 03:06:06,089 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-17 03:06:06,090 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-17 03:06:06,116 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-17 03:06:06,117 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-17 03:06:06,117 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-17 03:06:06,118 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-17 03:06:06,119 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-17 03:06:06,120 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-17 03:06:06,120 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-17 03:06:06,121 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-17 03:06:06,121 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-17 03:06:06,122 INFO L153 SettingsManager]: * Use SBE=true [2024-11-17 03:06:06,123 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-17 03:06:06,124 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-17 03:06:06,124 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-17 03:06:06,124 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-17 03:06:06,125 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-17 03:06:06,125 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-17 03:06:06,126 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-17 03:06:06,126 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-17 03:06:06,126 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-17 03:06:06,126 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-17 03:06:06,127 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-17 03:06:06,127 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-17 03:06:06,127 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-17 03:06:06,128 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-17 03:06:06,128 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-17 03:06:06,128 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-17 03:06:06,129 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2024-11-17 03:06:06,129 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-17 03:06:06,129 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-17 03:06:06,130 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-17 03:06:06,130 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-17 03:06:06,130 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-17 03:06:06,130 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-17 03:06:06,130 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-11-17 03:06:06,130 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-17 03:06:06,131 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-17 03:06:06,131 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-17 03:06:06,131 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-17 03:06:06,131 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-17 03:06:06,132 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-11-17 03:06:06,478 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-17 03:06:06,503 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-17 03:06:06,507 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-17 03:06:06,509 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-17 03:06:06,509 INFO L274 PluginConnector]: CDTParser initialized [2024-11-17 03:06:06,511 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread/stateful01-1.i [2024-11-17 03:06:08,175 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-17 03:06:08,442 INFO L384 CDTParser]: Found 1 translation units. [2024-11-17 03:06:08,443 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread/stateful01-1.i [2024-11-17 03:06:08,455 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/dc6477bf4/75291871d8f44242aebaf74a3687c6cc/FLAGc50307459 [2024-11-17 03:06:08,467 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/dc6477bf4/75291871d8f44242aebaf74a3687c6cc [2024-11-17 03:06:08,469 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-17 03:06:08,470 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-17 03:06:08,471 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-17 03:06:08,471 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-17 03:06:08,478 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-17 03:06:08,479 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 03:06:08" (1/1) ... [2024-11-17 03:06:08,480 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@75158bae and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:08, skipping insertion in model container [2024-11-17 03:06:08,481 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.11 03:06:08" (1/1) ... [2024-11-17 03:06:08,529 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-17 03:06:08,948 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-17 03:06:08,973 INFO L200 MainTranslator]: Completed pre-run [2024-11-17 03:06:09,026 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-17 03:06:09,074 INFO L204 MainTranslator]: Completed translation [2024-11-17 03:06:09,075 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:09 WrapperNode [2024-11-17 03:06:09,075 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-17 03:06:09,076 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-17 03:06:09,076 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-17 03:06:09,076 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-17 03:06:09,084 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:09" (1/1) ... [2024-11-17 03:06:09,108 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:09" (1/1) ... [2024-11-17 03:06:09,141 INFO L138 Inliner]: procedures = 172, calls = 29, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 53 [2024-11-17 03:06:09,143 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-17 03:06:09,145 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-17 03:06:09,145 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-17 03:06:09,145 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-17 03:06:09,156 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:09" (1/1) ... [2024-11-17 03:06:09,157 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:09" (1/1) ... [2024-11-17 03:06:09,159 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:09" (1/1) ... [2024-11-17 03:06:09,183 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-11-17 03:06:09,184 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:09" (1/1) ... [2024-11-17 03:06:09,184 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:09" (1/1) ... [2024-11-17 03:06:09,202 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:09" (1/1) ... [2024-11-17 03:06:09,203 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:09" (1/1) ... [2024-11-17 03:06:09,205 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:09" (1/1) ... [2024-11-17 03:06:09,206 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:09" (1/1) ... [2024-11-17 03:06:09,209 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-17 03:06:09,210 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2024-11-17 03:06:09,210 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2024-11-17 03:06:09,210 INFO L274 PluginConnector]: IcfgBuilder initialized [2024-11-17 03:06:09,215 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:09" (1/1) ... [2024-11-17 03:06:09,224 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-17 03:06:09,236 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-17 03:06:09,256 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-11-17 03:06:09,259 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-11-17 03:06:09,315 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2024-11-17 03:06:09,315 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2024-11-17 03:06:09,315 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2024-11-17 03:06:09,316 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2024-11-17 03:06:09,316 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-17 03:06:09,316 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-17 03:06:09,316 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#0 [2024-11-17 03:06:09,316 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#1 [2024-11-17 03:06:09,316 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#2 [2024-11-17 03:06:09,317 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4#0 [2024-11-17 03:06:09,318 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4#1 [2024-11-17 03:06:09,318 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4#2 [2024-11-17 03:06:09,318 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-17 03:06:09,318 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-17 03:06:09,319 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-17 03:06:09,320 WARN L225 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-17 03:06:09,463 INFO L256 CfgBuilder]: Building ICFG [2024-11-17 03:06:09,465 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-17 03:06:09,672 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-17 03:06:09,673 INFO L307 CfgBuilder]: Performing block encoding [2024-11-17 03:06:09,912 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-17 03:06:09,912 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-17 03:06:09,913 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.11 03:06:09 BoogieIcfgContainer [2024-11-17 03:06:09,913 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2024-11-17 03:06:09,917 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-17 03:06:09,918 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-17 03:06:09,921 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-17 03:06:09,921 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 17.11 03:06:08" (1/3) ... [2024-11-17 03:06:09,922 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@14589f8f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.11 03:06:09, skipping insertion in model container [2024-11-17 03:06:09,923 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.11 03:06:09" (2/3) ... [2024-11-17 03:06:09,924 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@14589f8f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.11 03:06:09, skipping insertion in model container [2024-11-17 03:06:09,924 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.11 03:06:09" (3/3) ... [2024-11-17 03:06:09,925 INFO L112 eAbstractionObserver]: Analyzing ICFG stateful01-1.i [2024-11-17 03:06:09,950 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-17 03:06:09,951 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2024-11-17 03:06:09,951 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-17 03:06:10,001 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-11-17 03:06:10,036 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 42 places, 37 transitions, 88 flow [2024-11-17 03:06:10,068 INFO L124 PetriNetUnfolderBase]: 2/35 cut-off events. [2024-11-17 03:06:10,068 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-11-17 03:06:10,071 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-11-17 03:06:10,071 INFO L82 GeneralOperation]: Start removeDead. Operand has 42 places, 37 transitions, 88 flow [2024-11-17 03:06:10,075 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 39 places, 34 transitions, 80 flow [2024-11-17 03:06:10,090 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-17 03:06:10,098 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;@5db8d27e, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-17 03:06:10,099 INFO L334 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2024-11-17 03:06:10,110 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-17 03:06:10,110 INFO L124 PetriNetUnfolderBase]: 2/32 cut-off events. [2024-11-17 03:06:10,110 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-11-17 03:06:10,111 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-17 03:06:10,111 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-11-17 03:06:10,112 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-17 03:06:10,117 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-17 03:06:10,117 INFO L85 PathProgramCache]: Analyzing trace with hash -1005195878, now seen corresponding path program 1 times [2024-11-17 03:06:10,133 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-11-17 03:06:10,133 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [664959446] [2024-11-17 03:06:10,133 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-17 03:06:10,134 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-11-17 03:06:10,134 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2024-11-17 03:06:10,137 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-11-17 03:06:10,139 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-11-17 03:06:10,267 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-17 03:06:10,272 INFO L255 TraceCheckSpWp]: Trace formula consists of 111 conjuncts, 7 conjuncts are in the unsatisfiable core [2024-11-17 03:06:10,278 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-17 03:06:10,550 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-17 03:06:10,551 INFO L307 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2024-11-17 03:06:10,552 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2024-11-17 03:06:10,552 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [664959446] [2024-11-17 03:06:10,552 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [664959446] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-17 03:06:10,553 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-17 03:06:10,553 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2024-11-17 03:06:10,554 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1238516294] [2024-11-17 03:06:10,555 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-17 03:06:10,562 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2024-11-17 03:06:10,567 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2024-11-17 03:06:10,589 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2024-11-17 03:06:10,590 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2024-11-17 03:06:10,602 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 9 out of 37 [2024-11-17 03:06:10,604 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 39 places, 34 transitions, 80 flow. Second operand has 7 states, 7 states have (on average 12.285714285714286) internal successors, (86), 7 states have internal predecessors, (86), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-17 03:06:10,605 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-17 03:06:10,605 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 9 of 37 [2024-11-17 03:06:10,606 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-17 03:06:10,927 INFO L124 PetriNetUnfolderBase]: 224/453 cut-off events. [2024-11-17 03:06:10,927 INFO L125 PetriNetUnfolderBase]: For 34/34 co-relation queries the response was YES. [2024-11-17 03:06:10,929 INFO L83 FinitePrefix]: Finished finitePrefix Result has 915 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 1817 event pairs, 42 based on Foata normal form. 2/453 useless extension candidates. Maximal degree in co-relation 821. Up to 237 conditions per place. [2024-11-17 03:06:10,933 INFO L140 encePairwiseOnDemand]: 28/37 looper letters, 50 selfloop transitions, 8 changer transitions 0/65 dead transitions. [2024-11-17 03:06:10,933 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 44 places, 65 transitions, 276 flow [2024-11-17 03:06:10,935 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2024-11-17 03:06:10,937 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 7 states. [2024-11-17 03:06:10,943 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 7 states to 7 states and 124 transitions. [2024-11-17 03:06:10,945 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.47876447876447875 [2024-11-17 03:06:10,947 INFO L175 Difference]: Start difference. First operand has 39 places, 34 transitions, 80 flow. Second operand 7 states and 124 transitions. [2024-11-17 03:06:10,948 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 44 places, 65 transitions, 276 flow [2024-11-17 03:06:10,951 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 40 places, 65 transitions, 256 flow, removed 0 selfloop flow, removed 4 redundant places. [2024-11-17 03:06:10,954 INFO L231 Difference]: Finished difference. Result has 45 places, 37 transitions, 118 flow [2024-11-17 03:06:10,956 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-11-17 03:06:10,959 INFO L277 CegarLoopForPetriNet]: 39 programPoint places, 6 predicate places. [2024-11-17 03:06:10,962 INFO L471 AbstractCegarLoop]: Abstraction has has 45 places, 37 transitions, 118 flow [2024-11-17 03:06:10,962 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 12.285714285714286) internal successors, (86), 7 states have internal predecessors, (86), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-17 03:06:10,962 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-17 03:06:10,963 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-11-17 03:06:10,973 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 (2)] Ended with exit code 0 [2024-11-17 03:06:11,163 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-11-17 03:06:11,164 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-17 03:06:11,165 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-17 03:06:11,165 INFO L85 PathProgramCache]: Analyzing trace with hash 1774863272, now seen corresponding path program 2 times [2024-11-17 03:06:11,165 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-11-17 03:06:11,165 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1303399255] [2024-11-17 03:06:11,166 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2024-11-17 03:06:11,166 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-11-17 03:06:11,166 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2024-11-17 03:06:11,168 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-11-17 03:06:11,169 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-11-17 03:06:11,276 INFO L227 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 1 check-sat command(s) [2024-11-17 03:06:11,277 INFO L228 tOrderPrioritization]: Conjunction of SSA is unsat [2024-11-17 03:06:11,279 INFO L255 TraceCheckSpWp]: Trace formula consists of 111 conjuncts, 3 conjuncts are in the unsatisfiable core [2024-11-17 03:06:11,281 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-17 03:06:11,347 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-11-17 03:06:11,407 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-17 03:06:11,411 INFO L307 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2024-11-17 03:06:11,411 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2024-11-17 03:06:11,412 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1303399255] [2024-11-17 03:06:11,412 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [1303399255] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-17 03:06:11,412 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-17 03:06:11,412 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2024-11-17 03:06:11,412 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1293198484] [2024-11-17 03:06:11,412 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-17 03:06:11,414 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-17 03:06:11,417 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2024-11-17 03:06:11,418 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-17 03:06:11,418 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-17 03:06:11,418 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 10 out of 37 [2024-11-17 03:06:11,419 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 45 places, 37 transitions, 118 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-11-17 03:06:11,419 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-17 03:06:11,419 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 10 of 37 [2024-11-17 03:06:11,419 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-17 03:06:11,541 INFO L124 PetriNetUnfolderBase]: 123/285 cut-off events. [2024-11-17 03:06:11,541 INFO L125 PetriNetUnfolderBase]: For 27/27 co-relation queries the response was YES. [2024-11-17 03:06:11,543 INFO L83 FinitePrefix]: Finished finitePrefix Result has 640 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 1015 event pairs, 46 based on Foata normal form. 32/312 useless extension candidates. Maximal degree in co-relation 547. Up to 156 conditions per place. [2024-11-17 03:06:11,544 INFO L140 encePairwiseOnDemand]: 29/37 looper letters, 27 selfloop transitions, 8 changer transitions 0/43 dead transitions. [2024-11-17 03:06:11,545 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 47 places, 43 transitions, 202 flow [2024-11-17 03:06:11,545 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-17 03:06:11,545 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2024-11-17 03:06:11,546 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 63 transitions. [2024-11-17 03:06:11,546 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.5675675675675675 [2024-11-17 03:06:11,546 INFO L175 Difference]: Start difference. First operand has 45 places, 37 transitions, 118 flow. Second operand 3 states and 63 transitions. [2024-11-17 03:06:11,547 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 47 places, 43 transitions, 202 flow [2024-11-17 03:06:11,549 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 47 places, 43 transitions, 202 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-17 03:06:11,551 INFO L231 Difference]: Finished difference. Result has 47 places, 37 transitions, 134 flow [2024-11-17 03:06:11,551 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-11-17 03:06:11,552 INFO L277 CegarLoopForPetriNet]: 39 programPoint places, 8 predicate places. [2024-11-17 03:06:11,552 INFO L471 AbstractCegarLoop]: Abstraction has has 47 places, 37 transitions, 134 flow [2024-11-17 03:06:11,553 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-11-17 03:06:11,553 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-17 03:06:11,553 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-11-17 03:06:11,561 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-11-17 03:06:11,754 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-11-17 03:06:11,754 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-17 03:06:11,755 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-17 03:06:11,755 INFO L85 PathProgramCache]: Analyzing trace with hash -275132906, now seen corresponding path program 1 times [2024-11-17 03:06:11,756 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-11-17 03:06:11,756 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [438955775] [2024-11-17 03:06:11,756 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-17 03:06:11,756 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-11-17 03:06:11,756 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2024-11-17 03:06:11,759 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-11-17 03:06:11,760 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-11-17 03:06:11,851 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-17 03:06:11,851 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-17 03:06:11,887 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-17 03:06:11,940 INFO L130 FreeRefinementEngine]: Strategy WOLF found a feasible trace [2024-11-17 03:06:11,941 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-17 03:06:11,942 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK (3 of 4 remaining) [2024-11-17 03:06:11,944 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (2 of 4 remaining) [2024-11-17 03:06:11,944 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 4 remaining) [2024-11-17 03:06:11,944 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 4 remaining) [2024-11-17 03:06:11,951 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (4)] Forceful destruction successful, exit code 0 [2024-11-17 03:06:12,145 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-11-17 03:06:12,146 INFO L407 BasicCegarLoop]: Path program histogram: [2, 1] [2024-11-17 03:06:12,202 INFO L239 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-11-17 03:06:12,202 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2024-11-17 03:06:12,207 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 17.11 03:06:12 BasicIcfg [2024-11-17 03:06:12,207 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-11-17 03:06:12,208 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-17 03:06:12,208 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-17 03:06:12,208 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-17 03:06:12,209 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.11 03:06:09" (3/4) ... [2024-11-17 03:06:12,211 INFO L146 WitnessPrinter]: No result that supports witness generation found [2024-11-17 03:06:12,212 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-17 03:06:12,214 INFO L158 Benchmark]: Toolchain (without parser) took 3742.92ms. Allocated memory was 67.1MB in the beginning and 83.9MB in the end (delta: 16.8MB). Free memory was 31.9MB in the beginning and 55.4MB in the end (delta: -23.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-17 03:06:12,217 INFO L158 Benchmark]: CDTParser took 1.04ms. Allocated memory is still 50.3MB. Free memory was 30.2MB in the beginning and 30.1MB in the end (delta: 52.5kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-17 03:06:12,218 INFO L158 Benchmark]: CACSL2BoogieTranslator took 604.16ms. Allocated memory is still 67.1MB. Free memory was 31.7MB in the beginning and 29.4MB in the end (delta: 2.2MB). Peak memory consumption was 7.9MB. Max. memory is 16.1GB. [2024-11-17 03:06:12,219 INFO L158 Benchmark]: Boogie Procedure Inliner took 67.58ms. Allocated memory is still 67.1MB. Free memory was 29.4MB in the beginning and 27.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-17 03:06:12,220 INFO L158 Benchmark]: Boogie Preprocessor took 64.21ms. Allocated memory is still 67.1MB. Free memory was 27.3MB in the beginning and 44.7MB in the end (delta: -17.4MB). Peak memory consumption was 3.5MB. Max. memory is 16.1GB. [2024-11-17 03:06:12,220 INFO L158 Benchmark]: IcfgBuilder took 703.32ms. Allocated memory was 67.1MB in the beginning and 83.9MB in the end (delta: 16.8MB). Free memory was 44.7MB in the beginning and 33.1MB in the end (delta: 11.6MB). Peak memory consumption was 27.4MB. Max. memory is 16.1GB. [2024-11-17 03:06:12,220 INFO L158 Benchmark]: TraceAbstraction took 2290.47ms. Allocated memory is still 83.9MB. Free memory was 32.0MB in the beginning and 56.1MB in the end (delta: -24.0MB). Peak memory consumption was 7.7MB. Max. memory is 16.1GB. [2024-11-17 03:06:12,221 INFO L158 Benchmark]: Witness Printer took 4.41ms. Allocated memory is still 83.9MB. Free memory was 56.1MB in the beginning and 55.4MB in the end (delta: 636.0kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-17 03:06:12,225 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 1.04ms. Allocated memory is still 50.3MB. Free memory was 30.2MB in the beginning and 30.1MB in the end (delta: 52.5kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 604.16ms. Allocated memory is still 67.1MB. Free memory was 31.7MB in the beginning and 29.4MB in the end (delta: 2.2MB). Peak memory consumption was 7.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 67.58ms. Allocated memory is still 67.1MB. Free memory was 29.4MB in the beginning and 27.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 64.21ms. Allocated memory is still 67.1MB. Free memory was 27.3MB in the beginning and 44.7MB in the end (delta: -17.4MB). Peak memory consumption was 3.5MB. Max. memory is 16.1GB. * IcfgBuilder took 703.32ms. Allocated memory was 67.1MB in the beginning and 83.9MB in the end (delta: 16.8MB). Free memory was 44.7MB in the beginning and 33.1MB in the end (delta: 11.6MB). Peak memory consumption was 27.4MB. Max. memory is 16.1GB. * TraceAbstraction took 2290.47ms. Allocated memory is still 83.9MB. Free memory was 32.0MB in the beginning and 56.1MB in the end (delta: -24.0MB). Peak memory consumption was 7.7MB. Max. memory is 16.1GB. * Witness Printer took 4.41ms. Allocated memory is still 83.9MB. Free memory was 56.1MB in the beginning and 55.4MB in the end (delta: 636.0kB). 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.1s, OverallIterations: 3, TraceHistogramMax: 1, PathProgramHistogramMax: 2, EmptinessCheckTime: 0.0s, AutomataDifference: 0.5s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 28 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 27 mSDsluCounter, 0 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 7 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 310 IncrementalHoareTripleChecker+Invalid, 317 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 7 mSolverCounterUnsat, 0 mSDtfsCounter, 310 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.0s 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.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.4s 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-11-17 03:06:12,263 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