./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/pthread-ext/28_buggy_simple_loop1_vf.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 023d838f Calling Ultimate with: /root/.sdkman/candidates/java/11.0.12-open/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/AutomizerMemDerefMemtrack.xml -i ../sv-benchmarks/c/pthread-ext/28_buggy_simple_loop1_vf.i -s /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Automizer --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash f7757e6e73d857d492b029f13f86cb5d550622238e5a2b483c58ab6fc3ffdeb1 --- Real Ultimate output --- This is Ultimate 0.2.5-tmp.fs.icfgbuilder-eval-023d838-m [2024-11-10 17:48:33,686 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-10 17:48:33,741 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/config/svcomp-DerefFreeMemtrack-32bit-Automizer_Default.epf [2024-11-10 17:48:33,747 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-10 17:48:33,747 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-10 17:48:33,773 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-10 17:48:33,775 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-10 17:48:33,775 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-10 17:48:33,776 INFO L151 SettingsManager]: Preferences of Boogie Preprocessor differ from their defaults: [2024-11-10 17:48:33,780 INFO L153 SettingsManager]: * Use memory slicer=true [2024-11-10 17:48:33,780 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-10 17:48:33,780 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-10 17:48:33,781 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-10 17:48:33,781 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-10 17:48:33,781 INFO L153 SettingsManager]: * Use SBE=true [2024-11-10 17:48:33,781 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-10 17:48:33,781 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-10 17:48:33,782 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-10 17:48:33,782 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-10 17:48:33,782 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-10 17:48:33,782 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-10 17:48:33,783 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-10 17:48:33,783 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-10 17:48:33,783 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-10 17:48:33,783 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-10 17:48:33,785 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-10 17:48:33,786 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-10 17:48:33,786 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-10 17:48:33,786 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-10 17:48:33,786 INFO L151 SettingsManager]: Preferences of IcfgBuilder differ from their defaults: [2024-11-10 17:48:33,786 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-10 17:48:33,787 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-10 17:48:33,787 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-10 17:48:33,787 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-10 17:48:33,787 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-10 17:48:33,787 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-10 17:48:33,787 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-11-10 17:48:33,788 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-10 17:48:33,788 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-10 17:48:33,788 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PETRI_NET [2024-11-10 17:48:33,789 INFO L153 SettingsManager]: * Order on configurations for Petri net unfoldings=DBO [2024-11-10 17:48:33,789 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-10 17:48:33,790 INFO L153 SettingsManager]: * Looper check in Petri net analysis=SEMANTIC WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> f7757e6e73d857d492b029f13f86cb5d550622238e5a2b483c58ab6fc3ffdeb1 [2024-11-10 17:48:33,982 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-10 17:48:34,013 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-10 17:48:34,015 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-10 17:48:34,016 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-10 17:48:34,016 INFO L274 PluginConnector]: CDTParser initialized [2024-11-10 17:48:34,017 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread-ext/28_buggy_simple_loop1_vf.i [2024-11-10 17:48:35,390 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-10 17:48:35,576 INFO L384 CDTParser]: Found 1 translation units. [2024-11-10 17:48:35,576 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-ext/28_buggy_simple_loop1_vf.i [2024-11-10 17:48:35,586 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c9a3949b8/0fede5757dad45788c19d5b44b1ab98c/FLAG468754c37 [2024-11-10 17:48:35,599 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/c9a3949b8/0fede5757dad45788c19d5b44b1ab98c [2024-11-10 17:48:35,602 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-10 17:48:35,603 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-10 17:48:35,603 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-10 17:48:35,604 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-10 17:48:35,608 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-10 17:48:35,609 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.11 05:48:35" (1/1) ... [2024-11-10 17:48:35,610 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@15b0f6bb and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:35, skipping insertion in model container [2024-11-10 17:48:35,610 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.11 05:48:35" (1/1) ... [2024-11-10 17:48:35,638 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-10 17:48:35,876 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-10 17:48:35,883 INFO L200 MainTranslator]: Completed pre-run [2024-11-10 17:48:35,945 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-10 17:48:36,009 INFO L204 MainTranslator]: Completed translation [2024-11-10 17:48:36,009 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:36 WrapperNode [2024-11-10 17:48:36,009 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-10 17:48:36,010 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-10 17:48:36,010 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-10 17:48:36,013 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-10 17:48:36,019 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:36" (1/1) ... [2024-11-10 17:48:36,030 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:36" (1/1) ... [2024-11-10 17:48:36,047 INFO L138 Inliner]: procedures = 166, calls = 8, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 62 [2024-11-10 17:48:36,047 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-10 17:48:36,047 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-10 17:48:36,047 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-10 17:48:36,048 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-10 17:48:36,057 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:36" (1/1) ... [2024-11-10 17:48:36,057 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:36" (1/1) ... [2024-11-10 17:48:36,058 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:36" (1/1) ... [2024-11-10 17:48:36,067 INFO L175 MemorySlicer]: Split 2 memory accesses to 1 slices as follows [2]. 100 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2]. The 0 writes are split as follows [0]. [2024-11-10 17:48:36,067 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:36" (1/1) ... [2024-11-10 17:48:36,067 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:36" (1/1) ... [2024-11-10 17:48:36,069 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:36" (1/1) ... [2024-11-10 17:48:36,070 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:36" (1/1) ... [2024-11-10 17:48:36,070 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:36" (1/1) ... [2024-11-10 17:48:36,071 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:36" (1/1) ... [2024-11-10 17:48:36,072 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-10 17:48:36,073 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2024-11-10 17:48:36,073 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2024-11-10 17:48:36,073 INFO L274 PluginConnector]: IcfgBuilder initialized [2024-11-10 17:48:36,074 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:36" (1/1) ... [2024-11-10 17:48:36,078 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-10 17:48:36,085 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-10 17:48:36,096 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-11-10 17:48:36,098 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-11-10 17:48:36,127 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2024-11-10 17:48:36,127 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2024-11-10 17:48:36,127 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-10 17:48:36,127 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int#0 [2024-11-10 17:48:36,128 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-10 17:48:36,128 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-10 17:48:36,129 WARN L225 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-10 17:48:36,222 INFO L256 CfgBuilder]: Building ICFG [2024-11-10 17:48:36,225 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-10 17:48:36,376 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-10 17:48:36,377 INFO L307 CfgBuilder]: Performing block encoding [2024-11-10 17:48:36,426 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-10 17:48:36,427 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-10 17:48:36,427 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 10.11 05:48:36 BoogieIcfgContainer [2024-11-10 17:48:36,427 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2024-11-10 17:48:36,429 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-10 17:48:36,429 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-10 17:48:36,432 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-10 17:48:36,432 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 10.11 05:48:35" (1/3) ... [2024-11-10 17:48:36,433 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@413a62da and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 10.11 05:48:36, skipping insertion in model container [2024-11-10 17:48:36,433 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:36" (2/3) ... [2024-11-10 17:48:36,433 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@413a62da and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 10.11 05:48:36, skipping insertion in model container [2024-11-10 17:48:36,433 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 10.11 05:48:36" (3/3) ... [2024-11-10 17:48:36,434 INFO L112 eAbstractionObserver]: Analyzing ICFG 28_buggy_simple_loop1_vf.i [2024-11-10 17:48:36,449 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-10 17:48:36,449 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2024-11-10 17:48:36,450 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-10 17:48:36,500 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-11-10 17:48:36,527 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 30 places, 37 transitions, 78 flow [2024-11-10 17:48:36,549 INFO L124 PetriNetUnfolderBase]: 11/44 cut-off events. [2024-11-10 17:48:36,549 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-10 17:48:36,553 INFO L83 FinitePrefix]: Finished finitePrefix Result has 48 conditions, 44 events. 11/44 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 96 event pairs, 0 based on Foata normal form. 0/28 useless extension candidates. Maximal degree in co-relation 34. Up to 4 conditions per place. [2024-11-10 17:48:36,554 INFO L82 GeneralOperation]: Start removeDead. Operand has 30 places, 37 transitions, 78 flow [2024-11-10 17:48:36,556 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 30 places, 37 transitions, 78 flow [2024-11-10 17:48:36,564 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-10 17:48:36,570 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;@68600248, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-10 17:48:36,570 INFO L334 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2024-11-10 17:48:36,573 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-10 17:48:36,573 INFO L124 PetriNetUnfolderBase]: 1/7 cut-off events. [2024-11-10 17:48:36,573 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-10 17:48:36,574 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:48:36,574 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2024-11-10 17:48:36,575 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-10 17:48:36,579 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:48:36,579 INFO L85 PathProgramCache]: Analyzing trace with hash 5050789, now seen corresponding path program 1 times [2024-11-10 17:48:36,586 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 17:48:36,587 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1095434688] [2024-11-10 17:48:36,587 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:48:36,588 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 17:48:36,663 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 17:48:36,702 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 17:48:36,706 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 17:48:36,707 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1095434688] [2024-11-10 17:48:36,707 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1095434688] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 17:48:36,707 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 17:48:36,708 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-10 17:48:36,709 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1146646241] [2024-11-10 17:48:36,709 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 17:48:36,722 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-11-10 17:48:36,726 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 17:48:36,746 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-11-10 17:48:36,747 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-11-10 17:48:36,748 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 17 out of 37 [2024-11-10 17:48:36,749 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 30 places, 37 transitions, 78 flow. Second operand has 2 states, 2 states have (on average 18.0) internal successors, (36), 2 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-10 17:48:36,749 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 17:48:36,749 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 17 of 37 [2024-11-10 17:48:36,750 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 17:48:36,792 INFO L124 PetriNetUnfolderBase]: 18/58 cut-off events. [2024-11-10 17:48:36,793 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-10 17:48:36,793 INFO L83 FinitePrefix]: Finished finitePrefix Result has 97 conditions, 58 events. 18/58 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 167 event pairs, 8 based on Foata normal form. 17/66 useless extension candidates. Maximal degree in co-relation 80. Up to 35 conditions per place. [2024-11-10 17:48:36,795 INFO L140 encePairwiseOnDemand]: 30/37 looper letters, 11 selfloop transitions, 0 changer transitions 0/26 dead transitions. [2024-11-10 17:48:36,796 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 26 places, 26 transitions, 78 flow [2024-11-10 17:48:36,797 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-11-10 17:48:36,799 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2024-11-10 17:48:36,803 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 52 transitions. [2024-11-10 17:48:36,804 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.7027027027027027 [2024-11-10 17:48:36,806 INFO L175 Difference]: Start difference. First operand has 30 places, 37 transitions, 78 flow. Second operand 2 states and 52 transitions. [2024-11-10 17:48:36,807 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 26 places, 26 transitions, 78 flow [2024-11-10 17:48:36,808 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 26 places, 26 transitions, 78 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-10 17:48:36,810 INFO L231 Difference]: Finished difference. Result has 26 places, 26 transitions, 56 flow [2024-11-10 17:48:36,811 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=37, PETRI_DIFFERENCE_MINUEND_FLOW=56, PETRI_DIFFERENCE_MINUEND_PLACES=25, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=26, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=26, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=56, PETRI_PLACES=26, PETRI_TRANSITIONS=26} [2024-11-10 17:48:36,815 INFO L277 CegarLoopForPetriNet]: 30 programPoint places, -4 predicate places. [2024-11-10 17:48:36,815 INFO L471 AbstractCegarLoop]: Abstraction has has 26 places, 26 transitions, 56 flow [2024-11-10 17:48:36,815 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 18.0) internal successors, (36), 2 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-10 17:48:36,816 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:48:36,816 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1] [2024-11-10 17:48:36,816 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-10 17:48:36,817 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-10 17:48:36,817 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:48:36,818 INFO L85 PathProgramCache]: Analyzing trace with hash -817217731, now seen corresponding path program 1 times [2024-11-10 17:48:36,818 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 17:48:36,818 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1069160532] [2024-11-10 17:48:36,819 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:48:36,819 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 17:48:36,839 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-10 17:48:36,840 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-10 17:48:36,853 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-10 17:48:36,869 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-10 17:48:36,870 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-10 17:48:36,872 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 4 remaining) [2024-11-10 17:48:36,873 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 4 remaining) [2024-11-10 17:48:36,874 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (1 of 4 remaining) [2024-11-10 17:48:36,874 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 4 remaining) [2024-11-10 17:48:36,874 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-10 17:48:36,874 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-11-10 17:48:36,878 WARN L244 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-10 17:48:36,878 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2024-11-10 17:48:36,914 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-11-10 17:48:36,916 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 50 places, 64 transitions, 138 flow [2024-11-10 17:48:36,926 INFO L124 PetriNetUnfolderBase]: 21/79 cut-off events. [2024-11-10 17:48:36,926 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-11-10 17:48:36,927 INFO L83 FinitePrefix]: Finished finitePrefix Result has 87 conditions, 79 events. 21/79 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 215 event pairs, 0 based on Foata normal form. 0/50 useless extension candidates. Maximal degree in co-relation 60. Up to 6 conditions per place. [2024-11-10 17:48:36,927 INFO L82 GeneralOperation]: Start removeDead. Operand has 50 places, 64 transitions, 138 flow [2024-11-10 17:48:36,928 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 50 places, 64 transitions, 138 flow [2024-11-10 17:48:36,929 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-10 17:48:36,929 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;@68600248, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-10 17:48:36,930 INFO L334 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2024-11-10 17:48:36,931 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-10 17:48:36,931 INFO L124 PetriNetUnfolderBase]: 1/7 cut-off events. [2024-11-10 17:48:36,931 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-10 17:48:36,931 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:48:36,931 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2024-11-10 17:48:36,932 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2024-11-10 17:48:36,932 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:48:36,932 INFO L85 PathProgramCache]: Analyzing trace with hash 7020965, now seen corresponding path program 1 times [2024-11-10 17:48:36,932 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 17:48:36,933 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [391700325] [2024-11-10 17:48:36,933 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:48:36,933 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 17:48:36,942 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 17:48:36,949 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 17:48:36,950 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-11-10 17:48:36,950 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [391700325] [2024-11-10 17:48:36,950 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [391700325] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 17:48:36,950 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 17:48:36,950 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-10 17:48:36,950 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [916604382] [2024-11-10 17:48:36,951 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 17:48:36,951 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-11-10 17:48:36,951 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-11-10 17:48:36,951 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-11-10 17:48:36,952 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-11-10 17:48:36,954 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 30 out of 64 [2024-11-10 17:48:36,955 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 50 places, 64 transitions, 138 flow. Second operand has 2 states, 2 states have (on average 31.0) internal successors, (62), 2 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) [2024-11-10 17:48:36,955 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 17:48:36,955 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 30 of 64 [2024-11-10 17:48:36,955 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 17:48:37,070 INFO L124 PetriNetUnfolderBase]: 225/545 cut-off events. [2024-11-10 17:48:37,071 INFO L125 PetriNetUnfolderBase]: For 18/18 co-relation queries the response was YES. [2024-11-10 17:48:37,073 INFO L83 FinitePrefix]: Finished finitePrefix Result has 865 conditions, 545 events. 225/545 cut-off events. For 18/18 co-relation queries the response was YES. Maximal size of possible extension queue 48. Compared 3067 event pairs, 108 based on Foata normal form. 183/678 useless extension candidates. Maximal degree in co-relation 169. Up to 300 conditions per place. [2024-11-10 17:48:37,076 INFO L140 encePairwiseOnDemand]: 52/64 looper letters, 19 selfloop transitions, 0 changer transitions 0/47 dead transitions. [2024-11-10 17:48:37,076 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 45 places, 47 transitions, 142 flow [2024-11-10 17:48:37,077 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-11-10 17:48:37,077 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2024-11-10 17:48:37,077 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 91 transitions. [2024-11-10 17:48:37,079 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.7109375 [2024-11-10 17:48:37,079 INFO L175 Difference]: Start difference. First operand has 50 places, 64 transitions, 138 flow. Second operand 2 states and 91 transitions. [2024-11-10 17:48:37,079 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 45 places, 47 transitions, 142 flow [2024-11-10 17:48:37,080 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 45 places, 47 transitions, 142 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-10 17:48:37,081 INFO L231 Difference]: Finished difference. Result has 45 places, 47 transitions, 104 flow [2024-11-10 17:48:37,083 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=64, PETRI_DIFFERENCE_MINUEND_FLOW=104, PETRI_DIFFERENCE_MINUEND_PLACES=44, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=47, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=47, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=104, PETRI_PLACES=45, PETRI_TRANSITIONS=47} [2024-11-10 17:48:37,083 INFO L277 CegarLoopForPetriNet]: 50 programPoint places, -5 predicate places. [2024-11-10 17:48:37,084 INFO L471 AbstractCegarLoop]: Abstraction has has 45 places, 47 transitions, 104 flow [2024-11-10 17:48:37,085 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 31.0) internal successors, (62), 2 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) [2024-11-10 17:48:37,085 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:48:37,085 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-10 17:48:37,085 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-11-10 17:48:37,085 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting thr1Err0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2024-11-10 17:48:37,086 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:48:37,086 INFO L85 PathProgramCache]: Analyzing trace with hash -987415752, now seen corresponding path program 1 times [2024-11-10 17:48:37,087 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-11-10 17:48:37,087 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [937147194] [2024-11-10 17:48:37,087 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:48:37,087 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-10 17:48:37,138 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-10 17:48:37,140 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-10 17:48:37,170 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-10 17:48:37,179 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-11-10 17:48:37,182 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-10 17:48:37,182 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 5 remaining) [2024-11-10 17:48:37,182 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (3 of 5 remaining) [2024-11-10 17:48:37,183 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (2 of 5 remaining) [2024-11-10 17:48:37,183 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 5 remaining) [2024-11-10 17:48:37,183 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 5 remaining) [2024-11-10 17:48:37,183 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable3 [2024-11-10 17:48:37,183 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-11-10 17:48:37,228 INFO L239 ceAbstractionStarter]: Analysis of concurrent program completed with 2 thread instances [2024-11-10 17:48:37,228 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2024-11-10 17:48:37,237 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 10.11 05:48:37 BasicIcfg [2024-11-10 17:48:37,238 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-11-10 17:48:37,238 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-10 17:48:37,239 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-10 17:48:37,239 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-10 17:48:37,239 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 10.11 05:48:36" (3/4) ... [2024-11-10 17:48:37,240 INFO L146 WitnessPrinter]: No result that supports witness generation found [2024-11-10 17:48:37,241 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-10 17:48:37,242 INFO L158 Benchmark]: Toolchain (without parser) took 1639.35ms. Allocated memory is still 182.5MB. Free memory was 111.6MB in the beginning and 150.9MB in the end (delta: -39.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-10 17:48:37,242 INFO L158 Benchmark]: CDTParser took 0.15ms. Allocated memory is still 182.5MB. Free memory is still 138.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-10 17:48:37,242 INFO L158 Benchmark]: CACSL2BoogieTranslator took 406.07ms. Allocated memory is still 182.5MB. Free memory was 111.4MB in the beginning and 148.7MB in the end (delta: -37.3MB). Peak memory consumption was 20.0MB. Max. memory is 16.1GB. [2024-11-10 17:48:37,243 INFO L158 Benchmark]: Boogie Procedure Inliner took 36.80ms. Allocated memory is still 182.5MB. Free memory was 148.7MB in the beginning and 146.6MB in the end (delta: 2.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-10 17:48:37,243 INFO L158 Benchmark]: Boogie Preprocessor took 24.99ms. Allocated memory is still 182.5MB. Free memory was 146.6MB in the beginning and 144.5MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-10 17:48:37,243 INFO L158 Benchmark]: IcfgBuilder took 354.48ms. Allocated memory is still 182.5MB. Free memory was 144.5MB in the beginning and 127.1MB in the end (delta: 17.5MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. [2024-11-10 17:48:37,246 INFO L158 Benchmark]: TraceAbstraction took 809.04ms. Allocated memory is still 182.5MB. Free memory was 126.4MB in the beginning and 150.9MB in the end (delta: -24.5MB). Peak memory consumption was 77.5MB. Max. memory is 16.1GB. [2024-11-10 17:48:37,246 INFO L158 Benchmark]: Witness Printer took 3.11ms. Allocated memory is still 182.5MB. Free memory is still 150.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-10 17:48:37,247 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.15ms. Allocated memory is still 182.5MB. Free memory is still 138.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 406.07ms. Allocated memory is still 182.5MB. Free memory was 111.4MB in the beginning and 148.7MB in the end (delta: -37.3MB). Peak memory consumption was 20.0MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 36.80ms. Allocated memory is still 182.5MB. Free memory was 148.7MB in the beginning and 146.6MB in the end (delta: 2.1MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 24.99ms. Allocated memory is still 182.5MB. Free memory was 146.6MB in the beginning and 144.5MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * IcfgBuilder took 354.48ms. Allocated memory is still 182.5MB. Free memory was 144.5MB in the beginning and 127.1MB in the end (delta: 17.5MB). Peak memory consumption was 18.9MB. Max. memory is 16.1GB. * TraceAbstraction took 809.04ms. Allocated memory is still 182.5MB. Free memory was 126.4MB in the beginning and 150.9MB in the end (delta: -24.5MB). Peak memory consumption was 77.5MB. Max. memory is 16.1GB. * Witness Printer took 3.11ms. Allocated memory is still 182.5MB. Free memory is still 150.9MB. There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - UnprovableResult [Line: 12]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 12. Possible FailurePath: [L700] 0 pthread_t t; [L701] COND TRUE 0 1 [L703] FCALL, FORK 0 pthread_create(&t, 0, thr1, 0) VAL [t=-1] [L686] 1 unsigned int x=__VERIFIER_nondet_uint(), y=__VERIFIER_nondet_uint(), z=__VERIFIER_nondet_uint(); [L686] 1 unsigned int x=__VERIFIER_nondet_uint(), y=__VERIFIER_nondet_uint(), z=__VERIFIER_nondet_uint(); [L686] 1 unsigned int x=__VERIFIER_nondet_uint(), y=__VERIFIER_nondet_uint(), z=__VERIFIER_nondet_uint(); [L687] 1 int i, j=1, k=1; [L688] 1 i=0 VAL [\old(arg)={0:0}, arg={0:0}, i=0, j=1, k=1] [L688] COND FALSE 1 !(i main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Automizer Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data architecture -> 32bit Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data programhash -> f7757e6e73d857d492b029f13f86cb5d550622238e5a2b483c58ab6fc3ffdeb1 [2024-11-10 17:48:39,497 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-10 17:48:39,514 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-10 17:48:39,517 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-10 17:48:39,518 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-10 17:48:39,518 INFO L274 PluginConnector]: CDTParser initialized [2024-11-10 17:48:39,519 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/../sv-benchmarks/c/pthread-ext/28_buggy_simple_loop1_vf.i [2024-11-10 17:48:40,905 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-10 17:48:41,104 INFO L384 CDTParser]: Found 1 translation units. [2024-11-10 17:48:41,105 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread-ext/28_buggy_simple_loop1_vf.i [2024-11-10 17:48:41,116 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/496efc1cf/a137c4219028405888bacd13bbc17f4f/FLAGcfaca6517 [2024-11-10 17:48:41,471 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/data/496efc1cf/a137c4219028405888bacd13bbc17f4f [2024-11-10 17:48:41,473 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-10 17:48:41,474 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-10 17:48:41,475 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-10 17:48:41,475 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-10 17:48:41,480 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-10 17:48:41,480 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.11 05:48:41" (1/1) ... [2024-11-10 17:48:41,481 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@5d28c04d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:41, skipping insertion in model container [2024-11-10 17:48:41,481 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 10.11 05:48:41" (1/1) ... [2024-11-10 17:48:41,507 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-10 17:48:41,811 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-10 17:48:41,820 INFO L200 MainTranslator]: Completed pre-run [2024-11-10 17:48:41,864 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-10 17:48:41,916 INFO L204 MainTranslator]: Completed translation [2024-11-10 17:48:41,917 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:41 WrapperNode [2024-11-10 17:48:41,917 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-10 17:48:41,918 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-10 17:48:41,918 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-10 17:48:41,918 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-10 17:48:41,923 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:41" (1/1) ... [2024-11-10 17:48:41,941 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:41" (1/1) ... [2024-11-10 17:48:41,964 INFO L138 Inliner]: procedures = 167, calls = 8, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 63 [2024-11-10 17:48:41,964 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-10 17:48:41,965 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-10 17:48:41,965 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-10 17:48:41,965 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-10 17:48:41,972 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:41" (1/1) ... [2024-11-10 17:48:41,973 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:41" (1/1) ... [2024-11-10 17:48:41,976 INFO L184 PluginConnector]: Executing the observer MemorySlicer from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:41" (1/1) ... [2024-11-10 17:48:41,990 INFO L175 MemorySlicer]: Split 2 memory accesses to 1 slices as follows [2]. 100 percent of accesses are in the largest equivalence class. The 2 initializations are split as follows [2]. The 0 writes are split as follows [0]. [2024-11-10 17:48:41,993 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:41" (1/1) ... [2024-11-10 17:48:41,993 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:41" (1/1) ... [2024-11-10 17:48:41,997 INFO L184 PluginConnector]: Executing the observer ReplaceArrayAssignments from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:41" (1/1) ... [2024-11-10 17:48:42,000 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:41" (1/1) ... [2024-11-10 17:48:42,001 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:41" (1/1) ... [2024-11-10 17:48:42,002 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:41" (1/1) ... [2024-11-10 17:48:42,004 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-10 17:48:42,005 INFO L112 PluginConnector]: ------------------------IcfgBuilder---------------------------- [2024-11-10 17:48:42,006 INFO L270 PluginConnector]: Initializing IcfgBuilder... [2024-11-10 17:48:42,006 INFO L274 PluginConnector]: IcfgBuilder initialized [2024-11-10 17:48:42,006 INFO L184 PluginConnector]: Executing the observer IcfgBuilderObserver from plugin IcfgBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:41" (1/1) ... [2024-11-10 17:48:42,011 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 [2024-11-10 17:48:42,019 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 [2024-11-10 17:48:42,033 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (exit command is (exit), workingDir is null) [2024-11-10 17:48:42,048 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:4000 (1)] Waiting until timeout for monitored process [2024-11-10 17:48:42,078 INFO L130 BoogieDeclarations]: Found specification of procedure thr1 [2024-11-10 17:48:42,078 INFO L138 BoogieDeclarations]: Found implementation of procedure thr1 [2024-11-10 17:48:42,078 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-10 17:48:42,079 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1#0 [2024-11-10 17:48:42,079 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-10 17:48:42,079 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-10 17:48:42,080 WARN L225 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-10 17:48:42,196 INFO L256 CfgBuilder]: Building ICFG [2024-11-10 17:48:42,198 INFO L286 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-10 17:48:42,311 INFO L303 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-10 17:48:42,311 INFO L307 CfgBuilder]: Performing block encoding [2024-11-10 17:48:42,386 INFO L331 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-10 17:48:42,386 INFO L336 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-10 17:48:42,387 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 10.11 05:48:42 BoogieIcfgContainer [2024-11-10 17:48:42,387 INFO L131 PluginConnector]: ------------------------ END IcfgBuilder---------------------------- [2024-11-10 17:48:42,388 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-10 17:48:42,388 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-10 17:48:42,391 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-10 17:48:42,391 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 10.11 05:48:41" (1/3) ... [2024-11-10 17:48:42,392 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3ed99c32 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 10.11 05:48:42, skipping insertion in model container [2024-11-10 17:48:42,392 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 10.11 05:48:41" (2/3) ... [2024-11-10 17:48:42,392 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3ed99c32 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 10.11 05:48:42, skipping insertion in model container [2024-11-10 17:48:42,392 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 10.11 05:48:42" (3/3) ... [2024-11-10 17:48:42,393 INFO L112 eAbstractionObserver]: Analyzing ICFG 28_buggy_simple_loop1_vf.i [2024-11-10 17:48:42,405 INFO L214 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-10 17:48:42,406 INFO L154 ceAbstractionStarter]: Applying trace abstraction to program that has 2 error locations. [2024-11-10 17:48:42,406 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-10 17:48:42,464 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-11-10 17:48:42,513 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 30 places, 37 transitions, 78 flow [2024-11-10 17:48:42,532 INFO L124 PetriNetUnfolderBase]: 11/44 cut-off events. [2024-11-10 17:48:42,532 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-10 17:48:42,535 INFO L83 FinitePrefix]: Finished finitePrefix Result has 48 conditions, 44 events. 11/44 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 8. Compared 96 event pairs, 0 based on Foata normal form. 0/28 useless extension candidates. Maximal degree in co-relation 34. Up to 4 conditions per place. [2024-11-10 17:48:42,535 INFO L82 GeneralOperation]: Start removeDead. Operand has 30 places, 37 transitions, 78 flow [2024-11-10 17:48:42,537 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 30 places, 37 transitions, 78 flow [2024-11-10 17:48:42,544 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-10 17:48:42,552 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;@1a41da19, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-10 17:48:42,554 INFO L334 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2024-11-10 17:48:42,558 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-10 17:48:42,559 INFO L124 PetriNetUnfolderBase]: 1/7 cut-off events. [2024-11-10 17:48:42,559 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-10 17:48:42,559 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:48:42,560 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2024-11-10 17:48:42,560 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-10 17:48:42,564 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:48:42,564 INFO L85 PathProgramCache]: Analyzing trace with hash 5112357, now seen corresponding path program 1 times [2024-11-10 17:48:42,575 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-11-10 17:48:42,575 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1787193642] [2024-11-10 17:48:42,575 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:48:42,576 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-10 17:48:42,576 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2024-11-10 17:48:42,579 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2024-11-10 17:48:42,580 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (2)] Waiting until timeout for monitored process [2024-11-10 17:48:42,650 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 17:48:42,652 INFO L255 TraceCheckSpWp]: Trace formula consists of 15 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-10 17:48:42,654 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-10 17:48:42,666 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 17:48:42,669 INFO L307 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2024-11-10 17:48:42,669 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2024-11-10 17:48:42,670 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1787193642] [2024-11-10 17:48:42,670 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [1787193642] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 17:48:42,670 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 17:48:42,670 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-10 17:48:42,672 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1125961028] [2024-11-10 17:48:42,672 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 17:48:42,678 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-11-10 17:48:42,682 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2024-11-10 17:48:42,703 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-11-10 17:48:42,704 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-11-10 17:48:42,705 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 17 out of 37 [2024-11-10 17:48:42,706 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 30 places, 37 transitions, 78 flow. Second operand has 2 states, 2 states have (on average 18.0) internal successors, (36), 2 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-10 17:48:42,707 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 17:48:42,707 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 17 of 37 [2024-11-10 17:48:42,707 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 17:48:42,737 INFO L124 PetriNetUnfolderBase]: 18/58 cut-off events. [2024-11-10 17:48:42,737 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-10 17:48:42,738 INFO L83 FinitePrefix]: Finished finitePrefix Result has 97 conditions, 58 events. 18/58 cut-off events. For 0/0 co-relation queries the response was YES. Maximal size of possible extension queue 10. Compared 167 event pairs, 8 based on Foata normal form. 17/66 useless extension candidates. Maximal degree in co-relation 80. Up to 35 conditions per place. [2024-11-10 17:48:42,739 INFO L140 encePairwiseOnDemand]: 30/37 looper letters, 11 selfloop transitions, 0 changer transitions 0/26 dead transitions. [2024-11-10 17:48:42,740 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 26 places, 26 transitions, 78 flow [2024-11-10 17:48:42,741 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-11-10 17:48:42,743 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2024-11-10 17:48:42,749 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 52 transitions. [2024-11-10 17:48:42,750 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.7027027027027027 [2024-11-10 17:48:42,752 INFO L175 Difference]: Start difference. First operand has 30 places, 37 transitions, 78 flow. Second operand 2 states and 52 transitions. [2024-11-10 17:48:42,753 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 26 places, 26 transitions, 78 flow [2024-11-10 17:48:42,755 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 26 places, 26 transitions, 78 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-10 17:48:42,756 INFO L231 Difference]: Finished difference. Result has 26 places, 26 transitions, 56 flow [2024-11-10 17:48:42,758 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=37, PETRI_DIFFERENCE_MINUEND_FLOW=56, PETRI_DIFFERENCE_MINUEND_PLACES=25, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=26, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=26, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=56, PETRI_PLACES=26, PETRI_TRANSITIONS=26} [2024-11-10 17:48:42,761 INFO L277 CegarLoopForPetriNet]: 30 programPoint places, -4 predicate places. [2024-11-10 17:48:42,761 INFO L471 AbstractCegarLoop]: Abstraction has has 26 places, 26 transitions, 56 flow [2024-11-10 17:48:42,761 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 18.0) internal successors, (36), 2 states have internal predecessors, (36), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-10 17:48:42,761 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:48:42,762 INFO L204 CegarLoopForPetriNet]: trace histogram [2, 2, 1, 1, 1, 1] [2024-11-10 17:48:42,765 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (2)] Ended with exit code 0 [2024-11-10 17:48:42,964 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-10 17:48:42,965 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-10 17:48:42,966 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:48:42,966 INFO L85 PathProgramCache]: Analyzing trace with hash 207609917, now seen corresponding path program 1 times [2024-11-10 17:48:42,966 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-11-10 17:48:42,966 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1776729262] [2024-11-10 17:48:42,966 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:48:42,966 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-10 17:48:42,967 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2024-11-10 17:48:42,976 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2024-11-10 17:48:42,977 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Waiting until timeout for monitored process [2024-11-10 17:48:43,005 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-10 17:48:43,006 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-10 17:48:43,013 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-10 17:48:43,027 INFO L130 FreeRefinementEngine]: Strategy WOLF found a feasible trace [2024-11-10 17:48:43,027 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-10 17:48:43,029 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (3 of 4 remaining) [2024-11-10 17:48:43,030 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (2 of 4 remaining) [2024-11-10 17:48:43,030 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (1 of 4 remaining) [2024-11-10 17:48:43,030 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 4 remaining) [2024-11-10 17:48:43,035 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Forceful destruction successful, exit code 0 [2024-11-10 17:48:43,231 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-10 17:48:43,232 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-11-10 17:48:43,234 WARN L244 ceAbstractionStarter]: 1 thread instances were not sufficient, I will increase this number and restart the analysis [2024-11-10 17:48:43,235 INFO L489 ceAbstractionStarter]: Constructing petrified ICFG for 2 thread instances. [2024-11-10 17:48:43,278 INFO L143 ThreadInstanceAdder]: Constructed 0 joinOtherThreadTransitions. [2024-11-10 17:48:43,284 INFO L73 FinitePrefix]: Start finitePrefix. Operand has 50 places, 64 transitions, 138 flow [2024-11-10 17:48:43,303 INFO L124 PetriNetUnfolderBase]: 21/79 cut-off events. [2024-11-10 17:48:43,303 INFO L125 PetriNetUnfolderBase]: For 2/2 co-relation queries the response was YES. [2024-11-10 17:48:43,304 INFO L83 FinitePrefix]: Finished finitePrefix Result has 87 conditions, 79 events. 21/79 cut-off events. For 2/2 co-relation queries the response was YES. Maximal size of possible extension queue 7. Compared 215 event pairs, 0 based on Foata normal form. 0/50 useless extension candidates. Maximal degree in co-relation 60. Up to 6 conditions per place. [2024-11-10 17:48:43,304 INFO L82 GeneralOperation]: Start removeDead. Operand has 50 places, 64 transitions, 138 flow [2024-11-10 17:48:43,305 INFO L88 GeneralOperation]: Finished RemoveDead, result has has 50 places, 64 transitions, 138 flow [2024-11-10 17:48:43,308 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-10 17:48:43,309 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;@1a41da19, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-10 17:48:43,309 INFO L334 AbstractCegarLoop]: Starting to check reachability of 5 error locations. [2024-11-10 17:48:43,311 INFO L185 PetriNetUnfolderBase]: Found word, exiting Unfolder. [2024-11-10 17:48:43,311 INFO L124 PetriNetUnfolderBase]: 1/7 cut-off events. [2024-11-10 17:48:43,311 INFO L125 PetriNetUnfolderBase]: For 0/0 co-relation queries the response was YES. [2024-11-10 17:48:43,311 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:48:43,313 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1] [2024-11-10 17:48:43,313 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2024-11-10 17:48:43,314 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:48:43,314 INFO L85 PathProgramCache]: Analyzing trace with hash 7082533, now seen corresponding path program 1 times [2024-11-10 17:48:43,316 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-11-10 17:48:43,316 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [879099284] [2024-11-10 17:48:43,316 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:48:43,317 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-10 17:48:43,317 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2024-11-10 17:48:43,319 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2024-11-10 17:48:43,327 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (4)] Waiting until timeout for monitored process [2024-11-10 17:48:43,353 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-10 17:48:43,354 INFO L255 TraceCheckSpWp]: Trace formula consists of 15 conjuncts, 1 conjuncts are in the unsatisfiable core [2024-11-10 17:48:43,354 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-10 17:48:43,356 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-10 17:48:43,356 INFO L307 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2024-11-10 17:48:43,356 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2024-11-10 17:48:43,356 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [879099284] [2024-11-10 17:48:43,371 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [879099284] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-10 17:48:43,371 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-10 17:48:43,371 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [2] imperfect sequences [] total 2 [2024-11-10 17:48:43,371 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1170130887] [2024-11-10 17:48:43,372 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-10 17:48:43,372 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 2 states [2024-11-10 17:48:43,372 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2024-11-10 17:48:43,372 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 2 interpolants. [2024-11-10 17:48:43,372 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=1, Invalid=1, Unknown=0, NotChecked=0, Total=2 [2024-11-10 17:48:43,373 INFO L467 CegarLoopForPetriNet]: Number of universal loopers: 30 out of 64 [2024-11-10 17:48:43,373 INFO L103 encePairwiseOnDemand]: Start differencePairwiseOnDemand. First operand has 50 places, 64 transitions, 138 flow. Second operand has 2 states, 2 states have (on average 31.0) internal successors, (62), 2 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) [2024-11-10 17:48:43,373 INFO L112 encePairwiseOnDemand]: Universal subtrahend loopers provided by user. [2024-11-10 17:48:43,373 INFO L113 encePairwiseOnDemand]: Number of universal subtrahend loopers: 30 of 64 [2024-11-10 17:48:43,373 INFO L73 FinitePrefix]: Start finitePrefix. Operand will be constructed on-demand [2024-11-10 17:48:43,480 INFO L124 PetriNetUnfolderBase]: 225/545 cut-off events. [2024-11-10 17:48:43,481 INFO L125 PetriNetUnfolderBase]: For 18/18 co-relation queries the response was YES. [2024-11-10 17:48:43,483 INFO L83 FinitePrefix]: Finished finitePrefix Result has 865 conditions, 545 events. 225/545 cut-off events. For 18/18 co-relation queries the response was YES. Maximal size of possible extension queue 48. Compared 3067 event pairs, 108 based on Foata normal form. 183/678 useless extension candidates. Maximal degree in co-relation 169. Up to 300 conditions per place. [2024-11-10 17:48:43,485 INFO L140 encePairwiseOnDemand]: 52/64 looper letters, 19 selfloop transitions, 0 changer transitions 0/47 dead transitions. [2024-11-10 17:48:43,488 INFO L145 encePairwiseOnDemand]: Finished differencePairwiseOnDemand. Result has 45 places, 47 transitions, 142 flow [2024-11-10 17:48:43,489 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-11-10 17:48:43,489 INFO L82 GeneralOperation]: Start removeUnreachable. Operand 2 states. [2024-11-10 17:48:43,490 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 2 states to 2 states and 91 transitions. [2024-11-10 17:48:43,490 INFO L512 CegarLoopForPetriNet]: DFA transition density 0.7109375 [2024-11-10 17:48:43,490 INFO L175 Difference]: Start difference. First operand has 50 places, 64 transitions, 138 flow. Second operand 2 states and 91 transitions. [2024-11-10 17:48:43,490 INFO L82 GeneralOperation]: Start removeRedundantFlow. Operand has 45 places, 47 transitions, 142 flow [2024-11-10 17:48:43,491 INFO L88 GeneralOperation]: Finished removeRedundantFlow, result has has 45 places, 47 transitions, 142 flow, removed 0 selfloop flow, removed 0 redundant places. [2024-11-10 17:48:43,492 INFO L231 Difference]: Finished difference. Result has 45 places, 47 transitions, 104 flow [2024-11-10 17:48:43,492 INFO L260 CegarLoopForPetriNet]: {PETRI_ALPHABET=64, PETRI_DIFFERENCE_MINUEND_FLOW=104, PETRI_DIFFERENCE_MINUEND_PLACES=44, PETRI_DIFFERENCE_MINUEND_TRANSITIONS=47, PETRI_DIFFERENCE_SUBTRAHEND_LETTERS_WITH_MORE_CHANGERS_THAN_LOOPERS=0, PETRI_DIFFERENCE_SUBTRAHEND_LOOPER_ONLY_LETTERS=47, PETRI_DIFFERENCE_SUBTRAHEND_STATES=2, PETRI_FLOW=104, PETRI_PLACES=45, PETRI_TRANSITIONS=47} [2024-11-10 17:48:43,494 INFO L277 CegarLoopForPetriNet]: 50 programPoint places, -5 predicate places. [2024-11-10 17:48:43,494 INFO L471 AbstractCegarLoop]: Abstraction has has 45 places, 47 transitions, 104 flow [2024-11-10 17:48:43,495 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 2 states, 2 states have (on average 31.0) internal successors, (62), 2 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) [2024-11-10 17:48:43,495 INFO L196 CegarLoopForPetriNet]: Found error trace [2024-11-10 17:48:43,495 INFO L204 CegarLoopForPetriNet]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-10 17:48:43,498 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (4)] Ended with exit code 0 [2024-11-10 17:48:43,695 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 4 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-10 17:48:43,695 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting thr1Err0ASSERT_VIOLATIONMEMORY_LEAK === [thr1Err0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 2 more)] === [2024-11-10 17:48:43,696 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-10 17:48:43,696 INFO L85 PathProgramCache]: Analyzing trace with hash 1025507834, now seen corresponding path program 1 times [2024-11-10 17:48:43,697 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-11-10 17:48:43,697 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [164627025] [2024-11-10 17:48:43,697 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-10 17:48:43,697 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-10 17:48:43,697 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat [2024-11-10 17:48:43,700 INFO L229 MonitoredProcess]: Starting monitored process 5 with /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2024-11-10 17:48:43,701 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (5)] Waiting until timeout for monitored process [2024-11-10 17:48:43,752 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-10 17:48:43,752 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-10 17:48:43,763 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-10 17:48:43,775 INFO L130 FreeRefinementEngine]: Strategy WOLF found a feasible trace [2024-11-10 17:48:43,775 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-10 17:48:43,775 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (4 of 5 remaining) [2024-11-10 17:48:43,776 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (3 of 5 remaining) [2024-11-10 17:48:43,776 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (2 of 5 remaining) [2024-11-10 17:48:43,776 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 5 remaining) [2024-11-10 17:48:43,776 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location thr1Err0ASSERT_VIOLATIONMEMORY_LEAK (0 of 5 remaining) [2024-11-10 17:48:43,790 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (5)] Ended with exit code 0 [2024-11-10 17:48:43,977 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 5 /storage/repos/ultimate/releaseScripts/default/UAutomizer-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-10 17:48:43,977 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-11-10 17:48:43,997 INFO L239 ceAbstractionStarter]: Analysis of concurrent program completed with 2 thread instances [2024-11-10 17:48:43,998 INFO L170 ceAbstractionStarter]: Computing trace abstraction results [2024-11-10 17:48:44,003 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 10.11 05:48:44 BasicIcfg [2024-11-10 17:48:44,003 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-11-10 17:48:44,003 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-10 17:48:44,003 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-10 17:48:44,003 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-10 17:48:44,004 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.icfgbuilder CFG 10.11 05:48:42" (3/4) ... [2024-11-10 17:48:44,005 INFO L146 WitnessPrinter]: No result that supports witness generation found [2024-11-10 17:48:44,006 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-10 17:48:44,006 INFO L158 Benchmark]: Toolchain (without parser) took 2532.15ms. Allocated memory was 100.7MB in the beginning and 140.5MB in the end (delta: 39.8MB). Free memory was 67.1MB in the beginning and 83.2MB in the end (delta: -16.1MB). Peak memory consumption was 27.0MB. Max. memory is 16.1GB. [2024-11-10 17:48:44,007 INFO L158 Benchmark]: CDTParser took 0.20ms. Allocated memory is still 50.3MB. Free memory was 26.7MB in the beginning and 26.7MB in the end (delta: 73.4kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-10 17:48:44,007 INFO L158 Benchmark]: CACSL2BoogieTranslator took 442.11ms. Allocated memory is still 100.7MB. Free memory was 67.1MB in the beginning and 74.5MB in the end (delta: -7.4MB). Peak memory consumption was 26.4MB. Max. memory is 16.1GB. [2024-11-10 17:48:44,007 INFO L158 Benchmark]: Boogie Procedure Inliner took 46.66ms. Allocated memory is still 100.7MB. Free memory was 74.5MB in the beginning and 72.5MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-10 17:48:44,008 INFO L158 Benchmark]: Boogie Preprocessor took 39.54ms. Allocated memory is still 100.7MB. Free memory was 72.5MB in the beginning and 70.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-11-10 17:48:44,008 INFO L158 Benchmark]: IcfgBuilder took 381.88ms. Allocated memory is still 100.7MB. Free memory was 70.4MB in the beginning and 50.7MB in the end (delta: 19.7MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. [2024-11-10 17:48:44,008 INFO L158 Benchmark]: TraceAbstraction took 1614.73ms. Allocated memory was 100.7MB in the beginning and 140.5MB in the end (delta: 39.8MB). Free memory was 49.9MB in the beginning and 84.1MB in the end (delta: -34.2MB). Peak memory consumption was 4.8MB. Max. memory is 16.1GB. [2024-11-10 17:48:44,008 INFO L158 Benchmark]: Witness Printer took 2.65ms. Allocated memory is still 140.5MB. Free memory is still 83.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-10 17:48:44,010 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.20ms. Allocated memory is still 50.3MB. Free memory was 26.7MB in the beginning and 26.7MB in the end (delta: 73.4kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 442.11ms. Allocated memory is still 100.7MB. Free memory was 67.1MB in the beginning and 74.5MB in the end (delta: -7.4MB). Peak memory consumption was 26.4MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 46.66ms. Allocated memory is still 100.7MB. Free memory was 74.5MB in the beginning and 72.5MB in the end (delta: 2.0MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 39.54ms. Allocated memory is still 100.7MB. Free memory was 72.5MB in the beginning and 70.4MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * IcfgBuilder took 381.88ms. Allocated memory is still 100.7MB. Free memory was 70.4MB in the beginning and 50.7MB in the end (delta: 19.7MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. * TraceAbstraction took 1614.73ms. Allocated memory was 100.7MB in the beginning and 140.5MB in the end (delta: 39.8MB). Free memory was 49.9MB in the beginning and 84.1MB in the end (delta: -34.2MB). Peak memory consumption was 4.8MB. Max. memory is 16.1GB. * Witness Printer took 2.65ms. Allocated memory is still 140.5MB. Free memory is still 83.2MB. There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - UnprovableResult [Line: 12]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 12. Possible FailurePath: [L700] 0 pthread_t t; [L701] COND TRUE 0 1 [L703] FCALL, FORK 0 pthread_create(&t, 0, thr1, 0) VAL [t=0] [L686] 1 unsigned int x=__VERIFIER_nondet_uint(), y=__VERIFIER_nondet_uint(), z=__VERIFIER_nondet_uint(); [L686] 1 unsigned int x=__VERIFIER_nondet_uint(), y=__VERIFIER_nondet_uint(), z=__VERIFIER_nondet_uint(); [L686] 1 unsigned int x=__VERIFIER_nondet_uint(), y=__VERIFIER_nondet_uint(), z=__VERIFIER_nondet_uint(); [L687] 1 int i, j=1, k=1; [L688] 1 i=0 VAL [\old(arg)={0:0}, arg={0:0}, i=0, j=1, k=1] [L688] COND FALSE 1 !(i