./Ultimate.py --spec ../../../trunk/examples/svcomp/properties/unreach-call.prp --file ../../../trunk/examples/svcomp/pthread/twostage_3.i --full-output --traceabstraction.dfs.order.used.in.por LOOP_LOCKSTEP --traceabstraction.additional.conditional.commutativity.checking IA --traceabstraction.criterion.for.conditional.commutativity.checking DEFAULT -tc /storage/repos/ultimate/releaseScripts/default/benchexec/../../../trunk/examples/toolchains/AutomizerCInline.xml --architecture 32bit -------------------------------------------------------------------------------- Checking for ERROR reachability Using default analysis Version b86fb0b7 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/GemCutterReach.xml -i ../../../trunk/examples/svcomp/pthread/twostage_3.i -s /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-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 ! call(reach_error())) ) --witnessprinter.graph.data.producer GemCutter --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 1032ef3fe166161226ca7e81ea27802cfc3f516ad1e4b45c387461fe1ddeccf8 --traceabstraction.dfs.order.used.in.por LOOP_LOCKSTEP --traceabstraction.additional.conditional.commutativity.checking IA --traceabstraction.criterion.for.conditional.commutativity.checking DEFAULT -tc /storage/repos/ultimate/releaseScripts/default/benchexec/../../../trunk/examples/toolchains/AutomizerCInline.xml --- Real Ultimate output --- This is Ultimate 0.2.5-wip.dk.conditional-comm-b86fb0b-m [2024-10-18 07:09:53,805 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-18 07:09:53,854 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Default.epf [2024-10-18 07:09:53,858 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-18 07:09:53,860 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-18 07:09:53,884 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-18 07:09:53,884 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-18 07:09:53,885 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-18 07:09:53,885 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-18 07:09:53,886 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-18 07:09:53,887 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-18 07:09:53,887 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-18 07:09:53,887 INFO L153 SettingsManager]: * Use SBE=true [2024-10-18 07:09:53,889 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-18 07:09:53,889 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-10-18 07:09:53,890 INFO L153 SettingsManager]: * sizeof long=4 [2024-10-18 07:09:53,890 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-10-18 07:09:53,890 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-10-18 07:09:53,890 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-18 07:09:53,890 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-10-18 07:09:53,891 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-18 07:09:53,894 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-10-18 07:09:53,895 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-18 07:09:53,895 INFO L153 SettingsManager]: * sizeof long double=12 [2024-10-18 07:09:53,895 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-10-18 07:09:53,895 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-18 07:09:53,895 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-18 07:09:53,895 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-18 07:09:53,896 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-18 07:09:53,896 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-18 07:09:53,896 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-10-18 07:09:53,896 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-18 07:09:53,896 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-18 07:09:53,896 INFO L153 SettingsManager]: * DFS Order used in POR=LOOP_LOCKSTEP [2024-10-18 07:09:53,897 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-10-18 07:09:53,897 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-18 07:09:53,897 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2024-10-18 07:09:53,897 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-10-18 07:09:53,897 INFO L153 SettingsManager]: * Trace refinement strategy=CAMEL [2024-10-18 07:09:53,897 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2024-10-18 07:09:53,897 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2024-10-18 07:09:53,900 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 ! call(reach_error())) ) 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 -> 1032ef3fe166161226ca7e81ea27802cfc3f516ad1e4b45c387461fe1ddeccf8 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: DFS Order used in POR -> LOOP_LOCKSTEP Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Additional conditional commutativity checking -> IA Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Criterion for conditional commutativity checking -> DEFAULT [2024-10-18 07:09:54,110 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-18 07:09:54,132 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-18 07:09:54,135 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-18 07:09:54,136 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-18 07:09:54,136 INFO L274 PluginConnector]: CDTParser initialized [2024-10-18 07:09:54,137 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/svcomp/pthread/twostage_3.i [2024-10-18 07:09:55,487 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-18 07:09:55,697 INFO L384 CDTParser]: Found 1 translation units. [2024-10-18 07:09:55,697 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/twostage_3.i [2024-10-18 07:09:55,720 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/489207b42/0fb17d605cc74a9ba06fcf106622c071/FLAG3e6b94791 [2024-10-18 07:09:56,046 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/489207b42/0fb17d605cc74a9ba06fcf106622c071 [2024-10-18 07:09:56,048 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-18 07:09:56,049 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-18 07:09:56,050 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-18 07:09:56,051 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-18 07:09:56,057 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-18 07:09:56,057 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 18.10 07:09:56" (1/1) ... [2024-10-18 07:09:56,058 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@1273baaf and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:09:56, skipping insertion in model container [2024-10-18 07:09:56,058 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 18.10 07:09:56" (1/1) ... [2024-10-18 07:09:56,105 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-18 07:09:56,525 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread/twostage_3.i[59093,59106] [2024-10-18 07:09:56,547 WARN L1659 CHandler]: Possible shadowing of function lock [2024-10-18 07:09:56,548 WARN L1659 CHandler]: Possible shadowing of function lock [2024-10-18 07:09:56,548 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-18 07:09:56,556 INFO L200 MainTranslator]: Completed pre-run [2024-10-18 07:09:56,585 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread/twostage_3.i[59093,59106] [2024-10-18 07:09:56,593 WARN L1659 CHandler]: Possible shadowing of function lock [2024-10-18 07:09:56,597 WARN L1659 CHandler]: Possible shadowing of function lock [2024-10-18 07:09:56,597 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-18 07:09:56,655 INFO L204 MainTranslator]: Completed translation [2024-10-18 07:09:56,655 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:09:56 WrapperNode [2024-10-18 07:09:56,655 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-18 07:09:56,656 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-18 07:09:56,656 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-18 07:09:56,657 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-18 07:09:56,662 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:09:56" (1/1) ... [2024-10-18 07:09:56,678 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:09:56" (1/1) ... [2024-10-18 07:09:56,703 INFO L138 Inliner]: procedures = 373, calls = 33, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 140 [2024-10-18 07:09:56,705 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-18 07:09:56,706 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-10-18 07:09:56,706 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-10-18 07:09:56,706 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-10-18 07:09:56,713 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:09:56" (1/1) ... [2024-10-18 07:09:56,714 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:09:56" (1/1) ... [2024-10-18 07:09:56,719 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:09:56" (1/1) ... [2024-10-18 07:09:56,720 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:09:56" (1/1) ... [2024-10-18 07:09:56,731 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:09:56" (1/1) ... [2024-10-18 07:09:56,738 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:09:56" (1/1) ... [2024-10-18 07:09:56,744 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:09:56" (1/1) ... [2024-10-18 07:09:56,745 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:09:56" (1/1) ... [2024-10-18 07:09:56,747 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-10-18 07:09:56,748 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-10-18 07:09:56,748 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-10-18 07:09:56,748 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-10-18 07:09:56,749 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:09:56" (1/1) ... [2024-10-18 07:09:56,760 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-10-18 07:09:56,772 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2024-10-18 07:09:56,786 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-18 07:09:56,789 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-18 07:09:56,826 INFO L130 BoogieDeclarations]: Found specification of procedure funcA [2024-10-18 07:09:56,826 INFO L138 BoogieDeclarations]: Found implementation of procedure funcA [2024-10-18 07:09:56,826 INFO L130 BoogieDeclarations]: Found specification of procedure funcB [2024-10-18 07:09:56,826 INFO L138 BoogieDeclarations]: Found implementation of procedure funcB [2024-10-18 07:09:56,826 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-10-18 07:09:56,827 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-10-18 07:09:56,827 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-10-18 07:09:56,827 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-10-18 07:09:56,827 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-10-18 07:09:56,827 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-10-18 07:09:56,827 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-10-18 07:09:56,827 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-10-18 07:09:56,827 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-10-18 07:09:56,827 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-10-18 07:09:56,828 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-10-18 07:09:56,829 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-10-18 07:09:56,945 INFO L238 CfgBuilder]: Building ICFG [2024-10-18 07:09:56,946 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-10-18 07:09:57,159 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-10-18 07:09:57,159 INFO L287 CfgBuilder]: Performing block encoding [2024-10-18 07:09:57,341 INFO L309 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-10-18 07:09:57,342 INFO L314 CfgBuilder]: Removed 4 assume(true) statements. [2024-10-18 07:09:57,342 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 18.10 07:09:57 BoogieIcfgContainer [2024-10-18 07:09:57,342 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-10-18 07:09:57,344 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-10-18 07:09:57,344 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-10-18 07:09:57,347 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-10-18 07:09:57,347 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 18.10 07:09:56" (1/3) ... [2024-10-18 07:09:57,348 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@393d4616 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 18.10 07:09:57, skipping insertion in model container [2024-10-18 07:09:57,348 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:09:56" (2/3) ... [2024-10-18 07:09:57,349 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@393d4616 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 18.10 07:09:57, skipping insertion in model container [2024-10-18 07:09:57,349 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 18.10 07:09:57" (3/3) ... [2024-10-18 07:09:57,350 INFO L112 eAbstractionObserver]: Analyzing ICFG twostage_3.i [2024-10-18 07:09:57,364 INFO L209 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-10-18 07:09:57,365 INFO L149 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2024-10-18 07:09:57,365 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-10-18 07:09:57,402 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-10-18 07:09:57,443 INFO L106 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-18 07:09:57,443 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2024-10-18 07:09:57,443 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2024-10-18 07:09:57,445 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-18 07:09:57,446 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-18 07:09:57,521 INFO L194 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 1 independence relations. [2024-10-18 07:09:57,534 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-18 07:09:57,535 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == funcBThread1of1ForFork1 ======== [2024-10-18 07:09:57,540 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=LoopHeads, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@3d0ccfac, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms], mConComChecker=IA, mConComCheckerCriterion=DEFAULT, mConComCheckerTraceCheckMode=GENERATOR, mConComCheckerLimitedChecksCriterion=false, mConComCheckerCriterionLimit=1, mConComCheckerRandomProb=100, mConComCheckerRandomSeed=123, mConComCheckerConditionCriterion=false [2024-10-18 07:09:57,540 INFO L334 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2024-10-18 07:09:58,414 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-10-18 07:09:58,415 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-18 07:09:58,416 INFO L85 PathProgramCache]: Analyzing trace with hash -1846882738, now seen corresponding path program 1 times [2024-10-18 07:09:58,423 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-18 07:09:58,424 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [235652155] [2024-10-18 07:09:58,424 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-18 07:09:58,424 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-18 07:09:58,572 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-18 07:09:58,942 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-18 07:09:58,943 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-18 07:09:58,943 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [235652155] [2024-10-18 07:09:58,943 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [235652155] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-18 07:09:58,943 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-18 07:09:58,944 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2024-10-18 07:09:58,945 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [378824639] [2024-10-18 07:09:58,946 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-18 07:09:58,950 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2024-10-18 07:09:58,950 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-18 07:09:58,981 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2024-10-18 07:09:58,982 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=29, Unknown=0, NotChecked=0, Total=42 [2024-10-18 07:09:58,982 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-10-18 07:09:58,984 INFO L471 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2024-10-18 07:09:58,985 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 4.571428571428571) internal successors, (32), 7 states have internal predecessors, (32), 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-18 07:09:58,986 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2024-10-18 07:09:59,652 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2024-10-18 07:09:59,653 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-10-18 07:09:59,653 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-10-18 07:09:59,654 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-18 07:09:59,654 INFO L85 PathProgramCache]: Analyzing trace with hash 1506294770, now seen corresponding path program 2 times [2024-10-18 07:09:59,654 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-18 07:09:59,654 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [789206230] [2024-10-18 07:09:59,654 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-18 07:09:59,654 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-18 07:09:59,681 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-18 07:09:59,914 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-18 07:09:59,915 INFO L136 FreeRefinementEngine]: Strategy CAMEL found an infeasible trace [2024-10-18 07:09:59,915 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [789206230] [2024-10-18 07:09:59,915 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [789206230] provided 0 perfect and 1 imperfect interpolant sequences [2024-10-18 07:09:59,915 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleZ3 [207951227] [2024-10-18 07:09:59,915 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2024-10-18 07:09:59,915 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true [2024-10-18 07:09:59,916 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2024-10-18 07:09:59,934 INFO L229 MonitoredProcess]: Starting monitored process 3 with /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (exit command is (exit), workingDir is null) [2024-10-18 07:09:59,936 INFO L327 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Waiting until timeout for monitored process [2024-10-18 07:10:00,036 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2024-10-18 07:10:00,036 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2024-10-18 07:10:00,038 INFO L255 TraceCheckSpWp]: Trace formula consists of 232 conjuncts, 12 conjuncts are in the unsatisfiable core [2024-10-18 07:10:00,043 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-18 07:10:00,066 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 10 treesize of output 8 [2024-10-18 07:10:00,088 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 7 [2024-10-18 07:10:00,124 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 11 [2024-10-18 07:10:00,142 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 16 treesize of output 11 [2024-10-18 07:10:00,154 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-18 07:10:00,155 INFO L307 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2024-10-18 07:10:00,155 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleZ3 [207951227] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-18 07:10:00,155 INFO L185 FreeRefinementEngine]: Found 1 perfect and 1 imperfect interpolant sequences. [2024-10-18 07:10:00,155 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [6] total 8 [2024-10-18 07:10:00,156 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1560220455] [2024-10-18 07:10:00,156 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-18 07:10:00,157 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2024-10-18 07:10:00,157 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy CAMEL [2024-10-18 07:10:00,172 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2024-10-18 07:10:00,173 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=23, Invalid=49, Unknown=0, NotChecked=0, Total=72 [2024-10-18 07:10:00,173 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-10-18 07:10:00,173 INFO L471 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2024-10-18 07:10:00,174 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 6.4) internal successors, (32), 4 states have internal predecessors, (32), 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-18 07:10:00,174 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 7 states. [2024-10-18 07:10:00,174 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2024-10-18 07:10:00,417 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2024-10-18 07:10:00,417 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2024-10-18 07:10:00,432 INFO L552 MonitoredProcess]: [MP /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true (3)] Ended with exit code 0 [2024-10-18 07:10:00,618 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 -smt2 -in SMTLIB2_COMPLIANT=true,SelfDestructingSolverStorable1 [2024-10-18 07:10:00,619 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-10-18 07:10:00,619 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-18 07:10:00,619 INFO L85 PathProgramCache]: Analyzing trace with hash -1389779958, now seen corresponding path program 3 times [2024-10-18 07:10:00,619 INFO L118 FreeRefinementEngine]: Executing refinement strategy CAMEL [2024-10-18 07:10:00,620 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [345280857] [2024-10-18 07:10:00,620 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-18 07:10:00,620 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-10-18 07:10:00,652 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-18 07:10:00,652 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-18 07:10:00,669 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-18 07:10:00,690 INFO L130 FreeRefinementEngine]: Strategy CAMEL found a feasible trace [2024-10-18 07:10:00,690 INFO L332 BasicCegarLoop]: Counterexample is feasible [2024-10-18 07:10:00,691 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2024-10-18 07:10:00,693 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable2 [2024-10-18 07:10:00,699 INFO L414 BasicCegarLoop]: Path program histogram: [3] [2024-10-18 07:10:00,702 INFO L312 ceAbstractionStarter]: Result for error location funcBThread1of1ForFork1 was UNSAFE (1/2) [2024-10-18 07:10:00,758 INFO L234 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-10-18 07:10:00,759 INFO L165 ceAbstractionStarter]: Computing trace abstraction results [2024-10-18 07:10:00,761 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 18.10 07:10:00 BasicIcfg [2024-10-18 07:10:00,762 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-10-18 07:10:00,762 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-10-18 07:10:00,762 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-10-18 07:10:00,763 INFO L274 PluginConnector]: Witness Printer initialized [2024-10-18 07:10:00,763 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 18.10 07:09:57" (3/4) ... [2024-10-18 07:10:00,765 INFO L142 WitnessPrinter]: No result that supports witness generation found [2024-10-18 07:10:00,769 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-10-18 07:10:00,770 INFO L158 Benchmark]: Toolchain (without parser) took 4720.77ms. Allocated memory was 144.7MB in the beginning and 197.1MB in the end (delta: 52.4MB). Free memory was 73.5MB in the beginning and 153.9MB in the end (delta: -80.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-18 07:10:00,770 INFO L158 Benchmark]: CDTParser took 0.19ms. Allocated memory is still 144.7MB. Free memory is still 101.5MB. There was no memory consumed. Max. memory is 16.1GB. [2024-10-18 07:10:00,770 INFO L158 Benchmark]: CACSL2BoogieTranslator took 605.35ms. Allocated memory is still 144.7MB. Free memory was 73.4MB in the beginning and 80.0MB in the end (delta: -6.6MB). Peak memory consumption was 8.7MB. Max. memory is 16.1GB. [2024-10-18 07:10:00,771 INFO L158 Benchmark]: Boogie Procedure Inliner took 49.15ms. Allocated memory is still 144.7MB. Free memory was 80.0MB in the beginning and 77.2MB in the end (delta: 2.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-18 07:10:00,771 INFO L158 Benchmark]: Boogie Preprocessor took 41.39ms. Allocated memory is still 144.7MB. Free memory was 77.2MB in the beginning and 75.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-18 07:10:00,771 INFO L158 Benchmark]: RCFGBuilder took 594.13ms. Allocated memory is still 144.7MB. Free memory was 75.1MB in the beginning and 99.1MB in the end (delta: -24.0MB). Peak memory consumption was 40.3MB. Max. memory is 16.1GB. [2024-10-18 07:10:00,771 INFO L158 Benchmark]: TraceAbstraction took 3417.49ms. Allocated memory was 144.7MB in the beginning and 197.1MB in the end (delta: 52.4MB). Free memory was 97.8MB in the beginning and 153.9MB in the end (delta: -56.2MB). Peak memory consumption was 98.3MB. Max. memory is 16.1GB. [2024-10-18 07:10:00,771 INFO L158 Benchmark]: Witness Printer took 7.37ms. Allocated memory is still 197.1MB. Free memory is still 153.9MB. There was no memory consumed. Max. memory is 16.1GB. [2024-10-18 07:10:00,773 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.19ms. Allocated memory is still 144.7MB. Free memory is still 101.5MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 605.35ms. Allocated memory is still 144.7MB. Free memory was 73.4MB in the beginning and 80.0MB in the end (delta: -6.6MB). Peak memory consumption was 8.7MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 49.15ms. Allocated memory is still 144.7MB. Free memory was 80.0MB in the beginning and 77.2MB in the end (delta: 2.7MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 41.39ms. Allocated memory is still 144.7MB. Free memory was 77.2MB in the beginning and 75.1MB in the end (delta: 2.1MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 594.13ms. Allocated memory is still 144.7MB. Free memory was 75.1MB in the beginning and 99.1MB in the end (delta: -24.0MB). Peak memory consumption was 40.3MB. Max. memory is 16.1GB. * TraceAbstraction took 3417.49ms. Allocated memory was 144.7MB in the beginning and 197.1MB in the end (delta: 52.4MB). Free memory was 97.8MB in the beginning and 153.9MB in the end (delta: -56.2MB). Peak memory consumption was 98.3MB. Max. memory is 16.1GB. * Witness Printer took 7.37ms. Allocated memory is still 197.1MB. Free memory is still 153.9MB. 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: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 2400, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 161, dependent conditional: 129, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 2275, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2275, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 2275, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 79, dependent conditional: 15, dependent unconditional: 64, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 57, independent unconditional: 2182, dependent: 79, dependent conditional: 2, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 57, independent unconditional: 2182, dependent: 79, dependent conditional: 2, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1212, independent: 1178, independent conditional: 3, independent unconditional: 1175, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1212, independent: 1146, independent conditional: 0, independent unconditional: 1146, dependent: 66, dependent conditional: 0, dependent unconditional: 66, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 66, independent: 32, independent conditional: 3, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 66, independent: 32, independent conditional: 3, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 1324, independent: 662, independent conditional: 43, independent unconditional: 619, dependent: 662, dependent conditional: 19, dependent unconditional: 643, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 2318, independent: 1061, independent conditional: 54, independent unconditional: 1007, dependent: 45, dependent conditional: 0, dependent unconditional: 45, unknown: 1212, unknown conditional: 5, unknown unconditional: 1207] , Statistics on independence cache: Total cache size (in pairs): 1212, Positive cache size: 1178, Positive conditional cache size: 3, Positive unconditional cache size: 1175, Negative cache size: 34, Negative conditional cache size: 2, Negative unconditional cache size: 32, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 927, Maximal queried relation: 2, ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 79, dependent conditional: 15, dependent unconditional: 64, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 57, independent unconditional: 2182, dependent: 79, dependent conditional: 2, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 57, independent unconditional: 2182, dependent: 79, dependent conditional: 2, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1212, independent: 1178, independent conditional: 3, independent unconditional: 1175, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1212, independent: 1146, independent conditional: 0, independent unconditional: 1146, dependent: 66, dependent conditional: 0, dependent unconditional: 66, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 66, independent: 32, independent conditional: 3, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 66, independent: 32, independent conditional: 3, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 1324, independent: 662, independent conditional: 43, independent unconditional: 619, dependent: 662, dependent conditional: 19, dependent unconditional: 643, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 2318, independent: 1061, independent conditional: 54, independent unconditional: 1007, dependent: 45, dependent conditional: 0, dependent unconditional: 45, unknown: 1212, unknown conditional: 5, unknown unconditional: 1207] , Statistics on independence cache: Total cache size (in pairs): 1212, Positive cache size: 1178, Positive conditional cache size: 3, Positive unconditional cache size: 1175, Negative cache size: 34, Negative conditional cache size: 2, Negative unconditional cache size: 32, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 927 ], Independence queries for same thread: 125, Persistent sets #1 benchmarks: Persistent set computation time: 1.4s, Number of persistent set computation: 220, Number of trivial persistent sets: 173, Underlying independence relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1297, independent: 1265, independent conditional: 0, independent unconditional: 1265, dependent: 32, dependent conditional: 0, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 2400, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 161, dependent conditional: 129, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 2275, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2275, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 2275, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 79, dependent conditional: 15, dependent unconditional: 64, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 57, independent unconditional: 2182, dependent: 79, dependent conditional: 2, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 57, independent unconditional: 2182, dependent: 79, dependent conditional: 2, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1212, independent: 1178, independent conditional: 3, independent unconditional: 1175, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1212, independent: 1146, independent conditional: 0, independent unconditional: 1146, dependent: 66, dependent conditional: 0, dependent unconditional: 66, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 66, independent: 32, independent conditional: 3, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 66, independent: 32, independent conditional: 3, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 1324, independent: 662, independent conditional: 43, independent unconditional: 619, dependent: 662, dependent conditional: 19, dependent unconditional: 643, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 2318, independent: 1061, independent conditional: 54, independent unconditional: 1007, dependent: 45, dependent conditional: 0, dependent unconditional: 45, unknown: 1212, unknown conditional: 5, unknown unconditional: 1207] , Statistics on independence cache: Total cache size (in pairs): 1212, Positive cache size: 1178, Positive conditional cache size: 3, Positive unconditional cache size: 1175, Negative cache size: 34, Negative conditional cache size: 2, Negative unconditional cache size: 32, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 927, Maximal queried relation: 2, ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 79, dependent conditional: 15, dependent unconditional: 64, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 57, independent unconditional: 2182, dependent: 79, dependent conditional: 2, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 57, independent unconditional: 2182, dependent: 79, dependent conditional: 2, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1212, independent: 1178, independent conditional: 3, independent unconditional: 1175, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1212, independent: 1146, independent conditional: 0, independent unconditional: 1146, dependent: 66, dependent conditional: 0, dependent unconditional: 66, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 66, independent: 32, independent conditional: 3, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 66, independent: 32, independent conditional: 3, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 1324, independent: 662, independent conditional: 43, independent unconditional: 619, dependent: 662, dependent conditional: 19, dependent unconditional: 643, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 2318, independent: 1061, independent conditional: 54, independent unconditional: 1007, dependent: 45, dependent conditional: 0, dependent unconditional: 45, unknown: 1212, unknown conditional: 5, unknown unconditional: 1207] , Statistics on independence cache: Total cache size (in pairs): 1212, Positive cache size: 1178, Positive conditional cache size: 3, Positive unconditional cache size: 1175, Negative cache size: 34, Negative conditional cache size: 2, Negative unconditional cache size: 32, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 927 ], Independence queries for same thread: 125 - UnprovableResult [Line: 1272]: Unable to prove that a call to reach_error is unreachable Unable to prove that a call to reach_error is unreachable Reason: overapproximation of sscanf at line 1284. Possible FailurePath: [L1236] 0 static int iTThreads = 2; [L1237] 0 static int iRThreads = 1; [L1238] 0 static int data1Value = 0; [L1239] 0 static int data2Value = 0; [L1240] 0 pthread_mutex_t *data1Lock; [L1241] 0 pthread_mutex_t *data2Lock; [L1278] 0 int i,err; [L1279] COND TRUE 0 argc != 1 [L1280] COND FALSE 0 !(argc != 3) [L1288] COND FALSE 0 !(iTThreads > 100000 || iRThreads > 100000) [L1291] 0 data1Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) [L1292] 0 data2Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) [L1293] EXPR 0 err = pthread_mutex_init(data1Lock, ((void *)0)) [L1293] COND FALSE 0 !(0 != (err = pthread_mutex_init(data1Lock, ((void *)0)))) [L1297] EXPR 0 err = pthread_mutex_init(data2Lock, ((void *)0)) [L1297] COND FALSE 0 !(0 != (err = pthread_mutex_init(data2Lock, ((void *)0)))) [L1301] 0 pthread_t tPool[iTThreads]; [L1302] 0 pthread_t rPool[iRThreads]; [L1303] 0 i = 0 VAL [\old(argc)=3, \old(argv)={50:53}, argc=3, data1Lock={-3:0}, data1Value=0, data2Lock={-2:0}, data2Value=0, err=0, i=0, iRThreads=1, iTThreads=1, rPool={5:0}, tPool={6:0}] [L1303] COND TRUE 0 i < iTThreads [L1304] EXPR, FCALL, FORK 0 pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0)) VAL [\old(argc)=3, \old(argv)={50:53}, \old(param)={0:0}, argc=3, data1Lock={-3:0}, data1Value=0, data2Lock={-2:0}, data2Value=0, err=0, i=0, iRThreads=1, iTThreads=1, rPool={5:0}, tPool={6:0}] [L1245] 1 int t1 = -1; VAL [\old(param)={0:0}, data1Lock={-3:0}, data1Value=0, data2Lock={-2:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, t1=-1] [L1247] 1 data1Value = 1 VAL [\old(param)={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, t1=-1] [L1250] 1 t1 = data1Value VAL [\old(param)={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, t1=1] [L1304] EXPR 0 err = pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0)) [L1304] COND FALSE 0 !(0 != (err = pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0)))) [L1303] 0 i++ VAL [\old(argc)=3, \old(argv)={50:53}, \old(param)={0:0}, argc=3, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, err=0, i=1, iRThreads=1, iTThreads=1, param={0:0}, rPool={5:0}, t1=1, tPool={6:0}] [L1303] COND FALSE 0 !(i < iTThreads) [L1309] 0 i = 0 VAL [\old(argc)=3, \old(argv)={50:53}, \old(param)={0:0}, argc=3, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, err=0, i=0, iRThreads=1, iTThreads=1, param={0:0}, rPool={5:0}, t1=1, tPool={6:0}] [L1309] COND TRUE 0 i < iRThreads [L1310] FCALL, FORK 0 pthread_create(&rPool[i], ((void *)0), &funcB, ((void *)0)) VAL [\old(argc)=3, \old(argv)={50:53}, \old(param)={0:0}, \old(param)={0:0}, argc=3, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, err=0, i=0, iRThreads=1, iTThreads=1, param={0:0}, rPool={5:0}, t1=1, tPool={6:0}] [L1258] 2 int t1 = -1; [L1259] 2 int t2 = -1; VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=-1, t1=1, t2=-1] [L1261] COND FALSE 2 !(data1Value == 0) [L1265] 2 t1 = data1Value VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=-1] [L1268] 2 t2 = data2Value VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=0, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=0] [L1253] 1 data2Value = t1 + 1 VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=2, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=0] [L1255] 1 return ((void *)0); [L1270] COND TRUE 2 t2 != (t1 + 1) [L1272] 2 reach_error() VAL [\old(param)={0:0}, \old(param)={0:0}, \result={0:0}, data1Lock={-3:0}, data1Value=1, data2Lock={-2:0}, data2Value=2, iRThreads=1, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=0] - StatisticsResult: Ultimate Automizer benchmark data for errors in thread instance: funcBThread1of1ForFork1 with 1 thread instances CFG has 5 procedures, 80 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 3.2s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 3, EmptinessCheckTime: 1.8s, 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: 11, 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.7s InterpolantComputationTime, 128 NumberOfCodeBlocks, 128 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 93 ConstructedInterpolants, 0 QuantifiedInterpolants, 616 SizeOfPredicates, 1 NumberOfNonLiveVariables, 232 ConjunctsInSsa, 12 ConjunctsInUnsatCore, 3 InterpolantComputations, 2 PerfectInterpolantSequences, 2/3 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: ConditionalCommutativityOverallTime: 0.0s, ConditionalCommutativityCheckTime: 0.0s, ConditionalCommutativityIAIntegrations: 0, ConditionalCommutativityDFSRestarts: 0, ConditionalCommutativityCommutingCounterexamples: 0, ConditionalCommutativityConditionCalculations: 0, ConditionalCommutativityTraceChecks: 0, ConditionalCommutativityImperfectProofs: 0 RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-10-18 07:10:00,799 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-18 07:10:00,998 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/GemCutterReach.xml -i ../../../trunk/examples/svcomp/pthread/twostage_3.i -s /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-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 ! call(reach_error())) ) --witnessprinter.graph.data.producer GemCutter --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 1032ef3fe166161226ca7e81ea27802cfc3f516ad1e4b45c387461fe1ddeccf8 --traceabstraction.dfs.order.used.in.por LOOP_LOCKSTEP --traceabstraction.additional.conditional.commutativity.checking IA --traceabstraction.criterion.for.conditional.commutativity.checking DEFAULT -tc /storage/repos/ultimate/releaseScripts/default/benchexec/../../../trunk/examples/toolchains/AutomizerCInline.xml --- Real Ultimate output --- This is Ultimate 0.2.5-wip.dk.conditional-comm-b86fb0b-m [2024-10-18 07:10:03,014 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-10-18 07:10:03,075 INFO L114 SettingsManager]: Loading settings from /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/config/svcomp-Reach-32bit-GemCutter_Bitvector.epf [2024-10-18 07:10:03,081 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-10-18 07:10:03,081 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-10-18 07:10:03,108 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-10-18 07:10:03,111 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-10-18 07:10:03,111 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-10-18 07:10:03,112 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-10-18 07:10:03,112 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-10-18 07:10:03,112 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-10-18 07:10:03,113 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-10-18 07:10:03,113 INFO L153 SettingsManager]: * Use SBE=true [2024-10-18 07:10:03,113 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-10-18 07:10:03,113 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-10-18 07:10:03,114 INFO L153 SettingsManager]: * sizeof long=4 [2024-10-18 07:10:03,114 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-10-18 07:10:03,114 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-10-18 07:10:03,118 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-10-18 07:10:03,118 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-10-18 07:10:03,118 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-10-18 07:10:03,119 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-10-18 07:10:03,119 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-10-18 07:10:03,119 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-10-18 07:10:03,119 INFO L153 SettingsManager]: * sizeof long double=12 [2024-10-18 07:10:03,119 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-10-18 07:10:03,120 INFO L153 SettingsManager]: * Use constant arrays=true [2024-10-18 07:10:03,120 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-10-18 07:10:03,120 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-10-18 07:10:03,120 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-10-18 07:10:03,120 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-10-18 07:10:03,121 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-10-18 07:10:03,121 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-10-18 07:10:03,121 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-10-18 07:10:03,121 INFO L153 SettingsManager]: * DFS Order used in POR=LOOP_LOCKSTEP [2024-10-18 07:10:03,121 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-10-18 07:10:03,122 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-10-18 07:10:03,122 INFO L153 SettingsManager]: * Partial Order Reduction in concurrent analysis=PERSISTENT_SLEEP_NEW_STATES_FIXEDORDER [2024-10-18 07:10:03,122 INFO L153 SettingsManager]: * Logic for external solver=AUFBV [2024-10-18 07:10:03,123 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-10-18 07:10:03,123 INFO L153 SettingsManager]: * Trace refinement strategy=WOLF [2024-10-18 07:10:03,125 INFO L153 SettingsManager]: * Automaton type used in concurrency analysis=PARTIAL_ORDER_FA [2024-10-18 07:10:03,126 INFO L153 SettingsManager]: * CEGAR restart behaviour=ONE_CEGAR_PER_THREAD_INSTANCE [2024-10-18 07:10:03,126 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 ! call(reach_error())) ) 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 -> 1032ef3fe166161226ca7e81ea27802cfc3f516ad1e4b45c387461fe1ddeccf8 Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: DFS Order used in POR -> LOOP_LOCKSTEP Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Additional conditional commutativity checking -> IA Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: Criterion for conditional commutativity checking -> DEFAULT [2024-10-18 07:10:03,382 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-10-18 07:10:03,403 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-10-18 07:10:03,407 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-10-18 07:10:03,408 INFO L270 PluginConnector]: Initializing CDTParser... [2024-10-18 07:10:03,408 INFO L274 PluginConnector]: CDTParser initialized [2024-10-18 07:10:03,409 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/../../../trunk/examples/svcomp/pthread/twostage_3.i [2024-10-18 07:10:04,812 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-10-18 07:10:05,080 INFO L384 CDTParser]: Found 1 translation units. [2024-10-18 07:10:05,080 INFO L180 CDTParser]: Scanning /storage/repos/ultimate/trunk/examples/svcomp/pthread/twostage_3.i [2024-10-18 07:10:05,103 INFO L427 CDTParser]: About to delete temporary CDT project at /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/9c0c20528/5f0d9f0302814b33ba6fe6e828e5df6c/FLAGc3f398bcb [2024-10-18 07:10:05,116 INFO L435 CDTParser]: Successfully deleted /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/data/9c0c20528/5f0d9f0302814b33ba6fe6e828e5df6c [2024-10-18 07:10:05,119 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-10-18 07:10:05,121 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-10-18 07:10:05,124 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-10-18 07:10:05,124 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-10-18 07:10:05,128 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-10-18 07:10:05,129 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 18.10 07:10:05" (1/1) ... [2024-10-18 07:10:05,131 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3b1686eb and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:10:05, skipping insertion in model container [2024-10-18 07:10:05,131 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 18.10 07:10:05" (1/1) ... [2024-10-18 07:10:05,181 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-10-18 07:10:05,620 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread/twostage_3.i[59093,59106] [2024-10-18 07:10:05,639 WARN L1659 CHandler]: Possible shadowing of function lock [2024-10-18 07:10:05,640 WARN L1659 CHandler]: Possible shadowing of function lock [2024-10-18 07:10:05,640 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-18 07:10:05,651 INFO L200 MainTranslator]: Completed pre-run [2024-10-18 07:10:05,702 WARN L247 ndardFunctionHandler]: Function reach_error is already implemented but we override the implementation for the call at /storage/repos/ultimate/trunk/examples/svcomp/pthread/twostage_3.i[59093,59106] [2024-10-18 07:10:05,724 WARN L1659 CHandler]: Possible shadowing of function lock [2024-10-18 07:10:05,725 WARN L1659 CHandler]: Possible shadowing of function lock [2024-10-18 07:10:05,726 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-10-18 07:10:05,798 INFO L204 MainTranslator]: Completed translation [2024-10-18 07:10:05,799 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:10:05 WrapperNode [2024-10-18 07:10:05,799 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-10-18 07:10:05,800 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-10-18 07:10:05,800 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-10-18 07:10:05,800 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-10-18 07:10:05,806 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:10:05" (1/1) ... [2024-10-18 07:10:05,830 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:10:05" (1/1) ... [2024-10-18 07:10:05,855 INFO L138 Inliner]: procedures = 376, calls = 33, calls flagged for inlining = 2, calls inlined = 2, statements flattened = 139 [2024-10-18 07:10:05,856 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-10-18 07:10:05,857 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-10-18 07:10:05,857 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-10-18 07:10:05,857 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-10-18 07:10:05,864 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:10:05" (1/1) ... [2024-10-18 07:10:05,864 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:10:05" (1/1) ... [2024-10-18 07:10:05,871 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:10:05" (1/1) ... [2024-10-18 07:10:05,875 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:10:05" (1/1) ... [2024-10-18 07:10:05,885 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:10:05" (1/1) ... [2024-10-18 07:10:05,889 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:10:05" (1/1) ... [2024-10-18 07:10:05,896 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:10:05" (1/1) ... [2024-10-18 07:10:05,897 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:10:05" (1/1) ... [2024-10-18 07:10:05,904 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-10-18 07:10:05,905 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-10-18 07:10:05,905 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-10-18 07:10:05,905 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-10-18 07:10:05,909 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:10:05" (1/1) ... [2024-10-18 07:10:05,916 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-10-18 07:10:05,926 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2024-10-18 07:10:05,940 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-18 07:10:05,943 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-18 07:10:05,988 INFO L130 BoogieDeclarations]: Found specification of procedure read~intINTTYPE4 [2024-10-18 07:10:05,988 INFO L130 BoogieDeclarations]: Found specification of procedure funcA [2024-10-18 07:10:05,988 INFO L138 BoogieDeclarations]: Found implementation of procedure funcA [2024-10-18 07:10:05,988 INFO L130 BoogieDeclarations]: Found specification of procedure funcB [2024-10-18 07:10:05,989 INFO L138 BoogieDeclarations]: Found implementation of procedure funcB [2024-10-18 07:10:05,989 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-10-18 07:10:05,989 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-10-18 07:10:05,989 INFO L130 BoogieDeclarations]: Found specification of procedure write~intINTTYPE4 [2024-10-18 07:10:05,989 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-10-18 07:10:05,989 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-10-18 07:10:05,989 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-10-18 07:10:05,989 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-10-18 07:10:05,990 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-10-18 07:10:05,990 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-10-18 07:10:05,990 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-10-18 07:10:05,991 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-10-18 07:10:06,149 INFO L238 CfgBuilder]: Building ICFG [2024-10-18 07:10:06,151 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-10-18 07:10:06,480 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-10-18 07:10:06,481 INFO L287 CfgBuilder]: Performing block encoding [2024-10-18 07:10:06,678 INFO L309 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-10-18 07:10:06,679 INFO L314 CfgBuilder]: Removed 4 assume(true) statements. [2024-10-18 07:10:06,680 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 18.10 07:10:06 BoogieIcfgContainer [2024-10-18 07:10:06,680 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-10-18 07:10:06,682 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-10-18 07:10:06,682 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-10-18 07:10:06,685 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-10-18 07:10:06,685 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 18.10 07:10:05" (1/3) ... [2024-10-18 07:10:06,685 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6cf9091d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 18.10 07:10:06, skipping insertion in model container [2024-10-18 07:10:06,686 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 18.10 07:10:05" (2/3) ... [2024-10-18 07:10:06,686 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@6cf9091d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 18.10 07:10:06, skipping insertion in model container [2024-10-18 07:10:06,686 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 18.10 07:10:06" (3/3) ... [2024-10-18 07:10:06,691 INFO L112 eAbstractionObserver]: Analyzing ICFG twostage_3.i [2024-10-18 07:10:06,705 INFO L209 ceAbstractionStarter]: Automizer settings: Hoare:LoopHeads NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-10-18 07:10:06,706 INFO L149 ceAbstractionStarter]: Applying trace abstraction to program that has 1 error locations. [2024-10-18 07:10:06,706 INFO L484 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-10-18 07:10:06,753 INFO L143 ThreadInstanceAdder]: Constructed 4 joinOtherThreadTransitions. [2024-10-18 07:10:06,809 INFO L106 denceProviderFactory]: Independence Relation #1: [IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=true, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-10-18 07:10:06,810 INFO L173 SolverBuilder]: Constructing external solver with command: z3 -smt2 -in SMTLIB2_COMPLIANT=true -t:1000 [2024-10-18 07:10:06,810 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/z3 [2024-10-18 07:10:06,812 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-18 07:10:06,813 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-18 07:10:06,897 INFO L194 artialOrderCegarLoop]: Running PartialOrderCegarLoop with 1 independence relations. [2024-10-18 07:10:06,912 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-18 07:10:06,915 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == funcBThread1of1ForFork1 ======== [2024-10-18 07:10:06,921 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=LoopHeads, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@50bfd987, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms], mConComChecker=IA, mConComCheckerCriterion=DEFAULT, mConComCheckerTraceCheckMode=GENERATOR, mConComCheckerLimitedChecksCriterion=false, mConComCheckerCriterionLimit=1, mConComCheckerRandomProb=100, mConComCheckerRandomSeed=123, mConComCheckerConditionCriterion=false [2024-10-18 07:10:06,923 INFO L334 AbstractCegarLoop]: Starting to check reachability of 1 error locations. [2024-10-18 07:10:07,929 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-10-18 07:10:07,931 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-18 07:10:07,931 INFO L85 PathProgramCache]: Analyzing trace with hash -1128641970, now seen corresponding path program 1 times [2024-10-18 07:10:07,944 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-10-18 07:10:07,945 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [686474888] [2024-10-18 07:10:07,945 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-10-18 07:10:07,945 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-18 07:10:07,945 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/mathsat [2024-10-18 07:10:07,966 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-18 07:10:07,968 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-18 07:10:08,092 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-10-18 07:10:08,096 INFO L255 TraceCheckSpWp]: Trace formula consists of 144 conjuncts, 6 conjuncts are in the unsatisfiable core [2024-10-18 07:10:08,100 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-18 07:10:08,252 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-18 07:10:08,252 INFO L307 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2024-10-18 07:10:08,253 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2024-10-18 07:10:08,253 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [686474888] [2024-10-18 07:10:08,253 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [686474888] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-18 07:10:08,253 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-18 07:10:08,254 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [7] imperfect sequences [] total 7 [2024-10-18 07:10:08,256 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1046677356] [2024-10-18 07:10:08,257 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-18 07:10:08,260 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2024-10-18 07:10:08,261 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2024-10-18 07:10:08,292 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2024-10-18 07:10:08,292 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=13, Invalid=29, Unknown=0, NotChecked=0, Total=42 [2024-10-18 07:10:08,293 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-10-18 07:10:08,295 INFO L471 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2024-10-18 07:10:08,296 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 4.571428571428571) internal successors, (32), 7 states have internal predecessors, (32), 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-18 07:10:08,296 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2024-10-18 07:10:09,084 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2024-10-18 07:10:09,095 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-18 07:10:09,285 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-18 07:10:09,285 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-10-18 07:10:09,286 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-18 07:10:09,286 INFO L85 PathProgramCache]: Analyzing trace with hash -2070431758, now seen corresponding path program 2 times [2024-10-18 07:10:09,286 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-10-18 07:10:09,286 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [1935399197] [2024-10-18 07:10:09,286 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST1 [2024-10-18 07:10:09,289 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-18 07:10:09,289 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/mathsat [2024-10-18 07:10:09,292 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-18 07:10:09,293 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-18 07:10:09,400 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST1 issued 2 check-sat command(s) [2024-10-18 07:10:09,400 INFO L229 tOrderPrioritization]: Conjunction of SSA is unsat [2024-10-18 07:10:09,404 INFO L255 TraceCheckSpWp]: Trace formula consists of 144 conjuncts, 7 conjuncts are in the unsatisfiable core [2024-10-18 07:10:09,407 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-10-18 07:10:09,440 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 1, 0 stores, 1 select indices, 1 select index equivalence classes, 0 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 10 treesize of output 8 [2024-10-18 07:10:09,477 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 1 stores, 0 select indices, 0 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 0 new quantified variables, introduced 0 case distinctions, treesize of input 11 treesize of output 9 [2024-10-18 07:10:09,521 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 18 treesize of output 13 [2024-10-18 07:10:09,543 INFO L378 Elim1Store]: Elim1 eliminated variable of array dimension 2, 1 stores, 1 select indices, 1 select index equivalence classes, 1 disjoint index pairs (out of 0 index pairs), introduced 1 new quantified variables, introduced 0 case distinctions, treesize of input 18 treesize of output 13 [2024-10-18 07:10:09,555 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 1 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-10-18 07:10:09,555 INFO L307 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2024-10-18 07:10:09,555 INFO L136 FreeRefinementEngine]: Strategy WOLF found an infeasible trace [2024-10-18 07:10:09,555 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [1935399197] [2024-10-18 07:10:09,556 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [1935399197] provided 1 perfect and 0 imperfect interpolant sequences [2024-10-18 07:10:09,556 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-10-18 07:10:09,556 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [4] imperfect sequences [] total 4 [2024-10-18 07:10:09,556 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [1575255979] [2024-10-18 07:10:09,556 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-10-18 07:10:09,557 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 5 states [2024-10-18 07:10:09,557 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WOLF [2024-10-18 07:10:09,571 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 5 interpolants. [2024-10-18 07:10:09,571 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=9, Invalid=11, Unknown=0, NotChecked=0, Total=20 [2024-10-18 07:10:09,571 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 2 states. [2024-10-18 07:10:09,572 INFO L471 AbstractCegarLoop]: Abstraction has currently 0 states, but on-demand construction may add more states [2024-10-18 07:10:09,572 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 5 states, 5 states have (on average 6.4) internal successors, (32), 4 states have internal predecessors, (32), 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-18 07:10:09,572 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 7 states. [2024-10-18 07:10:09,573 INFO L154 InterpolantAutomaton]: Switched to On-DemandConstruction mode: deterministic interpolant automaton has 2 states. [2024-10-18 07:10:09,929 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2024-10-18 07:10:09,930 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 4 states. [2024-10-18 07:10:09,934 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-18 07:10:10,133 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-18 07:10:10,134 INFO L396 AbstractCegarLoop]: === Iteration 3 === Targeting funcBErr0ASSERT_VIOLATIONERROR_FUNCTION === [funcBErr0ASSERT_VIOLATIONERROR_FUNCTION] === [2024-10-18 07:10:10,134 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-10-18 07:10:10,134 INFO L85 PathProgramCache]: Analyzing trace with hash -671539190, now seen corresponding path program 3 times [2024-10-18 07:10:10,135 INFO L118 FreeRefinementEngine]: Executing refinement strategy WOLF [2024-10-18 07:10:10,135 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [525534747] [2024-10-18 07:10:10,135 INFO L93 rtionOrderModulation]: Changing assertion order to OUTSIDE_LOOP_FIRST2 [2024-10-18 07:10:10,135 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-18 07:10:10,135 INFO L189 MonitoredProcess]: No working directory specified, using /storage/repos/ultimate/releaseScripts/default/UGemCutter-linux/mathsat [2024-10-18 07:10:10,138 INFO L229 MonitoredProcess]: Starting monitored process 5 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-18 07:10:10,139 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 (5)] Waiting until timeout for monitored process [2024-10-18 07:10:10,255 INFO L228 tOrderPrioritization]: Assert order OUTSIDE_LOOP_FIRST2 issued 2 check-sat command(s) [2024-10-18 07:10:10,255 INFO L229 tOrderPrioritization]: Conjunction of SSA is sat [2024-10-18 07:10:10,255 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-10-18 07:10:10,315 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-10-18 07:10:10,365 INFO L130 FreeRefinementEngine]: Strategy WOLF found a feasible trace [2024-10-18 07:10:10,366 INFO L332 BasicCegarLoop]: Counterexample is feasible [2024-10-18 07:10:10,366 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location funcBErr0ASSERT_VIOLATIONERROR_FUNCTION (0 of 1 remaining) [2024-10-18 07:10:10,374 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 (5)] Ended with exit code 0 [2024-10-18 07:10:10,568 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 5 /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-18 07:10:10,576 INFO L414 BasicCegarLoop]: Path program histogram: [3] [2024-10-18 07:10:10,577 INFO L312 ceAbstractionStarter]: Result for error location funcBThread1of1ForFork1 was UNSAFE (1/2) [2024-10-18 07:10:10,644 INFO L234 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-10-18 07:10:10,644 INFO L165 ceAbstractionStarter]: Computing trace abstraction results [2024-10-18 07:10:10,647 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 18.10 07:10:10 BasicIcfg [2024-10-18 07:10:10,648 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-10-18 07:10:10,648 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-10-18 07:10:10,648 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-10-18 07:10:10,648 INFO L274 PluginConnector]: Witness Printer initialized [2024-10-18 07:10:10,649 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 18.10 07:10:06" (3/4) ... [2024-10-18 07:10:10,650 INFO L142 WitnessPrinter]: No result that supports witness generation found [2024-10-18 07:10:10,651 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-10-18 07:10:10,651 INFO L158 Benchmark]: Toolchain (without parser) took 5530.83ms. Allocated memory was 62.9MB in the beginning and 146.8MB in the end (delta: 83.9MB). Free memory was 31.6MB in the beginning and 95.8MB in the end (delta: -64.2MB). Peak memory consumption was 19.0MB. Max. memory is 16.1GB. [2024-10-18 07:10:10,652 INFO L158 Benchmark]: CDTParser took 0.12ms. Allocated memory is still 50.3MB. Free memory was 32.4MB in the beginning and 32.3MB in the end (delta: 84.2kB). There was no memory consumed. Max. memory is 16.1GB. [2024-10-18 07:10:10,652 INFO L158 Benchmark]: CACSL2BoogieTranslator took 675.31ms. Allocated memory was 62.9MB in the beginning and 83.9MB in the end (delta: 21.0MB). Free memory was 31.4MB in the beginning and 55.7MB in the end (delta: -24.4MB). Peak memory consumption was 15.2MB. Max. memory is 16.1GB. [2024-10-18 07:10:10,652 INFO L158 Benchmark]: Boogie Procedure Inliner took 56.53ms. Allocated memory is still 83.9MB. Free memory was 55.7MB in the beginning and 52.6MB in the end (delta: 3.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-18 07:10:10,653 INFO L158 Benchmark]: Boogie Preprocessor took 47.97ms. Allocated memory is still 83.9MB. Free memory was 52.6MB in the beginning and 50.4MB in the end (delta: 2.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2024-10-18 07:10:10,653 INFO L158 Benchmark]: RCFGBuilder took 774.56ms. Allocated memory is still 83.9MB. Free memory was 50.4MB in the beginning and 38.2MB in the end (delta: 12.2MB). Peak memory consumption was 26.3MB. Max. memory is 16.1GB. [2024-10-18 07:10:10,653 INFO L158 Benchmark]: TraceAbstraction took 3965.64ms. Allocated memory was 83.9MB in the beginning and 146.8MB in the end (delta: 62.9MB). Free memory was 36.7MB in the beginning and 95.8MB in the end (delta: -59.1MB). Peak memory consumption was 4.8MB. Max. memory is 16.1GB. [2024-10-18 07:10:10,653 INFO L158 Benchmark]: Witness Printer took 3.03ms. Allocated memory is still 146.8MB. Free memory is still 95.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-10-18 07:10:10,655 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.12ms. Allocated memory is still 50.3MB. Free memory was 32.4MB in the beginning and 32.3MB in the end (delta: 84.2kB). There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 675.31ms. Allocated memory was 62.9MB in the beginning and 83.9MB in the end (delta: 21.0MB). Free memory was 31.4MB in the beginning and 55.7MB in the end (delta: -24.4MB). Peak memory consumption was 15.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 56.53ms. Allocated memory is still 83.9MB. Free memory was 55.7MB in the beginning and 52.6MB in the end (delta: 3.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 47.97ms. Allocated memory is still 83.9MB. Free memory was 52.6MB in the beginning and 50.4MB in the end (delta: 2.2MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 774.56ms. Allocated memory is still 83.9MB. Free memory was 50.4MB in the beginning and 38.2MB in the end (delta: 12.2MB). Peak memory consumption was 26.3MB. Max. memory is 16.1GB. * TraceAbstraction took 3965.64ms. Allocated memory was 83.9MB in the beginning and 146.8MB in the end (delta: 62.9MB). Free memory was 36.7MB in the beginning and 95.8MB in the end (delta: -59.1MB). Peak memory consumption was 4.8MB. Max. memory is 16.1GB. * Witness Printer took 3.03ms. Allocated memory is still 146.8MB. Free memory is still 95.8MB. 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: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 2400, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 161, dependent conditional: 129, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 2275, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2275, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 2275, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 79, dependent conditional: 15, dependent unconditional: 64, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 57, independent unconditional: 2182, dependent: 79, dependent conditional: 2, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 57, independent unconditional: 2182, dependent: 79, dependent conditional: 2, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1212, independent: 1178, independent conditional: 3, independent unconditional: 1175, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1212, independent: 1146, independent conditional: 0, independent unconditional: 1146, dependent: 66, dependent conditional: 0, dependent unconditional: 66, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 66, independent: 32, independent conditional: 3, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 66, independent: 32, independent conditional: 3, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 1581, independent: 834, independent conditional: 58, independent unconditional: 776, dependent: 748, dependent conditional: 27, dependent unconditional: 721, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 2318, independent: 1061, independent conditional: 54, independent unconditional: 1007, dependent: 45, dependent conditional: 0, dependent unconditional: 45, unknown: 1212, unknown conditional: 5, unknown unconditional: 1207] , Statistics on independence cache: Total cache size (in pairs): 1212, Positive cache size: 1178, Positive conditional cache size: 3, Positive unconditional cache size: 1175, Negative cache size: 34, Negative conditional cache size: 2, Negative unconditional cache size: 32, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 927, Maximal queried relation: 2, ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 79, dependent conditional: 15, dependent unconditional: 64, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 57, independent unconditional: 2182, dependent: 79, dependent conditional: 2, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 57, independent unconditional: 2182, dependent: 79, dependent conditional: 2, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1212, independent: 1178, independent conditional: 3, independent unconditional: 1175, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1212, independent: 1146, independent conditional: 0, independent unconditional: 1146, dependent: 66, dependent conditional: 0, dependent unconditional: 66, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 66, independent: 32, independent conditional: 3, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 66, independent: 32, independent conditional: 3, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 1581, independent: 834, independent conditional: 58, independent unconditional: 776, dependent: 748, dependent conditional: 27, dependent unconditional: 721, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 2318, independent: 1061, independent conditional: 54, independent unconditional: 1007, dependent: 45, dependent conditional: 0, dependent unconditional: 45, unknown: 1212, unknown conditional: 5, unknown unconditional: 1207] , Statistics on independence cache: Total cache size (in pairs): 1212, Positive cache size: 1178, Positive conditional cache size: 3, Positive unconditional cache size: 1175, Negative cache size: 34, Negative conditional cache size: 2, Negative unconditional cache size: 32, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 927 ], Independence queries for same thread: 125, Persistent sets #1 benchmarks: Persistent set computation time: 1.6s, Number of persistent set computation: 220, Number of trivial persistent sets: 173, Underlying independence relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 1297, independent: 1265, independent conditional: 0, independent unconditional: 1265, dependent: 32, dependent conditional: 0, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: ThreadSeparatingIndependenceRelation.Independence Queries: [ total: 2400, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 161, dependent conditional: 129, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ThreadSeparatingIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 2275, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2275, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: DisjunctiveConditionalIndependenceRelation.Independence Queries: [ total: 2275, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 36, dependent conditional: 4, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , DisjunctiveConditionalIndependenceRelation.Statistics on underlying relation: ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 79, dependent conditional: 15, dependent unconditional: 64, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 57, independent unconditional: 2182, dependent: 79, dependent conditional: 2, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 57, independent unconditional: 2182, dependent: 79, dependent conditional: 2, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1212, independent: 1178, independent conditional: 3, independent unconditional: 1175, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1212, independent: 1146, independent conditional: 0, independent unconditional: 1146, dependent: 66, dependent conditional: 0, dependent unconditional: 66, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 66, independent: 32, independent conditional: 3, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 66, independent: 32, independent conditional: 3, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 1581, independent: 834, independent conditional: 58, independent unconditional: 776, dependent: 748, dependent conditional: 27, dependent unconditional: 721, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 2318, independent: 1061, independent conditional: 54, independent unconditional: 1007, dependent: 45, dependent conditional: 0, dependent unconditional: 45, unknown: 1212, unknown conditional: 5, unknown unconditional: 1207] , Statistics on independence cache: Total cache size (in pairs): 1212, Positive cache size: 1178, Positive conditional cache size: 3, Positive unconditional cache size: 1175, Negative cache size: 34, Negative conditional cache size: 2, Negative unconditional cache size: 32, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 927, Maximal queried relation: 2, ConditionTransformingIndependenceRelation.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 971, independent unconditional: 1268, dependent: 79, dependent conditional: 15, dependent unconditional: 64, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ConditionTransformingIndependenceRelation.Statistics on underlying relation: SemanticConditionEliminator.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 57, independent unconditional: 2182, dependent: 79, dependent conditional: 2, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticConditionEliminator.Statistics on underlying relation: CachedIndependenceRelation.Independence Queries: [ total: 2318, independent: 2239, independent conditional: 57, independent unconditional: 2182, dependent: 79, dependent conditional: 2, dependent unconditional: 77, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , CachedIndependenceRelation.Statistics on underlying relation: UnionIndependenceRelation.Independence Queries: [ total: 1212, independent: 1178, independent conditional: 3, independent unconditional: 1175, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , UnionIndependenceRelation.Statistics on underlying relations: [ SyntacticIndependenceRelation.Independence Queries: [ total: 1212, independent: 1146, independent conditional: 0, independent unconditional: 1146, dependent: 66, dependent conditional: 0, dependent unconditional: 66, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Independence Queries: [ total: 66, independent: 32, independent conditional: 3, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , ProtectedIndependenceRelation.Statistics on underlying relation: SemanticIndependenceRelation.Independence Queries: [ total: 66, independent: 32, independent conditional: 3, independent unconditional: 29, dependent: 34, dependent conditional: 2, dependent unconditional: 32, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , SemanticIndependenceRelation.Query Time [ms]: [ total: 1581, independent: 834, independent conditional: 58, independent unconditional: 776, dependent: 748, dependent conditional: 27, dependent unconditional: 721, unknown: 0, unknown conditional: 0, unknown unconditional: 0] , Protected Queries: 0 ], Cache Queries: [ total: 2318, independent: 1061, independent conditional: 54, independent unconditional: 1007, dependent: 45, dependent conditional: 0, dependent unconditional: 45, unknown: 1212, unknown conditional: 5, unknown unconditional: 1207] , Statistics on independence cache: Total cache size (in pairs): 1212, Positive cache size: 1178, Positive conditional cache size: 3, Positive unconditional cache size: 1175, Negative cache size: 34, Negative conditional cache size: 2, Negative unconditional cache size: 32, Unknown cache size: 0, Unknown conditional cache size: 0, Unknown unconditional cache size: 0, Eliminated conditions: 927 ], Independence queries for same thread: 125 - UnprovableResult [Line: 1272]: Unable to prove that a call to reach_error is unreachable Unable to prove that a call to reach_error is unreachable Reason: overapproximation of sscanf at line 1284. Possible FailurePath: [L1236] 0 static int iTThreads = 2; [L1237] 0 static int iRThreads = 1; [L1238] 0 static int data1Value = 0; [L1239] 0 static int data2Value = 0; [L1240] 0 pthread_mutex_t *data1Lock; [L1241] 0 pthread_mutex_t *data2Lock; [L1278] 0 int i,err; [L1279] COND TRUE 0 argc != 1 [L1280] COND FALSE 0 !(argc != 3) [L1288] COND FALSE 0 !(iTThreads > 100000 || iRThreads > 100000) [L1291] 0 data1Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) [L1292] 0 data2Lock = (pthread_mutex_t *) malloc(sizeof(pthread_mutex_t)) [L1293] EXPR 0 err = pthread_mutex_init(data1Lock, ((void *)0)) [L1293] COND FALSE 0 !(0 != (err = pthread_mutex_init(data1Lock, ((void *)0)))) [L1297] EXPR 0 err = pthread_mutex_init(data2Lock, ((void *)0)) [L1297] COND FALSE 0 !(0 != (err = pthread_mutex_init(data2Lock, ((void *)0)))) [L1301] 0 pthread_t tPool[iTThreads]; [L1302] 0 pthread_t rPool[iRThreads]; [L1303] 0 i = 0 VAL [\old(argc)=3, \old(argv)={7:5}, argc=3, data1Lock={3:0}, data1Value=0, data2Lock={6:0}, data2Value=0, err=0, i=0, iRThreads=2, iTThreads=1, rPool={15:0}, tPool={23:0}] [L1303] COND TRUE 0 i < iTThreads [L1304] EXPR, FCALL, FORK 0 pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0)) VAL [\old(argc)=3, \old(argv)={7:5}, \old(param)={0:0}, argc=3, data1Lock={3:0}, data1Value=0, data2Lock={6:0}, data2Value=0, err=0, i=0, iRThreads=2, iTThreads=1, rPool={15:0}, tPool={23:0}] [L1245] 1 int t1 = -1; VAL [\old(param)={0:0}, data1Lock={3:0}, data1Value=0, data2Lock={6:0}, data2Value=0, iRThreads=2, iTThreads=1, param={0:0}, t1=-1] [L1247] 1 data1Value = 1 VAL [\old(param)={0:0}, data1Lock={3:0}, data1Value=1, data2Lock={6:0}, data2Value=0, iRThreads=2, iTThreads=1, param={0:0}, t1=-1] [L1250] 1 t1 = data1Value VAL [\old(param)={0:0}, data1Lock={3:0}, data1Value=1, data2Lock={6:0}, data2Value=0, iRThreads=2, iTThreads=1, param={0:0}, t1=1] [L1304] EXPR 0 err = pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0)) [L1304] COND FALSE 0 !(0 != (err = pthread_create(&tPool[i], ((void *)0), &funcA, ((void *)0)))) [L1303] 0 i++ VAL [\old(argc)=3, \old(argv)={7:5}, \old(param)={0:0}, argc=3, data1Lock={3:0}, data1Value=1, data2Lock={6:0}, data2Value=0, err=0, i=1, iRThreads=2, iTThreads=1, param={0:0}, rPool={15:0}, t1=1, tPool={23:0}] [L1303] COND FALSE 0 !(i < iTThreads) [L1309] 0 i = 0 VAL [\old(argc)=3, \old(argv)={7:5}, \old(param)={0:0}, argc=3, data1Lock={3:0}, data1Value=1, data2Lock={6:0}, data2Value=0, err=0, i=0, iRThreads=2, iTThreads=1, param={0:0}, rPool={15:0}, t1=1, tPool={23:0}] [L1309] COND TRUE 0 i < iRThreads [L1310] FCALL, FORK 0 pthread_create(&rPool[i], ((void *)0), &funcB, ((void *)0)) VAL [\old(argc)=3, \old(argv)={7:5}, \old(param)={0:0}, \old(param)={0:0}, argc=3, data1Lock={3:0}, data1Value=1, data2Lock={6:0}, data2Value=0, err=0, i=0, iRThreads=2, iTThreads=1, param={0:0}, rPool={15:0}, t1=1, tPool={23:0}] [L1258] 2 int t1 = -1; [L1259] 2 int t2 = -1; VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={3:0}, data1Value=1, data2Lock={6:0}, data2Value=0, iRThreads=2, iTThreads=1, param={0:0}, param={0:0}, t1=-1, t1=1, t2=-1] [L1261] COND FALSE 2 !(data1Value == 0) [L1265] 2 t1 = data1Value VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={3:0}, data1Value=1, data2Lock={6:0}, data2Value=0, iRThreads=2, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=-1] [L1268] 2 t2 = data2Value VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={3:0}, data1Value=1, data2Lock={6:0}, data2Value=0, iRThreads=2, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=0] [L1253] 1 data2Value = t1 + 1 VAL [\old(param)={0:0}, \old(param)={0:0}, data1Lock={3:0}, data1Value=1, data2Lock={6:0}, data2Value=2, iRThreads=2, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=0] [L1255] 1 return ((void *)0); [L1270] COND TRUE 2 t2 != (t1 + 1) [L1272] 2 reach_error() VAL [\old(param)={0:0}, \old(param)={0:0}, \result={0:0}, data1Lock={3:0}, data1Value=1, data2Lock={6:0}, data2Value=2, iRThreads=2, iTThreads=1, param={0:0}, param={0:0}, t1=1, t1=1, t2=0] - StatisticsResult: Ultimate Automizer benchmark data for errors in thread instance: funcBThread1of1ForFork1 with 1 thread instances CFG has 5 procedures, 80 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 3.7s, OverallIterations: 3, TraceHistogramMax: 0, PathProgramHistogramMax: 3, EmptinessCheckTime: 2.2s, 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: 11, 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.1s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.3s InterpolantComputationTime, 96 NumberOfCodeBlocks, 96 NumberOfCodeBlocksAsserted, 5 NumberOfCheckSat, 62 ConstructedInterpolants, 0 QuantifiedInterpolants, 365 SizeOfPredicates, 4 NumberOfNonLiveVariables, 288 ConjunctsInSsa, 13 ConjunctsInUnsatCore, 2 InterpolantComputations, 2 PerfectInterpolantSequences, 2/2 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available, ConComCheckerStatistics: ConditionalCommutativityOverallTime: 0.0s, ConditionalCommutativityCheckTime: 0.0s, ConditionalCommutativityIAIntegrations: 0, ConditionalCommutativityDFSRestarts: 0, ConditionalCommutativityCommutingCounterexamples: 0, ConditionalCommutativityConditionCalculations: 0, ConditionalCommutativityTraceChecks: 0, ConditionalCommutativityImperfectProofs: 0 RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-10-18 07:10:10,683 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-18 07:10:10,884 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 Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample