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.Test24.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.Test24,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test24",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.262/2.262, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004441, allocations: 12 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3531, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test24): time 0.002441/0.3556, allocations: 1.349 MB / 370.6 MB, free: 9.344 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001641/0.3573, allocations: 0.7202 MB / 371.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.3574, allocations: 0 / 371.3 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002686/0.3577, allocations: 31.83 kB / 371.4 MB, free: 8.586 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.3579, allocations: 31.91 kB / 371.4 MB, free: 8.555 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002185/0.3581, allocations: 55.81 kB / 371.5 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.3583, allocations: 67.86 kB / 371.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.3584, allocations: 15.97 kB / 371.5 MB, free: 8.418 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.958e-05/0.3585, allocations: 39.84 kB / 371.6 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.204e-05/0.3586, allocations: 27.91 kB / 371.6 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.724e-05/0.3586, allocations: 0 / 371.6 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001109/0.3588, allocations: 31.92 kB / 371.6 MB, free: 8.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.995e-05/0.3588, allocations: 11.98 kB / 371.7 MB, free: 8.309 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.073e-05/0.3589, allocations: 41.58 kB / 371.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001981/0.3591, allocations: 92.78 kB / 371.8 MB, free: 8.172 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3591, allocations: 0 / 371.8 MB, free: 8.172 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3591, allocations: 4 kB / 371.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.238e-06/0.3591, allocations: 0 / 371.8 MB, free: 8.168 MB / 298.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.0006082/0.3598, allocations: 462.2 kB / 372.2 MB, free: 7.656 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3598, allocations: 8.031 kB / 372.2 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.588e-05/0.3599, allocations: 34.5 kB / 372.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.295e-05/0.3599, allocations: 11.91 kB / 372.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.3602, allocations: 202.8 kB / 372.5 MB, free: 7.355 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.199e-05/0.3602, allocations: 4 kB / 372.5 MB, free: 7.352 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.683e-05/0.3603, allocations: 8 kB / 372.5 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.3605, allocations: 57.61 kB / 372.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.3605, allocations: 0 / 372.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.3605, allocations: 3.953 kB / 372.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.3605, allocations: 0 / 372.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001171/0.3606, allocations: 31.92 kB / 372.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004623/0.3611, allocations: 292.8 kB / 372.9 MB, free: 6.91 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.3614, allocations: 62.67 kB / 372.9 MB, free: 6.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.3614, allocations: 3.984 kB / 372.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002204/0.3617, allocations: 75.28 kB / 373 MB, free: 6.75 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.794e-06/0.3617, allocations: 0 / 373 MB, free: 6.75 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007406/0.3624, allocations: 181.1 kB / 373.2 MB, free: 6.566 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.3625, allocations: 55.41 kB / 373.2 MB, free: 6.5 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002441/0.3627, allocations: 191.3 kB / 373.4 MB, free: 6.305 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.3628, allocations: 33.7 kB / 373.5 MB, free: 6.266 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.324e-05/0.3629, allocations: 166.4 kB / 373.6 MB, free: 6.102 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.777e-05/0.3629, allocations: 27.64 kB / 373.7 MB, free: 6.074 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.3629, allocations: 0 / 373.7 MB, free: 6.074 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3631, allocations: 314.8 kB / 374 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.3632, allocations: 27.98 kB / 374 MB, free: 5.73 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001369/0.3633, allocations: 53.69 kB / 374 MB, free: 5.672 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.3635, allocations: 61.7 kB / 374.1 MB, free: 5.605 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3635, allocations: 0 / 374.1 MB, free: 5.605 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003764/0.3639, allocations: 159.2 kB / 374.3 MB, free: 5.438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.833e-05/0.364, allocations: 37.69 kB / 374.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.364, allocations: 0 / 374.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.364, allocations: 0 / 374.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000143/0.3642, allocations: 19.98 kB / 374.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.3642, allocations: 8.094 kB / 374.3 MB, free: 5.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.44e-05/0.3643, allocations: 4 kB / 374.3 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.3643, allocations: 8 kB / 374.3 MB, free: 5.355 MB / 298.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.000135/0.3644, allocations: 131.4 kB / 374.5 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.7e-05/0.3645, allocations: 15.8 kB / 374.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.691e-05/0.3646, allocations: 13.41 kB / 374.5 MB, free: 5.195 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.3646, allocations: 7.938 kB / 374.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3646, allocations: 0 / 374.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.3646, allocations: 0 / 374.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006384/0.3652, allocations: 399.3 kB / 374.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3653, allocations: 0 / 374.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.808e-05/0.3653, allocations: 11.98 kB / 374.9 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.3653, allocations: 0 / 374.9 MB, free: 4.727 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.125e-05/0.3654, allocations: 8 kB / 374.9 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.3654, allocations: 384 / 374.9 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3654, allocations: 0 / 374.9 MB, free: 4.719 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003391/0.3657, allocations: 216.1 kB / 375.1 MB, free: 4.488 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.688e-05/0.3658, allocations: 96.95 kB / 375.2 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.005e-05/0.3659, allocations: 8 kB / 375.2 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.366, allocations: 7.984 kB / 375.2 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.344e-05/0.366, allocations: 0 / 375.2 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.3661, allocations: 4 kB / 375.2 MB, free: 4.355 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001666/0.3662, allocations: 147.9 kB / 375.4 MB, free: 4.211 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.3663, allocations: 0 / 375.4 MB, free: 4.211 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003467/0.3666, allocations: 35.98 kB / 375.4 MB, free: 4.176 MB / 298.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 (8): * Single equations (assignments): 6 * 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.001895/0.3685, allocations: 1.084 MB / 376.5 MB, free: 3.152 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003982/0.3689, allocations: 151.3 kB / 376.6 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.369, allocations: 0 / 376.6 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.3691, allocations: 27.98 kB / 376.7 MB, free: 2.965 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003248/0.3694, allocations: 23.92 kB / 376.7 MB, free: 2.941 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.3705, allocations: 0.5037 MB / 377.2 MB, free: 2.383 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003527/0.3708, allocations: 0.7082 MB / 377.9 MB, free: 1.648 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.456e-05/0.3709, allocations: 35.42 kB / 377.9 MB, free: 1.613 MB / 298.7 MB Notification: Performance of SimCode: time 7.51e-07/0.3709, allocations: 0 / 377.9 MB, free: 1.613 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.527/2.898, allocations: 2.394 MB / 380.3 MB, free: 15.22 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test24_res.mat failed! " Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1],d_t_new.y Variables in the result:d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.timeScaled),t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nout,t_new.offset[1],t_new.p_offset[1],t_new.smoothness,t_new.startTime,t_new.t_max,t_new.t_maxScaled,t_new.t_min,t_new.t_minScaled,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[2,1],t_new.table[2,2],t_new.table[3,1],t_new.table[3,2],t_new.table[4,1],t_new.table[4,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time