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.Test78.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.Test78,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test78",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.367/2.367, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004342, allocations: 12 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.357/0.3574, allocations: 54.86 MB / 369.3 MB, free: 12.76 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.002811/0.3603, allocations: 1.474 MB / 370.7 MB, free: 11.26 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002238/0.3626, allocations: 0.9538 MB / 371.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.927e-05/0.3627, allocations: 7.938 kB / 371.7 MB, free: 10.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005651/0.3633, allocations: 227.6 kB / 371.9 MB, free: 10.07 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004021/0.3637, allocations: 159.6 kB / 372.1 MB, free: 9.914 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.3641, allocations: 99.7 kB / 372.2 MB, free: 9.816 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.3644, allocations: 179.6 kB / 372.4 MB, free: 9.641 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3646, allocations: 9.562 kB / 372.4 MB, free: 9.633 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002092/0.3648, allocations: 123.6 kB / 372.5 MB, free: 9.512 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.3651, allocations: 131.7 kB / 372.6 MB, free: 9.383 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.654e-05/0.3651, allocations: 4 kB / 372.6 MB, free: 9.379 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001784/0.3653, allocations: 59.84 kB / 372.7 MB, free: 9.32 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.676e-05/0.3654, allocations: 55.81 kB / 372.7 MB, free: 9.266 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.404e-05/0.3655, allocations: 57.58 kB / 372.8 MB, free: 9.203 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003559/0.3659, allocations: 192.6 kB / 373 MB, free: 9.016 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3659, allocations: 4 kB / 373 MB, free: 9.012 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.3659, allocations: 0 / 373 MB, free: 9.012 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.421e-06/0.3659, allocations: 0 / 373 MB, free: 9.012 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009263/0.3669, allocations: 0.6335 MB / 373.6 MB, free: 8.305 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.3669, allocations: 11.97 kB / 373.6 MB, free: 8.293 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.028e-05/0.367, allocations: 34.55 kB / 373.7 MB, free: 8.25 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.686e-05/0.3671, allocations: 31.62 kB / 373.7 MB, free: 8.219 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004019/0.3675, allocations: 259.1 kB / 373.9 MB, free: 7.926 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.422e-05/0.3675, allocations: 16 kB / 374 MB, free: 7.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.841e-05/0.3676, allocations: 8 kB / 374 MB, free: 7.902 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000329/0.3679, allocations: 103.3 kB / 374.1 MB, free: 7.789 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.3679, allocations: 0 / 374.1 MB, free: 7.789 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.885e-05/0.368, allocations: 3.953 kB / 374.1 MB, free: 7.785 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.368, allocations: 4 kB / 374.1 MB, free: 7.781 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001944/0.3682, allocations: 39.97 kB / 374.1 MB, free: 7.742 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006905/0.3689, allocations: 476.9 kB / 374.6 MB, free: 7.223 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004385/0.3693, allocations: 109.3 kB / 374.7 MB, free: 7.098 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.237e-05/0.3694, allocations: 15.95 kB / 374.7 MB, free: 7.082 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003355/0.3698, allocations: 113 kB / 374.8 MB, free: 6.953 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 3.767e-06/0.3698, allocations: 3.984 kB / 374.8 MB, free: 6.949 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001363/0.3711, allocations: 387.7 kB / 375.2 MB, free: 6.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.3712, allocations: 81.11 kB / 375.3 MB, free: 6.465 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007175/0.372, allocations: 476.4 kB / 375.7 MB, free: 5.992 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.372, allocations: 29.7 kB / 375.8 MB, free: 5.957 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001576/0.3722, allocations: 202.9 kB / 376 MB, free: 5.758 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.022e-05/0.3722, allocations: 51.34 kB / 376 MB, free: 5.707 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.354e-05/0.3723, allocations: 0 / 376 MB, free: 5.707 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3724, allocations: 322.8 kB / 376.3 MB, free: 5.383 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002293/0.3727, allocations: 64.16 kB / 376.4 MB, free: 5.32 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000256/0.3729, allocations: 96.7 kB / 376.5 MB, free: 5.215 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002997/0.3732, allocations: 135.3 kB / 376.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.3733, allocations: 7.891 kB / 376.6 MB, free: 5.062 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007037/0.374, allocations: 276.9 kB / 376.9 MB, free: 4.773 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.873e-05/0.3741, allocations: 67.39 kB / 377 MB, free: 4.695 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.3741, allocations: 8.062 kB / 377 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.3741, allocations: 0 / 377 MB, free: 4.688 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002448/0.3744, allocations: 35.92 kB / 377 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.3744, allocations: 0 / 377 MB, free: 4.652 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001569/0.3745, allocations: 12 kB / 377 MB, free: 4.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.219e-05/0.3746, allocations: 11.98 kB / 377 MB, free: 4.629 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0002304/0.3748, allocations: 169.8 kB / 377.2 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.164e-05/0.3749, allocations: 35.58 kB / 377.2 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.375, allocations: 42.81 kB / 377.3 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.375, allocations: 0.75 kB / 377.3 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.375, allocations: 0 / 377.3 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.865e-06/0.3751, allocations: 4 kB / 377.3 MB, free: 4.371 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00114/0.3762, allocations: 0.6282 MB / 377.9 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.3762, allocations: 64 / 377.9 MB, free: 3.68 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001069/0.3763, allocations: 27.98 kB / 377.9 MB, free: 3.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/0.3764, allocations: 4 kB / 377.9 MB, free: 3.648 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.686e-05/0.3764, allocations: 8 kB / 378 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3764, allocations: 0 / 378 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3764, allocations: 0 / 378 MB, free: 3.641 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006162/0.377, allocations: 379.2 kB / 378.3 MB, free: 3.25 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001363/0.3772, allocations: 124.6 kB / 378.4 MB, free: 3.109 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.513e-05/0.3773, allocations: 4 kB / 378.4 MB, free: 3.105 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.3775, allocations: 11.98 kB / 378.5 MB, free: 3.094 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.932e-05/0.3775, allocations: 7.984 kB / 378.5 MB, free: 3.086 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.139e-05/0.3776, allocations: 12 kB / 378.5 MB, free: 3.074 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005058/0.3781, allocations: 343 kB / 378.8 MB, free: 2.738 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.3781, allocations: 4 kB / 378.8 MB, free: 2.734 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004924/0.3786, allocations: 59.98 kB / 378.9 MB, free: 2.676 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002944/0.3816, allocations: 1.505 MB / 380.4 MB, free: 1.242 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006894/0.3823, allocations: 294.6 kB / 380.7 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.3823, allocations: 0 / 380.7 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002233/0.3825, allocations: 68.03 kB / 380.7 MB, free: 0.8633 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/0.3831, allocations: 34.02 kB / 380.8 MB, free: 0.8281 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001883/0.385, allocations: 0.9404 MB / 381.7 MB, free: 15.82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004722/0.3855, allocations: 0.7751 MB / 382.5 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001755/0.3856, allocations: 79.41 kB / 382.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of SimCode: time 7.92e-07/0.3857, allocations: 0 / 382.6 MB, free: 14.94 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.478/2.864, allocations: 4.945 MB / 387.5 MB, free: 9.988 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat failed! Error: Could not read variable t_new_2.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat. Warning: Get data of variable t_new_2.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat failed! Error: Could not read variable t_new_2.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat. Warning: Get data of variable t_new_2.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat failed! " Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.u,d_t_new.y,d_t_new_2.u,d_t_new_2.y,der(d_t_new.u),der(d_t_new_2.u),der(t_new.timeScaled),der(t_new_2.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[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,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.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nout,t_new_2.offset[1],t_new_2.p_offset[1],t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.tableOnFileRead,t_new_2.table[1,1],t_new_2.table[1,2],t_new_2.table[10,1],t_new_2.table[10,2],t_new_2.table[11,1],t_new_2.table[11,2],t_new_2.table[2,1],t_new_2.table[2,2],t_new_2.table[3,1],t_new_2.table[3,2],t_new_2.table[4,1],t_new_2.table[4,2],t_new_2.table[5,1],t_new_2.table[5,2],t_new_2.table[6,1],t_new_2.table[6,2],t_new_2.table[7,1],t_new_2.table[7,2],t_new_2.table[8,1],t_new_2.table[8,2],t_new_2.table[9,1],t_new_2.table[9,2],t_new_2.timeScale,t_new_2.timeScaled,t_new_2.verboseRead,t_new_2.y[1],time