./Ultimate.py --spec ../../sv-benchmarks/c/properties/valid-memsafety.prp --file ../../sv-benchmarks/c/ldv-regression/mutex_lock_struct.c_1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for memory safety (deref-memtrack) Using default analysis Version 527bcce2 Calling Ultimate with: /usr/lib/jvm/java-11-openjdk-amd64/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/bin/ukojak-verify-i0I2FZA1j2/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/bin/ukojak-verify-i0I2FZA1j2/plugins/org.eclipse.equinox.launcher_1.5.800.v20200727-1323.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/bin/ukojak-verify-i0I2FZA1j2/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/bin/ukojak-verify-i0I2FZA1j2/config/KojakMemDerefMemtrack.xml -i ../../sv-benchmarks/c/ldv-regression/mutex_lock_struct.c_1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/bin/ukojak-verify-i0I2FZA1j2/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/bin/ukojak-verify-i0I2FZA1j2 --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 Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash ef3dcd2558e22d4d1b628613d50eb3ab943d89de0514f54496f8c445070b9e01 --- Real Ultimate output --- This is Ultimate 0.2.3-dev-527bcce [2023-11-21 18:28:52,520 INFO L188 SettingsManager]: Resetting all preferences to default values... [2023-11-21 18:28:52,649 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/bin/ukojak-verify-i0I2FZA1j2/config/svcomp-DerefFreeMemtrack-32bit-Kojak_Default.epf [2023-11-21 18:28:52,654 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2023-11-21 18:28:52,655 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2023-11-21 18:28:52,702 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2023-11-21 18:28:52,704 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2023-11-21 18:28:52,705 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2023-11-21 18:28:52,706 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2023-11-21 18:28:52,712 INFO L153 SettingsManager]: * sizeof long=4 [2023-11-21 18:28:52,713 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2023-11-21 18:28:52,714 INFO L153 SettingsManager]: * sizeof POINTER=4 [2023-11-21 18:28:52,714 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2023-11-21 18:28:52,716 INFO L153 SettingsManager]: * Check for the main procedure if all allocated memory was freed=true [2023-11-21 18:28:52,717 INFO L153 SettingsManager]: * Bitprecise bitfields=true [2023-11-21 18:28:52,717 INFO L153 SettingsManager]: * SV-COMP memtrack compatibility mode=true [2023-11-21 18:28:52,718 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2023-11-21 18:28:52,718 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2023-11-21 18:28:52,719 INFO L153 SettingsManager]: * sizeof long double=12 [2023-11-21 18:28:52,719 INFO L153 SettingsManager]: * Use constant arrays=true [2023-11-21 18:28:52,720 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2023-11-21 18:28:52,721 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2023-11-21 18:28:52,721 INFO L153 SettingsManager]: * Theory for external solver=ALL [2023-11-21 18:28:52,722 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2023-11-21 18:28:52,722 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-21 18:28:52,723 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2023-11-21 18:28:52,723 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2023-11-21 18:28:52,724 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2023-11-21 18:28:52,724 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2023-11-21 18:28:52,725 INFO L153 SettingsManager]: * SMT solver=External_ModelsAndUnsatCoreMode WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 (file:/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/bin/ukojak-verify-i0I2FZA1j2/plugins/com.sun.xml.bind_2.2.0.v201505121915.jar) to method java.lang.ClassLoader.defineClass(java.lang.String,byte[],int,int) WARNING: Please consider reporting this to the maintainers of com.sun.xml.bind.v2.runtime.reflect.opt.Injector$1 WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release Applying setting for plugin de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator: Entry function -> main Applying setting for plugin de.uni_freiburg.informatik.ultimate.witnessprinter: Witness directory -> /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/bin/ukojak-verify-i0I2FZA1j2 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 -> Kojak 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 -> ef3dcd2558e22d4d1b628613d50eb3ab943d89de0514f54496f8c445070b9e01 [2023-11-21 18:28:53,088 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2023-11-21 18:28:53,125 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2023-11-21 18:28:53,128 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2023-11-21 18:28:53,129 INFO L270 PluginConnector]: Initializing CDTParser... [2023-11-21 18:28:53,130 INFO L274 PluginConnector]: CDTParser initialized [2023-11-21 18:28:53,131 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/bin/ukojak-verify-i0I2FZA1j2/../../sv-benchmarks/c/ldv-regression/mutex_lock_struct.c_1.i [2023-11-21 18:28:56,237 INFO L533 CDTParser]: Created temporary CDT project at NULL [2023-11-21 18:28:56,467 INFO L384 CDTParser]: Found 1 translation units. [2023-11-21 18:28:56,468 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/sv-benchmarks/c/ldv-regression/mutex_lock_struct.c_1.i [2023-11-21 18:28:56,476 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/bin/ukojak-verify-i0I2FZA1j2/data/42d211293/ff6542581c044b8ea53838038302f3de/FLAGf08b689f2 [2023-11-21 18:28:56,490 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/bin/ukojak-verify-i0I2FZA1j2/data/42d211293/ff6542581c044b8ea53838038302f3de [2023-11-21 18:28:56,493 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2023-11-21 18:28:56,494 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2023-11-21 18:28:56,496 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2023-11-21 18:28:56,496 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2023-11-21 18:28:56,502 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2023-11-21 18:28:56,502 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 06:28:56" (1/1) ... [2023-11-21 18:28:56,504 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@7745ea92 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:28:56, skipping insertion in model container [2023-11-21 18:28:56,504 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 21.11 06:28:56" (1/1) ... [2023-11-21 18:28:56,525 INFO L177 MainTranslator]: Built tables and reachable declarations [2023-11-21 18:28:56,717 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 18:28:56,730 INFO L202 MainTranslator]: Completed pre-run [2023-11-21 18:28:56,747 INFO L209 PostProcessor]: Analyzing one entry point: main [2023-11-21 18:28:56,764 INFO L206 MainTranslator]: Completed translation [2023-11-21 18:28:56,764 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:28:56 WrapperNode [2023-11-21 18:28:56,765 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2023-11-21 18:28:56,766 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2023-11-21 18:28:56,766 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2023-11-21 18:28:56,766 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2023-11-21 18:28:56,775 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:28:56" (1/1) ... [2023-11-21 18:28:56,782 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:28:56" (1/1) ... [2023-11-21 18:28:56,803 INFO L138 Inliner]: procedures = 15, calls = 19, calls flagged for inlining = 7, calls inlined = 8, statements flattened = 37 [2023-11-21 18:28:56,804 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2023-11-21 18:28:56,805 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2023-11-21 18:28:56,805 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2023-11-21 18:28:56,805 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2023-11-21 18:28:56,815 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:28:56" (1/1) ... [2023-11-21 18:28:56,816 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:28:56" (1/1) ... [2023-11-21 18:28:56,818 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:28:56" (1/1) ... [2023-11-21 18:28:56,818 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:28:56" (1/1) ... [2023-11-21 18:28:56,824 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:28:56" (1/1) ... [2023-11-21 18:28:56,826 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:28:56" (1/1) ... [2023-11-21 18:28:56,827 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:28:56" (1/1) ... [2023-11-21 18:28:56,829 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:28:56" (1/1) ... [2023-11-21 18:28:56,831 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2023-11-21 18:28:56,832 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2023-11-21 18:28:56,832 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2023-11-21 18:28:56,832 INFO L274 PluginConnector]: RCFGBuilder initialized [2023-11-21 18:28:56,833 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 21.11 06:28:56" (1/1) ... [2023-11-21 18:28:56,839 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2023-11-21 18:28:56,853 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/bin/ukojak-verify-i0I2FZA1j2/z3 [2023-11-21 18:28:56,873 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/bin/ukojak-verify-i0I2FZA1j2/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2023-11-21 18:28:56,900 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/bin/ukojak-verify-i0I2FZA1j2/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2023-11-21 18:28:56,928 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2023-11-21 18:28:56,928 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2023-11-21 18:28:56,929 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2023-11-21 18:28:56,929 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2023-11-21 18:28:56,929 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2023-11-21 18:28:56,929 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2023-11-21 18:28:56,930 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2023-11-21 18:28:56,930 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2023-11-21 18:28:57,049 INFO L240 CfgBuilder]: Building ICFG [2023-11-21 18:28:57,053 INFO L266 CfgBuilder]: Building CFG for each procedure with an implementation [2023-11-21 18:28:57,304 INFO L281 CfgBuilder]: Performing block encoding [2023-11-21 18:28:57,336 INFO L303 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2023-11-21 18:28:57,337 INFO L308 CfgBuilder]: Removed 0 assume(true) statements. [2023-11-21 18:28:57,338 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 06:28:57 BoogieIcfgContainer [2023-11-21 18:28:57,339 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2023-11-21 18:28:57,340 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2023-11-21 18:28:57,340 INFO L270 PluginConnector]: Initializing CodeCheck... [2023-11-21 18:28:57,352 INFO L274 PluginConnector]: CodeCheck initialized [2023-11-21 18:28:57,353 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 06:28:57" (1/1) ... [2023-11-21 18:28:57,363 INFO L160 PredicateUnifier]: Initialized classic predicate unifier [2023-11-21 18:28:57,416 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-21 18:28:57,423 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 26 states to 25 states and 26 transitions. [2023-11-21 18:28:57,424 INFO L276 IsEmpty]: Start isEmpty. Operand 25 states and 26 transitions. [2023-11-21 18:28:57,426 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2023-11-21 18:28:57,427 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-21 18:28:57,427 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-21 18:28:57,529 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-21 18:28:57,672 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-21 18:28:57,726 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-21 18:28:57,727 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 25 states to 24 states and 25 transitions. [2023-11-21 18:28:57,727 INFO L276 IsEmpty]: Start isEmpty. Operand 24 states and 25 transitions. [2023-11-21 18:28:57,728 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 3 [2023-11-21 18:28:57,728 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-21 18:28:57,728 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-21 18:28:57,745 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-21 18:28:57,837 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-21 18:28:57,960 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-21 18:28:57,961 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 24 states to 23 states and 24 transitions. [2023-11-21 18:28:57,961 INFO L276 IsEmpty]: Start isEmpty. Operand 23 states and 24 transitions. [2023-11-21 18:28:57,962 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2023-11-21 18:28:57,962 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-21 18:28:57,962 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-21 18:28:57,978 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-21 18:28:58,052 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-21 18:28:58,083 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-21 18:28:58,083 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 23 states to 22 states and 23 transitions. [2023-11-21 18:28:58,084 INFO L276 IsEmpty]: Start isEmpty. Operand 22 states and 23 transitions. [2023-11-21 18:28:58,084 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 4 [2023-11-21 18:28:58,084 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-21 18:28:58,085 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-21 18:28:58,099 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-21 18:28:58,328 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-21 18:28:58,634 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-21 18:28:58,635 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 22 states to 21 states and 22 transitions. [2023-11-21 18:28:58,635 INFO L276 IsEmpty]: Start isEmpty. Operand 21 states and 22 transitions. [2023-11-21 18:28:58,635 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-21 18:28:58,635 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-21 18:28:58,636 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-21 18:28:58,667 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-21 18:28:58,682 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-21 18:28:58,701 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-21 18:28:58,701 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 20 states to 20 states and 20 transitions. [2023-11-21 18:28:58,701 INFO L276 IsEmpty]: Start isEmpty. Operand 20 states and 20 transitions. [2023-11-21 18:28:58,702 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-21 18:28:58,702 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-21 18:28:58,702 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-21 18:28:58,713 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-21 18:28:58,808 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-21 18:28:58,892 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-21 18:28:58,892 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 19 states to 19 states and 19 transitions. [2023-11-21 18:28:58,893 INFO L276 IsEmpty]: Start isEmpty. Operand 19 states and 19 transitions. [2023-11-21 18:28:58,893 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 6 [2023-11-21 18:28:58,893 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-21 18:28:58,894 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-21 18:28:58,904 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-21 18:28:59,039 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-21 18:28:59,435 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-21 18:28:59,435 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 17 states to 17 states and 17 transitions. [2023-11-21 18:28:59,435 INFO L276 IsEmpty]: Start isEmpty. Operand 17 states and 17 transitions. [2023-11-21 18:28:59,436 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2023-11-21 18:28:59,436 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-21 18:28:59,437 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-21 18:28:59,459 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-21 18:28:59,620 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-21 18:29:00,318 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-21 18:29:00,318 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 16 states to 16 states and 16 transitions. [2023-11-21 18:29:00,318 INFO L276 IsEmpty]: Start isEmpty. Operand 16 states and 16 transitions. [2023-11-21 18:29:00,319 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 7 [2023-11-21 18:29:00,319 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-21 18:29:00,319 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-21 18:29:00,329 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-21 18:29:00,480 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-21 18:29:01,403 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-21 18:29:01,404 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 15 states to 15 states and 15 transitions. [2023-11-21 18:29:01,404 INFO L276 IsEmpty]: Start isEmpty. Operand 15 states and 15 transitions. [2023-11-21 18:29:01,404 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-21 18:29:01,404 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-21 18:29:01,405 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-21 18:29:01,414 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-21 18:29:01,633 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-21 18:29:02,045 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-21 18:29:02,046 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 12 states to 13 states and 12 transitions. [2023-11-21 18:29:02,046 INFO L276 IsEmpty]: Start isEmpty. Operand 13 states and 12 transitions. [2023-11-21 18:29:02,046 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-21 18:29:02,046 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-21 18:29:02,047 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-21 18:29:02,056 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-21 18:29:02,212 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-21 18:29:02,575 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-21 18:29:02,576 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 11 states to 12 states and 11 transitions. [2023-11-21 18:29:02,576 INFO L276 IsEmpty]: Start isEmpty. Operand 12 states and 11 transitions. [2023-11-21 18:29:02,576 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2023-11-21 18:29:02,576 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-21 18:29:02,577 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-21 18:29:02,590 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-21 18:29:02,604 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-21 18:29:03,078 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-21 18:29:03,078 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 10 states to 11 states and 10 transitions. [2023-11-21 18:29:03,078 INFO L276 IsEmpty]: Start isEmpty. Operand 11 states and 10 transitions. [2023-11-21 18:29:03,078 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2023-11-21 18:29:03,079 INFO L423 CodeCheckObserver]: Error Path is FOUND. [2023-11-21 18:29:03,079 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2023-11-21 18:29:03,101 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2023-11-21 18:29:03,291 INFO L134 CoverageAnalysis]: Checked inductivity of 0 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2023-11-21 18:29:05,493 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2023-11-21 18:29:05,493 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 9 states to 10 states and 9 transitions. [2023-11-21 18:29:05,494 INFO L276 IsEmpty]: Start isEmpty. Operand 10 states and 9 transitions. [2023-11-21 18:29:05,494 INFO L282 IsEmpty]: Finished isEmpty. No accepting run. [2023-11-21 18:29:05,494 WARN L420 CodeCheckObserver]: This Program is SAFE, Check terminated with 14 iterations. [2023-11-21 18:29:05,504 INFO L751 CodeCheckObserver]: All specifications hold 13 specifications checked. All of them hold [2023-11-21 18:29:05,576 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 21.11 06:29:05 ImpRootNode [2023-11-21 18:29:05,576 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2023-11-21 18:29:05,577 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2023-11-21 18:29:05,577 INFO L270 PluginConnector]: Initializing Witness Printer... [2023-11-21 18:29:05,577 INFO L274 PluginConnector]: Witness Printer initialized [2023-11-21 18:29:05,578 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 21.11 06:28:57" (3/4) ... [2023-11-21 18:29:05,580 INFO L137 WitnessPrinter]: Generating witness for correct program [2023-11-21 18:29:05,593 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 19 nodes and edges [2023-11-21 18:29:05,594 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 9 nodes and edges [2023-11-21 18:29:05,595 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 4 nodes and edges [2023-11-21 18:29:05,595 INFO L943 BoogieBacktranslator]: Reduced CFG by removing 2 nodes and edges [2023-11-21 18:29:05,716 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/bin/ukojak-verify-i0I2FZA1j2/witness.graphml [2023-11-21 18:29:05,718 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/bin/ukojak-verify-i0I2FZA1j2/witness.yml [2023-11-21 18:29:05,718 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2023-11-21 18:29:05,719 INFO L158 Benchmark]: Toolchain (without parser) took 9224.47ms. Allocated memory was 167.8MB in the beginning and 201.3MB in the end (delta: 33.6MB). Free memory was 138.1MB in the beginning and 128.6MB in the end (delta: 9.5MB). Peak memory consumption was 42.6MB. Max. memory is 16.1GB. [2023-11-21 18:29:05,721 INFO L158 Benchmark]: CDTParser took 0.34ms. Allocated memory is still 125.8MB. Free memory is still 98.2MB. There was no memory consumed. Max. memory is 16.1GB. [2023-11-21 18:29:05,722 INFO L158 Benchmark]: CACSL2BoogieTranslator took 269.00ms. Allocated memory is still 167.8MB. Free memory was 137.7MB in the beginning and 127.2MB in the end (delta: 10.5MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. [2023-11-21 18:29:05,723 INFO L158 Benchmark]: Boogie Procedure Inliner took 38.01ms. Allocated memory is still 167.8MB. Free memory was 127.2MB in the beginning and 125.6MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 18:29:05,723 INFO L158 Benchmark]: Boogie Preprocessor took 26.46ms. Allocated memory is still 167.8MB. Free memory was 125.6MB in the beginning and 124.3MB in the end (delta: 1.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. [2023-11-21 18:29:05,724 INFO L158 Benchmark]: RCFGBuilder took 507.33ms. Allocated memory is still 167.8MB. Free memory was 124.3MB in the beginning and 129.4MB in the end (delta: -5.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-21 18:29:05,724 INFO L158 Benchmark]: CodeCheck took 8236.08ms. Allocated memory was 167.8MB in the beginning and 201.3MB in the end (delta: 33.6MB). Free memory was 129.4MB in the beginning and 133.8MB in the end (delta: -4.4MB). Peak memory consumption was 31.0MB. Max. memory is 16.1GB. [2023-11-21 18:29:05,725 INFO L158 Benchmark]: Witness Printer took 141.51ms. Allocated memory is still 201.3MB. Free memory was 133.8MB in the beginning and 128.6MB in the end (delta: 5.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. [2023-11-21 18:29:05,731 INFO L338 ainManager$Toolchain]: ####################### End [Toolchain 1] ####################### --- Results --- * Results from de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck: - StatisticsResult: Ultimate CodeCheck benchmark data CFG has 1 procedures, 25 locations, 13 error locations. Started 1 CEGAR loops. OverallTime: 8.1s, OverallIterations: 14, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 217 SdHoareTripleChecker+Valid, 2.2s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 149 mSDsluCounter, 79 SdHoareTripleChecker+Invalid, 1.9s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 50 mSDsCounter, 297 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 858 IncrementalHoareTripleChecker+Invalid, 1155 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 297 mSolverCounterUnsat, 29 mSDtfsCounter, 858 mSolverCounterSat, 0.1s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 529 GetRequests, 393 SyntacticMatches, 4 SemanticMatches, 132 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 6057 ImplicationChecksByTransitivity, 6.3s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.0s SsaConstructionTime, 0.1s SatisfiabilityAnalysisTime, 1.6s InterpolantComputationTime, 70 NumberOfCodeBlocks, 70 NumberOfCodeBlocksAsserted, 13 NumberOfCheckSat, 57 ConstructedInterpolants, 0 QuantifiedInterpolants, 284 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 13 InterpolantComputations, 13 PerfectInterpolantSequences, 0/0 InterpolantCoveringCapability, InterpolantConsolidationStatistics: No data available, PathInvariantsStatistics: No data available, 0/0 InterpolantCoveringCapability, TotalInterpolationStatistics: No data available, 0.0s DumpTime, AutomataMinimizationStatistics: No data available, HoareAnnotationStatistics: No data available, RefinementEngineStatistics: No data available, ReuseStatistics: No data available - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 3]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 3]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: -1]: pointer dereference always succeeds For all program executions holds that pointer dereference always succeeds at this location - PositiveResult [Line: 33]: all allocated memory was freed For all program executions holds that all allocated memory was freed at this location - AllSpecificationsHoldResult: All specifications hold 13 specifications checked. All of them hold * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.34ms. Allocated memory is still 125.8MB. Free memory is still 98.2MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 269.00ms. Allocated memory is still 167.8MB. Free memory was 137.7MB in the beginning and 127.2MB in the end (delta: 10.5MB). Peak memory consumption was 10.5MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 38.01ms. Allocated memory is still 167.8MB. Free memory was 127.2MB in the beginning and 125.6MB in the end (delta: 1.5MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * Boogie Preprocessor took 26.46ms. Allocated memory is still 167.8MB. Free memory was 125.6MB in the beginning and 124.3MB in the end (delta: 1.3MB). Peak memory consumption was 2.1MB. Max. memory is 16.1GB. * RCFGBuilder took 507.33ms. Allocated memory is still 167.8MB. Free memory was 124.3MB in the beginning and 129.4MB in the end (delta: -5.1MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. * CodeCheck took 8236.08ms. Allocated memory was 167.8MB in the beginning and 201.3MB in the end (delta: 33.6MB). Free memory was 129.4MB in the beginning and 133.8MB in the end (delta: -4.4MB). Peak memory consumption was 31.0MB. Max. memory is 16.1GB. * Witness Printer took 141.51ms. Allocated memory is still 201.3MB. Free memory was 133.8MB in the beginning and 128.6MB in the end (delta: 5.2MB). Peak memory consumption was 4.2MB. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be correct! [2023-11-21 18:29:05,767 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_d05da94e-bdda-4ccc-987b-f1bb2176e019/bin/ukojak-verify-i0I2FZA1j2/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Ended with exit code 0 Received shutdown request... --- End real Ultimate output --- Execution finished normally Writing output log to file Ultimate.log Result: TRUE