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.Test45.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.Test45,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.036/2.036, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004546/0.0004549, allocations: 16 kB / 282.6 MB, free: 9.586 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3628/0.3633, allocations: 48.71 MB / 331.3 MB, free: 6.383 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002366/0.3657, allocations: 1.295 MB / 332.6 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001043/0.3668, allocations: 410.6 kB / 333 MB, free: 5.461 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.182e-05/0.3669, allocations: 3.938 kB / 333 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003043/0.3672, allocations: 21.61 kB / 333 MB, free: 5.449 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000199/0.3674, allocations: 32.56 kB / 333 MB, free: 5.434 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002546/0.3677, allocations: 62.19 kB / 333.1 MB, free: 5.398 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.3679, allocations: 57.95 kB / 333.2 MB, free: 5.371 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.456e-05/0.368, allocations: 13.88 kB / 333.2 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.76e-05/0.3681, allocations: 25.27 kB / 333.2 MB, free: 5.355 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.755e-05/0.3682, allocations: 29.56 kB / 333.2 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.691e-05/0.3682, allocations: 1.375 kB / 333.2 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001389/0.3684, allocations: 38.14 kB / 333.3 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.735e-05/0.3684, allocations: 10.33 kB / 333.3 MB, free: 5.328 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.303e-05/0.3685, allocations: 37.64 kB / 333.3 MB, free: 5.289 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.3687, allocations: 81.16 kB / 333.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.3687, allocations: 1.062 kB / 333.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3687, allocations: 4 kB / 333.4 MB, free: 5.266 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.561e-06/0.3688, allocations: 0 / 333.4 MB, free: 5.266 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.0005115/0.3693, allocations: 415.4 kB / 333.8 MB, free: 4.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.641e-05/0.3693, allocations: 9.719 kB / 333.8 MB, free: 4.84 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.33e-05/0.3694, allocations: 32.58 kB / 333.8 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.122e-05/0.3694, allocations: 12.25 kB / 333.9 MB, free: 4.793 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.3697, allocations: 191.6 kB / 334 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.3697, allocations: 5.031 kB / 334 MB, free: 4.582 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.3697, allocations: 7.266 kB / 334.1 MB, free: 4.578 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.3699, allocations: 42.39 kB / 334.1 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.3699, allocations: 2.297 kB / 334.1 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.74e-05/0.3699, allocations: 0 / 334.1 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.37, allocations: 0 / 334.1 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.77e-05/0.37, allocations: 14.17 kB / 334.1 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003836/0.3704, allocations: 292 kB / 334.4 MB, free: 4.242 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002373/0.3707, allocations: 42.19 kB / 334.4 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.3707, allocations: 1.188 kB / 334.4 MB, free: 4.211 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001748/0.3709, allocations: 59.58 kB / 334.5 MB, free: 4.156 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.693e-06/0.3709, allocations: 0 / 334.5 MB, free: 4.156 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004772/0.3714, allocations: 116.3 kB / 334.6 MB, free: 4.09 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.002e-05/0.3714, allocations: 53.27 kB / 334.7 MB, free: 4.027 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002254/0.3717, allocations: 184.6 kB / 334.8 MB, free: 3.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.3717, allocations: 30.92 kB / 334.9 MB, free: 3.867 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.106e-05/0.3718, allocations: 161.9 kB / 335 MB, free: 3.711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.3718, allocations: 15.86 kB / 335 MB, free: 3.699 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.037e-05/0.3718, allocations: 5.062 kB / 335.1 MB, free: 3.695 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.158e-05/0.3719, allocations: 320.4 kB / 335.4 MB, free: 3.375 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.282e-05/0.372, allocations: 20.25 kB / 335.4 MB, free: 3.367 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.619e-05/0.372, allocations: 15.91 kB / 335.4 MB, free: 3.363 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.29e-05/0.3721, allocations: 50.8 kB / 335.5 MB, free: 3.32 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.3722, allocations: 0 / 335.5 MB, free: 3.32 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002262/0.3724, allocations: 125.2 kB / 335.6 MB, free: 3.227 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.878e-05/0.3724, allocations: 34.34 kB / 335.6 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3725, allocations: 0 / 335.6 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.3725, allocations: 1.438 kB / 335.6 MB, free: 3.195 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.895e-05/0.3726, allocations: 12.47 kB / 335.6 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3726, allocations: 1.312 kB / 335.6 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.305e-05/0.3727, allocations: 3.844 kB / 335.6 MB, free: 3.191 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.3727, allocations: 6.125 kB / 335.6 MB, free: 3.188 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.0001044/0.3728, allocations: 130.3 kB / 335.8 MB, free: 3.062 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.351e-05/0.3728, allocations: 13.03 kB / 335.8 MB, free: 3.055 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.651e-05/0.3729, allocations: 9.438 kB / 335.8 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.731e-06/0.3729, allocations: 2.016 kB / 335.8 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.3729, allocations: 0 / 335.8 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.373, allocations: 0.5625 kB / 335.8 MB, free: 3.047 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003854/0.3733, allocations: 345.8 kB / 336.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3734, allocations: 0 / 336.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.3734, allocations: 5.812 kB / 336.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.3734, allocations: 1.312 kB / 336.1 MB, free: 2.715 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.3735, allocations: 6.078 kB / 336.1 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.3735, allocations: 0 / 336.1 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3735, allocations: 1.312 kB / 336.1 MB, free: 2.711 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001819/0.3737, allocations: 172.5 kB / 336.3 MB, free: 2.559 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.3737, allocations: 84.55 kB / 336.4 MB, free: 2.461 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.3738, allocations: 5.438 kB / 336.4 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.721e-05/0.3739, allocations: 1.938 kB / 336.4 MB, free: 2.457 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.419e-05/0.3739, allocations: 9.312 kB / 336.4 MB, free: 2.453 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.3739, allocations: 1.625 kB / 336.4 MB, free: 2.453 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.3741, allocations: 141.4 kB / 336.5 MB, free: 2.363 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3741, allocations: 0 / 336.5 MB, free: 2.363 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003482/0.3745, allocations: 28.67 kB / 336.6 MB, free: 2.355 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.001298/0.3758, allocations: 0.972 MB / 337.5 MB, free: 1.543 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002343/0.376, allocations: 106.5 kB / 337.6 MB, free: 1.461 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.617e-06/0.3761, allocations: 0 / 337.6 MB, free: 1.461 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.851e-05/0.3761, allocations: 20.45 kB / 337.7 MB, free: 1.453 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003237/0.3765, allocations: 14.83 kB / 337.7 MB, free: 1.449 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008302/0.3773, allocations: 478.4 kB / 338.1 MB, free: 1.027 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.3775, allocations: 0.7035 MB / 338.9 MB, free: 336 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.286e-05/0.3776, allocations: 28.28 kB / 338.9 MB, free: 316 kB / 266.7 MB Notification: Performance of SimCode: time 8.32e-07/0.3776, allocations: 0 / 338.9 MB, free: 316 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.693/3.07, allocations: 2.134 MB / 341 MB, free: 15.5 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_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),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[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.verboseRead,t_new.y[1],time