./Ultimate.py --spec ../sv-benchmarks/c/properties/no-overflow.prp --file ../sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 8fc3dc66 Calling Ultimate with: /root/.sdkman/candidates/java/21.0.5-tem/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerReach.xml -i ../sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Overflow-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 2e9e4bd6e9b16aa5f22ad2335ca34ba741869a12ab5a04a80108cf42ed170c0f --- Real Ultimate output --- This is Ultimate 0.3.0-?-8fc3dc6-m [2025-03-17 19:43:37,274 INFO L188 SettingsManager]: Resetting all preferences to default values... [2025-03-17 19:43:37,322 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-Overflow-32bit-Automizer_Default.epf [2025-03-17 19:43:37,327 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2025-03-17 19:43:37,328 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2025-03-17 19:43:37,350 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2025-03-17 19:43:37,352 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2025-03-17 19:43:37,352 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2025-03-17 19:43:37,352 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2025-03-17 19:43:37,353 INFO L153 SettingsManager]: * Use memory slicer=true [2025-03-17 19:43:37,353 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2025-03-17 19:43:37,353 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2025-03-17 19:43:37,354 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2025-03-17 19:43:37,354 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2025-03-17 19:43:37,354 INFO L153 SettingsManager]: * Use SBE=true [2025-03-17 19:43:37,354 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2025-03-17 19:43:37,354 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2025-03-17 19:43:37,355 INFO L153 SettingsManager]: * sizeof long=4 [2025-03-17 19:43:37,355 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2025-03-17 19:43:37,355 INFO L153 SettingsManager]: * sizeof POINTER=4 [2025-03-17 19:43:37,355 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2025-03-17 19:43:37,355 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2025-03-17 19:43:37,355 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2025-03-17 19:43:37,355 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2025-03-17 19:43:37,355 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2025-03-17 19:43:37,355 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2025-03-17 19:43:37,355 INFO L153 SettingsManager]: * sizeof long double=12 [2025-03-17 19:43:37,355 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2025-03-17 19:43:37,356 INFO L153 SettingsManager]: * Behaviour of calls to undefined functions=OVERAPPROXIMATE_BEHAVIOUR [2025-03-17 19:43:37,356 INFO L153 SettingsManager]: * Use constant arrays=true [2025-03-17 19:43:37,356 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2025-03-17 19:43:37,356 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2025-03-17 19:43:37,356 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2025-03-17 19:43:37,356 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2025-03-17 19:43:37,357 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-17 19:43:37,357 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2025-03-17 19:43:37,357 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2025-03-17 19:43:37,357 INFO L153 SettingsManager]: * Compute procedure contracts=false [2025-03-17 19:43:37,357 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2025-03-17 19:43:37,357 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2025-03-17 19:43:37,357 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2025-03-17 19:43:37,357 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2025-03-17 19:43:37,357 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2025-03-17 19:43:37,357 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2025-03-17 19:43:37,357 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2025-03-17 19:43:37,357 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/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 ! overflow) ) 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 -> 2e9e4bd6e9b16aa5f22ad2335ca34ba741869a12ab5a04a80108cf42ed170c0f [2025-03-17 19:43:37,576 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2025-03-17 19:43:37,583 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2025-03-17 19:43:37,584 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2025-03-17 19:43:37,585 INFO L270 PluginConnector]: Initializing CDTParser... [2025-03-17 19:43:37,585 INFO L274 PluginConnector]: CDTParser initialized [2025-03-17 19:43:37,586 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c [2025-03-17 19:43:38,746 INFO L533 CDTParser]: Created temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b1770e563/e88af757db3c460da040653c6f3788ef/FLAG07cc77bc9 [2025-03-17 19:43:38,972 INFO L384 CDTParser]: Found 1 translation units. [2025-03-17 19:43:38,973 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c [2025-03-17 19:43:38,979 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b1770e563/e88af757db3c460da040653c6f3788ef/FLAG07cc77bc9 [2025-03-17 19:43:38,990 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/b1770e563/e88af757db3c460da040653c6f3788ef [2025-03-17 19:43:38,992 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2025-03-17 19:43:38,994 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2025-03-17 19:43:38,995 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2025-03-17 19:43:38,995 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2025-03-17 19:43:38,999 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2025-03-17 19:43:38,999 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.03 07:43:38" (1/1) ... [2025-03-17 19:43:39,000 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@2913649e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 07:43:39, skipping insertion in model container [2025-03-17 19:43:39,000 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 17.03 07:43:38" (1/1) ... [2025-03-17 19:43:39,014 INFO L175 MainTranslator]: Built tables and reachable declarations [2025-03-17 19:43:39,158 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-17 19:43:39,170 INFO L200 MainTranslator]: Completed pre-run [2025-03-17 19:43:39,202 INFO L210 PostProcessor]: Analyzing one entry point: main [2025-03-17 19:43:39,215 INFO L204 MainTranslator]: Completed translation [2025-03-17 19:43:39,216 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 07:43:39 WrapperNode [2025-03-17 19:43:39,216 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2025-03-17 19:43:39,217 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2025-03-17 19:43:39,217 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2025-03-17 19:43:39,217 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2025-03-17 19:43:39,221 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 07:43:39" (1/1) ... [2025-03-17 19:43:39,229 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 07:43:39" (1/1) ... [2025-03-17 19:43:39,255 INFO L138 Inliner]: procedures = 25, calls = 60, calls flagged for inlining = 18, calls inlined = 22, statements flattened = 341 [2025-03-17 19:43:39,260 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2025-03-17 19:43:39,260 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2025-03-17 19:43:39,260 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2025-03-17 19:43:39,260 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2025-03-17 19:43:39,268 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 07:43:39" (1/1) ... [2025-03-17 19:43:39,268 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 07:43:39" (1/1) ... [2025-03-17 19:43:39,275 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 07:43:39" (1/1) ... [2025-03-17 19:43:39,295 INFO L175 MemorySlicer]: Split 8 memory accesses to 2 slices as follows [2, 6]. 75 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2, 0]. The 2 writes are split as follows [0, 2]. [2025-03-17 19:43:39,295 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 07:43:39" (1/1) ... [2025-03-17 19:43:39,295 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 07:43:39" (1/1) ... [2025-03-17 19:43:39,308 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 07:43:39" (1/1) ... [2025-03-17 19:43:39,309 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 07:43:39" (1/1) ... [2025-03-17 19:43:39,310 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 07:43:39" (1/1) ... [2025-03-17 19:43:39,314 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 07:43:39" (1/1) ... [2025-03-17 19:43:39,316 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2025-03-17 19:43:39,317 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2025-03-17 19:43:39,317 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2025-03-17 19:43:39,317 INFO L274 PluginConnector]: IcfgBuilder initialized [2025-03-17 19:43:39,321 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 07:43:39" (1/1) ... [2025-03-17 19:43:39,326 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2025-03-17 19:43:39,334 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-17 19:43:39,348 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2025-03-17 19:43:39,350 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2025-03-17 19:43:39,370 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2025-03-17 19:43:39,370 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2025-03-17 19:43:39,370 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2025-03-17 19:43:39,370 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2025-03-17 19:43:39,370 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2025-03-17 19:43:39,371 INFO L130 BoogieDeclarations]: Found specification of procedure thread3 [2025-03-17 19:43:39,371 INFO L138 BoogieDeclarations]: Found implementation of procedure thread3 [2025-03-17 19:43:39,371 INFO L130 BoogieDeclarations]: Found specification of procedure thread4 [2025-03-17 19:43:39,371 INFO L138 BoogieDeclarations]: Found implementation of procedure thread4 [2025-03-17 19:43:39,371 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2025-03-17 19:43:39,371 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#1 [2025-03-17 19:43:39,371 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#0 [2025-03-17 19:43:39,371 INFO L130 BoogieDeclarations]: Found specification of procedure write~int#1 [2025-03-17 19:43:39,371 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2025-03-17 19:43:39,372 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2025-03-17 19:43:39,372 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2025-03-17 19:43:39,372 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2025-03-17 19:43:39,372 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2025-03-17 19:43:39,372 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#0 [2025-03-17 19:43:39,372 INFO L130 BoogieDeclarations]: Found specification of procedure read~int#1 [2025-03-17 19:43:39,373 WARN L225 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2025-03-17 19:43:39,464 INFO L256 CfgBuilder]: Building ICFG [2025-03-17 19:43:39,466 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2025-03-17 19:43:39,878 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2025-03-17 19:43:39,878 INFO L307 CfgBuilder]: Performing block encoding [2025-03-17 19:43:40,235 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2025-03-17 19:43:40,235 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2025-03-17 19:43:40,264 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.03 07:43:40 BoogieIcfgContainer [2025-03-17 19:43:40,265 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2025-03-17 19:43:40,266 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2025-03-17 19:43:40,267 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2025-03-17 19:43:40,270 INFO L274 PluginConnector]: TraceAbstraction initialized [2025-03-17 19:43:40,271 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 17.03 07:43:38" (1/3) ... [2025-03-17 19:43:40,272 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2b12e77e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.03 07:43:40, skipping insertion in model container [2025-03-17 19:43:40,272 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 17.03 07:43:39" (2/3) ... [2025-03-17 19:43:40,272 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@2b12e77e and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 17.03 07:43:40, skipping insertion in model container [2025-03-17 19:43:40,272 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 17.03 07:43:40" (3/3) ... [2025-03-17 19:43:40,273 INFO L128 eAbstractionObserver]: Analyzing ICFG popl20-bad-buffer-mult-alt.wvr.c [2025-03-17 19:43:40,285 INFO L216 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2025-03-17 19:43:40,286 INFO L151 ceAbstractionStarter]: Applying trace abstraction to ICFG popl20-bad-buffer-mult-alt.wvr.c that has 5 procedures, 77 locations, 1 initial locations, 6 loop locations, and 30 error locations. [2025-03-17 19:43:40,286 INFO L491 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2025-03-17 19:43:40,405 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2025-03-17 19:43:40,433 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 89 places, 82 transitions, 192 flow [2025-03-17 19:43:40,475 INFO L124 PetriNetUnfolderBase]: 6/78 cut-off events. [2025-03-17 19:43:40,477 INFO L125 PetriNetUnfolderBase]: For 4/4 co-relation queries the response was YES. [2025-03-17 19:43:40,482 INFO L83 FinitePrefix]: Finished finitePrefix Result has 95 conditions, 78 events. 6/78 cut-off events. For 4/4 co-relation queries the response was YES. Maximal size of possible extension queue 12. Compared 275 event pairs, 0 based on Foata normal form. 0/42 useless extension candidates. Maximal degree in co-relation 65. Up to 2 conditions per place. [2025-03-17 19:43:40,482 INFO L82 GeneralOperation]: Start removeDead. Operand has 89 places, 82 transitions, 192 flow [2025-03-17 19:43:40,486 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 83 places, 76 transitions, 173 flow [2025-03-17 19:43:40,491 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2025-03-17 19:43:40,506 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=LoopHeads, 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;@c405281, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2025-03-17 19:43:40,506 INFO L334 AbstractCegarLoop]: Starting to check reachability of 60 error locations. [2025-03-17 19:43:40,509 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2025-03-17 19:43:40,509 INFO L124 PetriNetUnfolderBase]: 1/5 cut-off events. [2025-03-17 19:43:40,509 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2025-03-17 19:43:40,509 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-17 19:43:40,510 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1] [2025-03-17 19:43:40,510 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr3ASSERT_VIOLATIONINTEGER_OVERFLOW === [thread1Err3ASSERT_VIOLATIONINTEGER_OVERFLOW, thread1Err2ASSERT_VIOLATIONINTEGER_OVERFLOW, thread1Err1ASSERT_VIOLATIONINTEGER_OVERFLOW (and 57 more)] === [2025-03-17 19:43:40,514 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-17 19:43:40,514 INFO L85 PathProgramCache]: Analyzing trace with hash 956542, now seen corresponding path program 1 times [2025-03-17 19:43:40,519 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-17 19:43:40,521 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [43368891] [2025-03-17 19:43:40,521 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 19:43:40,521 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-17 19:43:40,578 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 3 statements into 1 equivalence classes. [2025-03-17 19:43:40,602 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 3 of 3 statements. [2025-03-17 19:43:40,603 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 19:43:40,603 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-17 19:43:40,714 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-03-17 19:43:40,716 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-17 19:43:40,717 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [43368891] [2025-03-17 19:43:40,717 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [43368891] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-17 19:43:40,717 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-17 19:43:40,717 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-03-17 19:43:40,718 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [493346421] [2025-03-17 19:43:40,719 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-17 19:43:40,724 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2025-03-17 19:43:40,727 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-17 19:43:40,742 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2025-03-17 19:43:40,743 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2025-03-17 19:43:40,757 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 14 out of 82 [2025-03-17 19:43:40,760 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 83 places, 76 transitions, 173 flow. Second operand has 4 states, 4 states have (on average 14.75) internal successors, (59), 4 states have internal predecessors, (59), 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-03-17 19:43:40,760 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-03-17 19:43:40,760 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 14 of 82 [2025-03-17 19:43:40,761 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-03-17 19:43:46,078 INFO L124 PetriNetUnfolderBase]: 52620/69071 cut-off events. [2025-03-17 19:43:46,079 INFO L125 PetriNetUnfolderBase]: For 1740/1740 co-relation queries the response was YES. [2025-03-17 19:43:46,257 INFO L83 FinitePrefix]: Finished finitePrefix Result has 139698 conditions, 69071 events. 52620/69071 cut-off events. For 1740/1740 co-relation queries the response was YES. Maximal size of possible extension queue 4365. Compared 456885 event pairs, 46020 based on Foata normal form. 2/38277 useless extension candidates. Maximal degree in co-relation 131766. Up to 68096 conditions per place. [2025-03-17 19:43:46,551 INFO L140 encePairwiseOnDemand]: 66/82 looper letters, 50 selfloop transitions, 6 changer transitions 0/66 dead transitions. [2025-03-17 19:43:46,552 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 76 places, 66 transitions, 265 flow [2025-03-17 19:43:46,553 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2025-03-17 19:43:46,554 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2025-03-17 19:43:46,562 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 122 transitions. [2025-03-17 19:43:46,564 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.3719512195121951 [2025-03-17 19:43:46,565 INFO L175 Difference]: Start difference. First operand has 83 places, 76 transitions, 173 flow. Second operand 4 states and 122 transitions. [2025-03-17 19:43:46,566 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 76 places, 66 transitions, 265 flow [2025-03-17 19:43:46,654 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 69 places, 66 transitions, 252 flow, removed 0 selfloop flow, removed 7 redundant places. [2025-03-17 19:43:46,657 INFO L231 Difference]: Finished difference. Result has 69 places, 66 transitions, 152 flow [2025-03-17 19:43:46,659 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=82, PETRI_DIFFERENCE_MINUEND_FLOW=140, PETRI_DIFFERENCE_MINUEND_PLACES=66, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=66, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=6, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=60, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=152, PETRI_PLACES=69, PETRI_TRANSITIONS=66} [2025-03-17 19:43:46,661 INFO L279 CegarLoopForPetriNet]: 83 programPoint places, -14 predicate places. [2025-03-17 19:43:46,664 INFO L471 AbstractCegarLoop]: Abstraction has has 69 places, 66 transitions, 152 flow [2025-03-17 19:43:46,664 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 14.75) internal successors, (59), 4 states have internal predecessors, (59), 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-03-17 19:43:46,664 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-17 19:43:46,664 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2025-03-17 19:43:46,664 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2025-03-17 19:43:46,664 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW === [thread1Err3ASSERT_VIOLATIONINTEGER_OVERFLOW, thread1Err2ASSERT_VIOLATIONINTEGER_OVERFLOW, thread1Err1ASSERT_VIOLATIONINTEGER_OVERFLOW (and 57 more)] === [2025-03-17 19:43:46,665 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-17 19:43:46,665 INFO L85 PathProgramCache]: Analyzing trace with hash 29653655, now seen corresponding path program 1 times [2025-03-17 19:43:46,665 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-17 19:43:46,665 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1150047741] [2025-03-17 19:43:46,665 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 19:43:46,665 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-17 19:43:46,675 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 4 statements into 1 equivalence classes. [2025-03-17 19:43:46,687 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 4 of 4 statements. [2025-03-17 19:43:46,690 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 19:43:46,690 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-17 19:43:46,758 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-03-17 19:43:46,758 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-17 19:43:46,758 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1150047741] [2025-03-17 19:43:46,758 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1150047741] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-17 19:43:46,758 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-17 19:43:46,758 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-03-17 19:43:46,758 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [470295681] [2025-03-17 19:43:46,758 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-17 19:43:46,759 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2025-03-17 19:43:46,759 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-17 19:43:46,759 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2025-03-17 19:43:46,759 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2025-03-17 19:43:46,770 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 14 out of 82 [2025-03-17 19:43:46,770 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 69 places, 66 transitions, 152 flow. Second operand has 4 states, 4 states have (on average 14.75) internal successors, (59), 4 states have internal predecessors, (59), 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-03-17 19:43:46,770 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-03-17 19:43:46,770 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 14 of 82 [2025-03-17 19:43:46,770 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-03-17 19:43:51,565 INFO L124 PetriNetUnfolderBase]: 52622/69079 cut-off events. [2025-03-17 19:43:51,566 INFO L125 PetriNetUnfolderBase]: For 174/174 co-relation queries the response was YES. [2025-03-17 19:43:51,652 INFO L83 FinitePrefix]: Finished finitePrefix Result has 138731 conditions, 69079 events. 52622/69079 cut-off events. For 174/174 co-relation queries the response was YES. Maximal size of possible extension queue 4365. Compared 456977 event pairs, 46020 based on Foata normal form. 2/38287 useless extension candidates. Maximal degree in co-relation 138683. Up to 68105 conditions per place. [2025-03-17 19:43:51,928 INFO L140 encePairwiseOnDemand]: 73/82 looper letters, 55 selfloop transitions, 7 changer transitions 0/72 dead transitions. [2025-03-17 19:43:51,928 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 72 places, 72 transitions, 298 flow [2025-03-17 19:43:51,930 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2025-03-17 19:43:51,930 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2025-03-17 19:43:51,930 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 120 transitions. [2025-03-17 19:43:51,930 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.36585365853658536 [2025-03-17 19:43:51,930 INFO L175 Difference]: Start difference. First operand has 69 places, 66 transitions, 152 flow. Second operand 4 states and 120 transitions. [2025-03-17 19:43:51,930 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 72 places, 72 transitions, 298 flow [2025-03-17 19:43:51,931 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 69 places, 72 transitions, 276 flow, removed 0 selfloop flow, removed 3 redundant places. [2025-03-17 19:43:51,934 INFO L231 Difference]: Finished difference. Result has 72 places, 72 transitions, 196 flow [2025-03-17 19:43:51,934 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=82, PETRI_DIFFERENCE_MINUEND_FLOW=140, PETRI_DIFFERENCE_MINUEND_PLACES=66, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=66, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=1, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=59, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=196, PETRI_PLACES=72, PETRI_TRANSITIONS=72} [2025-03-17 19:43:51,935 INFO L279 CegarLoopForPetriNet]: 83 programPoint places, -11 predicate places. [2025-03-17 19:43:51,935 INFO L471 AbstractCegarLoop]: Abstraction has has 72 places, 72 transitions, 196 flow [2025-03-17 19:43:51,935 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 14.75) internal successors, (59), 4 states have internal predecessors, (59), 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-03-17 19:43:51,935 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-17 19:43:51,935 INFO L206 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1] [2025-03-17 19:43:51,935 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2025-03-17 19:43:51,935 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting ULTIMATE.startErr2ASSERT_VIOLATIONINTEGER_OVERFLOW === [thread1Err3ASSERT_VIOLATIONINTEGER_OVERFLOW, thread1Err2ASSERT_VIOLATIONINTEGER_OVERFLOW, thread1Err1ASSERT_VIOLATIONINTEGER_OVERFLOW (and 57 more)] === [2025-03-17 19:43:51,936 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-17 19:43:51,936 INFO L85 PathProgramCache]: Analyzing trace with hash -1350261949, now seen corresponding path program 1 times [2025-03-17 19:43:51,936 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-17 19:43:51,936 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [273519602] [2025-03-17 19:43:51,936 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 19:43:51,936 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-17 19:43:51,945 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 7 statements into 1 equivalence classes. [2025-03-17 19:43:51,953 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 7 of 7 statements. [2025-03-17 19:43:51,953 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 19:43:51,953 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-17 19:43:52,015 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-03-17 19:43:52,015 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-17 19:43:52,015 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [273519602] [2025-03-17 19:43:52,015 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [273519602] provided 0 perfect and 1 imperfect interpolant sequences [2025-03-17 19:43:52,015 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [630239890] [2025-03-17 19:43:52,015 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 19:43:52,016 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-03-17 19:43:52,016 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2025-03-17 19:43:52,018 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2025-03-17 19:43:52,021 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Waiting until timeout for monitored process [2025-03-17 19:43:52,093 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 7 statements into 1 equivalence classes. [2025-03-17 19:43:52,105 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 7 of 7 statements. [2025-03-17 19:43:52,105 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 19:43:52,105 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-17 19:43:52,107 INFO L256 TraceCheckSpWp]: Trace formula consists of 93 conjuncts, 5 conjuncts are in the unsatisfiable core [2025-03-17 19:43:52,109 INFO L279 TraceCheckSpWp]: Computing forward predicates... [2025-03-17 19:43:52,135 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-03-17 19:43:52,136 INFO L312 TraceCheckSpWp]: Computing backward predicates... [2025-03-17 19:43:52,175 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 0 proven. 3 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-03-17 19:43:52,175 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [630239890] provided 0 perfect and 2 imperfect interpolant sequences [2025-03-17 19:43:52,175 INFO L185 FreeRefinementEngine]: Found 0 perfect and 3 imperfect interpolant sequences. [2025-03-17 19:43:52,175 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [] imperfect sequences [4, 4, 4] total 8 [2025-03-17 19:43:52,176 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [472726835] [2025-03-17 19:43:52,176 INFO L85 oduleStraightlineAll]: Using 3 imperfect interpolants to construct interpolant automaton [2025-03-17 19:43:52,176 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 10 states [2025-03-17 19:43:52,176 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-17 19:43:52,176 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 10 interpolants. [2025-03-17 19:43:52,176 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=29, Invalid=61, Unknown=0, NotChecked=0, Total=90 [2025-03-17 19:43:52,201 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 14 out of 82 [2025-03-17 19:43:52,201 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 72 places, 72 transitions, 196 flow. Second operand has 10 states, 10 states have (on average 15.0) internal successors, (150), 10 states have internal predecessors, (150), 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-03-17 19:43:52,201 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-03-17 19:43:52,201 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 14 of 82 [2025-03-17 19:43:52,201 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-03-17 19:43:57,362 INFO L124 PetriNetUnfolderBase]: 52628/69103 cut-off events. [2025-03-17 19:43:57,362 INFO L125 PetriNetUnfolderBase]: For 188/188 co-relation queries the response was YES. [2025-03-17 19:43:57,456 INFO L83 FinitePrefix]: Finished finitePrefix Result has 138807 conditions, 69103 events. 52628/69103 cut-off events. For 188/188 co-relation queries the response was YES. Maximal size of possible extension queue 4365. Compared 457164 event pairs, 46020 based on Foata normal form. 0/38305 useless extension candidates. Maximal degree in co-relation 138694. Up to 68108 conditions per place. [2025-03-17 19:43:57,724 INFO L140 encePairwiseOnDemand]: 73/82 looper letters, 55 selfloop transitions, 25 changer transitions 0/90 dead transitions. [2025-03-17 19:43:57,725 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 81 places, 90 transitions, 434 flow [2025-03-17 19:43:57,725 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 10 states. [2025-03-17 19:43:57,725 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 10 states. [2025-03-17 19:43:57,726 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 10 states to 10 states and 226 transitions. [2025-03-17 19:43:57,728 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.275609756097561 [2025-03-17 19:43:57,728 INFO L175 Difference]: Start difference. First operand has 72 places, 72 transitions, 196 flow. Second operand 10 states and 226 transitions. [2025-03-17 19:43:57,728 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 81 places, 90 transitions, 434 flow [2025-03-17 19:43:57,729 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 81 places, 90 transitions, 434 flow, removed 0 selfloop flow, removed 0 redundant places. [2025-03-17 19:43:57,730 INFO L231 Difference]: Finished difference. Result has 84 places, 90 transitions, 358 flow [2025-03-17 19:43:57,730 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=82, PETRI_DIFFERENCE_MINUEND_FLOW=196, PETRI_DIFFERENCE_MINUEND_PLACES=72, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=72, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=12, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=60, PETRI_DIFFERENCE_SUBTRAHEND_STATES=10, PETRI_FLOW=358, PETRI_PLACES=84, PETRI_TRANSITIONS=90} [2025-03-17 19:43:57,730 INFO L279 CegarLoopForPetriNet]: 83 programPoint places, 1 predicate places. [2025-03-17 19:43:57,731 INFO L471 AbstractCegarLoop]: Abstraction has has 84 places, 90 transitions, 358 flow [2025-03-17 19:43:57,731 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 10 states, 10 states have (on average 15.0) internal successors, (150), 10 states have internal predecessors, (150), 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-03-17 19:43:57,731 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-17 19:43:57,731 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1] [2025-03-17 19:43:57,737 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (2)] Ended with exit code 0 [2025-03-17 19:43:57,931 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2,2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true [2025-03-17 19:43:57,932 INFO L396 AbstractCegarLoop]: === Iteration 4 === Targeting thread1Err2ASSERT_VIOLATIONINTEGER_OVERFLOW === [thread1Err3ASSERT_VIOLATIONINTEGER_OVERFLOW, thread1Err2ASSERT_VIOLATIONINTEGER_OVERFLOW, thread1Err1ASSERT_VIOLATIONINTEGER_OVERFLOW (and 57 more)] === [2025-03-17 19:43:57,932 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-17 19:43:57,932 INFO L85 PathProgramCache]: Analyzing trace with hash 969781400, now seen corresponding path program 1 times [2025-03-17 19:43:57,932 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-17 19:43:57,932 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1957467072] [2025-03-17 19:43:57,932 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 19:43:57,932 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-17 19:43:57,942 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 8 statements into 1 equivalence classes. [2025-03-17 19:43:57,964 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 8 of 8 statements. [2025-03-17 19:43:57,968 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 19:43:57,968 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-17 19:43:58,169 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-03-17 19:43:58,169 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-17 19:43:58,170 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1957467072] [2025-03-17 19:43:58,170 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1957467072] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-17 19:43:58,170 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-17 19:43:58,170 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-03-17 19:43:58,170 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [419300998] [2025-03-17 19:43:58,170 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-17 19:43:58,170 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 4 states [2025-03-17 19:43:58,170 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-17 19:43:58,171 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 4 interpolants. [2025-03-17 19:43:58,171 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=5, Invalid=7, Unknown=0, NotChecked=0, Total=12 [2025-03-17 19:43:58,171 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 18 out of 82 [2025-03-17 19:43:58,172 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 84 places, 90 transitions, 358 flow. Second operand has 4 states, 4 states have (on average 19.5) internal successors, (78), 4 states have internal predecessors, (78), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-03-17 19:43:58,172 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-03-17 19:43:58,172 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 18 of 82 [2025-03-17 19:43:58,172 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2025-03-17 19:44:03,924 INFO L124 PetriNetUnfolderBase]: 58521/77311 cut-off events. [2025-03-17 19:44:03,924 INFO L125 PetriNetUnfolderBase]: For 288/288 co-relation queries the response was YES. [2025-03-17 19:44:04,077 INFO L83 FinitePrefix]: Finished finitePrefix Result has 155389 conditions, 77311 events. 58521/77311 cut-off events. For 288/288 co-relation queries the response was YES. Maximal size of possible extension queue 4528. Compared 510053 event pairs, 51482 based on Foata normal form. 1290/46952 useless extension candidates. Maximal degree in co-relation 155295. Up to 68123 conditions per place. [2025-03-17 19:44:04,324 INFO L140 encePairwiseOnDemand]: 71/82 looper letters, 124 selfloop transitions, 3 changer transitions 0/139 dead transitions. [2025-03-17 19:44:04,324 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 87 places, 139 transitions, 790 flow [2025-03-17 19:44:04,325 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2025-03-17 19:44:04,325 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 4 states. [2025-03-17 19:44:04,325 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 4 states to 4 states and 174 transitions. [2025-03-17 19:44:04,325 INFO L514 CegarLoopForPetriNet]: DFA transition density 0.5304878048780488 [2025-03-17 19:44:04,326 INFO L175 Difference]: Start difference. First operand has 84 places, 90 transitions, 358 flow. Second operand 4 states and 174 transitions. [2025-03-17 19:44:04,326 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 87 places, 139 transitions, 790 flow [2025-03-17 19:44:04,329 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 83 places, 139 transitions, 696 flow, removed 29 selfloop flow, removed 4 redundant places. [2025-03-17 19:44:04,330 INFO L231 Difference]: Finished difference. Result has 84 places, 90 transitions, 317 flow [2025-03-17 19:44:04,330 INFO L262 CegarLoopForPetriNet]: {PETRI_ALPHABET=82, PETRI_DIFFERENCE_MINUEND_FLOW=294, PETRI_DIFFERENCE_MINUEND_PLACES=80, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=90, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=3, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=87, PETRI_DIFFERENCE_SUBTRAHEND_STATES=4, PETRI_FLOW=317, PETRI_PLACES=84, PETRI_TRANSITIONS=90} [2025-03-17 19:44:04,331 INFO L279 CegarLoopForPetriNet]: 83 programPoint places, 1 predicate places. [2025-03-17 19:44:04,331 INFO L471 AbstractCegarLoop]: Abstraction has has 84 places, 90 transitions, 317 flow [2025-03-17 19:44:04,331 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 4 states, 4 states have (on average 19.5) internal successors, (78), 4 states have internal predecessors, (78), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2025-03-17 19:44:04,331 INFO L198 CegarLoopForPetriNet]: Found error trace [2025-03-17 19:44:04,331 INFO L206 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2025-03-17 19:44:04,331 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2025-03-17 19:44:04,331 INFO L396 AbstractCegarLoop]: === Iteration 5 === Targeting thread2Err4ASSERT_VIOLATIONINTEGER_OVERFLOW === [thread1Err3ASSERT_VIOLATIONINTEGER_OVERFLOW, thread1Err2ASSERT_VIOLATIONINTEGER_OVERFLOW, thread1Err1ASSERT_VIOLATIONINTEGER_OVERFLOW (and 57 more)] === [2025-03-17 19:44:04,332 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2025-03-17 19:44:04,332 INFO L85 PathProgramCache]: Analyzing trace with hash -824353456, now seen corresponding path program 1 times [2025-03-17 19:44:04,332 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2025-03-17 19:44:04,332 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1809010775] [2025-03-17 19:44:04,332 INFO L97 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2025-03-17 19:44:04,332 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2025-03-17 19:44:04,341 INFO L108 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY partitioned 10 statements into 1 equivalence classes. [2025-03-17 19:44:04,353 INFO L111 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) and asserted 10 of 10 statements. [2025-03-17 19:44:04,353 INFO L114 AnnotateAndAsserter]: Assert order NOT_INCREMENTALLY issued 1 check-sat command(s) [2025-03-17 19:44:04,353 INFO L115 AnnotateAndAsserter]: Conjunction of SSA is unsat [2025-03-17 19:44:04,383 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2025-03-17 19:44:04,383 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2025-03-17 19:44:04,383 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1809010775] [2025-03-17 19:44:04,383 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1809010775] provided 1 perfect and 0 imperfect interpolant sequences [2025-03-17 19:44:04,383 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2025-03-17 19:44:04,383 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2025-03-17 19:44:04,383 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2061322376] [2025-03-17 19:44:04,384 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2025-03-17 19:44:04,384 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2025-03-17 19:44:04,384 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2025-03-17 19:44:04,384 INFO L144 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2025-03-17 19:44:04,384 INFO L146 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2025-03-17 19:44:04,384 INFO L469 CegarLoopForPetriNet]: Number of universal loopers: 18 out of 82 [2025-03-17 19:44:04,385 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 84 places, 90 transitions, 317 flow. Second operand has 3 states, 3 states have (on average 20.666666666666668) internal successors, (62), 3 states have internal predecessors, (62), 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-03-17 19:44:04,385 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2025-03-17 19:44:04,385 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 18 of 82 [2025-03-17 19:44:04,385 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand