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.Test22.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.Test22,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test22",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.895/1.895, allocations: 209.3 MB / 224.8 MB, free: 0.5312 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004453/0.0004455, allocations: 16 kB / 282.6 MB, free: 9.59 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3641, allocations: 48.71 MB / 331.3 MB, free: 6.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test22): time 0.003168/0.3673, allocations: 1.289 MB / 332.6 MB, free: 5.727 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3687, allocations: 418.6 kB / 333 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.582e-05/0.3689, allocations: 0 / 333 MB, free: 5.453 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003106/0.3692, allocations: 20.48 kB / 333 MB, free: 5.445 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002624/0.3695, allocations: 35.44 kB / 333 MB, free: 5.426 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004439/0.37, allocations: 59 kB / 333.1 MB, free: 5.395 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001994/0.3702, allocations: 57.05 kB / 333.2 MB, free: 5.367 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/0.3703, allocations: 13.88 kB / 333.2 MB, free: 5.359 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001014/0.3704, allocations: 28.09 kB / 333.2 MB, free: 5.348 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.705e-05/0.3705, allocations: 21.52 kB / 333.2 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.3706, allocations: 1.438 kB / 333.2 MB, free: 5.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000202/0.3708, allocations: 29.39 kB / 333.2 MB, free: 5.336 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.674e-05/0.3709, allocations: 22.38 kB / 333.3 MB, free: 5.324 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 5.792e-05/0.371, allocations: 37.78 kB / 333.3 MB, free: 5.285 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002414/0.3712, allocations: 76.19 kB / 333.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.3713, allocations: 0 / 333.4 MB, free: 5.27 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3713, allocations: 7.938 kB / 333.4 MB, free: 5.262 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.3713, allocations: 0 / 333.4 MB, free: 5.262 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.0004643/0.3718, allocations: 406.3 kB / 333.8 MB, free: 4.844 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.467e-05/0.3718, allocations: 8.219 kB / 333.8 MB, free: 4.844 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.731e-05/0.3719, allocations: 32.67 kB / 333.8 MB, free: 4.805 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.3719, allocations: 8.453 kB / 333.8 MB, free: 4.801 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.3721, allocations: 199.4 kB / 334 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3721, allocations: 0.7031 kB / 334 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.283e-05/0.3722, allocations: 3.219 kB / 334 MB, free: 4.586 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.3723, allocations: 51.36 kB / 334.1 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.3723, allocations: 0 / 334.1 MB, free: 4.543 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.3724, allocations: 4 kB / 334.1 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.3724, allocations: 2.172 kB / 334.1 MB, free: 4.539 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.44e-05/0.3725, allocations: 12.98 kB / 334.1 MB, free: 4.535 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.3728, allocations: 278.1 kB / 334.4 MB, free: 4.25 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.3731, allocations: 47.3 kB / 334.4 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.3731, allocations: 1.688 kB / 334.4 MB, free: 4.215 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001598/0.3733, allocations: 55.09 kB / 334.5 MB, free: 4.164 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.863e-06/0.3733, allocations: 0 / 334.5 MB, free: 4.164 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004681/0.3738, allocations: 120.2 kB / 334.6 MB, free: 4.094 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.3738, allocations: 52.06 kB / 334.6 MB, free: 4.031 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001919/0.374, allocations: 174.7 kB / 334.8 MB, free: 3.91 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.374, allocations: 35.56 kB / 334.8 MB, free: 3.871 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.214e-05/0.3741, allocations: 158.3 kB / 335 MB, free: 3.719 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.418e-05/0.3741, allocations: 14.39 kB / 335 MB, free: 3.707 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.613e-06/0.3741, allocations: 1.094 kB / 335 MB, free: 3.707 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.862e-05/0.3742, allocations: 318 kB / 335.3 MB, free: 3.391 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.089e-05/0.3743, allocations: 15.34 kB / 335.3 MB, free: 3.387 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.698e-05/0.3743, allocations: 19.81 kB / 335.4 MB, free: 3.379 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.197e-05/0.3744, allocations: 50.48 kB / 335.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3745, allocations: 1.406 kB / 335.4 MB, free: 3.336 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002167/0.3747, allocations: 117.5 kB / 335.5 MB, free: 3.25 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.898e-05/0.3747, allocations: 37.97 kB / 335.6 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.3748, allocations: 0 / 335.6 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.3748, allocations: 0 / 335.6 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.43e-05/0.3749, allocations: 9.547 kB / 335.6 MB, free: 3.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.3749, allocations: 7.875 kB / 335.6 MB, free: 3.207 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.3749, allocations: 7.578 kB / 335.6 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.387e-05/0.375, allocations: 2.906 kB / 335.6 MB, free: 3.203 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 9.877e-05/0.3751, allocations: 124.7 kB / 335.7 MB, free: 3.082 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.164e-05/0.3751, allocations: 11.66 kB / 335.7 MB, free: 3.074 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.458e-05/0.3752, allocations: 18.53 kB / 335.7 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.3752, allocations: 1.375 kB / 335.7 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.3752, allocations: 0 / 335.7 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3752, allocations: 2.188 kB / 335.7 MB, free: 3.059 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003634/0.3756, allocations: 335 kB / 336.1 MB, free: 2.734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3756, allocations: 3.938 kB / 336.1 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.119e-05/0.3757, allocations: 6.172 kB / 336.1 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.3757, allocations: 1.094 kB / 336.1 MB, free: 2.73 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.3757, allocations: 10.12 kB / 336.1 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3757, allocations: 0 / 336.1 MB, free: 2.723 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3757, allocations: 5.984 kB / 336.1 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001714/0.3759, allocations: 163.5 kB / 336.3 MB, free: 2.574 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.558e-05/0.3759, allocations: 85.7 kB / 336.3 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.777e-05/0.376, allocations: 1.438 kB / 336.3 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.336e-05/0.3761, allocations: 2.25 kB / 336.3 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.61e-05/0.3761, allocations: 3.688 kB / 336.4 MB, free: 2.477 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.3761, allocations: 11.47 kB / 336.4 MB, free: 2.469 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001242/0.3763, allocations: 131.1 kB / 336.5 MB, free: 2.379 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3763, allocations: 0 / 336.5 MB, free: 2.379 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003319/0.3766, allocations: 27.8 kB / 336.5 MB, free: 2.371 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.001272/0.3779, allocations: 0.9748 MB / 337.5 MB, free: 1.559 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002251/0.3782, allocations: 110 kB / 337.6 MB, free: 1.473 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3782, allocations: 0 / 337.6 MB, free: 1.473 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.023e-05/0.3782, allocations: 17.36 kB / 337.6 MB, free: 1.469 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002905/0.3785, allocations: 26.31 kB / 337.6 MB, free: 1.453 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007427/0.3793, allocations: 448.5 kB / 338.1 MB, free: 1.051 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.3795, allocations: 0.702 MB / 338.8 MB, free: 360 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.159e-05/0.3796, allocations: 29.11 kB / 338.8 MB, free: 340 kB / 266.7 MB Notification: Performance of SimCode: time 8.92e-07/0.3796, allocations: 0 / 338.8 MB, free: 340 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.011/3.39, allocations: 2.083 MB / 340.9 MB, free: 15.54 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test22_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.verboseRead,t_new.y[1],time