Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test7.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test7,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.181/2.181, allocations: 209.2 MB / 224.8 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004609/0.0004611, allocations: 20 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3622/0.3627, allocations: 48.7 MB / 331.3 MB, free: 6.496 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.002406/0.3652, allocations: 1.296 MB / 332.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001021/0.3663, allocations: 418.7 kB / 333 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.385e-05/0.3664, allocations: 0 / 333 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004148/0.3668, allocations: 92.56 kB / 333.1 MB, free: 5.551 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002459/0.3671, allocations: 59.92 kB / 333.1 MB, free: 5.535 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003012/0.3674, allocations: 63.22 kB / 333.2 MB, free: 5.5 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001756/0.3676, allocations: 63.53 kB / 333.3 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001084/0.3677, allocations: 9.5 kB / 333.3 MB, free: 5.473 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.168e-05/0.3678, allocations: 44.73 kB / 333.3 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.3679, allocations: 36.95 kB / 333.3 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.368, allocations: 1.125 kB / 333.3 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001606/0.3681, allocations: 37.67 kB / 333.4 MB, free: 5.438 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.3682, allocations: 22.72 kB / 333.4 MB, free: 5.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.095e-05/0.3683, allocations: 37.86 kB / 333.4 MB, free: 5.391 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002428/0.3685, allocations: 89.36 kB / 333.5 MB, free: 5.367 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.3686, allocations: 0 / 333.5 MB, free: 5.367 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.3686, allocations: 1.188 kB / 333.5 MB, free: 5.367 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3686, allocations: 0 / 333.5 MB, free: 5.367 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005379/0.3691, allocations: 424.4 kB / 333.9 MB, free: 4.938 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.07e-05/0.3692, allocations: 9.688 kB / 334 MB, free: 4.938 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.901e-05/0.3692, allocations: 39.16 kB / 334 MB, free: 4.891 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.378e-05/0.3693, allocations: 17.33 kB / 334 MB, free: 4.879 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.3695, allocations: 205.7 kB / 334.2 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.442e-05/0.3696, allocations: 2.281 kB / 334.2 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.304e-05/0.3696, allocations: 1.859 kB / 334.2 MB, free: 4.66 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.3697, allocations: 43.16 kB / 334.3 MB, free: 4.625 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.3698, allocations: 4 kB / 334.3 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.545e-05/0.3698, allocations: 2.625 kB / 334.3 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3698, allocations: 0 / 334.3 MB, free: 4.621 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.245e-05/0.3699, allocations: 13.11 kB / 334.3 MB, free: 4.617 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003882/0.3703, allocations: 288.4 kB / 334.6 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002458/0.3706, allocations: 38.27 kB / 334.6 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.706e-05/0.3706, allocations: 1.219 kB / 334.6 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/0.3708, allocations: 63.89 kB / 334.7 MB, free: 4.242 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.194e-06/0.3708, allocations: 0 / 334.7 MB, free: 4.242 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.000517/0.3713, allocations: 125.5 kB / 334.8 MB, free: 4.168 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.3714, allocations: 53.61 kB / 334.8 MB, free: 4.105 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003109/0.3717, allocations: 220.7 kB / 335.1 MB, free: 3.977 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.3717, allocations: 27.75 kB / 335.1 MB, free: 3.945 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.429e-05/0.3718, allocations: 168.5 kB / 335.2 MB, free: 3.781 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.721e-05/0.3718, allocations: 19.69 kB / 335.3 MB, free: 3.766 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.875e-06/0.3719, allocations: 0.9375 kB / 335.3 MB, free: 3.766 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.288e-05/0.3719, allocations: 321.8 kB / 335.6 MB, free: 3.445 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.295e-05/0.372, allocations: 19.91 kB / 335.6 MB, free: 3.438 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.666e-05/0.3721, allocations: 19.55 kB / 335.6 MB, free: 3.43 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.132e-05/0.3722, allocations: 47.86 kB / 335.7 MB, free: 3.391 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-06/0.3722, allocations: 0 / 335.7 MB, free: 3.391 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002608/0.3724, allocations: 112.2 kB / 335.8 MB, free: 3.309 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.259e-05/0.3725, allocations: 33.81 kB / 335.8 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3725, allocations: 5.5 kB / 335.8 MB, free: 3.273 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.3726, allocations: 3.938 kB / 335.8 MB, free: 3.27 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.097e-05/0.3727, allocations: 17.64 kB / 335.8 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3727, allocations: 1.062 kB / 335.8 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.15e-05/0.3728, allocations: 2.438 kB / 335.8 MB, free: 3.262 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.614e-05/0.3728, allocations: 7 kB / 335.8 MB, free: 3.258 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001265/0.3729, allocations: 130.3 kB / 336 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.373, allocations: 10 kB / 336 MB, free: 3.133 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.726e-05/0.373, allocations: 17.17 kB / 336 MB, free: 3.125 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.093e-06/0.3731, allocations: 9.484 kB / 336 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.3731, allocations: 0 / 336 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.54e-06/0.3731, allocations: 0.9375 kB / 336 MB, free: 3.117 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004393/0.3735, allocations: 354.2 kB / 336.4 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.3736, allocations: 0 / 336.4 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.624e-05/0.3736, allocations: 6.516 kB / 336.4 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.229e-06/0.3736, allocations: 1.469 kB / 336.4 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.3736, allocations: 0.7031 kB / 336.4 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3737, allocations: 1.344 kB / 336.4 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.3737, allocations: 7.984 kB / 336.4 MB, free: 2.773 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001913/0.3739, allocations: 177.7 kB / 336.5 MB, free: 2.617 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.112e-05/0.3739, allocations: 84.98 kB / 336.6 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.3e-05/0.374, allocations: 2.703 kB / 336.6 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.075e-05/0.3741, allocations: 1.438 kB / 336.6 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.927e-05/0.3741, allocations: 4.938 kB / 336.6 MB, free: 2.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.85e-05/0.3742, allocations: 1.438 kB / 336.6 MB, free: 2.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002061/0.3744, allocations: 182.3 kB / 336.8 MB, free: 2.41 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.3744, allocations: 0 / 336.8 MB, free: 2.41 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003765/0.3748, allocations: 29.67 kB / 336.8 MB, free: 2.402 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001349/0.3761, allocations: 0.9745 MB / 337.8 MB, free: 1.586 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002868/0.3765, allocations: 106.3 kB / 337.9 MB, free: 1.504 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.3765, allocations: 1.125 kB / 337.9 MB, free: 1.504 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.14e-05/0.3765, allocations: 11.12 kB / 337.9 MB, free: 1.504 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003357/0.3769, allocations: 14.91 kB / 337.9 MB, free: 1.5 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009283/0.3778, allocations: 0.513 MB / 338.5 MB, free: 1.051 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001954/0.3781, allocations: 0.7111 MB / 339.2 MB, free: 360 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.966e-05/0.3781, allocations: 37.25 kB / 339.2 MB, free: 332 kB / 266.7 MB Notification: Performance of SimCode: time 1.613e-06/0.3782, allocations: 0 / 339.2 MB, free: 332 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.817/3.195, allocations: 2.323 MB / 341.5 MB, free: 15.32 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_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),t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,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_min,t_new.tableOnFile,t_new.tableOnFileRead,t_new.table[1,1],t_new.table[1,2],t_new.table[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.verboseRead,t_new.y[1],time