./Ultimate.py --spec ../sv-benchmarks/c/properties/valid-memsafety.prp --file ../sv-benchmarks/c/pthread/reorder_5-2.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 9a849f68 Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/GemCutterMemDerefMemtrack.xml -i ../sv-benchmarks/c/pthread/reorder_5-2.i -s /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-DerefFreeMemtrack-32bit-GemCutter_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UGemCutter-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 GemCutter --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 41850eb6fd386c6f0f40e76b0dfccb7c973d8ab2a3ee3a82b04526b3663119f9 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-9a849f6-m [2024-10-26 06:25:39,936 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-26 06:25:39,999 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-DerefFreeMemtrack-32bit-GemCutter_Default.epf [2024-10-26 06:25:40,008 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-26 06:25:40,010 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-26 06:25:40,038 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-26 06:25:40,039 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-26 06:25:40,039 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-26 06:25:40,040 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-26 06:25:40,041 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-26 06:25:40,042 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-26 06:25:40,043 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-26 06:25:40,043 INFO L153 SettingsManager]: * Use SBE=true [2024-10-26 06:25:40,043 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-26 06:25:40,047 INFO L153 SettingsManager]: * sizeof long=4 [2024-10-26 06:25:40,047 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-26 06:25:40,047 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-10-26 06:25:40,048 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-26 06:25:40,048 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-10-26 06:25:40,048 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-10-26 06:25:40,048 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-10-26 06:25:40,049 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-26 06:25:40,049 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-10-26 06:25:40,050 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-26 06:25:40,050 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-10-26 06:25:40,051 INFO L153 SettingsManager]: * sizeof long double=12 [2024-10-26 06:25:40,051 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-26 06:25:40,051 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-26 06:25:40,052 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-26 06:25:40,052 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-26 06:25:40,052 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-26 06:25:40,053 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-10-26 06:25:40,053 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-26 06:25:40,054 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-26 06:25:40,054 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-10-26 06:25:40,054 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-10-26 06:25:40,055 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-26 06:25:40,055 INFO L153 SettingsManager]: * Abstraction used for commutativity in POR=VARIABLES_GLOBAL [2024-10-26 06:25:40,055 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2024-10-26 06:25:40,056 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2024-10-26 06:25:40,056 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2024-10-26 06:25:40,056 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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/UGemCutter-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/UGemCutter-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 -> GemCutter 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 -> 41850eb6fd386c6f0f40e76b0dfccb7c973d8ab2a3ee3a82b04526b3663119f9 [2024-10-26 06:25:40,311 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-26 06:25:40,347 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-26 06:25:40,349 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-26 06:25:40,350 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-26 06:25:40,354 INFO L274 PluginConnector]: CDTParser initialized [2024-10-26 06:25:40,356 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/../sv-benchmarks/c/pthread/reorder_5-2.i [2024-10-26 06:25:41,953 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-26 06:25:42,230 INFO L384 CDTParser]: Found 1 translation units. [2024-10-26 06:25:42,231 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread/reorder_5-2.i [2024-10-26 06:25:42,255 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/daa76ff2d/7b04d3e957c0403bab4816569a39ce44/FLAGec4aa4024 [2024-10-26 06:25:42,271 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/daa76ff2d/7b04d3e957c0403bab4816569a39ce44 [2024-10-26 06:25:42,274 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-26 06:25:42,275 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-26 06:25:42,276 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-26 06:25:42,276 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-26 06:25:42,282 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-26 06:25:42,282 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 26.10 06:25:42" (1/1) ... [2024-10-26 06:25:42,283 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@17e74345 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:42, skipping insertion in model container [2024-10-26 06:25:42,284 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 26.10 06:25:42" (1/1) ... [2024-10-26 06:25:42,329 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-26 06:25:42,901 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-26 06:25:42,910 INFO L200 MainTranslator]: Completed pre-run [2024-10-26 06:25:42,959 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-26 06:25:43,031 INFO L204 MainTranslator]: Completed translation [2024-10-26 06:25:43,032 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:43 WrapperNode [2024-10-26 06:25:43,032 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-26 06:25:43,033 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-26 06:25:43,033 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-26 06:25:43,033 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-26 06:25:43,042 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:43" (1/1) ... [2024-10-26 06:25:43,072 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:43" (1/1) ... [2024-10-26 06:25:43,107 INFO L138 Inliner]: procedures = 371, calls = 28, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 137 [2024-10-26 06:25:43,111 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-26 06:25:43,111 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-10-26 06:25:43,113 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-10-26 06:25:43,113 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-10-26 06:25:43,121 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:43" (1/1) ... [2024-10-26 06:25:43,121 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:43" (1/1) ... [2024-10-26 06:25:43,128 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:43" (1/1) ... [2024-10-26 06:25:43,129 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:43" (1/1) ... [2024-10-26 06:25:43,138 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:43" (1/1) ... [2024-10-26 06:25:43,145 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:43" (1/1) ... [2024-10-26 06:25:43,151 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:43" (1/1) ... [2024-10-26 06:25:43,152 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:43" (1/1) ... [2024-10-26 06:25:43,159 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-10-26 06:25:43,164 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-10-26 06:25:43,164 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-10-26 06:25:43,164 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-10-26 06:25:43,165 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:43" (1/1) ... [2024-10-26 06:25:43,170 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-10-26 06:25:43,182 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2024-10-26 06:25:43,200 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2024-10-26 06:25:43,203 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2024-10-26 06:25:43,248 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2024-10-26 06:25:43,248 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-10-26 06:25:43,248 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-10-26 06:25:43,248 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2024-10-26 06:25:43,248 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-10-26 06:25:43,249 INFO L130 BoogieDeclarations]: Found specification of procedure setThread [2024-10-26 06:25:43,249 INFO L138 BoogieDeclarations]: Found implementation of procedure setThread [2024-10-26 06:25:43,249 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-10-26 06:25:43,249 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-10-26 06:25:43,249 INFO L130 BoogieDeclarations]: Found specification of procedure checkThread [2024-10-26 06:25:43,249 INFO L138 BoogieDeclarations]: Found implementation of procedure checkThread [2024-10-26 06:25:43,250 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-10-26 06:25:43,250 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-10-26 06:25:43,250 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-10-26 06:25:43,252 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-10-26 06:25:43,415 INFO L238 CfgBuilder]: Building ICFG [2024-10-26 06:25:43,418 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-10-26 06:25:43,671 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-10-26 06:25:43,671 INFO L287 CfgBuilder]: Performing block encoding [2024-10-26 06:25:43,832 INFO L309 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-10-26 06:25:43,833 INFO L314 CfgBuilder]: Removed 4 assume(true) statements. [2024-10-26 06:25:43,833 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.10 06:25:43 BoogieIcfgContainer [2024-10-26 06:25:43,833 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-10-26 06:25:43,838 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-10-26 06:25:43,838 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-10-26 06:25:43,842 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-10-26 06:25:43,842 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 26.10 06:25:42" (1/3) ... [2024-10-26 06:25:43,843 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@784bc087 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 26.10 06:25:43, skipping insertion in model container [2024-10-26 06:25:43,843 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:43" (2/3) ... [2024-10-26 06:25:43,844 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@784bc087 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 26.10 06:25:43, skipping insertion in model container [2024-10-26 06:25:43,845 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.10 06:25:43" (3/3) ... [2024-10-26 06:25:43,846 INFO L112 eAbstractionObserver]: Analyzing ICFG reorder_5-2.i [2024-10-26 06:25:43,863 INFO L209 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-10-26 06:25:43,864 INFO L149 ceAbstractionStarter]: Applying trace abstraction to program that has 12 error locations. [2024-10-26 06:25:43,865 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-10-26 06:25:43,929 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-10-26 06:25:43,982 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-26 06:25:43,983 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2024-10-26 06:25:43,983 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2024-10-26 06:25:43,985 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2024-10-26 06:25:43,987 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Waiting until timeout for monitored process [2024-10-26 06:25:44,034 INFO L157 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 1 independence relations. [2024-10-26 06:25:44,050 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == checkThreadThread1of1ForFork1 ======== [2024-10-26 06:25:44,060 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=PARTIAL_ORDER_FA, 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;@1ff85cd8, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-26 06:25:44,061 INFO L334 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2024-10-26 06:25:44,464 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting checkThreadErr0ASSERT_VIOLATIONMEMORY_LEAK === [checkThreadErr0ASSERT_VIOLATIONMEMORY_LEAK] === [2024-10-26 06:25:44,470 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-26 06:25:44,470 INFO L85 PathProgramCache]: Analyzing trace with hash -1389910249, now seen corresponding path program 1 times [2024-10-26 06:25:44,479 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-26 06:25:44,479 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [228808965] [2024-10-26 06:25:44,480 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-26 06:25:44,480 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-26 06:25:44,675 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-26 06:25:45,102 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2024-10-26 06:25:45,104 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-26 06:25:45,105 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [228808965] [2024-10-26 06:25:45,106 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [228808965] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-26 06:25:45,106 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-26 06:25:45,106 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2024-10-26 06:25:45,108 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1717866190] [2024-10-26 06:25:45,109 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-26 06:25:45,113 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2024-10-26 06:25:45,114 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-26 06:25:45,145 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2024-10-26 06:25:45,146 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2024-10-26 06:25:45,148 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-10-26 06:25:45,155 INFO L471 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2024-10-26 06:25:45,156 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 3.8) internal successors, (19), 4 states have internal predecessors, (19), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-26 06:25:45,157 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2024-10-26 06:25:45,467 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2024-10-26 06:25:45,467 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-10-26 06:25:45,468 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting checkThreadErr0ASSERT_VIOLATIONMEMORY_LEAK === [checkThreadErr0ASSERT_VIOLATIONMEMORY_LEAK] === [2024-10-26 06:25:45,468 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-26 06:25:45,468 INFO L85 PathProgramCache]: Analyzing trace with hash 946302143, now seen corresponding path program 1 times [2024-10-26 06:25:45,469 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-26 06:25:45,469 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [514827651] [2024-10-26 06:25:45,469 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-26 06:25:45,469 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-26 06:25:45,502 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-26 06:25:45,502 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-26 06:25:45,532 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-26 06:25:45,570 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-26 06:25:45,570 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-10-26 06:25:45,572 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location checkThreadErr0ASSERT_VIOLATIONMEMORY_LEAK (0 of 1 remaining) [2024-10-26 06:25:45,573 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-10-26 06:25:45,584 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-10-26 06:25:45,586 INFO L312 ceAbstractionStarter]: Result for error location checkThreadThread1of1ForFork1 was UNSAFE (1/2) [2024-10-26 06:25:45,649 INFO L234 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-10-26 06:25:45,649 INFO L165 ceAbstractionStarter]: Computing trace abstraction results [2024-10-26 06:25:45,654 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 26.10 06:25:45 BasicIcfg [2024-10-26 06:25:45,654 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-10-26 06:25:45,655 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-10-26 06:25:45,655 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-10-26 06:25:45,655 INFO L274 PluginConnector]: Witness Printer initialized [2024-10-26 06:25:45,655 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.10 06:25:43" (3/4) ... [2024-10-26 06:25:45,657 INFO L142 WitnessPrinter]: No result that supports witness generation found [2024-10-26 06:25:45,660 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-10-26 06:25:45,660 INFO L158 Benchmark]: Toolchain (without parser) took 3385.26ms. Allocated memory is still 174.1MB. Free memory was 102.6MB in the beginning and 63.2MB in the end (delta: 39.4MB). Peak memory consumption was 41.3MB. Max. memory is 16.1GB. [2024-10-26 06:25:45,662 INFO L158 Benchmark]: CDTParser took 0.18ms. Allocated memory is still 174.1MB. Free memory was 133.5MB in the beginning and 133.3MB in the end (delta: 160.8kB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-26 06:25:45,665 INFO L158 Benchmark]: CACSL2BoogieTranslator took 756.14ms. Allocated memory is still 174.1MB. Free memory was 102.4MB in the beginning and 112.2MB in the end (delta: -9.8MB). Peak memory consumption was 10.6MB. Max. memory is 16.1GB. [2024-10-26 06:25:45,665 INFO L158 Benchmark]: Boogie Procedure Inliner took 77.91ms. Allocated memory is still 174.1MB. Free memory was 112.2MB in the beginning and 109.7MB in the end (delta: 2.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-26 06:25:45,665 INFO L158 Benchmark]: Boogie Preprocessor took 51.63ms. Allocated memory is still 174.1MB. Free memory was 109.7MB in the beginning and 108.0MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-26 06:25:45,666 INFO L158 Benchmark]: RCFGBuilder took 669.81ms. Allocated memory is still 174.1MB. Free memory was 108.0MB in the beginning and 76.1MB in the end (delta: 31.9MB). Peak memory consumption was 31.5MB. Max. memory is 16.1GB. [2024-10-26 06:25:45,666 INFO L158 Benchmark]: TraceAbstraction took 1816.61ms. Allocated memory is still 174.1MB. Free memory was 75.3MB in the beginning and 63.2MB in the end (delta: 12.1MB). Peak memory consumption was 14.0MB. Max. memory is 16.1GB. [2024-10-26 06:25:45,666 INFO L158 Benchmark]: Witness Printer took 4.98ms. Allocated memory is still 174.1MB. Free memory is still 63.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-10-26 06:25:45,667 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.18ms. Allocated memory is still 174.1MB. Free memory was 133.5MB in the beginning and 133.3MB in the end (delta: 160.8kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 756.14ms. Allocated memory is still 174.1MB. Free memory was 102.4MB in the beginning and 112.2MB in the end (delta: -9.8MB). Peak memory consumption was 10.6MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 77.91ms. Allocated memory is still 174.1MB. Free memory was 112.2MB in the beginning and 109.7MB in the end (delta: 2.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 51.63ms. Allocated memory is still 174.1MB. Free memory was 109.7MB in the beginning and 108.0MB in the end (delta: 1.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 669.81ms. Allocated memory is still 174.1MB. Free memory was 108.0MB in the beginning and 76.1MB in the end (delta: 31.9MB). Peak memory consumption was 31.5MB. Max. memory is 16.1GB. * TraceAbstraction took 1816.61ms. Allocated memory is still 174.1MB. Free memory was 75.3MB in the beginning and 63.2MB in the end (delta: 12.1MB). Peak memory consumption was 14.0MB. Max. memory is 16.1GB. * Witness Printer took 4.98ms. Allocated memory is still 174.1MB. Free memory is still 63.2MB. There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Partial order reduction statistics Independence relation #1 benchmarks: IndependenceRelationWithAbstraction.Independence Queries: [ total: 822, independent: 810, independent conditional: 44, independent unconditional: 766, dependent: 12, dependent conditional: 6, dependent unconditional: 6, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , IndependenceRelationWithAbstraction.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 1664, independent: 1627, independent conditional: 134, independent unconditional: 1493, dependent: 37, dependent conditional: 19, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1646, independent: 1627, independent conditional: 134, independent unconditional: 1493, dependent: 19, dependent conditional: 1, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 1646, independent: 1627, independent conditional: 134, independent unconditional: 1493, dependent: 19, dependent conditional: 1, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1647, independent: 1627, independent conditional: 134, independent unconditional: 1493, dependent: 20, dependent conditional: 2, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 1647, independent: 1627, independent conditional: 0, independent unconditional: 1627, dependent: 20, dependent conditional: 0, dependent unconditional: 20, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 1647, independent: 1627, independent conditional: 0, independent unconditional: 1627, dependent: 20, dependent conditional: 0, dependent unconditional: 20, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1100, independent: 1084, independent conditional: 0, independent unconditional: 1084, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1100, independent: 1082, independent conditional: 0, independent unconditional: 1082, dependent: 18, dependent conditional: 0, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 249, independent: 6, independent conditional: 0, independent unconditional: 6, dependent: 243, dependent conditional: 0, dependent unconditional: 243, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 1647, independent: 543, independent conditional: 0, independent unconditional: 543, dependent: 4, dependent conditional: 0, dependent unconditional: 4, unknown: 1100, unknown conditional: 0, unknown unconditional: 1100] , Statistics on independence cache: Total cache size (in pairs): 742, Positive cache size: 736, Positive conditional cache size: 0, Positive unconditional cache size: 736, Negative cache size: 6, Negative conditional cache size: 0, Negative unconditional cache size: 6, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 44, Maximal queried relation: 0, Independence queries for same thread: 6, Statistics for Abstraction: , Persistent sets #1 benchmarks: Persistent set computation time: 0.3s, Number of persistent set computation: 30, Number of trivial persistent sets: 14, Underlying independence relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 772, independent: 766, independent conditional: 0, independent unconditional: 766, dependent: 6, dependent conditional: 0, dependent unconditional: 6, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: IndependenceRelationWithAbstraction.Independence Queries: [ total: 822, independent: 810, independent conditional: 44, independent unconditional: 766, dependent: 12, dependent conditional: 6, dependent unconditional: 6, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , IndependenceRelationWithAbstraction.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 1664, independent: 1627, independent conditional: 134, independent unconditional: 1493, dependent: 37, dependent conditional: 19, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1646, independent: 1627, independent conditional: 134, independent unconditional: 1493, dependent: 19, dependent conditional: 1, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 1646, independent: 1627, independent conditional: 134, independent unconditional: 1493, dependent: 19, dependent conditional: 1, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1647, independent: 1627, independent conditional: 134, independent unconditional: 1493, dependent: 20, dependent conditional: 2, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 1647, independent: 1627, independent conditional: 0, independent unconditional: 1627, dependent: 20, dependent conditional: 0, dependent unconditional: 20, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 1647, independent: 1627, independent conditional: 0, independent unconditional: 1627, dependent: 20, dependent conditional: 0, dependent unconditional: 20, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1100, independent: 1084, independent conditional: 0, independent unconditional: 1084, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1100, independent: 1082, independent conditional: 0, independent unconditional: 1082, dependent: 18, dependent conditional: 0, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 249, independent: 6, independent conditional: 0, independent unconditional: 6, dependent: 243, dependent conditional: 0, dependent unconditional: 243, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 1647, independent: 543, independent conditional: 0, independent unconditional: 543, dependent: 4, dependent conditional: 0, dependent unconditional: 4, unknown: 1100, unknown conditional: 0, unknown unconditional: 1100] , Statistics on independence cache: Total cache size (in pairs): 742, Positive cache size: 736, Positive conditional cache size: 0, Positive unconditional cache size: 736, Negative cache size: 6, Negative conditional cache size: 0, Negative unconditional cache size: 6, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 44, Maximal queried relation: 0, Independence queries for same thread: 6, Statistics for Abstraction: , Independence relation #2 benchmarks: IndependenceRelationWithAbstraction.Independence Queries: [ total: 842, independent: 817, independent conditional: 90, independent unconditional: 727, dependent: 25, dependent conditional: 13, dependent unconditional: 12, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , IndependenceRelationWithAbstraction.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 1664, independent: 1627, independent conditional: 134, independent unconditional: 1493, dependent: 37, dependent conditional: 19, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1646, independent: 1627, independent conditional: 134, independent unconditional: 1493, dependent: 19, dependent conditional: 1, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 1646, independent: 1627, independent conditional: 134, independent unconditional: 1493, dependent: 19, dependent conditional: 1, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1647, independent: 1627, independent conditional: 134, independent unconditional: 1493, dependent: 20, dependent conditional: 2, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 1647, independent: 1627, independent conditional: 0, independent unconditional: 1627, dependent: 20, dependent conditional: 0, dependent unconditional: 20, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 1647, independent: 1627, independent conditional: 0, independent unconditional: 1627, dependent: 20, dependent conditional: 0, dependent unconditional: 20, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1100, independent: 1084, independent conditional: 0, independent unconditional: 1084, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1100, independent: 1082, independent conditional: 0, independent unconditional: 1082, dependent: 18, dependent conditional: 0, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 249, independent: 6, independent conditional: 0, independent unconditional: 6, dependent: 243, dependent conditional: 0, dependent unconditional: 243, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 1647, independent: 543, independent conditional: 0, independent unconditional: 543, dependent: 4, dependent conditional: 0, dependent unconditional: 4, unknown: 1100, unknown conditional: 0, unknown unconditional: 1100] , Statistics on independence cache: Total cache size (in pairs): 1100, Positive cache size: 1084, Positive conditional cache size: 0, Positive unconditional cache size: 1084, Negative cache size: 16, Negative conditional cache size: 0, Negative unconditional cache size: 16, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 136, Maximal queried relation: 1, Independence queries for same thread: 18, Statistics for Abstraction: , Persistent sets #2 benchmarks: Persistent set computation time: 0.2s, Number of persistent set computation: 45, Number of trivial persistent sets: 22, Underlying independence relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 739, independent: 727, independent conditional: 0, independent unconditional: 727, dependent: 12, dependent conditional: 0, dependent unconditional: 12, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: IndependenceRelationWithAbstraction.Independence Queries: [ total: 842, independent: 817, independent conditional: 90, independent unconditional: 727, dependent: 25, dependent conditional: 13, dependent unconditional: 12, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , IndependenceRelationWithAbstraction.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 1664, independent: 1627, independent conditional: 134, independent unconditional: 1493, dependent: 37, dependent conditional: 19, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1646, independent: 1627, independent conditional: 134, independent unconditional: 1493, dependent: 19, dependent conditional: 1, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 1646, independent: 1627, independent conditional: 134, independent unconditional: 1493, dependent: 19, dependent conditional: 1, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1647, independent: 1627, independent conditional: 134, independent unconditional: 1493, dependent: 20, dependent conditional: 2, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 1647, independent: 1627, independent conditional: 0, independent unconditional: 1627, dependent: 20, dependent conditional: 0, dependent unconditional: 20, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 1647, independent: 1627, independent conditional: 0, independent unconditional: 1627, dependent: 20, dependent conditional: 0, dependent unconditional: 20, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1100, independent: 1084, independent conditional: 0, independent unconditional: 1084, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1100, independent: 1082, independent conditional: 0, independent unconditional: 1082, dependent: 18, dependent conditional: 0, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 249, independent: 6, independent conditional: 0, independent unconditional: 6, dependent: 243, dependent conditional: 0, dependent unconditional: 243, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 1647, independent: 543, independent conditional: 0, independent unconditional: 543, dependent: 4, dependent conditional: 0, dependent unconditional: 4, unknown: 1100, unknown conditional: 0, unknown unconditional: 1100] , Statistics on independence cache: Total cache size (in pairs): 1100, Positive cache size: 1084, Positive conditional cache size: 0, Positive unconditional cache size: 1084, Negative cache size: 16, Negative conditional cache size: 0, Negative unconditional cache size: 16, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 136, Maximal queried relation: 1, Independence queries for same thread: 18, Statistics for Abstraction: - UnprovableResult [Line: 11]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of sscanf at line 1246, overapproximation of memtrack at line 11. Possible FailurePath: [L1229] 0 static int iSet = 4; [L1230] 0 static int iCheck = 1; [L1231] 0 static int a = 0; [L1232] 0 static int b = 0; [L1239] 0 int i, err; VAL [\old(argc)=3, \old(argv)={50:51}, a=0, argc=3, b=0, iCheck=1, iSet=4] [L1240] COND TRUE 0 argc != 1 VAL [\old(argc)=3, \old(argv)={50:51}, a=0, argc=3, b=0, iCheck=1, iSet=4] [L1241] COND FALSE 0 !(argc != 3) VAL [\old(argc)=3, \old(argv)={50:51}, a=0, argc=3, b=0, iCheck=1, iSet=4] [L1245] 0 argv[1] [L1246] 0 argv[2] [L1249] 0 pthread_t setPool[iSet]; [L1250] 0 pthread_t checkPool[iCheck]; [L1251] 0 i = 0 VAL [\old(argc)=3, \old(argv)={50:51}, a=0, argc=3, b=0, checkPool={5:0}, i=0, iCheck=2, iSet=1, setPool={6:0}] [L1251] COND TRUE 0 i < iSet [L1252] EXPR, FCALL, FORK 0 pthread_create(&setPool[i], ((void *)0), &setThread, ((void *)0)) VAL [\old(argc)=3, \old(argv)={50:51}, \old(param)={0:0}, a=0, argc=3, b=0, checkPool={5:0}, i=0, iCheck=2, iSet=1, setPool={6:0}] [L1252] EXPR 0 err = pthread_create(&setPool[i], ((void *)0), &setThread, ((void *)0)) [L1252] COND FALSE 0 !(0 != (err = pthread_create(&setPool[i], ((void *)0), &setThread, ((void *)0)))) [L1251] 0 i++ VAL [\old(argc)=3, \old(argv)={50:51}, \old(param)={0:0}, a=0, argc=3, b=0, checkPool={5:0}, err=0, i=1, iCheck=2, iSet=1, setPool={6:0}] [L1251] COND FALSE 0 !(i < iSet) [L1257] 0 i = 0 VAL [\old(argc)=3, \old(argv)={50:51}, \old(param)={0:0}, a=0, argc=3, b=0, checkPool={5:0}, err=0, i=0, iCheck=2, iSet=1, setPool={6:0}] [L1257] COND TRUE 0 i < iCheck [L1258-L1259] EXPR, FCALL, FORK 0 pthread_create(&checkPool[i], ((void *)0), &checkThread, ((void *)0)) VAL [\old(argc)=3, \old(argv)={50:51}, \old(param)={0:0}, a=0, argc=3, b=0, checkPool={5:0}, err=0, i=0, iCheck=2, iSet=1, setPool={6:0}] [L1289] 2 int la = a; VAL [\old(param)={0:0}, \old(param)={0:0}, a=0, b=0, iCheck=2, iSet=1, la=0, param={0:0}] [L1258-L1259] EXPR 0 err = pthread_create(&checkPool[i], ((void *)0), &checkThread, ((void *)0)) [L1258-L1259] COND FALSE 0 !(0 != (err = pthread_create(&checkPool[i], ((void *)0), &checkThread, ((void *)0)))) [L1257] 0 i++ VAL [\old(argc)=3, \old(argv)={50:51}, \old(param)={0:0}, a=0, argc=3, b=0, checkPool={5:0}, err=0, i=1, iCheck=2, iSet=1, setPool={6:0}] [L1257] COND TRUE 0 i < iCheck [L1258-L1259] FCALL, FORK 0 pthread_create(&checkPool[i], ((void *)0), &checkThread, ((void *)0)) VAL [\old(argc)=3, \old(argv)={50:51}, \old(param)={0:0}, a=0, argc=3, b=0, checkPool={5:0}, err=0, i=1, iCheck=2, iSet=1, setPool={6:0}] [L1280] 1 a = 1 VAL [\old(param)={0:0}, a=1, b=0, iCheck=2, iSet=1, param={0:0}] [L1283] 1 b = -1 VAL [\old(param)={0:0}, a=1, b=-1, iCheck=2, iSet=1, param={0:0}] [L1292] 2 int lb = b; VAL [\old(param)={0:0}, \old(param)={0:0}, a=1, b=-1, iCheck=2, iSet=1, la=0, lb=-1, param={0:0}, param={0:0}] [L1294] COND TRUE 2 ! ((la == 0 && lb == 0) || (la == 1 && lb == -1)) [L1296] CALL 2 reach_error() [L11] 2 __assert_fail("0", "reorder_5.c", 3, "reach_error") VAL [\old(param)={0:0}, a=1, b=-1, iCheck=2, iSet=1, param={0:0}] - StatisticsResult: Ultimate Automizer benchmark data for errors in thread instance: checkThreadThread1of1ForFork1 with 1 thread instances CFG has 5 procedures, 63 locations, 15 error locations. Started 1 CEGAR loops. OverallTime: 1.6s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.7s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=0occurred in iteration=0, InterpolantAutomatonStates: 6, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.4s InterpolantComputationTime, 45 NumberOfCodeBlocks, 45 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 18 ConstructedInterpolants, 0 QuantifiedInterpolants, 120 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 1/1 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-10-26 06:25:45,707 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Ended with exit code 0 [2024-10-26 06:25:45,905 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Forceful destruction successful, exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Using bit-precise analysis Retrying with bit-precise analysis ### Bit-precise run ### Calling Ultimate with: /root/.sdkman/candidates/java/current/bin/java -Dosgi.configuration.area=/storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/config -Xmx15G -Xms4m -jar /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data -tc /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/GemCutterMemDerefMemtrack.xml -i ../sv-benchmarks/c/pthread/reorder_5-2.i -s /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-DerefFreeMemtrack-32bit-GemCutter_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /storage/repos/ultimate/releaseScripts/default/UGemCutter-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 GemCutter --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 41850eb6fd386c6f0f40e76b0dfccb7c973d8ab2a3ee3a82b04526b3663119f9 --- Real Ultimate output --- This is Ultimate 0.2.5-dev-9a849f6-m [2024-10-26 06:25:48,311 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-26 06:25:48,401 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-DerefFreeMemtrack-32bit-GemCutter_Bitvector.epf [2024-10-26 06:25:48,407 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-26 06:25:48,409 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-26 06:25:48,440 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-26 06:25:48,444 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-26 06:25:48,445 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-26 06:25:48,445 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-26 06:25:48,446 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-26 06:25:48,446 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-26 06:25:48,447 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-26 06:25:48,447 INFO L153 SettingsManager]: * Use SBE=true [2024-10-26 06:25:48,448 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-26 06:25:48,449 INFO L153 SettingsManager]: * sizeof long=4 [2024-10-26 06:25:48,450 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-26 06:25:48,450 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-10-26 06:25:48,450 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-26 06:25:48,451 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-10-26 06:25:48,451 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-10-26 06:25:48,451 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-10-26 06:25:48,452 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-26 06:25:48,452 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-10-26 06:25:48,452 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-10-26 06:25:48,452 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-26 06:25:48,453 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-10-26 06:25:48,453 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-10-26 06:25:48,453 INFO L153 SettingsManager]: * sizeof long double=12 [2024-10-26 06:25:48,453 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-26 06:25:48,454 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-26 06:25:48,454 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-26 06:25:48,454 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-26 06:25:48,454 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-26 06:25:48,455 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-10-26 06:25:48,455 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-26 06:25:48,455 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-26 06:25:48,455 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-10-26 06:25:48,455 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-10-26 06:25:48,455 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-26 06:25:48,456 INFO L153 SettingsManager]: * Abstraction used for commutativity in POR=VARIABLES_GLOBAL [2024-10-26 06:25:48,456 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2024-10-26 06:25:48,456 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2024-10-26 06:25:48,457 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2024-10-26 06:25:48,457 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-10-26 06:25:48,457 INFO L153 SettingsManager]: * Logic for external solver=AUFBV 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/UGemCutter-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/UGemCutter-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 -> GemCutter 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 -> 41850eb6fd386c6f0f40e76b0dfccb7c973d8ab2a3ee3a82b04526b3663119f9 [2024-10-26 06:25:48,807 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-26 06:25:48,833 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-26 06:25:48,839 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-26 06:25:48,841 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-26 06:25:48,844 INFO L274 PluginConnector]: CDTParser initialized [2024-10-26 06:25:48,846 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/../sv-benchmarks/c/pthread/reorder_5-2.i [2024-10-26 06:25:50,626 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-26 06:25:50,976 INFO L384 CDTParser]: Found 1 translation units. [2024-10-26 06:25:50,977 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/releaseScripts/default/sv-benchmarks/c/pthread/reorder_5-2.i [2024-10-26 06:25:51,007 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/2cc9cb157/e6a149cd071e49368670669fe7cc2a64/FLAG540144afc [2024-10-26 06:25:51,026 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/2cc9cb157/e6a149cd071e49368670669fe7cc2a64 [2024-10-26 06:25:51,029 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-26 06:25:51,031 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-26 06:25:51,032 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-26 06:25:51,032 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-26 06:25:51,040 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-26 06:25:51,041 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 26.10 06:25:51" (1/1) ... [2024-10-26 06:25:51,043 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@4cde694a and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:51, skipping insertion in model container [2024-10-26 06:25:51,043 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 26.10 06:25:51" (1/1) ... [2024-10-26 06:25:51,123 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-26 06:25:51,755 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-26 06:25:51,771 INFO L200 MainTranslator]: Completed pre-run [2024-10-26 06:25:51,840 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-26 06:25:51,938 INFO L204 MainTranslator]: Completed translation [2024-10-26 06:25:51,939 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:51 WrapperNode [2024-10-26 06:25:51,939 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-26 06:25:51,940 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-26 06:25:51,940 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-26 06:25:51,940 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-26 06:25:51,947 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:51" (1/1) ... [2024-10-26 06:25:51,970 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:51" (1/1) ... [2024-10-26 06:25:52,003 INFO L138 Inliner]: procedures = 374, calls = 28, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 136 [2024-10-26 06:25:52,004 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-26 06:25:52,005 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-10-26 06:25:52,006 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-10-26 06:25:52,006 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-10-26 06:25:52,015 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:51" (1/1) ... [2024-10-26 06:25:52,015 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:51" (1/1) ... [2024-10-26 06:25:52,023 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:51" (1/1) ... [2024-10-26 06:25:52,023 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:51" (1/1) ... [2024-10-26 06:25:52,043 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:51" (1/1) ... [2024-10-26 06:25:52,049 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:51" (1/1) ... [2024-10-26 06:25:52,056 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:51" (1/1) ... [2024-10-26 06:25:52,061 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:51" (1/1) ... [2024-10-26 06:25:52,065 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-10-26 06:25:52,070 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-10-26 06:25:52,070 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-10-26 06:25:52,070 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-10-26 06:25:52,071 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:51" (1/1) ... [2024-10-26 06:25:52,078 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-10-26 06:25:52,090 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2024-10-26 06:25:52,112 INFO L229 MonitoredProcess]: Starting monitored process 1 with /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2024-10-26 06:25:52,114 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2024-10-26 06:25:52,171 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2024-10-26 06:25:52,171 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_begin [2024-10-26 06:25:52,171 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-10-26 06:25:52,171 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-10-26 06:25:52,171 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2024-10-26 06:25:52,172 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-10-26 06:25:52,172 INFO L130 BoogieDeclarations]: Found specification of procedure __VERIFIER_atomic_end [2024-10-26 06:25:52,172 INFO L130 BoogieDeclarations]: Found specification of procedure setThread [2024-10-26 06:25:52,172 INFO L138 BoogieDeclarations]: Found implementation of procedure setThread [2024-10-26 06:25:52,172 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-10-26 06:25:52,173 INFO L130 BoogieDeclarations]: Found specification of procedure checkThread [2024-10-26 06:25:52,173 INFO L138 BoogieDeclarations]: Found implementation of procedure checkThread [2024-10-26 06:25:52,173 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-10-26 06:25:52,173 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-10-26 06:25:52,175 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-10-26 06:25:52,376 INFO L238 CfgBuilder]: Building ICFG [2024-10-26 06:25:52,379 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-10-26 06:25:52,785 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-10-26 06:25:52,786 INFO L287 CfgBuilder]: Performing block encoding [2024-10-26 06:25:52,995 INFO L309 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-10-26 06:25:52,996 INFO L314 CfgBuilder]: Removed 4 assume(true) statements. [2024-10-26 06:25:52,997 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.10 06:25:52 BoogieIcfgContainer [2024-10-26 06:25:52,997 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-10-26 06:25:52,999 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-10-26 06:25:53,000 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-10-26 06:25:53,003 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-10-26 06:25:53,004 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 26.10 06:25:51" (1/3) ... [2024-10-26 06:25:53,004 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6866603f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 26.10 06:25:53, skipping insertion in model container [2024-10-26 06:25:53,004 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 26.10 06:25:51" (2/3) ... [2024-10-26 06:25:53,005 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6866603f and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 26.10 06:25:53, skipping insertion in model container [2024-10-26 06:25:53,005 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.10 06:25:52" (3/3) ... [2024-10-26 06:25:53,006 INFO L112 eAbstractionObserver]: Analyzing ICFG reorder_5-2.i [2024-10-26 06:25:53,026 INFO L209 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-10-26 06:25:53,026 INFO L149 ceAbstractionStarter]: Applying trace abstraction to program that has 12 error locations. [2024-10-26 06:25:53,026 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-10-26 06:25:53,092 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-10-26 06:25:53,138 INFO L100 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=VARIABLES_GLOBAL, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-26 06:25:53,139 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2024-10-26 06:25:53,139 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2024-10-26 06:25:53,141 INFO L229 MonitoredProcess]: Starting monitored process 2 with /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (exit command is (exit), workingDir is null) [2024-10-26 06:25:53,142 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Waiting until timeout for monitored process [2024-10-26 06:25:53,185 INFO L157 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 1 independence relations. [2024-10-26 06:25:53,197 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == checkThreadThread1of1ForFork1 ======== [2024-10-26 06:25:53,205 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=PARTIAL_ORDER_FA, 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;@1275f24b, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-26 06:25:53,205 INFO L334 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2024-10-26 06:25:53,517 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting checkThreadErr0ASSERT_VIOLATIONMEMORY_LEAK === [checkThreadErr0ASSERT_VIOLATIONMEMORY_LEAK] === [2024-10-26 06:25:53,522 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-26 06:25:53,526 INFO L85 PathProgramCache]: Analyzing trace with hash 1214325077, now seen corresponding path program 1 times [2024-10-26 06:25:53,543 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-10-26 06:25:53,543 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1096960994] [2024-10-26 06:25:53,543 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-26 06:25:53,544 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-10-26 06:25:53,544 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/mathsat [2024-10-26 06:25:53,566 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2024-10-26 06:25:53,567 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Waiting until timeout for monitored process [2024-10-26 06:25:53,688 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-26 06:25:53,692 INFO L255 TraceCheckSpWp]: Trace formula consists of 84 conjuncts, 5 conjuncts are in the unsatisfiable core [2024-10-26 06:25:53,698 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-26 06:25:53,881 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2024-10-26 06:25:53,881 INFO L307 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2024-10-26 06:25:53,882 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2024-10-26 06:25:53,882 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1096960994] [2024-10-26 06:25:53,883 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [1096960994] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-26 06:25:53,883 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-26 06:25:53,883 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2024-10-26 06:25:53,885 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [2137816611] [2024-10-26 06:25:53,885 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-26 06:25:53,889 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2024-10-26 06:25:53,890 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2024-10-26 06:25:53,911 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2024-10-26 06:25:53,912 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=7, Invalid=13, Unknown=0, NotChecked=0, Total=20 [2024-10-26 06:25:53,913 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-10-26 06:25:53,917 INFO L471 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2024-10-26 06:25:53,918 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 3.8) internal successors, (19), 4 states have internal predecessors, (19), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-10-26 06:25:53,918 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2024-10-26 06:25:54,268 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 6 states. [2024-10-26 06:25:54,274 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Ended with exit code 0 [2024-10-26 06:25:54,473 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-10-26 06:25:54,474 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting checkThreadErr0ASSERT_VIOLATIONMEMORY_LEAK === [checkThreadErr0ASSERT_VIOLATIONMEMORY_LEAK] === [2024-10-26 06:25:54,474 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-26 06:25:54,475 INFO L85 PathProgramCache]: Analyzing trace with hash 1168525695, now seen corresponding path program 1 times [2024-10-26 06:25:54,475 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-10-26 06:25:54,475 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [744020994] [2024-10-26 06:25:54,475 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-26 06:25:54,475 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-10-26 06:25:54,476 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/mathsat [2024-10-26 06:25:54,477 INFO L229 MonitoredProcess]: Starting monitored process 4 with /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2024-10-26 06:25:54,479 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (4)] Waiting until timeout for monitored process [2024-10-26 06:25:54,572 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-26 06:25:54,573 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-26 06:25:54,624 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-26 06:25:54,666 INFO L130 FreeRefinementEngine]: Strategy WOLF found a feasible trace [2024-10-26 06:25:54,667 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-10-26 06:25:54,669 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location checkThreadErr0ASSERT_VIOLATIONMEMORY_LEAK (0 of 1 remaining) [2024-10-26 06:25:54,679 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (4)] Ended with exit code 0 [2024-10-26 06:25:54,871 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 4 /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-10-26 06:25:54,883 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-10-26 06:25:54,884 INFO L312 ceAbstractionStarter]: Result for error location checkThreadThread1of1ForFork1 was UNSAFE (1/2) [2024-10-26 06:25:54,936 INFO L234 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-10-26 06:25:54,937 INFO L165 ceAbstractionStarter]: Computing trace abstraction results [2024-10-26 06:25:54,939 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 26.10 06:25:54 BasicIcfg [2024-10-26 06:25:54,940 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-10-26 06:25:54,940 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-10-26 06:25:54,940 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-10-26 06:25:54,940 INFO L274 PluginConnector]: Witness Printer initialized [2024-10-26 06:25:54,941 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 26.10 06:25:52" (3/4) ... [2024-10-26 06:25:54,946 INFO L142 WitnessPrinter]: No result that supports witness generation found [2024-10-26 06:25:54,948 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-10-26 06:25:54,948 INFO L158 Benchmark]: Toolchain (without parser) took 3917.54ms. Allocated memory was 67.1MB in the beginning and 113.2MB in the end (delta: 46.1MB). Free memory was 32.2MB in the beginning and 78.2MB in the end (delta: -46.1MB). Peak memory consumption was 895.7kB. Max. memory is 16.1GB. [2024-10-26 06:25:54,952 INFO L158 Benchmark]: CDTParser took 0.23ms. Allocated memory is still 48.2MB. Free memory was 28.9MB in the beginning and 28.8MB in the end (delta: 52.5kB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-26 06:25:54,953 INFO L158 Benchmark]: CACSL2BoogieTranslator took 907.31ms. Allocated memory was 67.1MB in the beginning and 92.3MB in the end (delta: 25.2MB). Free memory was 32.0MB in the beginning and 64.3MB in the end (delta: -32.3MB). Peak memory consumption was 12.2MB. Max. memory is 16.1GB. [2024-10-26 06:25:54,953 INFO L158 Benchmark]: Boogie Procedure Inliner took 64.05ms. Allocated memory is still 92.3MB. Free memory was 64.3MB in the beginning and 61.4MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-26 06:25:54,953 INFO L158 Benchmark]: Boogie Preprocessor took 63.84ms. Allocated memory is still 92.3MB. Free memory was 61.4MB in the beginning and 59.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-26 06:25:54,953 INFO L158 Benchmark]: RCFGBuilder took 927.55ms. Allocated memory is still 92.3MB. Free memory was 59.3MB in the beginning and 42.7MB in the end (delta: 16.6MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. [2024-10-26 06:25:54,954 INFO L158 Benchmark]: TraceAbstraction took 1940.67ms. Allocated memory was 92.3MB in the beginning and 113.2MB in the end (delta: 21.0MB). Free memory was 42.0MB in the beginning and 78.2MB in the end (delta: -36.2MB). Peak memory consumption was 21.5MB. Max. memory is 16.1GB. [2024-10-26 06:25:54,954 INFO L158 Benchmark]: Witness Printer took 7.48ms. Allocated memory is still 113.2MB. Free memory is still 78.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-10-26 06:25:54,956 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.23ms. Allocated memory is still 48.2MB. Free memory was 28.9MB in the beginning and 28.8MB in the end (delta: 52.5kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 907.31ms. Allocated memory was 67.1MB in the beginning and 92.3MB in the end (delta: 25.2MB). Free memory was 32.0MB in the beginning and 64.3MB in the end (delta: -32.3MB). Peak memory consumption was 12.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 64.05ms. Allocated memory is still 92.3MB. Free memory was 64.3MB in the beginning and 61.4MB in the end (delta: 2.9MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 63.84ms. Allocated memory is still 92.3MB. Free memory was 61.4MB in the beginning and 59.3MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 927.55ms. Allocated memory is still 92.3MB. Free memory was 59.3MB in the beginning and 42.7MB in the end (delta: 16.6MB). Peak memory consumption was 21.0MB. Max. memory is 16.1GB. * TraceAbstraction took 1940.67ms. Allocated memory was 92.3MB in the beginning and 113.2MB in the end (delta: 21.0MB). Free memory was 42.0MB in the beginning and 78.2MB in the end (delta: -36.2MB). Peak memory consumption was 21.5MB. Max. memory is 16.1GB. * Witness Printer took 7.48ms. Allocated memory is still 113.2MB. Free memory is still 78.2MB. There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: Partial order reduction statistics Independence relation #1 benchmarks: IndependenceRelationWithAbstraction.Independence Queries: [ total: 823, independent: 811, independent conditional: 45, independent unconditional: 766, dependent: 12, dependent conditional: 6, dependent unconditional: 6, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , IndependenceRelationWithAbstraction.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 1665, independent: 1628, independent conditional: 135, independent unconditional: 1493, dependent: 37, dependent conditional: 19, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1647, independent: 1628, independent conditional: 135, independent unconditional: 1493, dependent: 19, dependent conditional: 1, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 1647, independent: 1628, independent conditional: 135, independent unconditional: 1493, dependent: 19, dependent conditional: 1, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1648, independent: 1628, independent conditional: 135, independent unconditional: 1493, dependent: 20, dependent conditional: 2, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 1648, independent: 1628, independent conditional: 0, independent unconditional: 1628, dependent: 20, dependent conditional: 0, dependent unconditional: 20, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 1648, independent: 1628, independent conditional: 0, independent unconditional: 1628, dependent: 20, dependent conditional: 0, dependent unconditional: 20, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1100, independent: 1084, independent conditional: 0, independent unconditional: 1084, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1100, independent: 1082, independent conditional: 0, independent unconditional: 1082, dependent: 18, dependent conditional: 0, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 272, independent: 6, independent conditional: 0, independent unconditional: 6, dependent: 266, dependent conditional: 0, dependent unconditional: 266, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 1648, independent: 544, independent conditional: 0, independent unconditional: 544, dependent: 4, dependent conditional: 0, dependent unconditional: 4, unknown: 1100, unknown conditional: 0, unknown unconditional: 1100] , Statistics on independence cache: Total cache size (in pairs): 742, Positive cache size: 736, Positive conditional cache size: 0, Positive unconditional cache size: 736, Negative cache size: 6, Negative conditional cache size: 0, Negative unconditional cache size: 6, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 45, Maximal queried relation: 0, Independence queries for same thread: 6, Statistics for Abstraction: , Persistent sets #1 benchmarks: Persistent set computation time: 0.2s, Number of persistent set computation: 30, Number of trivial persistent sets: 14, Underlying independence relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 772, independent: 766, independent conditional: 0, independent unconditional: 766, dependent: 6, dependent conditional: 0, dependent unconditional: 6, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: IndependenceRelationWithAbstraction.Independence Queries: [ total: 823, independent: 811, independent conditional: 45, independent unconditional: 766, dependent: 12, dependent conditional: 6, dependent unconditional: 6, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , IndependenceRelationWithAbstraction.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 1665, independent: 1628, independent conditional: 135, independent unconditional: 1493, dependent: 37, dependent conditional: 19, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1647, independent: 1628, independent conditional: 135, independent unconditional: 1493, dependent: 19, dependent conditional: 1, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 1647, independent: 1628, independent conditional: 135, independent unconditional: 1493, dependent: 19, dependent conditional: 1, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1648, independent: 1628, independent conditional: 135, independent unconditional: 1493, dependent: 20, dependent conditional: 2, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 1648, independent: 1628, independent conditional: 0, independent unconditional: 1628, dependent: 20, dependent conditional: 0, dependent unconditional: 20, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 1648, independent: 1628, independent conditional: 0, independent unconditional: 1628, dependent: 20, dependent conditional: 0, dependent unconditional: 20, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1100, independent: 1084, independent conditional: 0, independent unconditional: 1084, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1100, independent: 1082, independent conditional: 0, independent unconditional: 1082, dependent: 18, dependent conditional: 0, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 272, independent: 6, independent conditional: 0, independent unconditional: 6, dependent: 266, dependent conditional: 0, dependent unconditional: 266, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 1648, independent: 544, independent conditional: 0, independent unconditional: 544, dependent: 4, dependent conditional: 0, dependent unconditional: 4, unknown: 1100, unknown conditional: 0, unknown unconditional: 1100] , Statistics on independence cache: Total cache size (in pairs): 742, Positive cache size: 736, Positive conditional cache size: 0, Positive unconditional cache size: 736, Negative cache size: 6, Negative conditional cache size: 0, Negative unconditional cache size: 6, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 45, Maximal queried relation: 0, Independence queries for same thread: 6, Statistics for Abstraction: , Independence relation #2 benchmarks: IndependenceRelationWithAbstraction.Independence Queries: [ total: 842, independent: 817, independent conditional: 90, independent unconditional: 727, dependent: 25, dependent conditional: 13, dependent unconditional: 12, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , IndependenceRelationWithAbstraction.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 1665, independent: 1628, independent conditional: 135, independent unconditional: 1493, dependent: 37, dependent conditional: 19, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1647, independent: 1628, independent conditional: 135, independent unconditional: 1493, dependent: 19, dependent conditional: 1, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 1647, independent: 1628, independent conditional: 135, independent unconditional: 1493, dependent: 19, dependent conditional: 1, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1648, independent: 1628, independent conditional: 135, independent unconditional: 1493, dependent: 20, dependent conditional: 2, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 1648, independent: 1628, independent conditional: 0, independent unconditional: 1628, dependent: 20, dependent conditional: 0, dependent unconditional: 20, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 1648, independent: 1628, independent conditional: 0, independent unconditional: 1628, dependent: 20, dependent conditional: 0, dependent unconditional: 20, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1100, independent: 1084, independent conditional: 0, independent unconditional: 1084, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1100, independent: 1082, independent conditional: 0, independent unconditional: 1082, dependent: 18, dependent conditional: 0, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 272, independent: 6, independent conditional: 0, independent unconditional: 6, dependent: 266, dependent conditional: 0, dependent unconditional: 266, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 1648, independent: 544, independent conditional: 0, independent unconditional: 544, dependent: 4, dependent conditional: 0, dependent unconditional: 4, unknown: 1100, unknown conditional: 0, unknown unconditional: 1100] , Statistics on independence cache: Total cache size (in pairs): 1100, Positive cache size: 1084, Positive conditional cache size: 0, Positive unconditional cache size: 1084, Negative cache size: 16, Negative conditional cache size: 0, Negative unconditional cache size: 16, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 137, Maximal queried relation: 1, Independence queries for same thread: 18, Statistics for Abstraction: , Persistent sets #2 benchmarks: Persistent set computation time: 0.2s, Number of persistent set computation: 45, Number of trivial persistent sets: 22, Underlying independence relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 739, independent: 727, independent conditional: 0, independent unconditional: 727, dependent: 12, dependent conditional: 0, dependent unconditional: 12, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: IndependenceRelationWithAbstraction.Independence Queries: [ total: 842, independent: 817, independent conditional: 90, independent unconditional: 727, dependent: 25, dependent conditional: 13, dependent unconditional: 12, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , IndependenceRelationWithAbstraction.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 1665, independent: 1628, independent conditional: 135, independent unconditional: 1493, dependent: 37, dependent conditional: 19, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1647, independent: 1628, independent conditional: 135, independent unconditional: 1493, dependent: 19, dependent conditional: 1, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 1647, independent: 1628, independent conditional: 135, independent unconditional: 1493, dependent: 19, dependent conditional: 1, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1648, independent: 1628, independent conditional: 135, independent unconditional: 1493, dependent: 20, dependent conditional: 2, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 1648, independent: 1628, independent conditional: 0, independent unconditional: 1628, dependent: 20, dependent conditional: 0, dependent unconditional: 20, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 1648, independent: 1628, independent conditional: 0, independent unconditional: 1628, dependent: 20, dependent conditional: 0, dependent unconditional: 20, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1100, independent: 1084, independent conditional: 0, independent unconditional: 1084, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1100, independent: 1082, independent conditional: 0, independent unconditional: 1082, dependent: 18, dependent conditional: 0, dependent unconditional: 18, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 18, independent: 2, independent conditional: 0, independent unconditional: 2, dependent: 16, dependent conditional: 0, dependent unconditional: 16, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 272, independent: 6, independent conditional: 0, independent unconditional: 6, dependent: 266, dependent conditional: 0, dependent unconditional: 266, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 1648, independent: 544, independent conditional: 0, independent unconditional: 544, dependent: 4, dependent conditional: 0, dependent unconditional: 4, unknown: 1100, unknown conditional: 0, unknown unconditional: 1100] , Statistics on independence cache: Total cache size (in pairs): 1100, Positive cache size: 1084, Positive conditional cache size: 0, Positive unconditional cache size: 1084, Negative cache size: 16, Negative conditional cache size: 0, Negative unconditional cache size: 16, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 137, Maximal queried relation: 1, Independence queries for same thread: 18, Statistics for Abstraction: - UnprovableResult [Line: 11]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of sscanf at line 1246, overapproximation of memtrack at line 11. Possible FailurePath: [L1229] 0 static int iSet = 4; [L1230] 0 static int iCheck = 1; [L1231] 0 static int a = 0; [L1232] 0 static int b = 0; [L1239] 0 int i, err; VAL [\old(argc)=3, \old(argv)={9:6}, a=0, argc=3, b=0, iCheck=1, iSet=4] [L1240] COND TRUE 0 argc != 1 VAL [\old(argc)=3, \old(argv)={9:6}, a=0, argc=3, b=0, iCheck=1, iSet=4] [L1241] COND FALSE 0 !(argc != 3) VAL [\old(argc)=3, \old(argv)={9:6}, a=0, argc=3, b=0, iCheck=1, iSet=4] [L1245] 0 argv[1] [L1246] 0 argv[2] [L1249] 0 pthread_t setPool[iSet]; [L1250] 0 pthread_t checkPool[iCheck]; [L1251] 0 i = 0 VAL [\old(argc)=3, \old(argv)={9:6}, a=0, argc=3, b=0, checkPool={7:0}, i=0, iCheck=536870912, iSet=1, setPool={5:0}] [L1251] COND TRUE 0 i < iSet [L1252] EXPR, FCALL, FORK 0 pthread_create(&setPool[i], ((void *)0), &setThread, ((void *)0)) VAL [\old(argc)=3, \old(argv)={9:6}, \old(param)={0:0}, a=0, argc=3, b=0, checkPool={7:0}, i=0, iCheck=536870912, iSet=1, setPool={5:0}] [L1252] EXPR 0 err = pthread_create(&setPool[i], ((void *)0), &setThread, ((void *)0)) [L1252] COND FALSE 0 !(0 != (err = pthread_create(&setPool[i], ((void *)0), &setThread, ((void *)0)))) [L1251] 0 i++ VAL [\old(argc)=3, \old(argv)={9:6}, \old(param)={0:0}, a=0, argc=3, b=0, checkPool={7:0}, err=0, i=1, iCheck=536870912, iSet=1, setPool={5:0}] [L1251] COND FALSE 0 !(i < iSet) [L1257] 0 i = 0 VAL [\old(argc)=3, \old(argv)={9:6}, \old(param)={0:0}, a=0, argc=3, b=0, checkPool={7:0}, err=0, i=0, iCheck=536870912, iSet=1, setPool={5:0}] [L1257] COND TRUE 0 i < iCheck [L1258-L1259] EXPR, FCALL, FORK 0 pthread_create(&checkPool[i], ((void *)0), &checkThread, ((void *)0)) VAL [\old(argc)=3, \old(argv)={9:6}, \old(param)={0:0}, a=0, argc=3, b=0, checkPool={7:0}, err=0, i=0, iCheck=536870912, iSet=1, setPool={5:0}] [L1289] 2 int la = a; VAL [\old(param)={0:0}, \old(param)={0:0}, a=0, b=0, iCheck=536870912, iSet=1, la=0, param={0:0}] [L1258-L1259] EXPR 0 err = pthread_create(&checkPool[i], ((void *)0), &checkThread, ((void *)0)) [L1258-L1259] COND FALSE 0 !(0 != (err = pthread_create(&checkPool[i], ((void *)0), &checkThread, ((void *)0)))) [L1257] 0 i++ VAL [\old(argc)=3, \old(argv)={9:6}, \old(param)={0:0}, a=0, argc=3, b=0, checkPool={7:0}, err=0, i=1, iCheck=536870912, iSet=1, setPool={5:0}] [L1257] COND TRUE 0 i < iCheck [L1258-L1259] FCALL, FORK 0 pthread_create(&checkPool[i], ((void *)0), &checkThread, ((void *)0)) VAL [\old(argc)=3, \old(argv)={9:6}, \old(param)={0:0}, a=0, argc=3, b=0, checkPool={7:0}, err=0, i=1, iCheck=536870912, iSet=1, setPool={5:0}] [L1280] 1 a = 1 VAL [\old(param)={0:0}, a=1, b=0, iCheck=536870912, iSet=1, param={0:0}] [L1283] 1 b = -1 VAL [\old(param)={0:0}, a=1, b=-1, iCheck=536870912, iSet=1, param={0:0}] [L1292] 2 int lb = b; VAL [\old(param)={0:0}, \old(param)={0:0}, a=1, b=-1, iCheck=536870912, iSet=1, la=0, lb=-1, param={0:0}, param={0:0}] [L1294] COND TRUE 2 ! ((la == 0 && lb == 0) || (la == 1 && lb == -1)) [L1296] CALL 2 reach_error() [L11] 2 __assert_fail("0", "reorder_5.c", 3, "reach_error") VAL [\old(param)={0:0}, a=1, b=-1, iCheck=536870912, iSet=1, param={0:0}] - StatisticsResult: Ultimate Automizer benchmark data for errors in thread instance: checkThreadThread1of1ForFork1 with 1 thread instances CFG has 5 procedures, 63 locations, 15 error locations. Started 1 CEGAR loops. OverallTime: 1.7s, OverallIterations: 2, TraceHistogramMax: 0, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.7s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: , PredicateUnifierStatistics: No data available, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=0occurred in iteration=0, InterpolantAutomatonStates: 6, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.2s InterpolantComputationTime, 45 NumberOfCodeBlocks, 45 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 18 ConstructedInterpolants, 0 QuantifiedInterpolants, 120 SizeOfPredicates, 2 NumberOfNonLiveVariables, 84 ConjunctsInSsa, 5 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 1/1 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-10-26 06:25:55,000 INFO L540 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 (2)] Forceful destruction successful, exit code 0 [2024-10-26 06:25:55,208 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample