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.Test4.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.Test4,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test4",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.339/2.339, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004416/0.0004417, allocations: 16 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3394/0.3399, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002418/0.3423, allocations: 1.342 MB / 370.6 MB, free: 9.352 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001643/0.344, allocations: 0.7241 MB / 371.3 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.141e-05/0.3441, allocations: 3.938 kB / 371.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003398/0.3445, allocations: 75.77 kB / 371.4 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002123/0.3447, allocations: 47.92 kB / 371.5 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000219/0.3449, allocations: 59.83 kB / 371.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001817/0.3451, allocations: 75.83 kB / 371.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.85e-05/0.3453, allocations: 8 kB / 371.6 MB, free: 8.355 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00011/0.3454, allocations: 43.83 kB / 371.7 MB, free: 8.312 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001184/0.3455, allocations: 51.81 kB / 371.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.3455, allocations: 0 / 371.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001138/0.3457, allocations: 24 kB / 371.7 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.115e-05/0.3457, allocations: 19.91 kB / 371.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.703e-05/0.3458, allocations: 49.58 kB / 371.8 MB, free: 8.164 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.346, allocations: 84.86 kB / 371.9 MB, free: 8.082 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.3461, allocations: 0 / 371.9 MB, free: 8.082 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3461, allocations: 0 / 371.9 MB, free: 8.082 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.3461, allocations: 0 / 371.9 MB, free: 8.082 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.0006551/0.3467, allocations: 466.2 kB / 372.3 MB, free: 7.566 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3468, allocations: 8.031 kB / 372.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.827e-05/0.3469, allocations: 34.56 kB / 372.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.227e-05/0.3469, allocations: 11.91 kB / 372.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000281/0.3472, allocations: 211.5 kB / 372.6 MB, free: 7.258 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.217e-05/0.3472, allocations: 8 kB / 372.6 MB, free: 7.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.04e-05/0.3473, allocations: 7.938 kB / 372.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000205/0.3475, allocations: 57.61 kB / 372.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3475, allocations: 0 / 372.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.3475, allocations: 7.953 kB / 372.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.3476, allocations: 0 / 372.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00011/0.3477, allocations: 19.98 kB / 372.7 MB, free: 7.152 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004403/0.3481, allocations: 304.8 kB / 373 MB, free: 6.805 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002355/0.3484, allocations: 58.61 kB / 373 MB, free: 6.738 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.556e-05/0.3484, allocations: 4 kB / 373.1 MB, free: 6.734 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002188/0.3487, allocations: 63.34 kB / 373.1 MB, free: 6.66 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.974e-06/0.3487, allocations: 0 / 373.1 MB, free: 6.66 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007405/0.3494, allocations: 185.1 kB / 373.3 MB, free: 6.473 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.3495, allocations: 55.41 kB / 373.3 MB, free: 6.406 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002682/0.3498, allocations: 202.4 kB / 373.5 MB, free: 6.199 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.475e-05/0.3498, allocations: 29.7 kB / 373.6 MB, free: 6.164 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.693e-05/0.3499, allocations: 170.3 kB / 373.7 MB, free: 5.996 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.934e-05/0.3499, allocations: 31.62 kB / 373.8 MB, free: 5.965 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.865e-06/0.35, allocations: 0 / 373.8 MB, free: 5.965 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.3501, allocations: 322.8 kB / 374.1 MB, free: 5.641 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.3502, allocations: 32 kB / 374.1 MB, free: 5.609 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.3504, allocations: 55.67 kB / 374.2 MB, free: 5.551 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001498/0.3505, allocations: 61.7 kB / 374.2 MB, free: 5.484 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.3506, allocations: 0 / 374.2 MB, free: 5.484 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003823/0.351, allocations: 159.3 kB / 374.4 MB, free: 5.316 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.639e-05/0.351, allocations: 33.69 kB / 374.4 MB, free: 5.277 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.351, allocations: 4 kB / 374.4 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.476e-05/0.3511, allocations: 4.031 kB / 374.4 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001412/0.3512, allocations: 15.98 kB / 374.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3512, allocations: 0 / 374.4 MB, free: 5.254 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.993e-05/0.3513, allocations: 8 kB / 374.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.3514, allocations: 4 kB / 374.5 MB, free: 5.242 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.0001714/0.3515, allocations: 133.8 kB / 374.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.3516, allocations: 15.77 kB / 374.6 MB, free: 5.086 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.619e-05/0.3516, allocations: 17.34 kB / 374.6 MB, free: 5.074 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.27e-06/0.3517, allocations: 11.92 kB / 374.6 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.3517, allocations: 4 kB / 374.6 MB, free: 5.059 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.3517, allocations: 3.984 kB / 374.6 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006255/0.3523, allocations: 391.3 kB / 375 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3523, allocations: 384 / 375 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.941e-05/0.3524, allocations: 8 kB / 375 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.252e-06/0.3524, allocations: 4 kB / 375 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.433e-05/0.3525, allocations: 4.094 kB / 375 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.3525, allocations: 7.969 kB / 375 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.3525, allocations: 0 / 375 MB, free: 4.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.3528, allocations: 204.2 kB / 375.2 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.485e-05/0.3529, allocations: 101 kB / 375.3 MB, free: 4.254 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.353, allocations: 3.984 kB / 375.3 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3531, allocations: 4 kB / 375.4 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.3531, allocations: 15.94 kB / 375.4 MB, free: 4.23 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.272e-05/0.3532, allocations: 7.984 kB / 375.4 MB, free: 4.223 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001804/0.3534, allocations: 151.2 kB / 375.5 MB, free: 4.074 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3534, allocations: 0 / 375.5 MB, free: 4.074 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003418/0.3537, allocations: 24 kB / 375.5 MB, free: 4.051 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.001787/0.3555, allocations: 1.081 MB / 376.6 MB, free: 3.027 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003826/0.3559, allocations: 147.3 kB / 376.8 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3559, allocations: 0 / 376.8 MB, free: 2.871 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.3561, allocations: 35.91 kB / 376.8 MB, free: 2.836 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003193/0.3564, allocations: 16.11 kB / 376.8 MB, free: 2.82 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009545/0.3574, allocations: 0.5239 MB / 377.3 MB, free: 2.242 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003157/0.3577, allocations: 0.7121 MB / 378.1 MB, free: 1.504 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.864e-05/0.3578, allocations: 35.42 kB / 378.1 MB, free: 1.469 MB / 298.7 MB Notification: Performance of SimCode: time 9.02e-07/0.3578, allocations: 192 / 378.1 MB, free: 1.469 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.474/2.831, allocations: 2.457 MB / 380.6 MB, free: 15.01 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test4_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.table[5,1],t_new.table[5,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time