./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/pthread/stateful01-1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 826ab2ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/config/TaipanMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread/stateful01-1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/config/svcomp-DerefFreeMemtrack-32bit-Taipan_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Taipan --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-14 05:29:01,159 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-14 05:29:01,240 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/config/svcomp-DerefFreeMemtrack-32bit-Taipan_Default.epf [2024-11-14 05:29:01,245 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-14 05:29:01,245 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-14 05:29:01,270 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-14 05:29:01,271 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-14 05:29:01,271 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-14 05:29:01,272 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-14 05:29:01,272 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-14 05:29:01,272 INFO L153 SettingsManager]: * User list type=DISABLED [2024-11-14 05:29:01,272 INFO L151 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2024-11-14 05:29:01,272 INFO L153 SettingsManager]: * Explicit value domain=true [2024-11-14 05:29:01,272 INFO L153 SettingsManager]: * Abstract domain for RCFG-of-the-future=PoormanAbstractDomain [2024-11-14 05:29:01,273 INFO L153 SettingsManager]: * Octagon Domain=false [2024-11-14 05:29:01,273 INFO L153 SettingsManager]: * Abstract domain=CompoundDomain [2024-11-14 05:29:01,273 INFO L153 SettingsManager]: * Check feasibility of abstract posts with an SMT solver=true [2024-11-14 05:29:01,273 INFO L153 SettingsManager]: * Use the RCFG-of-the-future interface=true [2024-11-14 05:29:01,273 INFO L153 SettingsManager]: * Interval Domain=false [2024-11-14 05:29:01,274 INFO L151 SettingsManager]: Preferences of Sifa differ from their defaults: [2024-11-14 05:29:01,274 INFO L153 SettingsManager]: * Call Summarizer=TopInputCallSummarizer [2024-11-14 05:29:01,274 INFO L153 SettingsManager]: * Simplification Technique=POLY_PAC [2024-11-14 05:29:01,274 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-14 05:29:01,275 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-14 05:29:01,275 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-14 05:29:01,275 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-14 05:29:01,275 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-14 05:29:01,275 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-14 05:29:01,276 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-14 05:29:01,276 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-14 05:29:01,276 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-14 05:29:01,276 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-14 05:29:01,276 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-14 05:29:01,276 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-14 05:29:01,276 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-14 05:29:01,277 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-14 05:29:01,277 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-14 05:29:01,277 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-14 05:29:01,277 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-14 05:29:01,277 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-14 05:29:01,277 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-14 05:29:01,277 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-11-14 05:29:01,278 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-14 05:29:01,278 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-14 05:29:01,278 INFO L153 SettingsManager]: * Trace refinement strategy=SIFA_TAIPAN [2024-11-14 05:29:01,278 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-14 05:29:01,278 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-14 05:29:01,278 INFO L153 SettingsManager]: * Trace refinement exception blacklist=NONE [2024-11-14 05:29:01,278 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode [2024-11-14 05:29:01,279 INFO L153 SettingsManager]: * Abstract interpretation Mode=USE_PREDICATES 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 -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Taipan 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 -> 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03 [2024-11-14 05:29:01,653 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-14 05:29:01,664 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-14 05:29:01,667 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-14 05:29:01,669 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-14 05:29:01,669 INFO L274 PluginConnector]: CDTParser initialized [2024-11-14 05:29:01,672 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/../../sv-benchmarks/c/pthread/stateful01-1.i Unable to find full path for "g++" [2024-11-14 05:29:03,495 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-14 05:29:03,855 INFO L384 CDTParser]: Found 1 translation units. [2024-11-14 05:29:03,856 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/sv-benchmarks/c/pthread/stateful01-1.i [2024-11-14 05:29:03,870 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/data/f3784c2cd/5ab6d12019ff40dabb6d6140c160aa36/FLAG82a2ad994 [2024-11-14 05:29:04,066 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/data/f3784c2cd/5ab6d12019ff40dabb6d6140c160aa36 [2024-11-14 05:29:04,068 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-14 05:29:04,070 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-14 05:29:04,071 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-14 05:29:04,071 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-14 05:29:04,076 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-14 05:29:04,077 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 14.11 05:29:04" (1/1) ... [2024-11-14 05:29:04,078 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@352fc76d and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:04, skipping insertion in model container [2024-11-14 05:29:04,078 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 14.11 05:29:04" (1/1) ... [2024-11-14 05:29:04,119 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-14 05:29:04,568 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-14 05:29:04,590 INFO L200 MainTranslator]: Completed pre-run [2024-11-14 05:29:04,641 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-14 05:29:04,676 INFO L204 MainTranslator]: Completed translation [2024-11-14 05:29:04,676 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:04 WrapperNode [2024-11-14 05:29:04,677 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-14 05:29:04,678 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-14 05:29:04,678 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-14 05:29:04,678 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-14 05:29:04,685 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:04" (1/1) ... [2024-11-14 05:29:04,696 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:04" (1/1) ... [2024-11-14 05:29:04,716 INFO L138 Inliner]: procedures = 171, calls = 35, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 58 [2024-11-14 05:29:04,717 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-14 05:29:04,717 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-14 05:29:04,718 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-14 05:29:04,718 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-14 05:29:04,725 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:04" (1/1) ... [2024-11-14 05:29:04,726 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:04" (1/1) ... [2024-11-14 05:29:04,728 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:04" (1/1) ... [2024-11-14 05:29:04,729 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:04" (1/1) ... [2024-11-14 05:29:04,744 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:04" (1/1) ... [2024-11-14 05:29:04,746 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:04" (1/1) ... [2024-11-14 05:29:04,747 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:04" (1/1) ... [2024-11-14 05:29:04,748 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:04" (1/1) ... [2024-11-14 05:29:04,750 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-14 05:29:04,751 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-14 05:29:04,751 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-14 05:29:04,751 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-14 05:29:04,752 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:04" (1/1) ... [2024-11-14 05:29:04,758 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-11-14 05:29:04,772 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/z3 [2024-11-14 05:29:04,784 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2024-11-14 05:29:04,788 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2024-11-14 05:29:04,819 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2024-11-14 05:29:04,820 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2024-11-14 05:29:04,820 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2024-11-14 05:29:04,820 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2024-11-14 05:29:04,820 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-14 05:29:04,820 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-14 05:29:04,820 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-14 05:29:04,820 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-14 05:29:04,820 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-14 05:29:04,820 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-14 05:29:04,820 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-14 05:29:04,822 WARN L207 CfgBuilder]: User set CodeBlockSize to LoopFreeBlock but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-14 05:29:04,984 INFO L238 CfgBuilder]: Building ICFG [2024-11-14 05:29:04,986 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-14 05:29:05,255 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-14 05:29:05,255 INFO L287 CfgBuilder]: Performing block encoding [2024-11-14 05:29:05,468 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-14 05:29:05,468 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-14 05:29:05,468 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 14.11 05:29:05 BoogieIcfgContainer [2024-11-14 05:29:05,468 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-14 05:29:05,470 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-14 05:29:05,471 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-14 05:29:05,477 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-14 05:29:05,477 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 14.11 05:29:04" (1/3) ... [2024-11-14 05:29:05,478 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5ff5e2df and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 14.11 05:29:05, skipping insertion in model container [2024-11-14 05:29:05,478 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:04" (2/3) ... [2024-11-14 05:29:05,479 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@5ff5e2df and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 14.11 05:29:05, skipping insertion in model container [2024-11-14 05:29:05,479 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 14.11 05:29:05" (3/3) ... [2024-11-14 05:29:05,481 INFO L112 eAbstractionObserver]: Analyzing ICFG stateful01-1.i [2024-11-14 05:29:05,502 INFO L217 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-14 05:29:05,505 INFO L154 ceAbstractionStarter]: Applying trace abstraction to ICFG stateful01-1.i that has 3 procedures, 36 locations, 1 initial locations, 0 loop locations, and 2 error locations. [2024-11-14 05:29:05,505 INFO L492 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-14 05:29:05,578 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-11-14 05:29:05,622 INFO L113 iNet2FiniteAutomaton]: Start petriNet2FiniteAutomaton. Operand has 42 places, 37 transitions, 88 flow [2024-11-14 05:29:05,689 INFO L135 iNet2FiniteAutomaton]: Finished petriNet2FiniteAutomaton. Result has 240 states, 238 states have (on average 2.222689075630252) internal successors, (529), 239 states have internal predecessors, (529), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-14 05:29:05,723 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-14 05:29:05,740 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=FINITE_AUTOMATA, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=None, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@4eb2c59e, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-14 05:29:05,741 INFO L334 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2024-11-14 05:29:05,746 INFO L276 IsEmpty]: Start isEmpty. Operand has 240 states, 238 states have (on average 2.222689075630252) internal successors, (529), 239 states have internal predecessors, (529), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-14 05:29:05,760 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 29 [2024-11-14 05:29:05,762 INFO L207 NwaCegarLoop]: Found error trace [2024-11-14 05:29:05,763 INFO L215 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-14 05:29:05,763 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-14 05:29:05,769 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-14 05:29:05,769 INFO L85 PathProgramCache]: Analyzing trace with hash -389650543, now seen corresponding path program 1 times [2024-11-14 05:29:05,777 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2024-11-14 05:29:05,778 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [1450638176] [2024-11-14 05:29:05,778 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-14 05:29:05,779 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-14 05:29:05,974 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-14 05:29:06,274 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-14 05:29:06,274 INFO L136 FreeRefinementEngine]: Strategy SIFA_TAIPAN found an infeasible trace [2024-11-14 05:29:06,274 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleSmtInterpolCraig [1450638176] [2024-11-14 05:29:06,275 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleSmtInterpolCraig [1450638176] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-14 05:29:06,275 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-14 05:29:06,275 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [1] imperfect sequences [] total 1 [2024-11-14 05:29:06,277 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [877513666] [2024-11-14 05:29:06,277 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-14 05:29:06,281 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 3 states [2024-11-14 05:29:06,281 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy SIFA_TAIPAN [2024-11-14 05:29:06,304 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 3 interpolants. [2024-11-14 05:29:06,304 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-14 05:29:06,307 INFO L87 Difference]: Start difference. First operand has 240 states, 238 states have (on average 2.222689075630252) internal successors, (529), 239 states have internal predecessors, (529), 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) Second operand has 3 states, 2 states have (on average 14.0) internal successors, (28), 2 states have internal predecessors, (28), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-14 05:29:06,398 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-11-14 05:29:06,398 INFO L93 Difference]: Finished difference Result 242 states and 531 transitions. [2024-11-14 05:29:06,400 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 3 states. [2024-11-14 05:29:06,401 INFO L78 Accepts]: Start accepts. Automaton has has 3 states, 2 states have (on average 14.0) internal successors, (28), 2 states have internal predecessors, (28), 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) Word has length 28 [2024-11-14 05:29:06,402 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2024-11-14 05:29:06,411 INFO L225 Difference]: With dead ends: 242 [2024-11-14 05:29:06,411 INFO L226 Difference]: Without dead ends: 236 [2024-11-14 05:29:06,414 INFO L431 NwaCegarLoop]: 0 DeclaredPredicates, 1 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s TimeCoverageRelationStatistics Valid=3, Invalid=3, Unknown=0, NotChecked=0, Total=6 [2024-11-14 05:29:06,417 INFO L432 NwaCegarLoop]: 8 mSDtfsCounter, 3 mSDsluCounter, 0 mSDsCounter, 0 mSdLazyCounter, 22 mSolverCounterSat, 0 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.0s Time, 0 mProtectedPredicate, 0 mProtectedAction, 3 SdHoareTripleChecker+Valid, 8 SdHoareTripleChecker+Invalid, 22 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Valid, 22 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.1s IncrementalHoareTripleChecker+Time [2024-11-14 05:29:06,418 INFO L433 NwaCegarLoop]: SdHoareTripleChecker [3 Valid, 8 Invalid, 22 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [0 Valid, 22 Invalid, 0 Unknown, 0 Unchecked, 0.1s Time] [2024-11-14 05:29:06,432 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 236 states. [2024-11-14 05:29:06,460 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 236 to 236. [2024-11-14 05:29:06,461 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 236 states, 235 states have (on average 2.225531914893617) internal successors, (523), 235 states have internal predecessors, (523), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-14 05:29:06,467 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 236 states to 236 states and 523 transitions. [2024-11-14 05:29:06,470 INFO L78 Accepts]: Start accepts. Automaton has 236 states and 523 transitions. Word has length 28 [2024-11-14 05:29:06,470 INFO L84 Accepts]: Finished accepts. word is rejected. [2024-11-14 05:29:06,470 INFO L471 AbstractCegarLoop]: Abstraction has 236 states and 523 transitions. [2024-11-14 05:29:06,471 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 3 states, 2 states have (on average 14.0) internal successors, (28), 2 states have internal predecessors, (28), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-14 05:29:06,471 INFO L276 IsEmpty]: Start isEmpty. Operand 236 states and 523 transitions. [2024-11-14 05:29:06,474 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 29 [2024-11-14 05:29:06,474 INFO L207 NwaCegarLoop]: Found error trace [2024-11-14 05:29:06,474 INFO L215 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-14 05:29:06,475 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable0 [2024-11-14 05:29:06,479 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-14 05:29:06,479 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-14 05:29:06,480 INFO L85 PathProgramCache]: Analyzing trace with hash -389649358, now seen corresponding path program 1 times [2024-11-14 05:29:06,480 INFO L118 FreeRefinementEngine]: Executing refinement strategy SIFA_TAIPAN [2024-11-14 05:29:06,480 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleSmtInterpolCraig [83185428] [2024-11-14 05:29:06,480 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-14 05:29:06,480 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-14 05:29:06,569 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-14 05:29:06,569 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-14 05:29:06,615 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-14 05:29:06,662 INFO L130 FreeRefinementEngine]: Strategy SIFA_TAIPAN found a feasible trace [2024-11-14 05:29:06,664 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-14 05:29:06,666 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (3 of 4 remaining) [2024-11-14 05:29:06,669 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK (2 of 4 remaining) [2024-11-14 05:29:06,669 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 4 remaining) [2024-11-14 05:29:06,669 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 4 remaining) [2024-11-14 05:29:06,669 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: SelfDestructingSolverStorable1 [2024-11-14 05:29:06,673 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-11-14 05:29:06,738 INFO L242 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-11-14 05:29:06,741 INFO L173 ceAbstractionStarter]: Computing trace abstraction results [2024-11-14 05:29:06,746 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 14.11 05:29:06 BasicIcfg [2024-11-14 05:29:06,746 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-11-14 05:29:06,747 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-14 05:29:06,749 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-14 05:29:06,749 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-14 05:29:06,750 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 14.11 05:29:05" (3/4) ... [2024-11-14 05:29:06,752 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-14 05:29:06,753 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-14 05:29:06,754 INFO L158 Benchmark]: Toolchain (without parser) took 2684.21ms. Allocated memory is still 142.6MB. Free memory was 118.1MB in the beginning and 80.4MB in the end (delta: 37.6MB). Peak memory consumption was 40.2MB. Max. memory is 16.1GB. [2024-11-14 05:29:06,754 INFO L158 Benchmark]: CDTParser took 0.47ms. Allocated memory is still 142.6MB. Free memory is still 80.2MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-14 05:29:06,755 INFO L158 Benchmark]: CACSL2BoogieTranslator took 606.14ms. Allocated memory is still 142.6MB. Free memory was 117.8MB in the beginning and 97.7MB in the end (delta: 20.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-14 05:29:06,758 INFO L158 Benchmark]: Boogie Procedure Inliner took 39.16ms. Allocated memory is still 142.6MB. Free memory was 97.7MB in the beginning and 96.0MB in the end (delta: 1.7MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. [2024-11-14 05:29:06,759 INFO L158 Benchmark]: Boogie Preprocessor took 32.91ms. Allocated memory is still 142.6MB. Free memory was 96.0MB in the beginning and 94.9MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-14 05:29:06,759 INFO L158 Benchmark]: RCFGBuilder took 717.48ms. Allocated memory is still 142.6MB. Free memory was 94.9MB in the beginning and 63.1MB in the end (delta: 31.8MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-14 05:29:06,759 INFO L158 Benchmark]: TraceAbstraction took 1276.17ms. Allocated memory is still 142.6MB. Free memory was 62.4MB in the beginning and 80.5MB in the end (delta: -18.0MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-14 05:29:06,760 INFO L158 Benchmark]: Witness Printer took 5.95ms. Allocated memory is still 142.6MB. Free memory was 80.5MB in the beginning and 80.4MB in the end (delta: 27.0kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-14 05:29:06,765 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.47ms. Allocated memory is still 142.6MB. Free memory is still 80.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 606.14ms. Allocated memory is still 142.6MB. Free memory was 117.8MB in the beginning and 97.7MB in the end (delta: 20.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 39.16ms. Allocated memory is still 142.6MB. Free memory was 97.7MB in the beginning and 96.0MB in the end (delta: 1.7MB). Peak memory consumption was 8.4MB. Max. memory is 16.1GB. * Boogie Preprocessor took 32.91ms. Allocated memory is still 142.6MB. Free memory was 96.0MB in the beginning and 94.9MB in the end (delta: 1.1MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 717.48ms. Allocated memory is still 142.6MB. Free memory was 94.9MB in the beginning and 63.1MB in the end (delta: 31.8MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * TraceAbstraction took 1276.17ms. Allocated memory is still 142.6MB. Free memory was 62.4MB in the beginning and 80.5MB in the end (delta: -18.0MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.95ms. Allocated memory is still 142.6MB. Free memory was 80.5MB in the beginning and 80.4MB in the end (delta: 27.0kB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - UnprovableResult [Line: 20]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 20. Possible FailurePath: [L692] 0 pthread_mutex_t ma, mb; [L693] 0 int data1, data2; [L716] 0 pthread_t t1, t2; [L719] 0 data1 = 10 [L720] 0 data2 = 10 [L721] FCALL, FORK 0 pthread_create(&t1, 0, thread1, 0) VAL [\old(arg)={0:0}, data1=10, data2=10, ma={3:0}, mb={4:0}, t1=-2] [L722] FCALL, FORK 0 pthread_create(&t2, 0, thread2, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, data1=10, data2=10, ma={3:0}, mb={4:0}, t1=-2, t2=-1] [L707] 2 data1+=5 VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, data1=15, data2=10, ma={3:0}, mb={4:0}] [L710] 2 data2-=6 VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, data1=15, data2=4, ma={3:0}, mb={4:0}] [L712] 2 return 0; [L697] 1 data1++ VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=4, ma={3:0}, mb={4:0}] [L700] 1 data2++ VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}] [L702] 1 return 0; [L723] FCALL, JOIN 1 pthread_join(t1, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}, t1=-2, t2=-1] [L724] FCALL, JOIN 2 pthread_join(t2, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}, t1=-2, t2=-1] [L725] COND TRUE 0 data1==16 && data2==5 [L727] CALL 0 reach_error() [L20] COND FALSE 0 !(0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}] [L20] 0 __assert_fail ("0", "stateful01-1.c", 3, __extension__ __PRETTY_FUNCTION__) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}] - UnprovableResult [Line: 714]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - UnprovableResult [Line: 722]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - UnprovableResult [Line: 721]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 5 procedures, 58 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 1.0s, OverallIterations: 2, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.1s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 3 SdHoareTripleChecker+Valid, 0.1s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 3 mSDsluCounter, 8 SdHoareTripleChecker+Invalid, 0.0s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 0 mSDsCounter, 0 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 22 IncrementalHoareTripleChecker+Invalid, 22 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 0 mSolverCounterUnsat, 8 mSDtfsCounter, 22 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 1 GetRequests, 0 SyntacticMatches, 0 SemanticMatches, 1 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.0s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=240occurred in iteration=0, InterpolantAutomatonStates: 3, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.0s AutomataMinimizationTime, 1 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.3s InterpolantComputationTime, 56 NumberOfCodeBlocks, 56 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 27 ConstructedInterpolants, 0 QuantifiedInterpolants, 81 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-14 05:29:06,798 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/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: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/config/TaipanMemDerefMemtrack.xml -i ../../sv-benchmarks/c/pthread/stateful01-1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/config/svcomp-DerefFreeMemtrack-32bit-Taipan_Bitvector.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) --witnessprinter.graph.data.producer Taipan --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-14 05:29:09,522 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-14 05:29:09,680 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/config/svcomp-DerefFreeMemtrack-32bit-Taipan_Bitvector.epf [2024-11-14 05:29:09,686 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-14 05:29:09,690 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.core.Log level for class [2024-11-14 05:29:09,743 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-14 05:29:09,744 INFO L151 SettingsManager]: Preferences of UltimateCore differ from their defaults: [2024-11-14 05:29:09,744 INFO L153 SettingsManager]: * Log level for class=de.uni_freiburg.informatik.ultimate.lib.smtlibutils.quantifier.QuantifierPusher=ERROR; [2024-11-14 05:29:09,745 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-14 05:29:09,745 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ONLY_FOR_SEQUENTIAL_PROGRAMS [2024-11-14 05:29:09,745 INFO L153 SettingsManager]: * User list type=DISABLED [2024-11-14 05:29:09,745 INFO L151 SettingsManager]: Preferences of Abstract Interpretation differ from their defaults: [2024-11-14 05:29:09,745 INFO L153 SettingsManager]: * Explicit value domain=true [2024-11-14 05:29:09,745 INFO L153 SettingsManager]: * Octagon Domain=false [2024-11-14 05:29:09,746 INFO L153 SettingsManager]: * Abstract domain=CompoundDomain [2024-11-14 05:29:09,746 INFO L153 SettingsManager]: * Interval Domain=false [2024-11-14 05:29:09,746 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-14 05:29:09,746 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-14 05:29:09,746 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-14 05:29:09,747 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-14 05:29:09,747 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-14 05:29:09,747 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-14 05:29:09,747 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-14 05:29:09,749 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2024-11-14 05:29:09,749 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2024-11-14 05:29:09,749 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2024-11-14 05:29:09,749 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-14 05:29:09,749 INFO L153 SettingsManager]: * Adapt memory model on pointer casts if necessary=true [2024-11-14 05:29:09,750 INFO L153 SettingsManager]: * Use bitvectors instead of ints=true [2024-11-14 05:29:09,750 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-14 05:29:09,750 INFO L153 SettingsManager]: * Memory model=HoenickeLindenmann_4ByteResolution [2024-11-14 05:29:09,750 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-14 05:29:09,750 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-14 05:29:09,750 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-14 05:29:09,751 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-14 05:29:09,751 INFO L153 SettingsManager]: * Size of a code block=SequenceOfStatements [2024-11-14 05:29:09,751 INFO L153 SettingsManager]: * Only consider context switches at boundaries of atomic blocks=true [2024-11-14 05:29:09,751 INFO L153 SettingsManager]: * SMT solver=External_DefaultMode [2024-11-14 05:29:09,751 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-11-14 05:29:09,751 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-14 05:29:09,751 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-14 05:29:09,752 INFO L153 SettingsManager]: * Trace refinement strategy=WALRUS [2024-11-14 05:29:09,752 INFO L153 SettingsManager]: * Command for external solver=cvc4 --incremental --print-success --lang smt [2024-11-14 05:29:09,752 INFO L153 SettingsManager]: * Apply one-shot large block encoding in concurrent analysis=false [2024-11-14 05:29:09,752 INFO L153 SettingsManager]: * Trace refinement exception blacklist=NONE [2024-11-14 05:29:09,752 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode 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 -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness filename -> witness Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Write witness besides input file -> false Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data specification -> CHECK( init(main()), LTL(G valid-free) ) CHECK( init(main()), LTL(G valid-deref) ) CHECK( init(main()), LTL(G valid-memtrack) ) Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Graph data producer -> Taipan 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 -> 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03 [2024-11-14 05:29:10,057 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-14 05:29:10,068 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-14 05:29:10,071 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-14 05:29:10,074 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-14 05:29:10,075 INFO L274 PluginConnector]: CDTParser initialized [2024-11-14 05:29:10,076 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/../../sv-benchmarks/c/pthread/stateful01-1.i Unable to find full path for "g++" [2024-11-14 05:29:12,031 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-14 05:29:12,396 INFO L384 CDTParser]: Found 1 translation units. [2024-11-14 05:29:12,397 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/sv-benchmarks/c/pthread/stateful01-1.i [2024-11-14 05:29:12,425 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/data/dffd19f58/7d47203b864e4e3aab197adc53fd086b/FLAGaf6072310 [2024-11-14 05:29:12,444 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/data/dffd19f58/7d47203b864e4e3aab197adc53fd086b [2024-11-14 05:29:12,447 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-14 05:29:12,450 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-14 05:29:12,452 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-14 05:29:12,452 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-14 05:29:12,457 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-14 05:29:12,458 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 14.11 05:29:12" (1/1) ... [2024-11-14 05:29:12,458 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@3481ea45 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:12, skipping insertion in model container [2024-11-14 05:29:12,459 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 14.11 05:29:12" (1/1) ... [2024-11-14 05:29:12,506 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-14 05:29:12,908 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-14 05:29:12,930 INFO L200 MainTranslator]: Completed pre-run [2024-11-14 05:29:12,975 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-14 05:29:13,034 INFO L204 MainTranslator]: Completed translation [2024-11-14 05:29:13,035 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:13 WrapperNode [2024-11-14 05:29:13,035 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-14 05:29:13,036 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-14 05:29:13,037 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-14 05:29:13,037 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-14 05:29:13,047 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:13" (1/1) ... [2024-11-14 05:29:13,072 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:13" (1/1) ... [2024-11-14 05:29:13,097 INFO L138 Inliner]: procedures = 178, calls = 35, calls flagged for inlining = 3, calls inlined = 3, statements flattened = 59 [2024-11-14 05:29:13,097 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-14 05:29:13,098 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-14 05:29:13,098 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-14 05:29:13,098 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-14 05:29:13,106 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:13" (1/1) ... [2024-11-14 05:29:13,106 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:13" (1/1) ... [2024-11-14 05:29:13,112 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:13" (1/1) ... [2024-11-14 05:29:13,112 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:13" (1/1) ... [2024-11-14 05:29:13,127 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:13" (1/1) ... [2024-11-14 05:29:13,133 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:13" (1/1) ... [2024-11-14 05:29:13,135 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:13" (1/1) ... [2024-11-14 05:29:13,136 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:13" (1/1) ... [2024-11-14 05:29:13,139 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-14 05:29:13,142 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-14 05:29:13,143 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-14 05:29:13,143 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-14 05:29:13,144 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:13" (1/1) ... [2024-11-14 05:29:13,154 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 [2024-11-14 05:29:13,173 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/z3 [2024-11-14 05:29:13,184 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (exit command is (exit), workingDir is null) [2024-11-14 05:29:13,192 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Waiting until timeout for monitored process [2024-11-14 05:29:13,217 INFO L130 BoogieDeclarations]: Found specification of procedure thread1 [2024-11-14 05:29:13,217 INFO L138 BoogieDeclarations]: Found implementation of procedure thread1 [2024-11-14 05:29:13,217 INFO L130 BoogieDeclarations]: Found specification of procedure thread2 [2024-11-14 05:29:13,217 INFO L138 BoogieDeclarations]: Found implementation of procedure thread2 [2024-11-14 05:29:13,217 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexLock [2024-11-14 05:29:13,217 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-14 05:29:13,217 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-14 05:29:13,217 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE2 [2024-11-14 05:29:13,217 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE1 [2024-11-14 05:29:13,217 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~intINTTYPE4 [2024-11-14 05:29:13,217 INFO L130 BoogieDeclarations]: Found specification of procedure #PthreadsMutexUnlock [2024-11-14 05:29:13,218 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-14 05:29:13,218 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-14 05:29:13,221 WARN L207 CfgBuilder]: User set CodeBlockSize to SequenceOfStatements but program contains fork statements. Overwriting the user preferences and setting CodeBlockSize to OneNontrivialStatement. [2024-11-14 05:29:13,370 INFO L238 CfgBuilder]: Building ICFG [2024-11-14 05:29:13,372 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-14 05:29:13,738 INFO L283 CfgBuilder]: Omitted future-live optimization because the input is a concurrent program. [2024-11-14 05:29:13,738 INFO L287 CfgBuilder]: Performing block encoding [2024-11-14 05:29:14,044 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-14 05:29:14,044 INFO L316 CfgBuilder]: Removed 0 assume(true) statements. [2024-11-14 05:29:14,045 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 14.11 05:29:14 BoogieIcfgContainer [2024-11-14 05:29:14,045 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-14 05:29:14,049 INFO L112 PluginConnector]: ------------------------TraceAbstraction---------------------------- [2024-11-14 05:29:14,049 INFO L270 PluginConnector]: Initializing TraceAbstraction... [2024-11-14 05:29:14,054 INFO L274 PluginConnector]: TraceAbstraction initialized [2024-11-14 05:29:14,054 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "CDTParser AST 14.11 05:29:12" (1/3) ... [2024-11-14 05:29:14,055 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3118465b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 14.11 05:29:14, skipping insertion in model container [2024-11-14 05:29:14,056 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 14.11 05:29:13" (2/3) ... [2024-11-14 05:29:14,056 INFO L204 PluginConnector]: Invalid model from TraceAbstraction for observer de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction.TraceAbstractionObserver@3118465b and model type de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction AST 14.11 05:29:14, skipping insertion in model container [2024-11-14 05:29:14,057 INFO L184 PluginConnector]: Executing the observer TraceAbstractionObserver from plugin TraceAbstraction for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 14.11 05:29:14" (3/3) ... [2024-11-14 05:29:14,059 INFO L112 eAbstractionObserver]: Analyzing ICFG stateful01-1.i [2024-11-14 05:29:14,075 INFO L217 ceAbstractionStarter]: Automizer settings: Hoare:None NWA Interpolation:FPandBP Determinization: PREDICATE_ABSTRACTION [2024-11-14 05:29:14,076 INFO L154 ceAbstractionStarter]: Applying trace abstraction to ICFG stateful01-1.i that has 3 procedures, 36 locations, 1 initial locations, 0 loop locations, and 2 error locations. [2024-11-14 05:29:14,077 INFO L492 ceAbstractionStarter]: Constructing petrified ICFG for 1 thread instances. [2024-11-14 05:29:14,138 INFO L143 ThreadInstanceAdder]: Constructed 2 joinOtherThreadTransitions. [2024-11-14 05:29:14,178 INFO L113 iNet2FiniteAutomaton]: Start petriNet2FiniteAutomaton. Operand has 42 places, 37 transitions, 88 flow [2024-11-14 05:29:14,247 INFO L135 iNet2FiniteAutomaton]: Finished petriNet2FiniteAutomaton. Result has 240 states, 238 states have (on average 2.222689075630252) internal successors, (529), 239 states have internal predecessors, (529), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-14 05:29:14,281 INFO L332 AbstractCegarLoop]: ======== Iteration 0 == of CEGAR loop == AllErrorsAtOnce ======== [2024-11-14 05:29:14,299 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=FINITE_AUTOMATA, mHoareTripleChecks=INCREMENTAL, mHoareAnnotationPositions=None, mDumpOnlyReuseAutomata=false, mLimitTraceHistogram=0, mErrorLocTimeLimit=0, mLimitPathProgramCount=0, mCollectInterpolantStatistics=true, mHeuristicEmptinessCheck=false, mHeuristicEmptinessCheckAStarHeuristic=ZERO, mHeuristicEmptinessCheckAStarHeuristicRandomSeed=1337, mHeuristicEmptinessCheckSmtFeatureScoringMethod=DAGSIZE, mSMTFeatureExtraction=false, mSMTFeatureExtractionDumpPath=., mOverrideInterpolantAutomaton=false, mMcrInterpolantMethod=WP, mPorIndependenceSettings=[Lde.uni_freiburg.informatik.ultimate.lib.tracecheckerutils.partialorder.independence.IndependenceSettings;@524c0311, mLbeIndependenceSettings=[IndependenceType=SEMANTIC, AbstractionType=NONE, UseConditional=false, UseSemiCommutativity=true, Solver=Z3, SolverTimeout=1000ms] [2024-11-14 05:29:14,299 INFO L334 AbstractCegarLoop]: Starting to check reachability of 4 error locations. [2024-11-14 05:29:14,302 INFO L276 IsEmpty]: Start isEmpty. Operand has 240 states, 238 states have (on average 2.222689075630252) internal successors, (529), 239 states have internal predecessors, (529), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-14 05:29:14,315 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 29 [2024-11-14 05:29:14,317 INFO L207 NwaCegarLoop]: Found error trace [2024-11-14 05:29:14,318 INFO L215 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-14 05:29:14,319 INFO L396 AbstractCegarLoop]: === Iteration 1 === Targeting ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-14 05:29:14,324 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-14 05:29:14,324 INFO L85 PathProgramCache]: Analyzing trace with hash -2028430583, now seen corresponding path program 1 times [2024-11-14 05:29:14,336 INFO L118 FreeRefinementEngine]: Executing refinement strategy WALRUS [2024-11-14 05:29:14,337 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [200264452] [2024-11-14 05:29:14,337 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-14 05:29:14,338 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-14 05:29:14,338 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/mathsat [2024-11-14 05:29:14,342 INFO L229 MonitoredProcess]: Starting monitored process 2 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2024-11-14 05:29:14,372 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (2)] Waiting until timeout for monitored process [2024-11-14 05:29:14,545 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-14 05:29:14,549 INFO L255 TraceCheckSpWp]: Trace formula consists of 119 conjuncts, 7 conjuncts are in the unsatisfiable core [2024-11-14 05:29:14,556 INFO L278 TraceCheckSpWp]: Computing forward predicates... [2024-11-14 05:29:14,932 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-14 05:29:14,932 INFO L307 TraceCheckSpWp]: Omiting computation of backward sequence because forward sequence was already perfect [2024-11-14 05:29:14,933 INFO L136 FreeRefinementEngine]: Strategy WALRUS found an infeasible trace [2024-11-14 05:29:14,933 INFO L334 FreeRefinementEngine]: Using interpolant generator IpTcStrategyModuleMathsat [200264452] [2024-11-14 05:29:14,934 INFO L158 FreeRefinementEngine]: IpTcStrategyModuleMathsat [200264452] provided 1 perfect and 0 imperfect interpolant sequences [2024-11-14 05:29:14,934 INFO L185 FreeRefinementEngine]: Found 1 perfect and 0 imperfect interpolant sequences. [2024-11-14 05:29:14,934 INFO L198 FreeRefinementEngine]: Number of different interpolants: perfect sequences [6] imperfect sequences [] total 6 [2024-11-14 05:29:14,937 INFO L121 tionRefinementEngine]: Using interpolant automaton builder IpAbStrategyModuleStraightlineAll [314532458] [2024-11-14 05:29:14,938 INFO L85 oduleStraightlineAll]: Using 1 perfect interpolants to construct interpolant automaton [2024-11-14 05:29:14,944 INFO L548 AbstractCegarLoop]: INTERPOLANT automaton has 7 states [2024-11-14 05:29:14,944 INFO L100 FreeRefinementEngine]: Using predicate unifier PredicateUnifier provided by strategy WALRUS [2024-11-14 05:29:14,966 INFO L143 InterpolantAutomaton]: Constructing interpolant automaton starting with 7 interpolants. [2024-11-14 05:29:14,967 INFO L145 InterpolantAutomaton]: CoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2024-11-14 05:29:14,970 INFO L87 Difference]: Start difference. First operand has 240 states, 238 states have (on average 2.222689075630252) internal successors, (529), 239 states have internal predecessors, (529), 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) Second operand has 7 states, 7 states have (on average 4.0) internal successors, (28), 6 states have internal predecessors, (28), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-14 05:29:15,314 INFO L144 Difference]: Subtrahend was deterministic. Have not used determinization. [2024-11-14 05:29:15,315 INFO L93 Difference]: Finished difference Result 289 states and 624 transitions. [2024-11-14 05:29:15,316 INFO L141 InterpolantAutomaton]: Switched to read-only mode: deterministic interpolant automaton has 7 states. [2024-11-14 05:29:15,317 INFO L78 Accepts]: Start accepts. Automaton has has 7 states, 7 states have (on average 4.0) internal successors, (28), 6 states have internal predecessors, (28), 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) Word has length 28 [2024-11-14 05:29:15,318 INFO L84 Accepts]: Finished accepts. some prefix is accepted. [2024-11-14 05:29:15,330 INFO L225 Difference]: With dead ends: 289 [2024-11-14 05:29:15,330 INFO L226 Difference]: Without dead ends: 285 [2024-11-14 05:29:15,333 INFO L431 NwaCegarLoop]: 0 DeclaredPredicates, 27 GetRequests, 22 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s TimeCoverageRelationStatistics Valid=11, Invalid=31, Unknown=0, NotChecked=0, Total=42 [2024-11-14 05:29:15,339 INFO L432 NwaCegarLoop]: 12 mSDtfsCounter, 15 mSDsluCounter, 49 mSDsCounter, 0 mSdLazyCounter, 221 mSolverCounterSat, 1 mSolverCounterUnsat, 0 mSolverCounterUnknown, 0 mSolverCounterNotChecked, 0.2s Time, 0 mProtectedPredicate, 0 mProtectedAction, 15 SdHoareTripleChecker+Valid, 61 SdHoareTripleChecker+Invalid, 222 SdHoareTripleChecker+Unknown, 0 SdHoareTripleChecker+Unchecked, 0.0s SdHoareTripleChecker+Time, 1 IncrementalHoareTripleChecker+Valid, 221 IncrementalHoareTripleChecker+Invalid, 0 IncrementalHoareTripleChecker+Unknown, 0 IncrementalHoareTripleChecker+Unchecked, 0.3s IncrementalHoareTripleChecker+Time [2024-11-14 05:29:15,341 INFO L433 NwaCegarLoop]: SdHoareTripleChecker [15 Valid, 61 Invalid, 222 Unknown, 0 Unchecked, 0.0s Time], IncrementalHoareTripleChecker [1 Valid, 221 Invalid, 0 Unknown, 0 Unchecked, 0.3s Time] [2024-11-14 05:29:15,359 INFO L82 GeneralOperation]: Start minimizeSevpa. Operand 285 states. [2024-11-14 05:29:15,404 INFO L88 GeneralOperation]: Finished minimizeSevpa. Reduced states from 285 to 285. [2024-11-14 05:29:15,406 INFO L82 GeneralOperation]: Start removeUnreachable. Operand has 285 states, 283 states have (on average 2.1837455830388692) internal successors, (618), 284 states have internal predecessors, (618), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-14 05:29:15,415 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 285 states to 285 states and 618 transitions. [2024-11-14 05:29:15,420 INFO L78 Accepts]: Start accepts. Automaton has 285 states and 618 transitions. Word has length 28 [2024-11-14 05:29:15,421 INFO L84 Accepts]: Finished accepts. word is rejected. [2024-11-14 05:29:15,421 INFO L471 AbstractCegarLoop]: Abstraction has 285 states and 618 transitions. [2024-11-14 05:29:15,421 INFO L472 AbstractCegarLoop]: INTERPOLANT automaton has has 7 states, 7 states have (on average 4.0) internal successors, (28), 6 states have internal predecessors, (28), 0 states have call successors, (0), 0 states have call predecessors, (0), 0 states have return successors, (0), 0 states have call predecessors, (0), 0 states have call successors, (0) [2024-11-14 05:29:15,421 INFO L276 IsEmpty]: Start isEmpty. Operand 285 states and 618 transitions. [2024-11-14 05:29:15,428 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 29 [2024-11-14 05:29:15,429 INFO L207 NwaCegarLoop]: Found error trace [2024-11-14 05:29:15,429 INFO L215 NwaCegarLoop]: trace histogram [1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1] [2024-11-14 05:29:15,436 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (2)] Ended with exit code 0 [2024-11-14 05:29:15,629 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 2 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-14 05:29:15,630 INFO L396 AbstractCegarLoop]: === Iteration 2 === Targeting ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK === [ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK, ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (and 1 more)] === [2024-11-14 05:29:15,630 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-14 05:29:15,630 INFO L85 PathProgramCache]: Analyzing trace with hash -2028429398, now seen corresponding path program 1 times [2024-11-14 05:29:15,631 INFO L118 FreeRefinementEngine]: Executing refinement strategy WALRUS [2024-11-14 05:29:15,631 INFO L334 FreeRefinementEngine]: Using trace check IpTcStrategyModuleMathsat [269162591] [2024-11-14 05:29:15,631 INFO L95 rtionOrderModulation]: Keeping assertion order NOT_INCREMENTALLY [2024-11-14 05:29:15,631 INFO L173 SolverBuilder]: Constructing external solver with command: mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-14 05:29:15,631 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/mathsat [2024-11-14 05:29:15,634 INFO L229 MonitoredProcess]: Starting monitored process 3 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (exit command is (exit), workingDir is null) [2024-11-14 05:29:15,637 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Waiting until timeout for monitored process [2024-11-14 05:29:15,790 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-14 05:29:15,791 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-14 05:29:15,850 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-14 05:29:15,896 INFO L130 FreeRefinementEngine]: Strategy WALRUS found a feasible trace [2024-11-14 05:29:15,897 INFO L325 BasicCegarLoop]: Counterexample is feasible [2024-11-14 05:29:15,898 INFO L782 garLoopResultBuilder]: Registering result UNSAFE for location ULTIMATE.startErr0ASSERT_VIOLATIONMEMORY_LEAK (3 of 4 remaining) [2024-11-14 05:29:15,900 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1ASSERT_VIOLATIONMEMORY_LEAK (2 of 4 remaining) [2024-11-14 05:29:15,901 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr0INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (1 of 4 remaining) [2024-11-14 05:29:15,901 INFO L782 garLoopResultBuilder]: Registering result UNKNOWN for location ULTIMATE.startErr1INUSE_VIOLATIONSUFFICIENT_THREAD_INSTANCES (0 of 4 remaining) [2024-11-14 05:29:15,904 INFO L540 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 (3)] Forceful destruction successful, exit code 0 [2024-11-14 05:29:16,101 WARN L453 AbstractCegarLoop]: Destroyed unattended storables created during the last iteration: 3 /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/mathsat -theory.fp.to_bv_overflow_mode=1 -theory.fp.minmax_zero_mode=4 -theory.bv.div_by_zero_mode=1 -unsat_core_generation=3 [2024-11-14 05:29:16,104 INFO L407 BasicCegarLoop]: Path program histogram: [1, 1] [2024-11-14 05:29:16,148 INFO L242 ceAbstractionStarter]: Analysis of concurrent program completed with 1 thread instances [2024-11-14 05:29:16,148 INFO L173 ceAbstractionStarter]: Computing trace abstraction results [2024-11-14 05:29:16,152 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction CFG 14.11 05:29:16 BasicIcfg [2024-11-14 05:29:16,153 INFO L131 PluginConnector]: ------------------------ END TraceAbstraction---------------------------- [2024-11-14 05:29:16,153 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-14 05:29:16,153 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-14 05:29:16,154 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-14 05:29:16,155 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 14.11 05:29:14" (3/4) ... [2024-11-14 05:29:16,157 INFO L145 WitnessPrinter]: No result that supports witness generation found [2024-11-14 05:29:16,158 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-14 05:29:16,159 INFO L158 Benchmark]: Toolchain (without parser) took 3710.32ms. Allocated memory was 117.4MB in the beginning and 260.0MB in the end (delta: 142.6MB). Free memory was 91.3MB in the beginning and 218.8MB in the end (delta: -127.4MB). Peak memory consumption was 16.5MB. Max. memory is 16.1GB. [2024-11-14 05:29:16,160 INFO L158 Benchmark]: CDTParser took 2.67ms. Allocated memory is still 117.4MB. Free memory is still 81.8MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-14 05:29:16,160 INFO L158 Benchmark]: CACSL2BoogieTranslator took 584.03ms. Allocated memory is still 117.4MB. Free memory was 91.1MB in the beginning and 69.8MB in the end (delta: 21.4MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. [2024-11-14 05:29:16,161 INFO L158 Benchmark]: Boogie Procedure Inliner took 61.46ms. Allocated memory is still 117.4MB. Free memory was 69.8MB in the beginning and 67.9MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-14 05:29:16,161 INFO L158 Benchmark]: Boogie Preprocessor took 40.82ms. Allocated memory is still 117.4MB. Free memory was 67.9MB in the beginning and 66.6MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-14 05:29:16,161 INFO L158 Benchmark]: RCFGBuilder took 903.25ms. Allocated memory is still 117.4MB. Free memory was 66.6MB in the beginning and 57.3MB in the end (delta: 9.2MB). Peak memory consumption was 29.6MB. Max. memory is 16.1GB. [2024-11-14 05:29:16,162 INFO L158 Benchmark]: TraceAbstraction took 2103.96ms. Allocated memory was 117.4MB in the beginning and 260.0MB in the end (delta: 142.6MB). Free memory was 56.4MB in the beginning and 219.7MB in the end (delta: -163.3MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-14 05:29:16,162 INFO L158 Benchmark]: Witness Printer took 5.19ms. Allocated memory is still 260.0MB. Free memory was 219.7MB in the beginning and 218.8MB in the end (delta: 941.5kB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-14 05:29:16,165 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 2.67ms. Allocated memory is still 117.4MB. Free memory is still 81.8MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 584.03ms. Allocated memory is still 117.4MB. Free memory was 91.1MB in the beginning and 69.8MB in the end (delta: 21.4MB). Peak memory consumption was 25.2MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 61.46ms. Allocated memory is still 117.4MB. Free memory was 69.8MB in the beginning and 67.9MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 40.82ms. Allocated memory is still 117.4MB. Free memory was 67.9MB in the beginning and 66.6MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 903.25ms. Allocated memory is still 117.4MB. Free memory was 66.6MB in the beginning and 57.3MB in the end (delta: 9.2MB). Peak memory consumption was 29.6MB. Max. memory is 16.1GB. * TraceAbstraction took 2103.96ms. Allocated memory was 117.4MB in the beginning and 260.0MB in the end (delta: 142.6MB). Free memory was 56.4MB in the beginning and 219.7MB in the end (delta: -163.3MB). There was no memory consumed. Max. memory is 16.1GB. * Witness Printer took 5.19ms. Allocated memory is still 260.0MB. Free memory was 219.7MB in the beginning and 218.8MB in the end (delta: 941.5kB). There was no memory consumed. Max. memory is 16.1GB. * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.traceabstraction: - StatisticsResult: ErrorAutomatonStatistics NumberErrorTraces: 0, NumberStatementsAllTraces: 0, NumberRelevantStatements: 0, 0.0s ErrorAutomatonConstructionTimeTotal, 0.0s FaulLocalizationTime, NumberStatementsFirstTrace: -1, TraceLengthAvg: 0, 0.0s ErrorAutomatonConstructionTimeAvg, 0.0s ErrorAutomatonDifferenceTimeAvg, 0.0s ErrorAutomatonDifferenceTimeTotal, NumberOfNoEnhancement: 0, NumberOfFiniteEnhancement: 0, NumberOfInfiniteEnhancement: 0 - UnprovableResult [Line: 20]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: overapproximation of memtrack at line 20. Possible FailurePath: [L692] 0 pthread_mutex_t ma, mb; [L693] 0 int data1, data2; [L716] 0 pthread_t t1, t2; [L719] 0 data1 = 10 [L720] 0 data2 = 10 [L721] FCALL, FORK 0 pthread_create(&t1, 0, thread1, 0) VAL [\old(arg)={0:0}, data1=10, data2=10, ma={3:0}, mb={4:0}, t1=0] [L722] FCALL, FORK 0 pthread_create(&t2, 0, thread2, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, data1=10, data2=10, ma={3:0}, mb={4:0}, t1=0, t2=1] [L707] 2 data1+=5 VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, data1=15, data2=10, ma={3:0}, mb={4:0}] [L710] 2 data2-=6 VAL [\old(arg)={0:0}, \old(arg)={0:0}, arg={0:0}, data1=15, data2=4, ma={3:0}, mb={4:0}] [L712] 2 return 0; [L697] 1 data1++ VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=4, ma={3:0}, mb={4:0}] [L700] 1 data2++ VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}] [L702] 1 return 0; [L723] FCALL, JOIN 1 pthread_join(t1, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}, t1=0, t2=1] [L724] FCALL, JOIN 2 pthread_join(t2, 0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}, t1=0, t2=1] [L725] COND TRUE 0 data1==16 && data2==5 [L727] CALL 0 reach_error() [L20] COND FALSE 0 !(0) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}] [L20] 0 __assert_fail ("0", "stateful01-1.c", 3, __extension__ __PRETTY_FUNCTION__) VAL [\old(arg)={0:0}, \old(arg)={0:0}, \result={0:0}, \result={0:0}, arg={0:0}, arg={0:0}, data1=16, data2=5, ma={3:0}, mb={4:0}] - UnprovableResult [Line: 714]: Unable to prove that all allocated memory was freed Unable to prove that all allocated memory was freed Reason: Not analyzed. - UnprovableResult [Line: 722]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - UnprovableResult [Line: 721]: Unable to prove that petrification did provide enough thread instances (tool internal message) Unable to prove that petrification did provide enough thread instances (tool internal message) Reason: Not analyzed. - StatisticsResult: Ultimate Automizer benchmark data with 1 thread instances CFG has 5 procedures, 58 locations, 4 error locations. Started 1 CEGAR loops. OverallTime: 1.9s, OverallIterations: 2, TraceHistogramMax: 1, PathProgramHistogramMax: 1, EmptinessCheckTime: 0.0s, AutomataDifference: 0.4s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.1s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 15 SdHoareTripleChecker+Valid, 0.3s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 15 mSDsluCounter, 61 SdHoareTripleChecker+Invalid, 0.2s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 49 mSDsCounter, 1 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 221 IncrementalHoareTripleChecker+Invalid, 222 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 1 mSolverCounterUnsat, 12 mSDtfsCounter, 221 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 27 GetRequests, 22 SyntacticMatches, 0 SemanticMatches, 5 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 0 ImplicationChecksByTransitivity, 0.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=285occurred in iteration=1, InterpolantAutomatonStates: 7, traceCheckStatistics: No data available, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: 0.1s AutomataMinimizationTime, 1 MinimizatonAttempts, 0 StatesRemovedByMinimization, 0 NontrivialMinimizations, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: TRACE_CHECK: 0.1s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 0.4s InterpolantComputationTime, 56 NumberOfCodeBlocks, 56 NumberOfCodeBlocksAsserted, 2 NumberOfCheckSat, 27 ConstructedInterpolants, 0 QuantifiedInterpolants, 177 SizeOfPredicates, 0 NumberOfNonLiveVariables, 119 ConjunctsInSsa, 7 ConjunctsInUnsatCore, 1 InterpolantComputations, 1 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, INVARIANT_SYNTHESIS: No data available, INTERPOLANT_CONSOLIDATION: No data available, ABSTRACT_INTERPRETATION: No data available, PDR: No data available, ACCELERATED_INTERPOLATION: No data available, SIFA: No data available, ReuseStatistics: No data available RESULT: Ultimate could not prove your program: unable to determine feasibility of some traces [2024-11-14 05:29:16,197 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_25515a56-4b20-4052-93a0-d996a5d47f41/bin/utaipan-verify-sOmjnqqW8E/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:2000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: UNKNOWN: Overapproximated counterexample