./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/pthread/twostage_3-2.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 48c9605d Calling Ultimate with: /root/.sdkman/candidates/java/21.0.5-tem/bin/java -Dosgi.configuration.area=/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/pthread/twostage_3-2.i -s /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate-jdk21/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 0db6974abead9f0b145be669e8625acba9e17feac06fbf7c6b45d50c107fdab8 --- Real Ultimate output --- This is Ultimate 0.3.0-?-48c9605-m [2025-02-08 08:11:28,410 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-02-08 08:11:28,469 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2025-02-08 08:11:28,474 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-02-08 08:11:28,474 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-02-08 08:11:28,496 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-02-08 08:11:28,496 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-02-08 08:11:28,496 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-02-08 08:11:28,497 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-02-08 08:11:28,497 INFO L153 SettingsManager]: * Use memory slicer=true [2025-02-08 08:11:28,498 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-02-08 08:11:28,498 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-02-08 08:11:28,499 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-02-08 08:11:28,499 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-02-08 08:11:28,499 INFO L153 SettingsManager]: * Use SBE=true [2025-02-08 08:11:28,500 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-02-08 08:11:28,500 INFO L153 SettingsManager]: * sizeof long=4 [2025-02-08 08:11:28,500 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-02-08 08:11:28,500 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-02-08 08:11:28,500 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-02-08 08:11:28,500 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2025-02-08 08:11:28,500 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2025-02-08 08:11:28,500 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2025-02-08 08:11:28,500 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-02-08 08:11:28,500 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2025-02-08 08:11:28,500 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-02-08 08:11:28,500 INFO L153 SettingsManager]: * sizeof long double=12 [2025-02-08 08:11:28,500 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-02-08 08:11:28,501 INFO L153 SettingsManager]: * Use constant arrays=true [2025-02-08 08:11:28,501 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-02-08 08:11:28,501 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-02-08 08:11:28,501 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-02-08 08:11:28,501 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-02-08 08:11:28,501 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-08 08:11:28,501 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-02-08 08:11:28,501 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-02-08 08:11:28,502 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-02-08 08:11:28,502 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-02-08 08:11:28,502 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-02-08 08:11:28,502 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-02-08 08:11:28,502 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-02-08 08:11:28,502 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-02-08 08:11:28,502 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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-jdk21/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 -> 0db6974abead9f0b145be669e8625acba9e17feac06fbf7c6b45d50c107fdab8 [2025-02-08 08:11:28,708 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-02-08 08:11:28,718 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-02-08 08:11:28,720 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-02-08 08:11:28,722 INFO L270 PluginConnector]: Initializing CDTParser... [2025-02-08 08:11:28,722 INFO L274 PluginConnector]: CDTParser initialized [2025-02-08 08:11:28,723 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread/twostage_3-2.i [2025-02-08 08:11:29,985 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/236092ac3/ab04e2be20334d1b988ae9085d7c0706/FLAG83e2a301b [2025-02-08 08:11:30,367 INFO L384 CDTParser]: Found 1 translation units. [2025-02-08 08:11:30,368 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/pthread/twostage_3-2.i [2025-02-08 08:11:30,379 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/236092ac3/ab04e2be20334d1b988ae9085d7c0706/FLAG83e2a301b [2025-02-08 08:11:30,389 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/236092ac3/ab04e2be20334d1b988ae9085d7c0706 [2025-02-08 08:11:30,391 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-02-08 08:11:30,392 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-02-08 08:11:30,393 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-02-08 08:11:30,393 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-02-08 08:11:30,400 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-02-08 08:11:30,400 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.02 08:11:30" (1/1) ... [2025-02-08 08:11:30,401 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2e204a17 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:30, skipping insertion in model container [2025-02-08 08:11:30,401 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.02 08:11:30" (1/1) ... [2025-02-08 08:11:30,438 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-02-08 08:11:30,870 WARN L1100 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2025-02-08 08:11:30,871 WARN L1100 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2025-02-08 08:11:30,882 WARN L1731 CHandler]: Possible shadowing of function lock [2025-02-08 08:11:30,883 WARN L1731 CHandler]: Possible shadowing of function lock [2025-02-08 08:11:30,884 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-08 08:11:30,892 INFO L200 MainTranslator]: Completed pre-run [2025-02-08 08:11:30,928 WARN L1731 CHandler]: Possible shadowing of function lock [2025-02-08 08:11:30,929 WARN L1731 CHandler]: Possible shadowing of function lock [2025-02-08 08:11:30,929 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-08 08:11:30,994 INFO L204 MainTranslator]: Completed translation [2025-02-08 08:11:30,995 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:30 WrapperNode [2025-02-08 08:11:30,995 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-02-08 08:11:30,999 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-02-08 08:11:30,999 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-02-08 08:11:30,999 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-02-08 08:11:31,008 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:30" (1/1) ... [2025-02-08 08:11:31,030 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:30" (1/1) ... [2025-02-08 08:11:31,053 INFO L138 Inliner]: procedures = 373, calls = 34, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 161 [2025-02-08 08:11:31,054 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-02-08 08:11:31,055 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-02-08 08:11:31,055 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-02-08 08:11:31,055 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-02-08 08:11:31,062 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:30" (1/1) ... [2025-02-08 08:11:31,063 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:30" (1/1) ... [2025-02-08 08:11:31,066 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:30" (1/1) ... [2025-02-08 08:11:31,082 INFO L175 MemorySlicer]: Split 6 memory accesses to 3 slices as follows [2, 2, 2]. 33 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2, 0, 0]. The 2 writes are split as follows [0, 1, 1]. [2025-02-08 08:11:31,082 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:30" (1/1) ... [2025-02-08 08:11:31,082 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:30" (1/1) ... [2025-02-08 08:11:31,092 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:30" (1/1) ... [2025-02-08 08:11:31,092 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:30" (1/1) ... [2025-02-08 08:11:31,094 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:30" (1/1) ... [2025-02-08 08:11:31,098 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:30" (1/1) ... [2025-02-08 08:11:31,099 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-02-08 08:11:31,100 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-02-08 08:11:31,100 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-02-08 08:11:31,100 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-02-08 08:11:31,101 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:30" (1/1) ... [2025-02-08 08:11:31,107 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-08 08:11:31,116 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-08 08:11:31,134 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2025-02-08 08:11:31,143 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2025-02-08 08:11:31,156 INFO L130 BoogieDeclarations]: Found specification of procedure funcA [2025-02-08 08:11:31,156 INFO L138 BoogieDeclarations]: Found implementation of procedure funcA [2025-02-08 08:11:31,156 INFO L130 BoogieDeclarations]: Found specification of procedure funcB [2025-02-08 08:11:31,156 INFO L138 BoogieDeclarations]: Found implementation of procedure funcB [2025-02-08 08:11:31,157 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2025-02-08 08:11:31,157 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2025-02-08 08:11:31,157 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2025-02-08 08:11:31,157 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2025-02-08 08:11:31,157 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2025-02-08 08:11:31,157 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#2 [2025-02-08 08:11:31,157 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2025-02-08 08:11:31,157 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2025-02-08 08:11:31,157 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#2 [2025-02-08 08:11:31,157 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2025-02-08 08:11:31,157 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2025-02-08 08:11:31,158 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-02-08 08:11:31,158 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-02-08 08:11:31,158 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2025-02-08 08:11:31,158 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#2 [2025-02-08 08:11:31,158 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-02-08 08:11:31,158 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-02-08 08:11:31,159 WARN L227 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-02-08 08:11:31,290 INFO L257 CfgBuilder]: Building ICFG [2025-02-08 08:11:31,292 INFO L287 CfgBuilder]: Building CFG for each procedure with an implementation [2025-02-08 08:11:31,524 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L1299: havoc main_~#rPool~0#1.base, main_~#rPool~0#1.offset; [2025-02-08 08:11:31,525 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L1299-1: SUMMARY for call ULTIMATE.dealloc(main_~#rPool~0#1.base, main_~#rPool~0#1.offset); srcloc: null [2025-02-08 08:11:31,525 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L1298: havoc main_~#tPool~0#1.base, main_~#tPool~0#1.offset; [2025-02-08 08:11:31,525 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L1298-1: SUMMARY for call ULTIMATE.dealloc(main_~#tPool~0#1.base, main_~#tPool~0#1.offset); srcloc: null [2025-02-08 08:11:31,526 INFO L304 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-02-08 08:11:31,526 INFO L308 CfgBuilder]: Performing block encoding [2025-02-08 08:11:31,633 INFO L332 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-02-08 08:11:31,633 INFO L337 CfgBuilder]: Removed 0 assume(true) statements. [2025-02-08 08:11:31,634 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.02 08:11:31 BoogieIcfgContainer [2025-02-08 08:11:31,634 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-02-08 08:11:31,636 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-02-08 08:11:31,636 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-02-08 08:11:31,639 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-02-08 08:11:31,639 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 08.02 08:11:30" (1/3) ... [2025-02-08 08:11:31,640 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1063ad76 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.02 08:11:31, skipping insertion in model container [2025-02-08 08:11:31,640 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:30" (2/3) ... [2025-02-08 08:11:31,640 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@1063ad76 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.02 08:11:31, skipping insertion in model container [2025-02-08 08:11:31,640 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.02 08:11:31" (3/3) ... [2025-02-08 08:11:31,641 INFO L128 eAbstractionObserver]: Analyzing ICFG twostage_3-2.i [2025-02-08 08:11:31,651 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-02-08 08:11:31,652 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG twostage_3-2.i that has 3 procedures, 69 locations, 1 initial locations, 4 loop locations, and 12 error locations. [2025-02-08 08:11:31,652 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2025-02-08 08:11:31,692 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2025-02-08 08:11:31,712 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 75 places, 79 transitions, 178 flow [2025-02-08 08:11:31,757 INFO L124 PetriNetUnfolderBase]: 16/168 cut-off events. [2025-02-08 08:11:31,759 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2025-02-08 08:11:31,763 INFO L83 FinitePrefix]: Finished finitePrefix Result has 185 conditions, 168 events. 16/168 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 19. Compared 794 event pairs, 0 based on Foata normal form. 0/108 useless extension candidates. Maximal degree in co-relation 86. Up to 7 conditions per place. [2025-02-08 08:11:31,763 INFO L82 GeneralOperation]: Start removeDead. Operand has 75 places, 79 transitions, 178 flow [2025-02-08 08:11:31,767 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 75 places, 79 transitions, 178 flow [2025-02-08 08:11:31,776 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-02-08 08:11:31,783 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;@2fcf49ee, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-02-08 08:11:31,784 INFO L334 AbstractCegarLoop]: Starting to check reachability of 15 error locations. [2025-02-08 08:11:31,792 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-02-08 08:11:31,792 INFO L124 PetriNetUnfolderBase]: 1/6 cut-off events. [2025-02-08 08:11:31,792 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2025-02-08 08:11:31,793 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-08 08:11:31,793 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2025-02-08 08:11:31,793 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX === [ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2025-02-08 08:11:31,797 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 08:11:31,797 INFO L85 PathProgramCache]: Analyzing trace with hash 14409025, now seen corresponding path program 1 times [2025-02-08 08:11:31,802 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-02-08 08:11:31,803 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [805969084] [2025-02-08 08:11:31,803 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 08:11:31,803 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-02-08 08:11:31,854 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 4 statements into 1 equivalence classes. [2025-02-08 08:11:31,859 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 4 of 4 statements. [2025-02-08 08:11:31,859 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:11:31,859 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-08 08:11:31,890 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-02-08 08:11:31,891 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-02-08 08:11:31,891 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [805969084] [2025-02-08 08:11:31,892 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [805969084] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-08 08:11:31,892 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-08 08:11:31,892 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2025-02-08 08:11:31,893 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2107710070] [2025-02-08 08:11:31,893 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-08 08:11:31,897 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2025-02-08 08:11:31,899 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-02-08 08:11:31,935 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2025-02-08 08:11:31,935 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2025-02-08 08:11:31,936 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 31 out of 79 [2025-02-08 08:11:31,937 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 75 places, 79 transitions, 178 flow. Second operand has 2 states, 2 states have (on average 32.0) internal successors, (64), 2 states have internal predecessors, (64), 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) [2025-02-08 08:11:31,937 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-08 08:11:31,937 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 31 of 79 [2025-02-08 08:11:31,938 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-08 08:11:32,338 INFO L124 PetriNetUnfolderBase]: 1878/3663 cut-off events. [2025-02-08 08:11:32,339 INFO L125 PetriNetUnfolderBase]: For 116/116 co-relation queries the response was YES. [2025-02-08 08:11:32,348 INFO L83 FinitePrefix]: Finished finitePrefix Result has 6720 conditions, 3663 events. 1878/3663 cut-off events. For 116/116 co-relation queries the response was YES. Maximal size of possible extension queue 133. Compared 23311 event pairs, 1757 based on Foata normal form. 180/3609 useless extension candidates. Maximal degree in co-relation 6153. Up to 2976 conditions per place. [2025-02-08 08:11:32,366 INFO L140 encePairwiseOnDemand]: 74/79 looper letters, 42 selfloop transitions, 0 changer transitions 0/73 dead transitions. [2025-02-08 08:11:32,366 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 73 places, 73 transitions, 250 flow [2025-02-08 08:11:32,367 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2025-02-08 08:11:32,369 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2025-02-08 08:11:32,374 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 109 transitions. [2025-02-08 08:11:32,376 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.689873417721519 [2025-02-08 08:11:32,377 INFO L175 Difference]: Start difference. First operand has 75 places, 79 transitions, 178 flow. Second operand 2 states and 109 transitions. [2025-02-08 08:11:32,377 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 73 places, 73 transitions, 250 flow [2025-02-08 08:11:32,382 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 73 transitions, 250 flow, removed 0 selfloop flow, removed 0 redundant places. [2025-02-08 08:11:32,384 INFO L231 Difference]: Finished difference. Result has 73 places, 73 transitions, 166 flow [2025-02-08 08:11:32,387 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=79, PETRI_DIFFERENCE_MINUEND_FLOW=166, PETRI_DIFFERENCE_MINUEND_PLACES=72, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=73, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=73, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=166, PETRI_PLACES=73, PETRI_TRANSITIONS=73} [2025-02-08 08:11:32,389 INFO L279 CegarLoopForPetriNet]: 75 programPoint places, -2 predicate places. [2025-02-08 08:11:32,391 INFO L471 AbstractCegarLoop]: Abstraction has has 73 places, 73 transitions, 166 flow [2025-02-08 08:11:32,391 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 32.0) internal successors, (64), 2 states have internal predecessors, (64), 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) [2025-02-08 08:11:32,391 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-08 08:11:32,392 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2025-02-08 08:11:32,392 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2025-02-08 08:11:32,392 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2025-02-08 08:11:32,392 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 08:11:32,392 INFO L85 PathProgramCache]: Analyzing trace with hash 446765375, now seen corresponding path program 1 times [2025-02-08 08:11:32,393 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-02-08 08:11:32,393 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1128911519] [2025-02-08 08:11:32,393 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 08:11:32,393 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-02-08 08:11:32,418 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 5 statements into 1 equivalence classes. [2025-02-08 08:11:32,443 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 5 of 5 statements. [2025-02-08 08:11:32,445 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:11:32,445 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-08 08:11:32,562 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-02-08 08:11:32,563 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-02-08 08:11:32,566 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1128911519] [2025-02-08 08:11:32,567 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1128911519] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-08 08:11:32,567 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-08 08:11:32,567 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-02-08 08:11:32,567 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [240365167] [2025-02-08 08:11:32,567 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-08 08:11:32,567 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-02-08 08:11:32,568 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-02-08 08:11:32,568 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-02-08 08:11:32,568 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-02-08 08:11:32,596 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 27 out of 79 [2025-02-08 08:11:32,596 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 73 places, 73 transitions, 166 flow. Second operand has 3 states, 3 states have (on average 28.333333333333332) internal successors, (85), 3 states have internal predecessors, (85), 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) [2025-02-08 08:11:32,599 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-08 08:11:32,599 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 27 of 79 [2025-02-08 08:11:32,599 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-08 08:11:33,068 INFO L124 PetriNetUnfolderBase]: 2141/4157 cut-off events. [2025-02-08 08:11:33,068 INFO L125 PetriNetUnfolderBase]: For 115/122 co-relation queries the response was YES. [2025-02-08 08:11:33,076 INFO L83 FinitePrefix]: Finished finitePrefix Result has 7657 conditions, 4157 events. 2141/4157 cut-off events. For 115/122 co-relation queries the response was YES. Maximal size of possible extension queue 159. Compared 28260 event pairs, 1506 based on Foata normal form. 7/3943 useless extension candidates. Maximal degree in co-relation 7652. Up to 2578 conditions per place. [2025-02-08 08:11:33,095 INFO L140 encePairwiseOnDemand]: 75/79 looper letters, 63 selfloop transitions, 2 changer transitions 0/92 dead transitions. [2025-02-08 08:11:33,095 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 73 places, 92 transitions, 334 flow [2025-02-08 08:11:33,096 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-02-08 08:11:33,096 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-02-08 08:11:33,097 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 148 transitions. [2025-02-08 08:11:33,098 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.6244725738396625 [2025-02-08 08:11:33,098 INFO L175 Difference]: Start difference. First operand has 73 places, 73 transitions, 166 flow. Second operand 3 states and 148 transitions. [2025-02-08 08:11:33,098 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 73 places, 92 transitions, 334 flow [2025-02-08 08:11:33,099 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 92 transitions, 334 flow, removed 0 selfloop flow, removed 0 redundant places. [2025-02-08 08:11:33,102 INFO L231 Difference]: Finished difference. Result has 73 places, 71 transitions, 166 flow [2025-02-08 08:11:33,102 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=79, PETRI_DIFFERENCE_MINUEND_FLOW=162, PETRI_DIFFERENCE_MINUEND_PLACES=71, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=71, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=69, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=166, PETRI_PLACES=73, PETRI_TRANSITIONS=71} [2025-02-08 08:11:33,103 INFO L279 CegarLoopForPetriNet]: 75 programPoint places, -2 predicate places. [2025-02-08 08:11:33,103 INFO L471 AbstractCegarLoop]: Abstraction has has 73 places, 71 transitions, 166 flow [2025-02-08 08:11:33,103 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 28.333333333333332) internal successors, (85), 3 states have internal predecessors, (85), 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) [2025-02-08 08:11:33,105 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-08 08:11:33,105 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2025-02-08 08:11:33,105 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2025-02-08 08:11:33,106 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr8REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2025-02-08 08:11:33,106 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 08:11:33,106 INFO L85 PathProgramCache]: Analyzing trace with hash 446765376, now seen corresponding path program 1 times [2025-02-08 08:11:33,106 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-02-08 08:11:33,106 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [831467274] [2025-02-08 08:11:33,106 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 08:11:33,106 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-02-08 08:11:33,127 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 5 statements into 1 equivalence classes. [2025-02-08 08:11:33,146 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 5 of 5 statements. [2025-02-08 08:11:33,149 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:11:33,150 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-08 08:11:33,420 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-02-08 08:11:33,420 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-02-08 08:11:33,420 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [831467274] [2025-02-08 08:11:33,420 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [831467274] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-08 08:11:33,420 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-08 08:11:33,420 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [3] imperfect sequences [] total 3 [2025-02-08 08:11:33,421 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [776943910] [2025-02-08 08:11:33,421 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-08 08:11:33,421 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2025-02-08 08:11:33,421 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-02-08 08:11:33,421 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2025-02-08 08:11:33,422 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2025-02-08 08:11:33,473 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 29 out of 79 [2025-02-08 08:11:33,473 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 73 places, 71 transitions, 166 flow. Second operand has 5 states, 5 states have (on average 29.8) internal successors, (149), 5 states have internal predecessors, (149), 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) [2025-02-08 08:11:33,474 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-08 08:11:33,474 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 29 of 79 [2025-02-08 08:11:33,474 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-08 08:11:34,107 INFO L124 PetriNetUnfolderBase]: 4304/8534 cut-off events. [2025-02-08 08:11:34,108 INFO L125 PetriNetUnfolderBase]: For 524/524 co-relation queries the response was YES. [2025-02-08 08:11:34,121 INFO L83 FinitePrefix]: Finished finitePrefix Result has 15771 conditions, 8534 events. 4304/8534 cut-off events. For 524/524 co-relation queries the response was YES. Maximal size of possible extension queue 309. Compared 65814 event pairs, 3633 based on Foata normal form. 1/8079 useless extension candidates. Maximal degree in co-relation 15765. Up to 3417 conditions per place. [2025-02-08 08:11:34,246 INFO L140 encePairwiseOnDemand]: 73/79 looper letters, 93 selfloop transitions, 4 changer transitions 0/124 dead transitions. [2025-02-08 08:11:34,248 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 76 places, 124 transitions, 488 flow [2025-02-08 08:11:34,248 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2025-02-08 08:11:34,249 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2025-02-08 08:11:34,250 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 215 transitions. [2025-02-08 08:11:34,251 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.680379746835443 [2025-02-08 08:11:34,251 INFO L175 Difference]: Start difference. First operand has 73 places, 71 transitions, 166 flow. Second operand 4 states and 215 transitions. [2025-02-08 08:11:34,251 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 76 places, 124 transitions, 488 flow [2025-02-08 08:11:34,254 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 74 places, 124 transitions, 480 flow, removed 0 selfloop flow, removed 2 redundant places. [2025-02-08 08:11:34,258 INFO L231 Difference]: Finished difference. Result has 76 places, 73 transitions, 188 flow [2025-02-08 08:11:34,258 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=79, PETRI_DIFFERENCE_MINUEND_FLOW=162, PETRI_DIFFERENCE_MINUEND_PLACES=71, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=71, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=67, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=188, PETRI_PLACES=76, PETRI_TRANSITIONS=73} [2025-02-08 08:11:34,258 INFO L279 CegarLoopForPetriNet]: 75 programPoint places, 1 predicate places. [2025-02-08 08:11:34,258 INFO L471 AbstractCegarLoop]: Abstraction has has 76 places, 73 transitions, 188 flow [2025-02-08 08:11:34,259 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 29.8) internal successors, (149), 5 states have internal predecessors, (149), 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) [2025-02-08 08:11:34,259 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-08 08:11:34,259 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2025-02-08 08:11:34,259 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2025-02-08 08:11:34,259 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr8REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2025-02-08 08:11:34,260 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 08:11:34,260 INFO L85 PathProgramCache]: Analyzing trace with hash 1241859925, now seen corresponding path program 1 times [2025-02-08 08:11:34,260 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-02-08 08:11:34,260 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [918121000] [2025-02-08 08:11:34,260 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 08:11:34,260 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-02-08 08:11:34,273 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 8 statements into 1 equivalence classes. [2025-02-08 08:11:34,285 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 8 of 8 statements. [2025-02-08 08:11:34,287 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:11:34,287 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-02-08 08:11:34,287 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-02-08 08:11:34,290 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 8 statements into 1 equivalence classes. [2025-02-08 08:11:34,303 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 8 of 8 statements. [2025-02-08 08:11:34,307 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:11:34,307 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-02-08 08:11:34,322 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2025-02-08 08:11:34,322 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-02-08 08:11:34,323 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr8REQUIRES_VIOLATIONMEMORY_DEREFERENCE (14 of 15 remaining) [2025-02-08 08:11:34,324 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX (13 of 15 remaining) [2025-02-08 08:11:34,324 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX (12 of 15 remaining) [2025-02-08 08:11:34,324 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (11 of 15 remaining) [2025-02-08 08:11:34,325 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE (10 of 15 remaining) [2025-02-08 08:11:34,325 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr6REQUIRES_VIOLATIONMEMORY_DEREFERENCE (9 of 15 remaining) [2025-02-08 08:11:34,325 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (8 of 15 remaining) [2025-02-08 08:11:34,325 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 15 remaining) [2025-02-08 08:11:34,325 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (6 of 15 remaining) [2025-02-08 08:11:34,325 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 15 remaining) [2025-02-08 08:11:34,325 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (4 of 15 remaining) [2025-02-08 08:11:34,325 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 15 remaining) [2025-02-08 08:11:34,325 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 15 remaining) [2025-02-08 08:11:34,325 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONMEMORY_LEAK (1 of 15 remaining) [2025-02-08 08:11:34,325 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONMEMORY_LEAK (0 of 15 remaining) [2025-02-08 08:11:34,325 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2025-02-08 08:11:34,326 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2025-02-08 08:11:34,341 INFO L241 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2025-02-08 08:11:34,341 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2025-02-08 08:11:34,344 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 08.02 08:11:34 BasicIcfg [2025-02-08 08:11:34,344 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-02-08 08:11:34,345 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-02-08 08:11:34,345 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-02-08 08:11:34,345 INFO L274 PluginConnector]: Witness Printer initialized [2025-02-08 08:11:34,345 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.02 08:11:31" (3/4) ... [2025-02-08 08:11:34,346 INFO L149 WitnessPrinter]: No result that supports witness generation found [2025-02-08 08:11:34,347 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-02-08 08:11:34,347 INFO L158 Benchmark]: Toolchain (without parser) took 3955.78ms. Allocated memory was 142.6MB in the beginning and 402.7MB in the end (delta: 260.0MB). Free memory was 102.2MB in the beginning and 305.0MB in the end (delta: -202.8MB). Peak memory consumption was 57.1MB. Max. memory is 16.1GB. [2025-02-08 08:11:34,348 INFO L158 Benchmark]: CDTParser took 0.46ms. Allocated memory is still 201.3MB. Free memory is still 126.7MB. There was no memory consumed. Max. memory is 16.1GB. [2025-02-08 08:11:34,348 INFO L158 Benchmark]: CACSL2BoogieTranslator took 605.85ms. Allocated memory is still 142.6MB. Free memory was 102.2MB in the beginning and 63.1MB in the end (delta: 39.1MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. [2025-02-08 08:11:34,348 INFO L158 Benchmark]: Boogie Procedure Inliner took 55.32ms. Allocated memory is still 142.6MB. Free memory was 63.1MB in the beginning and 60.7MB in the end (delta: 2.4MB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-08 08:11:34,348 INFO L158 Benchmark]: Boogie Preprocessor took 44.77ms. Allocated memory is still 142.6MB. Free memory was 60.7MB in the beginning and 58.6MB in the end (delta: 2.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-02-08 08:11:34,348 INFO L158 Benchmark]: IcfgBuilder took 533.87ms. Allocated memory is still 142.6MB. Free memory was 57.8MB in the beginning and 88.6MB in the end (delta: -30.7MB). Peak memory consumption was 31.7MB. Max. memory is 16.1GB. [2025-02-08 08:11:34,349 INFO L158 Benchmark]: TraceAbstraction took 2708.71ms. Allocated memory was 142.6MB in the beginning and 402.7MB in the end (delta: 260.0MB). Free memory was 87.9MB in the beginning and 305.1MB in the end (delta: -217.2MB). Peak memory consumption was 42.2MB. Max. memory is 16.1GB. [2025-02-08 08:11:34,349 INFO L158 Benchmark]: Witness Printer took 2.28ms. Allocated memory is still 402.7MB. Free memory was 305.1MB in the beginning and 305.0MB in the end (delta: 72.1kB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-08 08:11:34,350 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.46ms. Allocated memory is still 201.3MB. Free memory is still 126.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 605.85ms. Allocated memory is still 142.6MB. Free memory was 102.2MB in the beginning and 63.1MB in the end (delta: 39.1MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 55.32ms. Allocated memory is still 142.6MB. Free memory was 63.1MB in the beginning and 60.7MB in the end (delta: 2.4MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 44.77ms. Allocated memory is still 142.6MB. Free memory was 60.7MB in the beginning and 58.6MB in the end (delta: 2.2MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * IcfgBuilder took 533.87ms. Allocated memory is still 142.6MB. Free memory was 57.8MB in the beginning and 88.6MB in the end (delta: -30.7MB). Peak memory consumption was 31.7MB. Max. memory is 16.1GB. * TraceAbstraction took 2708.71ms. Allocated memory was 142.6MB in the beginning and 402.7MB in the end (delta: 260.0MB). Free memory was 87.9MB in the beginning and 305.1MB in the end (delta: -217.2MB). Peak memory consumption was 42.2MB. Max. memory is 16.1GB. * Witness Printer took 2.28ms. Allocated memory is still 402.7MB. Free memory was 305.1MB in the beginning and 305.0MB in the end (delta: 72.1kB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: overapproximation of sscanf at line 1284, overapproximation of sscanf at line 1285. Possible FailurePath: [L1236] static int iTThreads = 2; [L1237] static int iRThreads = 1; [L1238] static int data1Value = 0; [L1239] static int data2Value = 0; [L1240] pthread_mutex_t *data1Lock; [L1241] pthread_mutex_t *data2Lock; [L1278] int i,err; VAL [\old(argc)=3, \old(argv)={1073741826:1073741827}, argc=3, data1Lock={0:0}, data1Value=0, data2Lock={0:0}, data2Value=0, iRThreads=1, iTThreads=2] [L1279] COND TRUE argc != 1 VAL [\old(argc)=3, \old(argv)={1073741826:1073741827}, argc=3, data1Lock={0:0}, data1Value=0, data2Lock={0:0}, data2Value=0, iRThreads=1, iTThreads=2] [L1280] COND FALSE !(argc != 3) VAL [\old(argc)=3, \old(argv)={1073741826:1073741827}, argc=3, data1Lock={0:0}, data1Value=0, data2Lock={0:0}, data2Value=0, iRThreads=1, iTThreads=2] [L1284] argv[1] [L1285] argv[2] [L1288] data1Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) [L1289] data2Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) [L1290] EXPR err = pthread_mutex_init(data1Lock, ((void *)0)) [L1290] COND FALSE !(0 != (err = pthread_mutex_init(data1Lock, ((void *)0)))) [L1294] EXPR err = pthread_mutex_init(data2Lock, ((void *)0)) [L1294] COND FALSE !(0 != (err = pthread_mutex_init(data2Lock, ((void *)0)))) [L1298] pthread_t tPool[iTThreads]; [L1299] pthread_t rPool[iRThreads]; [L1300] i = 0 VAL [\old(argc)=3, \old(argv)={1073741826:1073741827}, argc=3, data1Lock={-2:0}, data1Value=0, data2Lock={-1:0}, data2Value=0, err=0, i=0, iRThreads=0, iTThreads=1073741824, rPool={4:0}, tPool={5:0}] [L1300] COND TRUE i < iTThreads - UnprovableResult [Line: 1284]: Unable to prove that array index is always in bounds Unable to prove that array index is always in bounds Reason: Not analyzed. - UnprovableResult [Line: 1285]: Unable to prove that array index is always in bounds Unable to prove that array index is always in bounds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: 1277]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - UnprovableResult [Line: 1307]: 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: 1301]: 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: 20]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 5 procedures, 105 locations, 15 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.6s, OverallIterations: 4, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 1.8s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 178 SdHoareTripleChecker+Valid, 0.4s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 138 mSDsluCounter, 11 SdHoareTripleChecker+Invalid, 0.3s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 11 mSDsCounter, 5 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 394 IncrementalHoareTripleChecker+Invalid, 399 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 5 mSolverCounterUnsat, 0 mSDtfsCounter, 394 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 6 GetRequests, 2 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 1 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=188occurred in iteration=3, InterpolantAutomatonStates: 9, 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, 22 NumberOfCodeBlocks, 22 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 11 ConstructedInterpolants, 0 QuantifiedInterpolants, 48 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 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, ConComCheckerStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2025-02-08 08:11:34,362 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Forceful destruction successful, 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/21.0.5-tem/bin/java -Dosgi.configuration.area=/storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/pthread/twostage_3-2.i -s /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate-jdk21/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 0db6974abead9f0b145be669e8625acba9e17feac06fbf7c6b45d50c107fdab8 --- Real Ultimate output --- This is Ultimate 0.3.0-?-48c9605-m [2025-02-08 08:11:36,358 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-02-08 08:11:36,452 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Bitvector.epf [2025-02-08 08:11:36,461 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-02-08 08:11:36,461 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-02-08 08:11:36,524 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-02-08 08:11:36,525 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-02-08 08:11:36,527 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-02-08 08:11:36,528 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-02-08 08:11:36,528 INFO L153 SettingsManager]: * Use memory slicer=true [2025-02-08 08:11:36,528 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-02-08 08:11:36,528 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-02-08 08:11:36,529 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-02-08 08:11:36,529 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-02-08 08:11:36,530 INFO L153 SettingsManager]: * Use SBE=true [2025-02-08 08:11:36,530 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-02-08 08:11:36,530 INFO L153 SettingsManager]: * sizeof long=4 [2025-02-08 08:11:36,530 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-02-08 08:11:36,530 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-02-08 08:11:36,530 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-02-08 08:11:36,530 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2025-02-08 08:11:36,530 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2025-02-08 08:11:36,530 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2025-02-08 08:11:36,530 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-02-08 08:11:36,530 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2025-02-08 08:11:36,531 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2025-02-08 08:11:36,531 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2025-02-08 08:11:36,531 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-02-08 08:11:36,531 INFO L153 SettingsManager]: * sizeof long double=12 [2025-02-08 08:11:36,531 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-02-08 08:11:36,531 INFO L153 SettingsManager]: * Use constant arrays=true [2025-02-08 08:11:36,532 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-02-08 08:11:36,532 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-02-08 08:11:36,532 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-02-08 08:11:36,532 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-02-08 08:11:36,532 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-08 08:11:36,532 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-02-08 08:11:36,533 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-02-08 08:11:36,533 INFO L153 SettingsManager]: * Trace refinement strategy=FOX [2025-02-08 08:11:36,533 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2025-02-08 08:11:36,533 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-02-08 08:11:36,533 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-02-08 08:11:36,533 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-02-08 08:11:36,533 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-02-08 08:11:36,533 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC 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-jdk21/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 -> 0db6974abead9f0b145be669e8625acba9e17feac06fbf7c6b45d50c107fdab8 [2025-02-08 08:11:36,822 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-02-08 08:11:36,838 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-02-08 08:11:36,840 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-02-08 08:11:36,841 INFO L270 PluginConnector]: Initializing CDTParser... [2025-02-08 08:11:36,841 INFO L274 PluginConnector]: CDTParser initialized [2025-02-08 08:11:36,846 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread/twostage_3-2.i [2025-02-08 08:11:38,100 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/041869d20/d46a091971c246f39b935106c1da756b/FLAGc14217216 [2025-02-08 08:11:38,377 INFO L384 CDTParser]: Found 1 translation units. [2025-02-08 08:11:38,377 INFO L180 CDTParser]: Scanning /storage/repos/ultimate-jdk21/releaseScripts/default/sv-benchmarks/c/pthread/twostage_3-2.i [2025-02-08 08:11:38,390 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/041869d20/d46a091971c246f39b935106c1da756b/FLAGc14217216 [2025-02-08 08:11:38,403 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/data/041869d20/d46a091971c246f39b935106c1da756b [2025-02-08 08:11:38,405 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-02-08 08:11:38,408 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-02-08 08:11:38,409 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-02-08 08:11:38,409 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-02-08 08:11:38,412 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-02-08 08:11:38,413 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.02 08:11:38" (1/1) ... [2025-02-08 08:11:38,414 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2fe9f841 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:38, skipping insertion in model container [2025-02-08 08:11:38,415 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 08.02 08:11:38" (1/1) ... [2025-02-08 08:11:38,451 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-02-08 08:11:38,822 WARN L1100 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2025-02-08 08:11:38,823 WARN L1100 CHandler]: saw a pointer cast to a type that we could not get a type size for, not adapting memory model [2025-02-08 08:11:38,833 WARN L1731 CHandler]: Possible shadowing of function lock [2025-02-08 08:11:38,836 WARN L1731 CHandler]: Possible shadowing of function lock [2025-02-08 08:11:38,836 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-08 08:11:38,847 INFO L200 MainTranslator]: Completed pre-run [2025-02-08 08:11:38,905 WARN L1731 CHandler]: Possible shadowing of function lock [2025-02-08 08:11:38,905 WARN L1731 CHandler]: Possible shadowing of function lock [2025-02-08 08:11:38,906 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-02-08 08:11:38,961 INFO L204 MainTranslator]: Completed translation [2025-02-08 08:11:38,962 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:38 WrapperNode [2025-02-08 08:11:38,962 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-02-08 08:11:38,963 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-02-08 08:11:38,963 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-02-08 08:11:38,963 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-02-08 08:11:38,968 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:38" (1/1) ... [2025-02-08 08:11:38,981 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:38" (1/1) ... [2025-02-08 08:11:38,995 INFO L138 Inliner]: procedures = 376, calls = 34, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 160 [2025-02-08 08:11:38,995 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-02-08 08:11:38,996 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-02-08 08:11:38,996 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-02-08 08:11:38,996 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-02-08 08:11:39,002 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:38" (1/1) ... [2025-02-08 08:11:39,002 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:38" (1/1) ... [2025-02-08 08:11:39,010 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:38" (1/1) ... [2025-02-08 08:11:39,023 INFO L175 MemorySlicer]: Split 6 memory accesses to 3 slices as follows [2, 2, 2]. 33 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2, 0, 0]. The 2 writes are split as follows [0, 1, 1]. [2025-02-08 08:11:39,023 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:38" (1/1) ... [2025-02-08 08:11:39,024 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:38" (1/1) ... [2025-02-08 08:11:39,034 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:38" (1/1) ... [2025-02-08 08:11:39,038 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:38" (1/1) ... [2025-02-08 08:11:39,042 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:38" (1/1) ... [2025-02-08 08:11:39,044 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:38" (1/1) ... [2025-02-08 08:11:39,046 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-02-08 08:11:39,046 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-02-08 08:11:39,046 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-02-08 08:11:39,047 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-02-08 08:11:39,047 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:38" (1/1) ... [2025-02-08 08:11:39,051 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-02-08 08:11:39,061 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-08 08:11:39,076 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2025-02-08 08:11:39,084 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2025-02-08 08:11:39,104 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4#0 [2025-02-08 08:11:39,104 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4#1 [2025-02-08 08:11:39,104 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4#2 [2025-02-08 08:11:39,104 INFO L130 BoogieDeclarations]: Found specification of procedure funcA [2025-02-08 08:11:39,104 INFO L138 BoogieDeclarations]: Found implementation of procedure funcA [2025-02-08 08:11:39,105 INFO L130 BoogieDeclarations]: Found specification of procedure funcB [2025-02-08 08:11:39,105 INFO L138 BoogieDeclarations]: Found implementation of procedure funcB [2025-02-08 08:11:39,105 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2025-02-08 08:11:39,105 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2025-02-08 08:11:39,105 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4#0 [2025-02-08 08:11:39,105 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4#1 [2025-02-08 08:11:39,105 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4#2 [2025-02-08 08:11:39,105 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#0 [2025-02-08 08:11:39,105 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#1 [2025-02-08 08:11:39,105 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#2 [2025-02-08 08:11:39,105 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2025-02-08 08:11:39,105 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2025-02-08 08:11:39,105 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2025-02-08 08:11:39,105 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-02-08 08:11:39,105 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-02-08 08:11:39,105 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-02-08 08:11:39,106 WARN L227 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-02-08 08:11:39,251 INFO L257 CfgBuilder]: Building ICFG [2025-02-08 08:11:39,252 INFO L287 CfgBuilder]: Building CFG for each procedure with an implementation [2025-02-08 08:11:39,555 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L1299: havoc main_~#rPool~0#1.base, main_~#rPool~0#1.offset; [2025-02-08 08:11:39,556 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L1299-1: SUMMARY for call ULTIMATE.dealloc(main_~#rPool~0#1.base, main_~#rPool~0#1.offset); srcloc: null [2025-02-08 08:11:39,556 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L1298: havoc main_~#tPool~0#1.base, main_~#tPool~0#1.offset; [2025-02-08 08:11:39,556 INFO L1324 $ProcedureCfgBuilder]: dead code at ProgramPoint L1298-1: SUMMARY for call ULTIMATE.dealloc(main_~#tPool~0#1.base, main_~#tPool~0#1.offset); srcloc: null [2025-02-08 08:11:39,557 INFO L304 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-02-08 08:11:39,557 INFO L308 CfgBuilder]: Performing block encoding [2025-02-08 08:11:39,654 INFO L332 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-02-08 08:11:39,654 INFO L337 CfgBuilder]: Removed 0 assume(true) statements. [2025-02-08 08:11:39,654 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.02 08:11:39 BoogieIcfgContainer [2025-02-08 08:11:39,654 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-02-08 08:11:39,656 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-02-08 08:11:39,656 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-02-08 08:11:39,659 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-02-08 08:11:39,660 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 08.02 08:11:38" (1/3) ... [2025-02-08 08:11:39,660 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6dfc16c0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.02 08:11:39, skipping insertion in model container [2025-02-08 08:11:39,660 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 08.02 08:11:38" (2/3) ... [2025-02-08 08:11:39,660 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6dfc16c0 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 08.02 08:11:39, skipping insertion in model container [2025-02-08 08:11:39,660 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.02 08:11:39" (3/3) ... [2025-02-08 08:11:39,661 INFO L128 eAbstractionObserver]: Analyzing ICFG twostage_3-2.i [2025-02-08 08:11:39,671 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-02-08 08:11:39,672 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG twostage_3-2.i that has 3 procedures, 69 locations, 1 initial locations, 4 loop locations, and 12 error locations. [2025-02-08 08:11:39,672 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2025-02-08 08:11:39,709 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2025-02-08 08:11:39,729 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 75 places, 79 transitions, 178 flow [2025-02-08 08:11:39,766 INFO L124 PetriNetUnfolderBase]: 16/168 cut-off events. [2025-02-08 08:11:39,768 INFO L125 PetriNetUnfolderBase]: For 8/8 co-relation queries the response was YES. [2025-02-08 08:11:39,770 INFO L83 FinitePrefix]: Finished finitePrefix Result has 185 conditions, 168 events. 16/168 cut-off events. For 8/8 co-relation queries the response was YES. Maximal size of possible extension queue 19. Compared 796 event pairs, 0 based on Foata normal form. 0/108 useless extension candidates. Maximal degree in co-relation 86. Up to 7 conditions per place. [2025-02-08 08:11:39,771 INFO L82 GeneralOperation]: Start removeDead. Operand has 75 places, 79 transitions, 178 flow [2025-02-08 08:11:39,773 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 75 places, 79 transitions, 178 flow [2025-02-08 08:11:39,778 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-02-08 08:11:39,785 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;@5ad14cd8, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-02-08 08:11:39,785 INFO L334 AbstractCegarLoop]: Starting to check reachability of 15 error locations. [2025-02-08 08:11:39,789 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-02-08 08:11:39,789 INFO L124 PetriNetUnfolderBase]: 1/6 cut-off events. [2025-02-08 08:11:39,789 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2025-02-08 08:11:39,789 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-08 08:11:39,789 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2025-02-08 08:11:39,790 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX === [ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2025-02-08 08:11:39,793 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 08:11:39,793 INFO L85 PathProgramCache]: Analyzing trace with hash 14347422, now seen corresponding path program 1 times [2025-02-08 08:11:39,799 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-02-08 08:11:39,800 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [366358752] [2025-02-08 08:11:39,800 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 08:11:39,800 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-08 08:11:39,800 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-08 08:11:39,806 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-02-08 08:11:39,812 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2025-02-08 08:11:39,936 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 4 statements into 1 equivalence classes. [2025-02-08 08:11:39,945 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 4 of 4 statements. [2025-02-08 08:11:39,946 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:11:39,946 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-08 08:11:39,952 INFO L256 TraceCheckSpWp]: Trace formula consists of 27 conjuncts, 1 conjuncts are in the unsatisfiable core [2025-02-08 08:11:39,954 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-02-08 08:11:39,983 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-02-08 08:11:39,984 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-02-08 08:11:39,984 INFO L136 FreeRefinementEngine]: Strategy FOX found an infeasible trace [2025-02-08 08:11:39,984 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [366358752] [2025-02-08 08:11:39,985 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [366358752] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-08 08:11:39,985 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-08 08:11:39,985 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2025-02-08 08:11:39,986 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1715642498] [2025-02-08 08:11:39,986 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-08 08:11:40,000 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2025-02-08 08:11:40,003 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FOX [2025-02-08 08:11:40,039 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2025-02-08 08:11:40,040 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2025-02-08 08:11:40,044 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 31 out of 79 [2025-02-08 08:11:40,050 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 75 places, 79 transitions, 178 flow. Second operand has 2 states, 2 states have (on average 32.0) internal successors, (64), 2 states have internal predecessors, (64), 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) [2025-02-08 08:11:40,051 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-08 08:11:40,051 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 31 of 79 [2025-02-08 08:11:40,051 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-08 08:11:40,537 INFO L124 PetriNetUnfolderBase]: 1878/3698 cut-off events. [2025-02-08 08:11:40,537 INFO L125 PetriNetUnfolderBase]: For 116/116 co-relation queries the response was YES. [2025-02-08 08:11:40,543 INFO L83 FinitePrefix]: Finished finitePrefix Result has 6755 conditions, 3698 events. 1878/3698 cut-off events. For 116/116 co-relation queries the response was YES. Maximal size of possible extension queue 135. Compared 23718 event pairs, 1757 based on Foata normal form. 180/3638 useless extension candidates. Maximal degree in co-relation 6188. Up to 2976 conditions per place. [2025-02-08 08:11:40,555 INFO L140 encePairwiseOnDemand]: 74/79 looper letters, 42 selfloop transitions, 0 changer transitions 0/73 dead transitions. [2025-02-08 08:11:40,555 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 73 places, 73 transitions, 250 flow [2025-02-08 08:11:40,556 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2025-02-08 08:11:40,558 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2025-02-08 08:11:40,562 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 109 transitions. [2025-02-08 08:11:40,564 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.689873417721519 [2025-02-08 08:11:40,565 INFO L175 Difference]: Start difference. First operand has 75 places, 79 transitions, 178 flow. Second operand 2 states and 109 transitions. [2025-02-08 08:11:40,565 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 73 places, 73 transitions, 250 flow [2025-02-08 08:11:40,569 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 73 transitions, 250 flow, removed 0 selfloop flow, removed 0 redundant places. [2025-02-08 08:11:40,570 INFO L231 Difference]: Finished difference. Result has 73 places, 73 transitions, 166 flow [2025-02-08 08:11:40,572 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=79, PETRI_DIFFERENCE_MINUEND_FLOW=166, PETRI_DIFFERENCE_MINUEND_PLACES=72, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=73, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=73, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=166, PETRI_PLACES=73, PETRI_TRANSITIONS=73} [2025-02-08 08:11:40,578 INFO L279 CegarLoopForPetriNet]: 75 programPoint places, -2 predicate places. [2025-02-08 08:11:40,578 INFO L471 AbstractCegarLoop]: Abstraction has has 73 places, 73 transitions, 166 flow [2025-02-08 08:11:40,578 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 32.0) internal successors, (64), 2 states have internal predecessors, (64), 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) [2025-02-08 08:11:40,578 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-08 08:11:40,578 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2025-02-08 08:11:40,592 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2025-02-08 08:11:40,779 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-08 08:11:40,779 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2025-02-08 08:11:40,779 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 08:11:40,779 INFO L85 PathProgramCache]: Analyzing trace with hash 444856701, now seen corresponding path program 1 times [2025-02-08 08:11:40,780 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-02-08 08:11:40,780 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1337679173] [2025-02-08 08:11:40,781 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 08:11:40,781 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-08 08:11:40,781 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-08 08:11:40,786 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-02-08 08:11:40,787 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2025-02-08 08:11:40,858 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 5 statements into 1 equivalence classes. [2025-02-08 08:11:40,868 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 5 of 5 statements. [2025-02-08 08:11:40,869 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:11:40,869 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-08 08:11:40,871 INFO L256 TraceCheckSpWp]: Trace formula consists of 64 conjuncts, 4 conjuncts are in the unsatisfiable core [2025-02-08 08:11:40,873 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-02-08 08:11:40,992 INFO L349 Elim1Store]: treesize reduction 17, result has 29.2 percent of original size [2025-02-08 08:11:40,992 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 2 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 14 treesize of output 15 [2025-02-08 08:11:41,039 INFO L349 Elim1Store]: treesize reduction 17, result has 29.2 percent of original size [2025-02-08 08:11:41,039 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 2 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 14 treesize of output 15 [2025-02-08 08:11:41,104 INFO L349 Elim1Store]: treesize reduction 17, result has 29.2 percent of original size [2025-02-08 08:11:41,105 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 5 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 19 treesize of output 15 [2025-02-08 08:11:41,139 INFO L349 Elim1Store]: treesize reduction 17, result has 29.2 percent of original size [2025-02-08 08:11:41,139 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 9 treesize of output 15 [2025-02-08 08:11:41,165 INFO L349 Elim1Store]: treesize reduction 17, result has 29.2 percent of original size [2025-02-08 08:11:41,166 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 9 treesize of output 15 [2025-02-08 08:11:41,199 INFO L349 Elim1Store]: treesize reduction 17, result has 29.2 percent of original size [2025-02-08 08:11:41,200 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 2 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 14 treesize of output 15 [2025-02-08 08:11:41,228 INFO L349 Elim1Store]: treesize reduction 17, result has 29.2 percent of original size [2025-02-08 08:11:41,228 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 9 treesize of output 15 [2025-02-08 08:11:41,252 INFO L349 Elim1Store]: treesize reduction 17, result has 29.2 percent of original size [2025-02-08 08:11:41,253 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 9 treesize of output 15 [2025-02-08 08:11:41,280 INFO L349 Elim1Store]: treesize reduction 17, result has 29.2 percent of original size [2025-02-08 08:11:41,281 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 2 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 14 treesize of output 15 [2025-02-08 08:11:41,320 INFO L349 Elim1Store]: treesize reduction 17, result has 29.2 percent of original size [2025-02-08 08:11:41,320 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 2 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 14 treesize of output 15 [2025-02-08 08:11:41,350 INFO L349 Elim1Store]: treesize reduction 17, result has 29.2 percent of original size [2025-02-08 08:11:41,350 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 9 treesize of output 15 [2025-02-08 08:11:41,374 INFO L349 Elim1Store]: treesize reduction 17, result has 29.2 percent of original size [2025-02-08 08:11:41,375 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 1 case distinctions, treesize of input 9 treesize of output 15 [2025-02-08 08:11:41,458 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-02-08 08:11:41,458 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-02-08 08:11:41,459 INFO L136 FreeRefinementEngine]: Strategy FOX found an infeasible trace [2025-02-08 08:11:41,459 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [1337679173] [2025-02-08 08:11:41,459 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [1337679173] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-08 08:11:41,459 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-08 08:11:41,459 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-02-08 08:11:41,459 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1629664743] [2025-02-08 08:11:41,459 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-08 08:11:41,459 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-02-08 08:11:41,460 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FOX [2025-02-08 08:11:41,460 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-02-08 08:11:41,460 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-02-08 08:11:41,545 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 27 out of 79 [2025-02-08 08:11:41,545 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 73 places, 73 transitions, 166 flow. Second operand has 3 states, 3 states have (on average 28.333333333333332) internal successors, (85), 3 states have internal predecessors, (85), 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) [2025-02-08 08:11:41,545 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-08 08:11:41,545 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 27 of 79 [2025-02-08 08:11:41,545 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-08 08:11:41,938 INFO L124 PetriNetUnfolderBase]: 2141/4185 cut-off events. [2025-02-08 08:11:41,938 INFO L125 PetriNetUnfolderBase]: For 115/123 co-relation queries the response was YES. [2025-02-08 08:11:41,943 INFO L83 FinitePrefix]: Finished finitePrefix Result has 7685 conditions, 4185 events. 2141/4185 cut-off events. For 115/123 co-relation queries the response was YES. Maximal size of possible extension queue 161. Compared 28577 event pairs, 1506 based on Foata normal form. 8/3967 useless extension candidates. Maximal degree in co-relation 7680. Up to 2578 conditions per place. [2025-02-08 08:11:41,955 INFO L140 encePairwiseOnDemand]: 75/79 looper letters, 63 selfloop transitions, 2 changer transitions 0/92 dead transitions. [2025-02-08 08:11:41,955 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 73 places, 92 transitions, 334 flow [2025-02-08 08:11:41,955 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2025-02-08 08:11:41,955 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 3 states. [2025-02-08 08:11:41,956 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 3 states to 3 states and 148 transitions. [2025-02-08 08:11:41,956 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.6244725738396625 [2025-02-08 08:11:41,956 INFO L175 Difference]: Start difference. First operand has 73 places, 73 transitions, 166 flow. Second operand 3 states and 148 transitions. [2025-02-08 08:11:41,956 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 73 places, 92 transitions, 334 flow [2025-02-08 08:11:41,958 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 73 places, 92 transitions, 334 flow, removed 0 selfloop flow, removed 0 redundant places. [2025-02-08 08:11:41,959 INFO L231 Difference]: Finished difference. Result has 73 places, 71 transitions, 166 flow [2025-02-08 08:11:41,959 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=79, PETRI_DIFFERENCE_MINUEND_FLOW=162, PETRI_DIFFERENCE_MINUEND_PLACES=71, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=71, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=69, PETRI_DIFFERENCE_SUBTRAHEND_STATES=3, PETRI_FLOW=166, PETRI_PLACES=73, PETRI_TRANSITIONS=71} [2025-02-08 08:11:41,960 INFO L279 CegarLoopForPetriNet]: 75 programPoint places, -2 predicate places. [2025-02-08 08:11:41,960 INFO L471 AbstractCegarLoop]: Abstraction has has 73 places, 71 transitions, 166 flow [2025-02-08 08:11:41,960 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 3 states have (on average 28.333333333333332) internal successors, (85), 3 states have internal predecessors, (85), 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) [2025-02-08 08:11:41,960 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-08 08:11:41,960 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1] [2025-02-08 08:11:41,967 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Forceful destruction successful, exit code 0 [2025-02-08 08:11:42,164 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-08 08:11:42,164 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr8REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2025-02-08 08:11:42,165 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 08:11:42,165 INFO L85 PathProgramCache]: Analyzing trace with hash 444856702, now seen corresponding path program 1 times [2025-02-08 08:11:42,165 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-02-08 08:11:42,165 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [41429452] [2025-02-08 08:11:42,165 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 08:11:42,166 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-08 08:11:42,166 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-08 08:11:42,167 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-02-08 08:11:42,171 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Waiting until timeout for monitored process [2025-02-08 08:11:42,227 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 5 statements into 1 equivalence classes. [2025-02-08 08:11:42,246 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 5 of 5 statements. [2025-02-08 08:11:42,246 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:11:42,246 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-02-08 08:11:42,252 INFO L256 TraceCheckSpWp]: Trace formula consists of 64 conjuncts, 8 conjuncts are in the unsatisfiable core [2025-02-08 08:11:42,254 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-02-08 08:11:42,319 INFO L190 IndexEqualityManager]: detected not equals via solver [2025-02-08 08:11:42,320 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 3 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 5 [2025-02-08 08:11:42,326 INFO L190 IndexEqualityManager]: detected not equals via solver [2025-02-08 08:11:42,330 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 10 treesize of output 8 [2025-02-08 08:11:42,338 INFO L190 IndexEqualityManager]: detected not equals via solver [2025-02-08 08:11:42,339 INFO L190 IndexEqualityManager]: detected not equals via solver [2025-02-08 08:11:42,340 INFO L173 IndexEqualityManager]: detected equality via solver [2025-02-08 08:11:42,346 INFO L190 IndexEqualityManager]: detected not equals via solver [2025-02-08 08:11:42,347 INFO L173 IndexEqualityManager]: detected equality via solver [2025-02-08 08:11:42,355 INFO L190 IndexEqualityManager]: detected not equals via solver [2025-02-08 08:11:42,357 INFO L190 IndexEqualityManager]: detected not equals via solver [2025-02-08 08:11:42,359 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 2 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 1 [2025-02-08 08:11:42,363 INFO L190 IndexEqualityManager]: detected not equals via solver [2025-02-08 08:11:42,364 INFO L173 IndexEqualityManager]: detected equality via solver [2025-02-08 08:11:42,367 INFO L173 IndexEqualityManager]: detected equality via solver [2025-02-08 08:11:42,374 INFO L173 IndexEqualityManager]: detected equality via solver [2025-02-08 08:11:42,381 INFO L190 IndexEqualityManager]: detected not equals via solver [2025-02-08 08:11:42,385 INFO L190 IndexEqualityManager]: detected not equals via solver [2025-02-08 08:11:42,387 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 4 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 1 [2025-02-08 08:11:42,392 INFO L190 IndexEqualityManager]: detected not equals via solver [2025-02-08 08:11:42,393 INFO L190 IndexEqualityManager]: detected not equals via solver [2025-02-08 08:11:42,395 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 2 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 1 [2025-02-08 08:11:42,401 INFO L173 IndexEqualityManager]: detected equality via solver [2025-02-08 08:11:42,407 INFO L190 IndexEqualityManager]: detected not equals via solver [2025-02-08 08:11:42,412 INFO L190 IndexEqualityManager]: detected not equals via solver [2025-02-08 08:11:42,413 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 4 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 1 [2025-02-08 08:11:42,418 INFO L190 IndexEqualityManager]: detected not equals via solver [2025-02-08 08:11:42,420 INFO L190 IndexEqualityManager]: detected not equals via solver [2025-02-08 08:11:42,422 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 1 stores, 0 select indices, 0 select index equivalence classes, 2 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 1 [2025-02-08 08:11:42,437 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-02-08 08:11:42,437 INFO L308 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2025-02-08 08:11:42,437 INFO L136 FreeRefinementEngine]: Strategy FOX found an infeasible trace [2025-02-08 08:11:42,438 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [41429452] [2025-02-08 08:11:42,438 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [41429452] provided 1 perfect and 0 imperfect interpolant sequences [2025-02-08 08:11:42,438 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-02-08 08:11:42,438 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-02-08 08:11:42,438 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1136306733] [2025-02-08 08:11:42,438 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-02-08 08:11:42,438 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2025-02-08 08:11:42,438 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy FOX [2025-02-08 08:11:42,439 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2025-02-08 08:11:42,439 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2025-02-08 08:11:42,477 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 29 out of 79 [2025-02-08 08:11:42,478 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 73 places, 71 transitions, 166 flow. Second operand has 4 states, 4 states have (on average 30.0) internal successors, (120), 4 states have internal predecessors, (120), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-02-08 08:11:42,478 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-02-08 08:11:42,478 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 29 of 79 [2025-02-08 08:11:42,478 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-02-08 08:11:43,199 INFO L124 PetriNetUnfolderBase]: 4304/8534 cut-off events. [2025-02-08 08:11:43,200 INFO L125 PetriNetUnfolderBase]: For 524/524 co-relation queries the response was YES. [2025-02-08 08:11:43,211 INFO L83 FinitePrefix]: Finished finitePrefix Result has 15771 conditions, 8534 events. 4304/8534 cut-off events. For 524/524 co-relation queries the response was YES. Maximal size of possible extension queue 309. Compared 65821 event pairs, 3633 based on Foata normal form. 1/8079 useless extension candidates. Maximal degree in co-relation 15765. Up to 3417 conditions per place. [2025-02-08 08:11:43,243 INFO L140 encePairwiseOnDemand]: 73/79 looper letters, 93 selfloop transitions, 4 changer transitions 0/124 dead transitions. [2025-02-08 08:11:43,244 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 76 places, 124 transitions, 488 flow [2025-02-08 08:11:43,244 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2025-02-08 08:11:43,244 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2025-02-08 08:11:43,245 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 215 transitions. [2025-02-08 08:11:43,245 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.680379746835443 [2025-02-08 08:11:43,245 INFO L175 Difference]: Start difference. First operand has 73 places, 71 transitions, 166 flow. Second operand 4 states and 215 transitions. [2025-02-08 08:11:43,246 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 76 places, 124 transitions, 488 flow [2025-02-08 08:11:43,249 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 74 places, 124 transitions, 480 flow, removed 0 selfloop flow, removed 2 redundant places. [2025-02-08 08:11:43,251 INFO L231 Difference]: Finished difference. Result has 76 places, 73 transitions, 188 flow [2025-02-08 08:11:43,252 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=79, PETRI_DIFFERENCE_MINUEND_FLOW=162, PETRI_DIFFERENCE_MINUEND_PLACES=71, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=71, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=2, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=67, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=188, PETRI_PLACES=76, PETRI_TRANSITIONS=73} [2025-02-08 08:11:43,253 INFO L279 CegarLoopForPetriNet]: 75 programPoint places, 1 predicate places. [2025-02-08 08:11:43,253 INFO L471 AbstractCegarLoop]: Abstraction has has 76 places, 73 transitions, 188 flow [2025-02-08 08:11:43,253 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 30.0) internal successors, (120), 4 states have internal predecessors, (120), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-02-08 08:11:43,254 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-02-08 08:11:43,254 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2025-02-08 08:11:43,263 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (4)] Forceful destruction successful, exit code 0 [2025-02-08 08:11:43,454 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 4 /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-08 08:11:43,457 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting ULTIMATE.startErr8REQUIRES_VIOLATIONMEMORY_DEREFERENCE === [ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX, ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (and 12 more)] === [2025-02-08 08:11:43,457 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-02-08 08:11:43,458 INFO L85 PathProgramCache]: Analyzing trace with hash 185006888, now seen corresponding path program 1 times [2025-02-08 08:11:43,458 INFO L118 FreeRefinementEngine]: Executing refinement strategy FOX [2025-02-08 08:11:43,458 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleZ3 [1385570763] [2025-02-08 08:11:43,459 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-02-08 08:11:43,459 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-08 08:11:43,459 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 [2025-02-08 08:11:43,464 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-02-08 08:11:43,465 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Waiting until timeout for monitored process [2025-02-08 08:11:43,519 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 8 statements into 1 equivalence classes. [2025-02-08 08:11:43,532 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 8 of 8 statements. [2025-02-08 08:11:43,532 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:11:43,532 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-02-08 08:11:43,532 INFO L348 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2025-02-08 08:11:43,543 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 8 statements into 1 equivalence classes. [2025-02-08 08:11:43,553 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 8 of 8 statements. [2025-02-08 08:11:43,553 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-02-08 08:11:43,553 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is sat [2025-02-08 08:11:43,583 INFO L130 FreeRefinementEngine]: Strategy FOX found a feasible trace [2025-02-08 08:11:43,585 INFO L340 BasicCegarLoop]: Counterexample is feasible [2025-02-08 08:11:43,586 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr8REQUIRES_VIOLATIONMEMORY_DEREFERENCE (14 of 15 remaining) [2025-02-08 08:11:43,587 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr10ASSERT_VIOLATIONARRAY_INDEX (13 of 15 remaining) [2025-02-08 08:11:43,587 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr9ASSERT_VIOLATIONARRAY_INDEX (12 of 15 remaining) [2025-02-08 08:11:43,587 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr7REQUIRES_VIOLATIONMEMORY_DEREFERENCE (11 of 15 remaining) [2025-02-08 08:11:43,587 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr5REQUIRES_VIOLATIONMEMORY_DEREFERENCE (10 of 15 remaining) [2025-02-08 08:11:43,587 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr6REQUIRES_VIOLATIONMEMORY_DEREFERENCE (9 of 15 remaining) [2025-02-08 08:11:43,587 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr3REQUIRES_VIOLATIONMEMORY_DEREFERENCE (8 of 15 remaining) [2025-02-08 08:11:43,587 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr4REQUIRES_VIOLATIONMEMORY_DEREFERENCE (7 of 15 remaining) [2025-02-08 08:11:43,587 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1REQUIRES_VIOLATIONMEMORY_DEREFERENCE (6 of 15 remaining) [2025-02-08 08:11:43,587 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr2REQUIRES_VIOLATIONMEMORY_DEREFERENCE (5 of 15 remaining) [2025-02-08 08:11:43,587 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (4 of 15 remaining) [2025-02-08 08:11:43,587 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 15 remaining) [2025-02-08 08:11:43,587 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (2 of 15 remaining) [2025-02-08 08:11:43,587 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONMEMORY_LEAK (1 of 15 remaining) [2025-02-08 08:11:43,587 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location funcBErr0ASSERT_VIOLATIONMEMORY_LEAK (0 of 15 remaining) [2025-02-08 08:11:43,598 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (5)] Ended with exit code 0 [2025-02-08 08:11:43,788 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 5 /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-02-08 08:11:43,789 INFO L422 BasicCegarLoop]: Path program histogram: [1, 1, 1, 1] [2025-02-08 08:11:43,813 INFO L241 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2025-02-08 08:11:43,814 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2025-02-08 08:11:43,818 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 08.02 08:11:43 BasicIcfg [2025-02-08 08:11:43,819 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2025-02-08 08:11:43,820 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2025-02-08 08:11:43,820 INFO L270 PluginConnector]: Initializing Witness Printer... [2025-02-08 08:11:43,820 INFO L274 PluginConnector]: Witness Printer initialized [2025-02-08 08:11:43,820 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 08.02 08:11:39" (3/4) ... [2025-02-08 08:11:43,822 INFO L149 WitnessPrinter]: No result that supports witness generation found [2025-02-08 08:11:43,822 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2025-02-08 08:11:43,823 INFO L158 Benchmark]: Toolchain (without parser) took 5415.20ms. Allocated memory was 142.6MB in the beginning and 218.1MB in the end (delta: 75.5MB). Free memory was 112.5MB in the beginning and 82.9MB in the end (delta: 29.5MB). Peak memory consumption was 109.7MB. Max. memory is 16.1GB. [2025-02-08 08:11:43,823 INFO L158 Benchmark]: CDTParser took 0.41ms. Allocated memory is still 117.4MB. Free memory is still 82.3MB. There was no memory consumed. Max. memory is 16.1GB. [2025-02-08 08:11:43,823 INFO L158 Benchmark]: CACSL2BoogieTranslator took 553.89ms. Allocated memory is still 142.6MB. Free memory was 112.5MB in the beginning and 71.3MB in the end (delta: 41.1MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. [2025-02-08 08:11:43,823 INFO L158 Benchmark]: Boogie Procedure Inliner took 32.36ms. Allocated memory is still 142.6MB. Free memory was 71.3MB in the beginning and 68.7MB in the end (delta: 2.7MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2025-02-08 08:11:43,824 INFO L158 Benchmark]: Boogie Preprocessor took 49.91ms. Allocated memory is still 142.6MB. Free memory was 68.7MB in the beginning and 66.3MB in the end (delta: 2.4MB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-08 08:11:43,824 INFO L158 Benchmark]: IcfgBuilder took 608.13ms. Allocated memory is still 142.6MB. Free memory was 66.3MB in the beginning and 84.6MB in the end (delta: -18.3MB). Peak memory consumption was 31.7MB. Max. memory is 16.1GB. [2025-02-08 08:11:43,825 INFO L158 Benchmark]: TraceAbstraction took 4162.75ms. Allocated memory was 142.6MB in the beginning and 218.1MB in the end (delta: 75.5MB). Free memory was 83.9MB in the beginning and 83.0MB in the end (delta: 881.7kB). Peak memory consumption was 78.0MB. Max. memory is 16.1GB. [2025-02-08 08:11:43,825 INFO L158 Benchmark]: Witness Printer took 2.46ms. Allocated memory is still 218.1MB. Free memory was 83.0MB in the beginning and 82.9MB in the end (delta: 85.1kB). There was no memory consumed. Max. memory is 16.1GB. [2025-02-08 08:11:43,826 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.41ms. Allocated memory is still 117.4MB. Free memory is still 82.3MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 553.89ms. Allocated memory is still 142.6MB. Free memory was 112.5MB in the beginning and 71.3MB in the end (delta: 41.1MB). Peak memory consumption was 41.9MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 32.36ms. Allocated memory is still 142.6MB. Free memory was 71.3MB in the beginning and 68.7MB in the end (delta: 2.7MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 49.91ms. Allocated memory is still 142.6MB. Free memory was 68.7MB in the beginning and 66.3MB in the end (delta: 2.4MB). There was no memory consumed. Max. memory is 16.1GB. * IcfgBuilder took 608.13ms. Allocated memory is still 142.6MB. Free memory was 66.3MB in the beginning and 84.6MB in the end (delta: -18.3MB). Peak memory consumption was 31.7MB. Max. memory is 16.1GB. * TraceAbstraction took 4162.75ms. Allocated memory was 142.6MB in the beginning and 218.1MB in the end (delta: 75.5MB). Free memory was 83.9MB in the beginning and 83.0MB in the end (delta: 881.7kB). Peak memory consumption was 78.0MB. Max. memory is 16.1GB. * Witness Printer took 2.46ms. Allocated memory is still 218.1MB. Free memory was 83.0MB in the beginning and 82.9MB in the end (delta: 85.1kB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: overapproximation of sscanf at line 1284, overapproximation of sscanf at line 1285. Possible FailurePath: [L1236] static int iTThreads = 2; [L1237] static int iRThreads = 1; [L1238] static int data1Value = 0; [L1239] static int data2Value = 0; [L1240] pthread_mutex_t *data1Lock; [L1241] pthread_mutex_t *data2Lock; [L1278] int i,err; VAL [\old(argc)=3, \old(argv)={0:0}, argc=3, data1Lock={0:0}, data1Value=0, data2Lock={0:0}, data2Value=0, iRThreads=1, iTThreads=2] [L1279] COND TRUE argc != 1 VAL [\old(argc)=3, \old(argv)={0:0}, argc=3, data1Lock={0:0}, data1Value=0, data2Lock={0:0}, data2Value=0, iRThreads=1, iTThreads=2] [L1280] COND FALSE !(argc != 3) VAL [\old(argc)=3, \old(argv)={0:0}, argc=3, data1Lock={0:0}, data1Value=0, data2Lock={0:0}, data2Value=0, iRThreads=1, iTThreads=2] [L1284] argv[1] [L1285] argv[2] [L1288] data1Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) [L1289] data2Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) [L1290] EXPR err = pthread_mutex_init(data1Lock, ((void *)0)) [L1290] COND FALSE !(0 != (err = pthread_mutex_init(data1Lock, ((void *)0)))) [L1294] EXPR err = pthread_mutex_init(data2Lock, ((void *)0)) [L1294] COND FALSE !(0 != (err = pthread_mutex_init(data2Lock, ((void *)0)))) [L1298] pthread_t tPool[iTThreads]; [L1299] pthread_t rPool[iRThreads]; [L1300] i = 0 VAL [\old(argc)=3, \old(argv)={0:0}, argc=3, data1Lock={4:0}, data1Value=0, data2Lock={5:0}, data2Value=0, err=0, i=0, iRThreads=0, iTThreads=1073741824, rPool={15:0}, tPool={7:0}] [L1300] COND TRUE i < iTThreads - UnprovableResult [Line: 1284]: Unable to prove that array index is always in bounds Unable to prove that array index is always in bounds Reason: Not analyzed. - UnprovableResult [Line: 1285]: Unable to prove that array index is always in bounds Unable to prove that array index is always in bounds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: -1]: Unable to prove that pointer dereference always succeeds Unable to prove that pointer dereference always succeeds Reason: Not analyzed. - UnprovableResult [Line: 1277]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - UnprovableResult [Line: 1307]: 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: 1301]: 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: 20]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 5 procedures, 105 locations, 15 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: 4.1s, OverallIterations: 4, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 1.9s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 169 SdHoareTripleChecker+Valid, 0.6s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 130 mSDsluCounter, 6 SdHoareTripleChecker+Invalid, 0.4s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 2 mSDsCounter, 5 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 331 IncrementalHoareTripleChecker+Invalid, 336 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 5 mSolverCounterUnsat, 4 mSDtfsCounter, 331 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 12 GetRequests, 8 SyntacticMatches, 0 SemanticMatches, 4 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=188occurred in iteration=3, InterpolantAutomatonStates: 9, 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.8s InterpolantComputationTime, 22 NumberOfCodeBlocks, 22 NumberOfCodeBlocksAsserted, 4 NumberOfCheckSat, 11 ConstructedInterpolants, 2 QuantifiedInterpolants, 133 SizeOfPredicates, 7 NumberOfNonLiveVariables, 155 ConjunctsInSsa, 13 ConjunctsInUnsatCore, 3 InterpolantComputations, 3 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, ConComCheckerStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2025-02-08 08:11:43,842 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate-jdk21/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample