Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test46.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.211/2.211, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004296/0.0004297, allocations: 16 kB / 314.5 MB, free: 9.457 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3359, allocations: 54.86 MB / 369.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.4886, allocations: 82.14 MB / 451.5 MB, free: 8.348 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002847/0.4889, allocations: 79.89 kB / 451.6 MB, free: 8.27 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.02207/0.511, allocations: 4.9 MB / 456.5 MB, free: 3.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.843e-06/0.511, allocations: 0 / 456.5 MB, free: 3.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.5111, allocations: 0 / 456.5 MB, free: 3.355 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0007268/0.5118, allocations: 0.4902 MB / 457 MB, free: 2.805 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.5119, allocations: 12.03 kB / 457 MB, free: 2.793 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.525e-05/0.5119, allocations: 30.56 kB / 457 MB, free: 2.754 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.093e-05/0.512, allocations: 19.81 kB / 457 MB, free: 2.734 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004001/0.5124, allocations: 226.7 kB / 457.3 MB, free: 2.473 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.5124, allocations: 3.984 kB / 457.3 MB, free: 2.469 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.128e-05/0.5125, allocations: 4 kB / 457.3 MB, free: 2.465 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.5127, allocations: 57.67 kB / 457.3 MB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.5127, allocations: 0 / 457.3 MB, free: 2.402 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.5127, allocations: 7.953 kB / 457.3 MB, free: 2.395 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.5128, allocations: 0 / 457.3 MB, free: 2.395 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.5129, allocations: 19.98 kB / 457.3 MB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005753/0.5135, allocations: 332.7 kB / 457.7 MB, free: 2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002525/0.5137, allocations: 62.61 kB / 457.7 MB, free: 1.93 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.5e-05/0.5138, allocations: 4 kB / 457.7 MB, free: 1.926 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002037/0.514, allocations: 72.12 kB / 457.8 MB, free: 1.844 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.514, allocations: 4 kB / 457.8 MB, free: 1.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008594/0.5149, allocations: 197.1 kB / 458 MB, free: 1.641 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.034e-05/0.5149, allocations: 59.33 kB / 458.1 MB, free: 1.57 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003923/0.5153, allocations: 229.7 kB / 458.3 MB, free: 1.332 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.5154, allocations: 25.7 kB / 458.3 MB, free: 1.301 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.5155, allocations: 174.5 kB / 458.5 MB, free: 1.129 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.71e-05/0.5156, allocations: 23.66 kB / 458.5 MB, free: 1.105 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-06/0.5156, allocations: 0 / 458.5 MB, free: 1.105 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001456/0.5157, allocations: 326.8 kB / 458.8 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001455/0.5159, allocations: 35.98 kB / 458.9 MB, free: 0.7422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.5161, allocations: 53.69 kB / 458.9 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001824/0.5163, allocations: 69.7 kB / 459 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5163, allocations: 0 / 459 MB, free: 0.6094 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004645/0.5168, allocations: 183.2 kB / 459.2 MB, free: 428 kB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.363e-05/0.5168, allocations: 37.73 kB / 459.2 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5168, allocations: 0 / 459.2 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.5169, allocations: 3.984 kB / 459.2 MB, free: 380 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.517, allocations: 16 kB / 459.2 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.5171, allocations: 0 / 459.2 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.5172, allocations: 8 kB / 459.2 MB, free: 356 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.5172, allocations: 7.984 kB / 459.2 MB, free: 348 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000188/0.5174, allocations: 141.8 kB / 459.4 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.321e-05/0.5175, allocations: 19.75 kB / 459.4 MB, free: 176 kB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003986/0.5179, allocations: 127 kB / 459.5 MB, free: 44 kB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.5179, allocations: 4 kB / 459.5 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.5179, allocations: 0 / 459.5 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.5179, allocations: 0 / 459.5 MB, free: 40 kB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007912/0.5187, allocations: 435.7 kB / 459.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.5187, allocations: 0 / 459.9 MB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.995e-05/0.5188, allocations: 15.98 kB / 460 MB, free: 15.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/0.5188, allocations: 7.969 kB / 460 MB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.5189, allocations: 8.188 kB / 460 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.5189, allocations: 80 / 460 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.5189, allocations: 7.922 kB / 460 MB, free: 15.52 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004231/0.5193, allocations: 229.8 kB / 460.2 MB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001209/0.5195, allocations: 104.9 kB / 460.3 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.02e-05/0.5195, allocations: 8 kB / 460.3 MB, free: 15.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.5197, allocations: 4 kB / 460.3 MB, free: 15.13 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.729e-05/0.5197, allocations: 7.984 kB / 460.3 MB, free: 15.12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.601e-05/0.5197, allocations: 4 kB / 460.3 MB, free: 15.12 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002878/0.52, allocations: 192.2 kB / 460.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5201, allocations: 0 / 460.5 MB, free: 14.93 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004126/0.5205, allocations: 43.94 kB / 460.6 MB, free: 14.89 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002017/0.5225, allocations: 1.187 MB / 461.7 MB, free: 13.75 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004638/0.523, allocations: 167.3 kB / 461.9 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.523, allocations: 4.062 kB / 461.9 MB, free: 13.57 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001228/0.5232, allocations: 28 kB / 461.9 MB, free: 13.54 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.5235, allocations: 28.19 kB / 462 MB, free: 13.51 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.5248, allocations: 0.7474 MB / 462.7 MB, free: 12.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003937/0.5252, allocations: 0.7277 MB / 463.4 MB, free: 11.95 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001355/0.5254, allocations: 43.41 kB / 463.5 MB, free: 11.9 MB / 394.7 MB Notification: Performance of SimCode: time 1.493e-06/0.5254, allocations: 0 / 463.5 MB, free: 11.9 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.601/3.127, allocations: 2.809 MB / 466.3 MB, free: 9.094 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat