./Ultimate.py --spec ../../sv-benchmarks/c/properties/no-overflow.prp --file ../../sv-benchmarks/c/memsafety-ext2/complex_data_creation_test02-1.i --full-output --architecture 32bit -------------------------------------------------------------------------------- Checking for overflows Using default analysis Version 826ab2ba Calling Ultimate with: /usr/bin/java -Dosgi.configuration.area=/tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_564fd4c7-9a3b-4a88-ac35-0e8d7866bc66/bin/ukojak-verify-EEHR8qb7sm/data/config -Xmx15G -Xms4m -jar /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_564fd4c7-9a3b-4a88-ac35-0e8d7866bc66/bin/ukojak-verify-EEHR8qb7sm/plugins/org.eclipse.equinox.launcher_1.6.800.v20240513-1750.jar -data @noDefault -ultimatedata /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_564fd4c7-9a3b-4a88-ac35-0e8d7866bc66/bin/ukojak-verify-EEHR8qb7sm/data -tc /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_564fd4c7-9a3b-4a88-ac35-0e8d7866bc66/bin/ukojak-verify-EEHR8qb7sm/config/KojakReach.xml -i ../../sv-benchmarks/c/memsafety-ext2/complex_data_creation_test02-1.i -s /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_564fd4c7-9a3b-4a88-ac35-0e8d7866bc66/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-32bit-Kojak_Default.epf --cacsl2boogietranslator.entry.function main --witnessprinter.witness.directory /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_564fd4c7-9a3b-4a88-ac35-0e8d7866bc66/bin/ukojak-verify-EEHR8qb7sm --witnessprinter.witness.filename witness --witnessprinter.write.witness.besides.input.file false --witnessprinter.graph.data.specification CHECK( init(main()), LTL(G ! overflow) ) --witnessprinter.graph.data.producer Kojak --witnessprinter.graph.data.architecture 32bit --witnessprinter.graph.data.programhash 1489855b7530896bdd176b2b4b6c40b97d8289986908954c704880efe20dffb0 --- Real Ultimate output --- This is Ultimate 0.3.0-dev-826ab2b [2024-11-13 20:32:41,113 INFO L188 SettingsManager]: Resetting all preferences to default values... [2024-11-13 20:32:41,207 INFO L114 SettingsManager]: Loading settings from /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_564fd4c7-9a3b-4a88-ac35-0e8d7866bc66/bin/ukojak-verify-EEHR8qb7sm/config/svcomp-Overflow-32bit-Kojak_Default.epf [2024-11-13 20:32:41,214 WARN L101 SettingsManager]: Preference file contains the following unknown settings: [2024-11-13 20:32:41,214 WARN L103 SettingsManager]: * de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck.Interpolating solver [2024-11-13 20:32:41,243 INFO L130 SettingsManager]: Preferences different from defaults after loading the file: [2024-11-13 20:32:41,244 INFO L151 SettingsManager]: Preferences of Boogie Procedure Inliner differ from their defaults: [2024-11-13 20:32:41,245 INFO L153 SettingsManager]: * Ignore calls to procedures called more than once=ALWAYS [2024-11-13 20:32:41,245 INFO L151 SettingsManager]: Preferences of BlockEncodingV2 differ from their defaults: [2024-11-13 20:32:41,246 INFO L153 SettingsManager]: * Create parallel compositions if possible=false [2024-11-13 20:32:41,246 INFO L151 SettingsManager]: Preferences of CACSL2BoogieTranslator differ from their defaults: [2024-11-13 20:32:41,246 INFO L153 SettingsManager]: * Pointer base address is valid at dereference=IGNORE [2024-11-13 20:32:41,246 INFO L153 SettingsManager]: * sizeof long=4 [2024-11-13 20:32:41,246 INFO L153 SettingsManager]: * Overapproximate operations on floating types=true [2024-11-13 20:32:41,247 INFO L153 SettingsManager]: * sizeof POINTER=4 [2024-11-13 20:32:41,247 INFO L153 SettingsManager]: * Check division by zero=IGNORE [2024-11-13 20:32:41,247 INFO L153 SettingsManager]: * Pointer to allocated memory at dereference=IGNORE [2024-11-13 20:32:41,247 INFO L153 SettingsManager]: * If two pointers are subtracted or compared they have the same base address=IGNORE [2024-11-13 20:32:41,247 INFO L153 SettingsManager]: * Check array bounds for arrays that are off heap=IGNORE [2024-11-13 20:32:41,248 INFO L153 SettingsManager]: * Allow undefined functions=false [2024-11-13 20:32:41,248 INFO L153 SettingsManager]: * Check absence of signed integer overflows=ASSERTandASSUME [2024-11-13 20:32:41,248 INFO L153 SettingsManager]: * Check unreachability of reach_error function=false [2024-11-13 20:32:41,248 INFO L153 SettingsManager]: * sizeof long double=12 [2024-11-13 20:32:41,248 INFO L153 SettingsManager]: * Check if freed pointer was valid=false [2024-11-13 20:32:41,248 INFO L153 SettingsManager]: * Use constant arrays=true [2024-11-13 20:32:41,249 INFO L151 SettingsManager]: Preferences of CodeCheck differ from their defaults: [2024-11-13 20:32:41,249 INFO L153 SettingsManager]: * Timeout in seconds=1000000 [2024-11-13 20:32:41,249 INFO L153 SettingsManager]: * Theory for external solver=ALL [2024-11-13 20:32:41,249 INFO L151 SettingsManager]: Preferences of RCFGBuilder differ from their defaults: [2024-11-13 20:32:41,249 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:32:41,249 INFO L151 SettingsManager]: Preferences of TraceAbstraction differ from their defaults: [2024-11-13 20:32:41,250 INFO L153 SettingsManager]: * Compute Interpolants along a Counterexample=FPandBP [2024-11-13 20:32:41,250 INFO L153 SettingsManager]: * Positions where we compute the Hoare Annotation=LoopHeads [2024-11-13 20:32:41,250 INFO L153 SettingsManager]: * Trace refinement strategy=PENGUIN [2024-11-13 20:32:41,250 INFO L153 SettingsManager]: * Command for external solver=z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in [2024-11-13 20:32:41,250 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_564fd4c7-9a3b-4a88-ac35-0e8d7866bc66/bin/ukojak-verify-EEHR8qb7sm 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 ! overflow) ) 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 -> 1489855b7530896bdd176b2b4b6c40b97d8289986908954c704880efe20dffb0 [2024-11-13 20:32:41,653 INFO L75 nceAwareModelManager]: Repository-Root is: /tmp [2024-11-13 20:32:41,668 INFO L261 ainManager$Toolchain]: [Toolchain 1]: Applicable parser(s) successfully (re)initialized [2024-11-13 20:32:41,672 INFO L217 ainManager$Toolchain]: [Toolchain 1]: Toolchain selected. [2024-11-13 20:32:41,676 INFO L270 PluginConnector]: Initializing CDTParser... [2024-11-13 20:32:41,676 INFO L274 PluginConnector]: CDTParser initialized [2024-11-13 20:32:41,678 INFO L431 ainManager$Toolchain]: [Toolchain 1]: Parsing single file: /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_564fd4c7-9a3b-4a88-ac35-0e8d7866bc66/bin/ukojak-verify-EEHR8qb7sm/../../sv-benchmarks/c/memsafety-ext2/complex_data_creation_test02-1.i Unable to find full path for "g++" [2024-11-13 20:32:43,926 INFO L533 CDTParser]: Created temporary CDT project at NULL [2024-11-13 20:32:44,416 INFO L384 CDTParser]: Found 1 translation units. [2024-11-13 20:32:44,416 INFO L180 CDTParser]: Scanning /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_564fd4c7-9a3b-4a88-ac35-0e8d7866bc66/sv-benchmarks/c/memsafety-ext2/complex_data_creation_test02-1.i [2024-11-13 20:32:44,432 INFO L427 CDTParser]: About to delete temporary CDT project at /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_564fd4c7-9a3b-4a88-ac35-0e8d7866bc66/bin/ukojak-verify-EEHR8qb7sm/data/845103162/1684c99617b0499d97c060728d01e0b8/FLAGc20087082 [2024-11-13 20:32:44,450 INFO L435 CDTParser]: Successfully deleted /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_564fd4c7-9a3b-4a88-ac35-0e8d7866bc66/bin/ukojak-verify-EEHR8qb7sm/data/845103162/1684c99617b0499d97c060728d01e0b8 [2024-11-13 20:32:44,453 INFO L299 ainManager$Toolchain]: ####################### [Toolchain 1] ####################### [2024-11-13 20:32:44,455 INFO L133 ToolchainWalker]: Walking toolchain with 6 elements. [2024-11-13 20:32:44,457 INFO L112 PluginConnector]: ------------------------CACSL2BoogieTranslator---------------------------- [2024-11-13 20:32:44,458 INFO L270 PluginConnector]: Initializing CACSL2BoogieTranslator... [2024-11-13 20:32:44,463 INFO L274 PluginConnector]: CACSL2BoogieTranslator initialized [2024-11-13 20:32:44,465 INFO L184 PluginConnector]: Executing the observer ACSLObjectContainerObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:32:44" (1/1) ... [2024-11-13 20:32:44,466 INFO L204 PluginConnector]: Invalid model from CACSL2BoogieTranslator for observer de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator.ACSLObjectContainerObserver@427bdc93 and model type de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:44, skipping insertion in model container [2024-11-13 20:32:44,467 INFO L184 PluginConnector]: Executing the observer CACSL2BoogieTranslatorObserver from plugin CACSL2BoogieTranslator for "CDTParser AST 13.11 08:32:44" (1/1) ... [2024-11-13 20:32:44,529 INFO L175 MainTranslator]: Built tables and reachable declarations [2024-11-13 20:32:45,002 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:32:45,014 INFO L200 MainTranslator]: Completed pre-run [2024-11-13 20:32:45,121 INFO L210 PostProcessor]: Analyzing one entry point: main [2024-11-13 20:32:45,160 INFO L204 MainTranslator]: Completed translation [2024-11-13 20:32:45,160 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:45 WrapperNode [2024-11-13 20:32:45,161 INFO L131 PluginConnector]: ------------------------ END CACSL2BoogieTranslator---------------------------- [2024-11-13 20:32:45,162 INFO L112 PluginConnector]: ------------------------Boogie Procedure Inliner---------------------------- [2024-11-13 20:32:45,162 INFO L270 PluginConnector]: Initializing Boogie Procedure Inliner... [2024-11-13 20:32:45,162 INFO L274 PluginConnector]: Boogie Procedure Inliner initialized [2024-11-13 20:32:45,171 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:45" (1/1) ... [2024-11-13 20:32:45,195 INFO L184 PluginConnector]: Executing the observer Inliner from plugin Boogie Procedure Inliner for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:45" (1/1) ... [2024-11-13 20:32:45,224 INFO L138 Inliner]: procedures = 126, calls = 62, calls flagged for inlining = 4, calls inlined = 4, statements flattened = 93 [2024-11-13 20:32:45,224 INFO L131 PluginConnector]: ------------------------ END Boogie Procedure Inliner---------------------------- [2024-11-13 20:32:45,225 INFO L112 PluginConnector]: ------------------------Boogie Preprocessor---------------------------- [2024-11-13 20:32:45,225 INFO L270 PluginConnector]: Initializing Boogie Preprocessor... [2024-11-13 20:32:45,226 INFO L274 PluginConnector]: Boogie Preprocessor initialized [2024-11-13 20:32:45,235 INFO L184 PluginConnector]: Executing the observer EnsureBoogieModelObserver from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:45" (1/1) ... [2024-11-13 20:32:45,236 INFO L184 PluginConnector]: Executing the observer TypeChecker from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:45" (1/1) ... [2024-11-13 20:32:45,241 INFO L184 PluginConnector]: Executing the observer ConstExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:45" (1/1) ... [2024-11-13 20:32:45,242 INFO L184 PluginConnector]: Executing the observer StructExpander from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:45" (1/1) ... [2024-11-13 20:32:45,254 INFO L184 PluginConnector]: Executing the observer UnstructureCode from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:45" (1/1) ... [2024-11-13 20:32:45,258 INFO L184 PluginConnector]: Executing the observer FunctionInliner from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:45" (1/1) ... [2024-11-13 20:32:45,260 INFO L184 PluginConnector]: Executing the observer LTLStepAnnotator from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:45" (1/1) ... [2024-11-13 20:32:45,265 INFO L184 PluginConnector]: Executing the observer BoogieSymbolTableConstructor from plugin Boogie Preprocessor for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:45" (1/1) ... [2024-11-13 20:32:45,272 INFO L131 PluginConnector]: ------------------------ END Boogie Preprocessor---------------------------- [2024-11-13 20:32:45,273 INFO L112 PluginConnector]: ------------------------RCFGBuilder---------------------------- [2024-11-13 20:32:45,273 INFO L270 PluginConnector]: Initializing RCFGBuilder... [2024-11-13 20:32:45,273 INFO L274 PluginConnector]: RCFGBuilder initialized [2024-11-13 20:32:45,274 INFO L184 PluginConnector]: Executing the observer RCFGBuilderObserver from plugin RCFGBuilder for "de.uni_freiburg.informatik.ultimate.plugins.generator.cacsl2boogietranslator AST 13.11 08:32:45" (1/1) ... [2024-11-13 20:32:45,288 INFO L173 SolverBuilder]: Constructing external solver with command: z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 [2024-11-13 20:32:45,306 INFO L189 MonitoredProcess]: No working directory specified, using /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_564fd4c7-9a3b-4a88-ac35-0e8d7866bc66/bin/ukojak-verify-EEHR8qb7sm/z3 [2024-11-13 20:32:45,320 INFO L229 MonitoredProcess]: Starting monitored process 1 with /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_564fd4c7-9a3b-4a88-ac35-0e8d7866bc66/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (exit command is (exit), workingDir is null) [2024-11-13 20:32:45,325 INFO L327 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_564fd4c7-9a3b-4a88-ac35-0e8d7866bc66/bin/ukojak-verify-EEHR8qb7sm/z3 SMTLIB2_COMPLIANT=true -memory:2024 -smt2 -in -t:10000 (1)] Waiting until timeout for monitored process [2024-11-13 20:32:45,360 INFO L130 BoogieDeclarations]: Found specification of procedure read~int [2024-11-13 20:32:45,361 INFO L130 BoogieDeclarations]: Found specification of procedure write~int [2024-11-13 20:32:45,361 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnHeap [2024-11-13 20:32:45,362 INFO L130 BoogieDeclarations]: Found specification of procedure create_data [2024-11-13 20:32:45,362 INFO L138 BoogieDeclarations]: Found implementation of procedure create_data [2024-11-13 20:32:45,362 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocInit [2024-11-13 20:32:45,362 INFO L130 BoogieDeclarations]: Found specification of procedure #Ultimate.allocOnStack [2024-11-13 20:32:45,362 INFO L130 BoogieDeclarations]: Found specification of procedure write~$Pointer$ [2024-11-13 20:32:45,363 INFO L130 BoogieDeclarations]: Found specification of procedure read~$Pointer$ [2024-11-13 20:32:45,363 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.dealloc [2024-11-13 20:32:45,363 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~$Pointer$ [2024-11-13 20:32:45,363 INFO L130 BoogieDeclarations]: Found specification of procedure write~init~int [2024-11-13 20:32:45,364 INFO L130 BoogieDeclarations]: Found specification of procedure ULTIMATE.start [2024-11-13 20:32:45,364 INFO L138 BoogieDeclarations]: Found implementation of procedure ULTIMATE.start [2024-11-13 20:32:45,509 INFO L238 CfgBuilder]: Building ICFG [2024-11-13 20:32:45,511 INFO L264 CfgBuilder]: Building CFG for each procedure with an implementation [2024-11-13 20:32:45,887 INFO L? ?]: Removed 51 outVars from TransFormulas that were not future-live. [2024-11-13 20:32:45,888 INFO L287 CfgBuilder]: Performing block encoding [2024-11-13 20:32:46,036 INFO L311 CfgBuilder]: Using the 1 location(s) as analysis (start of procedure ULTIMATE.start) [2024-11-13 20:32:46,036 INFO L316 CfgBuilder]: Removed 5 assume(true) statements. [2024-11-13 20:32:46,037 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:32:46 BoogieIcfgContainer [2024-11-13 20:32:46,037 INFO L131 PluginConnector]: ------------------------ END RCFGBuilder---------------------------- [2024-11-13 20:32:46,039 INFO L112 PluginConnector]: ------------------------CodeCheck---------------------------- [2024-11-13 20:32:46,039 INFO L270 PluginConnector]: Initializing CodeCheck... [2024-11-13 20:32:46,052 INFO L274 PluginConnector]: CodeCheck initialized [2024-11-13 20:32:46,053 INFO L184 PluginConnector]: Executing the observer CodeCheckObserver from plugin CodeCheck for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:32:46" (1/1) ... [2024-11-13 20:32:46,066 INFO L157 PredicateUnifier]: Initialized classic predicate unifier [2024-11-13 20:32:46,126 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:32:46,135 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 36 states and 47 transitions. [2024-11-13 20:32:46,135 INFO L276 IsEmpty]: Start isEmpty. Operand 36 states and 47 transitions. [2024-11-13 20:32:46,142 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 9 [2024-11-13 20:32:46,143 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:32:46,145 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:32:46,337 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:32:46,662 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-13 20:32:46,772 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:32:46,775 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 38 states and 49 transitions. [2024-11-13 20:32:46,775 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 49 transitions. [2024-11-13 20:32:46,776 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 10 [2024-11-13 20:32:46,776 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:32:46,777 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:32:46,868 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:32:47,060 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-13 20:32:47,084 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:32:47,085 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 50 states to 39 states and 50 transitions. [2024-11-13 20:32:47,086 INFO L276 IsEmpty]: Start isEmpty. Operand 39 states and 50 transitions. [2024-11-13 20:32:47,086 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 12 [2024-11-13 20:32:47,086 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:32:47,087 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:32:47,130 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:32:47,328 INFO L134 CoverageAnalysis]: Checked inductivity of 2 backedges. 0 proven. 2 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 20:32:47,508 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:32:47,509 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 53 states to 41 states and 53 transitions. [2024-11-13 20:32:47,510 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 53 transitions. [2024-11-13 20:32:47,513 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 13 [2024-11-13 20:32:47,514 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:32:47,514 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:32:47,558 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:32:47,674 INFO L134 CoverageAnalysis]: Checked inductivity of 3 backedges. 2 proven. 0 refuted. 0 times theorem prover too weak. 1 trivial. 0 not checked. [2024-11-13 20:32:47,842 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:32:47,842 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 52 states to 40 states and 52 transitions. [2024-11-13 20:32:47,844 INFO L276 IsEmpty]: Start isEmpty. Operand 40 states and 52 transitions. [2024-11-13 20:32:47,845 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 14 [2024-11-13 20:32:47,845 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:32:47,846 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:32:47,887 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:32:48,091 INFO L134 CoverageAnalysis]: Checked inductivity of 1 backedges. 0 proven. 1 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 20:32:48,213 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:32:48,214 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 52 states to 41 states and 52 transitions. [2024-11-13 20:32:48,214 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 52 transitions. [2024-11-13 20:32:48,216 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 15 [2024-11-13 20:32:48,216 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:32:48,217 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:32:48,260 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:32:48,484 INFO L134 CoverageAnalysis]: Checked inductivity of 7 backedges. 2 proven. 5 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 20:32:48,562 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:32:48,563 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 47 states to 38 states and 47 transitions. [2024-11-13 20:32:48,563 INFO L276 IsEmpty]: Start isEmpty. Operand 38 states and 47 transitions. [2024-11-13 20:32:48,563 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 17 [2024-11-13 20:32:48,564 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:32:48,564 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:32:48,600 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:32:48,787 INFO L134 CoverageAnalysis]: Checked inductivity of 5 backedges. 0 proven. 5 refuted. 0 times theorem prover too weak. 0 trivial. 0 not checked. [2024-11-13 20:32:49,085 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:32:49,086 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 49 states to 41 states and 49 transitions. [2024-11-13 20:32:49,087 INFO L276 IsEmpty]: Start isEmpty. Operand 41 states and 49 transitions. [2024-11-13 20:32:49,088 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 20 [2024-11-13 20:32:49,088 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:32:49,089 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:32:49,141 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:32:49,399 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 12 trivial. 0 not checked. [2024-11-13 20:32:49,532 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:32:49,533 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 54 states to 44 states and 54 transitions. [2024-11-13 20:32:49,536 INFO L276 IsEmpty]: Start isEmpty. Operand 44 states and 54 transitions. [2024-11-13 20:32:49,537 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 21 [2024-11-13 20:32:49,537 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:32:49,538 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:32:49,587 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:32:49,831 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 12 trivial. 0 not checked. [2024-11-13 20:32:50,134 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:32:50,135 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 56 states to 45 states and 56 transitions. [2024-11-13 20:32:50,135 INFO L276 IsEmpty]: Start isEmpty. Operand 45 states and 56 transitions. [2024-11-13 20:32:50,136 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 23 [2024-11-13 20:32:50,136 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:32:50,136 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:32:50,193 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is unsat [2024-11-13 20:32:50,811 INFO L134 CoverageAnalysis]: Checked inductivity of 12 backedges. 0 proven. 0 refuted. 0 times theorem prover too weak. 12 trivial. 0 not checked. [2024-11-13 20:32:52,658 INFO L82 GeneralOperation]: Start removeUnreachable. Operand no size info available [2024-11-13 20:32:52,659 INFO L88 GeneralOperation]: Finished removeUnreachable. Reduced from 67 states to 51 states and 67 transitions. [2024-11-13 20:32:52,661 INFO L276 IsEmpty]: Start isEmpty. Operand 51 states and 67 transitions. [2024-11-13 20:32:52,662 INFO L282 IsEmpty]: Finished isEmpty. Found accepting run of length 24 [2024-11-13 20:32:52,662 INFO L420 CodeCheckObserver]: Error Path is FOUND. [2024-11-13 20:32:52,662 INFO L127 SolverBuilder]: Constructing new instance of SMTInterpol with explicit timeout -1 ms and remaining time -1 ms [2024-11-13 20:32:52,765 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:32:52,765 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:32:52,827 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:32:53,179 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:32:53,179 INFO L356 TraceCheck]: Trace is feasible, we will do another trace check, this time with branch encoders. [2024-11-13 20:32:53,275 INFO L136 AnnotateAndAsserter]: Conjunction of SSA is sat [2024-11-13 20:32:53,361 WARN L473 CodeCheckObserver]: This program is UNSAFE, Check terminated with 11 iterations. [2024-11-13 20:32:53,415 INFO L201 PluginConnector]: Adding new model de.uni_freiburg.informatik.ultimate.plugins.generator.codecheck CFG 13.11 08:32:53 ImpRootNode [2024-11-13 20:32:53,415 INFO L131 PluginConnector]: ------------------------ END CodeCheck---------------------------- [2024-11-13 20:32:53,416 INFO L112 PluginConnector]: ------------------------Witness Printer---------------------------- [2024-11-13 20:32:53,416 INFO L270 PluginConnector]: Initializing Witness Printer... [2024-11-13 20:32:53,416 INFO L274 PluginConnector]: Witness Printer initialized [2024-11-13 20:32:53,417 INFO L184 PluginConnector]: Executing the observer RCFGCatcher from plugin Witness Printer for "de.uni_freiburg.informatik.ultimate.plugins.generator.rcfgbuilder CFG 13.11 08:32:46" (3/4) ... [2024-11-13 20:32:53,418 INFO L136 WitnessPrinter]: Generating witness for reachability counterexample [2024-11-13 20:32:53,485 INFO L149 WitnessManager]: Wrote witness to /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_564fd4c7-9a3b-4a88-ac35-0e8d7866bc66/bin/ukojak-verify-EEHR8qb7sm/witness.graphml [2024-11-13 20:32:53,485 INFO L131 PluginConnector]: ------------------------ END Witness Printer---------------------------- [2024-11-13 20:32:53,486 INFO L158 Benchmark]: Toolchain (without parser) took 9031.08ms. Allocated memory was 142.6MB in the beginning and 176.2MB in the end (delta: 33.6MB). Free memory was 118.3MB in the beginning and 75.4MB in the end (delta: 42.9MB). Peak memory consumption was 74.8MB. Max. memory is 16.1GB. [2024-11-13 20:32:53,487 INFO L158 Benchmark]: CDTParser took 0.45ms. Allocated memory is still 167.8MB. Free memory is still 105.7MB. There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:32:53,490 INFO L158 Benchmark]: CACSL2BoogieTranslator took 703.95ms. Allocated memory is still 142.6MB. Free memory was 118.3MB in the beginning and 100.2MB in the end (delta: 18.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. [2024-11-13 20:32:53,490 INFO L158 Benchmark]: Boogie Procedure Inliner took 62.86ms. Allocated memory is still 142.6MB. Free memory was 100.2MB in the beginning and 98.4MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:32:53,490 INFO L158 Benchmark]: Boogie Preprocessor took 46.76ms. Allocated memory is still 142.6MB. Free memory was 98.4MB in the beginning and 96.9MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:32:53,491 INFO L158 Benchmark]: RCFGBuilder took 765.01ms. Allocated memory is still 142.6MB. Free memory was 96.9MB in the beginning and 69.7MB in the end (delta: 27.2MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. [2024-11-13 20:32:53,491 INFO L158 Benchmark]: CodeCheck took 7376.45ms. Allocated memory was 142.6MB in the beginning and 176.2MB in the end (delta: 33.6MB). Free memory was 69.7MB in the beginning and 76.8MB in the end (delta: -7.2MB). Peak memory consumption was 24.5MB. Max. memory is 16.1GB. [2024-11-13 20:32:53,492 INFO L158 Benchmark]: Witness Printer took 69.41ms. Allocated memory is still 176.2MB. Free memory was 76.8MB in the beginning and 75.4MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. [2024-11-13 20:32:53,495 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 2 procedures, 36 locations, 6 error locations. Started 1 CEGAR loops. OverallTime: 7.3s, OverallIterations: 11, TraceHistogramMax: 0, PathProgramHistogramMax: 0, EmptinessCheckTime: 0.0s, AutomataDifference: 0.0s, DeadEndRemovalTime: 0.0s, HoareAnnotationTime: 0.0s, InitialAbstractionConstructionTime: 0.0s, HoareTripleCheckerStatistics: 0 mSolverCounterUnknown, 334 SdHoareTripleChecker+Valid, 1.9s IncrementalHoareTripleChecker+Time, 0 mSdLazyCounter, 80 mSDsluCounter, 137 SdHoareTripleChecker+Invalid, 1.6s Time, 0 mProtectedAction, 0 SdHoareTripleChecker+Unchecked, 0 IncrementalHoareTripleChecker+Unchecked, 5 mSDsCounter, 240 IncrementalHoareTripleChecker+Valid, 0 mProtectedPredicate, 601 IncrementalHoareTripleChecker+Invalid, 841 SdHoareTripleChecker+Unknown, 0 mSolverCounterNotChecked, 240 mSolverCounterUnsat, 132 mSDtfsCounter, 601 mSolverCounterSat, 0.0s SdHoareTripleChecker+Time, 0 IncrementalHoareTripleChecker+Unknown, PredicateUnifierStatistics: 0 DeclaredPredicates, 1040 GetRequests, 953 SyntacticMatches, 9 SemanticMatches, 78 ConstructedPredicates, 0 IntricatePredicates, 0 DeprecatedPredicates, 2190 ImplicationChecksByTransitivity, 3.1s Time, 0.0s BasicInterpolantAutomatonTime, BiggestAbstraction: size=-1occurred in iteration=-1, InterpolantAutomatonStates: 0, traceCheckStatistics: 0.1s SsaConstructionTime, 0.5s SatisfiabilityAnalysisTime, 2.5s InterpolantComputationTime, 167 NumberOfCodeBlocks, 167 NumberOfCodeBlocksAsserted, 11 NumberOfCheckSat, 134 ConstructedInterpolants, 0 QuantifiedInterpolants, 312 SizeOfPredicates, 0 NumberOfNonLiveVariables, 0 ConjunctsInSsa, 0 ConjunctsInUnsatCore, 10 InterpolantComputations, 6 PerfectInterpolantSequences, 41/54 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 - CounterExampleResult [Line: 564]: integer overflow possible integer overflow possible We found a FailurePath: [L598] struct node_t *list = ((void *)0); [L599] int dataNotFinished = 0; VAL [list={3266:0}] [L601] CALL append(&list) [L588] struct node_t *node = malloc(sizeof *node); [L589] EXPR \read(**pointerToList) [L589] node->next = *pointerToList [L590] EXPR \read(**pointerToList) VAL [node={-2:0}, pointerToList={3266:0}] [L590] COND TRUE *pointerToList == ((void *)0) [L591] CALL create_data(((void *)0)) VAL [\old(prevData)={0:0}] [L552] prevData != ((void *)0) && prevData->hasNextPartReference VAL [\old(prevData)={0:0}, prevData={0:0}] [L552] COND FALSE !(prevData != ((void *)0) && prevData->hasNextPartReference) [L555] Data data = malloc(sizeof *data); [L556] data->array = (int*) malloc(20 * sizeof(data->array)) [L557] int counter = 0; [L558] counter = 0 VAL [\old(prevData)={0:0}, counter=0, data={-3:0}, prevData={0:0}] [L558] COND TRUE counter < 3 [L559] EXPR data->array [L559] data->array[counter] = __VERIFIER_nondet_int() [L558] counter++ VAL [\old(prevData)={0:0}, counter=1, data={-3:0}, prevData={0:0}] [L558] COND TRUE counter < 3 [L559] EXPR data->array [L559] data->array[counter] = __VERIFIER_nondet_int() [L558] counter++ VAL [\old(prevData)={0:0}, counter=2, data={-3:0}, prevData={0:0}] [L558] COND TRUE counter < 3 [L559] EXPR data->array [L559] data->array[counter] = __VERIFIER_nondet_int() [L558] counter++ VAL [\old(prevData)={0:0}, counter=3, data={-3:0}, prevData={0:0}] [L558] COND FALSE !(counter < 3) [L561] data->number = 0 [L562] int userInput = __VERIFIER_nondet_int(); [L563] EXPR __VERIFIER_nondet_int() && data->number < 200 [L563] EXPR data->number [L563] EXPR __VERIFIER_nondet_int() && data->number < 200 [L563] EXPR __VERIFIER_nondet_int() && data->number < 200 && data->number > -200 [L563] EXPR data->number [L563] EXPR __VERIFIER_nondet_int() && data->number < 200 && data->number > -200 VAL [\old(prevData)={0:0}, data={-3:0}, prevData={0:0}, userInput=0] [L563] COND TRUE __VERIFIER_nondet_int() && data->number < 200 && data->number > -200 && userInput < 200 && userInput > -200 [L564] EXPR data->number [L564] EXPR data->number + __VERIFIER_nondet_int() [L564] data->number = data->number + __VERIFIER_nondet_int() [L565] userInput = __VERIFIER_nondet_int() [L563] EXPR __VERIFIER_nondet_int() && data->number < 200 [L563] EXPR data->number [L563] EXPR __VERIFIER_nondet_int() && data->number < 200 [L563] EXPR __VERIFIER_nondet_int() && data->number < 200 && data->number > -200 [L563] EXPR data->number [L563] EXPR __VERIFIER_nondet_int() && data->number < 200 && data->number > -200 VAL [\old(prevData)={0:0}, data={-3:0}, prevData={0:0}, userInput=0] [L563] COND TRUE __VERIFIER_nondet_int() && data->number < 200 && data->number > -200 && userInput < 200 && userInput > -200 [L564] EXPR data->number [L564] data->number + __VERIFIER_nondet_int() VAL [\old(prevData)={0:0}, data={-3:0}, prevData={0:0}] * Results from de.uni_freiburg.informatik.ultimate.core: - StatisticsResult: Toolchain Benchmarks Benchmark results are: * CDTParser took 0.45ms. Allocated memory is still 167.8MB. Free memory is still 105.7MB. There was no memory consumed. Max. memory is 16.1GB. * CACSL2BoogieTranslator took 703.95ms. Allocated memory is still 142.6MB. Free memory was 118.3MB in the beginning and 100.2MB in the end (delta: 18.1MB). Peak memory consumption was 16.8MB. Max. memory is 16.1GB. * Boogie Procedure Inliner took 62.86ms. Allocated memory is still 142.6MB. Free memory was 100.2MB in the beginning and 98.4MB in the end (delta: 1.8MB). There was no memory consumed. Max. memory is 16.1GB. * Boogie Preprocessor took 46.76ms. Allocated memory is still 142.6MB. Free memory was 98.4MB in the beginning and 96.9MB in the end (delta: 1.5MB). There was no memory consumed. Max. memory is 16.1GB. * RCFGBuilder took 765.01ms. Allocated memory is still 142.6MB. Free memory was 96.9MB in the beginning and 69.7MB in the end (delta: 27.2MB). Peak memory consumption was 33.6MB. Max. memory is 16.1GB. * CodeCheck took 7376.45ms. Allocated memory was 142.6MB in the beginning and 176.2MB in the end (delta: 33.6MB). Free memory was 69.7MB in the beginning and 76.8MB in the end (delta: -7.2MB). Peak memory consumption was 24.5MB. Max. memory is 16.1GB. * Witness Printer took 69.41ms. Allocated memory is still 176.2MB. Free memory was 76.8MB in the beginning and 75.4MB in the end (delta: 1.4MB). There was no memory consumed. Max. memory is 16.1GB. RESULT: Ultimate proved your program to be incorrect! [2024-11-13 20:32:53,539 INFO L552 MonitoredProcess]: [MP /tmp/vcloud_worker_vcloud-master_on_vcloud-master/run_dir_564fd4c7-9a3b-4a88-ac35-0e8d7866bc66/bin/ukojak-verify-EEHR8qb7sm/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 Writing human readable error path to file UltimateCounterExample.errorpath Result: FALSE(OVERFLOW)