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.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.32/2.32, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004487/0.0004487, allocations: 16 kB / 314.4 MB, free: 9.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3613, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002543/0.3639, allocations: 1.345 MB / 370.6 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001713/0.3657, allocations: 0.7203 MB / 371.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.666e-05/0.3658, allocations: 0 / 371.3 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.3661, allocations: 31.84 kB / 371.4 MB, free: 8.582 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002095/0.3663, allocations: 35.88 kB / 371.4 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002379/0.3666, allocations: 47.83 kB / 371.5 MB, free: 8.5 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001788/0.3668, allocations: 75.84 kB / 371.5 MB, free: 8.426 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001096/0.3669, allocations: 12 kB / 371.5 MB, free: 8.414 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.367, allocations: 31.84 kB / 371.6 MB, free: 8.383 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.175e-05/0.3671, allocations: 31.84 kB / 371.6 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.055e-05/0.3672, allocations: 4 kB / 371.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001193/0.3673, allocations: 31.92 kB / 371.6 MB, free: 8.316 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.614e-05/0.3674, allocations: 15.92 kB / 371.7 MB, free: 8.301 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.3674, allocations: 37.7 kB / 371.7 MB, free: 8.258 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.3677, allocations: 92.84 kB / 371.8 MB, free: 8.168 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.3677, allocations: 3.938 kB / 371.8 MB, free: 8.164 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3677, allocations: 0 / 371.8 MB, free: 8.164 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.3677, allocations: 0 / 371.8 MB, free: 8.164 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.0006828/0.3684, allocations: 462.1 kB / 372.2 MB, free: 7.652 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.3685, allocations: 12.03 kB / 372.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.207e-05/0.3685, allocations: 30.56 kB / 372.3 MB, free: 7.602 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.592e-05/0.3686, allocations: 7.906 kB / 372.3 MB, free: 7.594 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.3689, allocations: 214.7 kB / 372.5 MB, free: 7.344 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.3689, allocations: 4 kB / 372.5 MB, free: 7.34 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/0.3689, allocations: 4 kB / 372.5 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000203/0.3692, allocations: 57.67 kB / 372.6 MB, free: 7.273 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/0.3692, allocations: 4 kB / 372.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3692, allocations: 3.953 kB / 372.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.3692, allocations: 0 / 372.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001186/0.3694, allocations: 23.92 kB / 372.6 MB, free: 7.242 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004747/0.3698, allocations: 300.8 kB / 372.9 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002552/0.3701, allocations: 54.69 kB / 372.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.561e-05/0.3702, allocations: 3.984 kB / 372.9 MB, free: 6.832 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/0.3705, allocations: 75.28 kB / 373 MB, free: 6.746 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 3.506e-06/0.3705, allocations: 0 / 373 MB, free: 6.746 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008041/0.3713, allocations: 181.2 kB / 373.2 MB, free: 6.562 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.3714, allocations: 55.39 kB / 373.3 MB, free: 6.496 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002741/0.3717, allocations: 191.3 kB / 373.4 MB, free: 6.301 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.3717, allocations: 29.7 kB / 373.5 MB, free: 6.266 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001489/0.3719, allocations: 170.4 kB / 373.6 MB, free: 6.098 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.3719, allocations: 23.66 kB / 373.7 MB, free: 6.074 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.372, allocations: 4 kB / 373.7 MB, free: 6.07 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3722, allocations: 314.8 kB / 374 MB, free: 5.754 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000133/0.3723, allocations: 35.98 kB / 374 MB, free: 5.719 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.3725, allocations: 45.7 kB / 374 MB, free: 5.668 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000169/0.3726, allocations: 61.69 kB / 374.1 MB, free: 5.602 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3727, allocations: 4 kB / 374.1 MB, free: 5.598 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004117/0.3731, allocations: 159.2 kB / 374.3 MB, free: 5.43 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.414e-05/0.3732, allocations: 37.7 kB / 374.3 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3732, allocations: 0 / 374.3 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.3732, allocations: 8.016 kB / 374.3 MB, free: 5.379 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.3734, allocations: 15.94 kB / 374.3 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.418e-05/0.3734, allocations: 8.062 kB / 374.3 MB, free: 5.355 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.045e-05/0.3735, allocations: 7.938 kB / 374.3 MB, free: 5.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.3735, allocations: 4 kB / 374.3 MB, free: 5.344 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.0001525/0.3737, allocations: 135.5 kB / 374.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.876e-05/0.3737, allocations: 11.95 kB / 374.5 MB, free: 5.191 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.672e-05/0.3738, allocations: 21.33 kB / 374.5 MB, free: 5.176 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3738, allocations: 4 kB / 374.5 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.3738, allocations: 0 / 374.5 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.3738, allocations: 4 kB / 374.5 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00068/0.3745, allocations: 395.3 kB / 374.9 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3745, allocations: 0 / 374.9 MB, free: 4.723 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.477e-05/0.3746, allocations: 8.375 kB / 374.9 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.427e-06/0.3746, allocations: 0 / 374.9 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3746, allocations: 0 / 374.9 MB, free: 4.715 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.017e-06/0.3747, allocations: 8 kB / 374.9 MB, free: 4.707 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.3747, allocations: 8.016 kB / 374.9 MB, free: 4.699 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003497/0.375, allocations: 204.1 kB / 375.1 MB, free: 4.48 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.942e-05/0.3751, allocations: 96.95 kB / 375.2 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.753e-05/0.3752, allocations: 4 kB / 375.2 MB, free: 4.363 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.3753, allocations: 4 kB / 375.2 MB, free: 4.359 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.357e-05/0.3754, allocations: 11.98 kB / 375.2 MB, free: 4.348 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/0.3754, allocations: 4 kB / 375.2 MB, free: 4.344 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001761/0.3756, allocations: 143.9 kB / 375.4 MB, free: 4.203 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3756, allocations: 0 / 375.4 MB, free: 4.203 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003564/0.376, allocations: 28 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.001937/0.3779, allocations: 1.084 MB / 376.5 MB, free: 3.148 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004092/0.3783, allocations: 151.2 kB / 376.6 MB, free: 2.988 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3784, allocations: 4 kB / 376.7 MB, free: 2.984 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.3785, allocations: 31.97 kB / 376.7 MB, free: 2.953 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003421/0.3789, allocations: 16.11 kB / 376.7 MB, free: 2.938 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.3799, allocations: 0.5036 MB / 377.2 MB, free: 2.379 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003357/0.3802, allocations: 0.7082 MB / 377.9 MB, free: 1.645 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.134e-05/0.3803, allocations: 39.36 kB / 377.9 MB, free: 1.605 MB / 298.7 MB Notification: Performance of SimCode: time 8.52e-07/0.3803, allocations: 0 / 377.9 MB, free: 1.605 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.511/2.892, allocations: 2.408 MB / 380.4 MB, free: 15.2 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_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