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.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.156/2.156, allocations: 209.2 MB / 224.8 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007154/0.0007156, allocations: 16 kB / 282.6 MB, free: 9.598 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3661/0.3668, allocations: 48.7 MB / 331.3 MB, free: 6.516 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002334/0.3692, allocations: 1.298 MB / 332.6 MB, free: 5.852 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.3703, allocations: 410.1 kB / 333 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.577e-05/0.3704, allocations: 1.438 kB / 333 MB, free: 5.586 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003599/0.3708, allocations: 75.89 kB / 333.1 MB, free: 5.566 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.371, allocations: 46.25 kB / 333.1 MB, free: 5.555 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002736/0.3713, allocations: 62.25 kB / 333.2 MB, free: 5.52 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.3715, allocations: 64.3 kB / 333.2 MB, free: 5.492 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3716, allocations: 11.08 kB / 333.2 MB, free: 5.488 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.575e-05/0.3717, allocations: 34.12 kB / 333.3 MB, free: 5.477 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001212/0.3718, allocations: 42.03 kB / 333.3 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.3718, allocations: 1.281 kB / 333.3 MB, free: 5.465 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001401/0.372, allocations: 33.23 kB / 333.3 MB, free: 5.457 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.882e-05/0.372, allocations: 27.44 kB / 333.4 MB, free: 5.441 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.3721, allocations: 35.52 kB / 333.4 MB, free: 5.406 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.3723, allocations: 81.69 kB / 333.5 MB, free: 5.387 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.575e-06/0.3723, allocations: 0 / 333.5 MB, free: 5.387 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.625e-06/0.3724, allocations: 1.5 kB / 333.5 MB, free: 5.387 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.76e-06/0.3724, allocations: 0 / 333.5 MB, free: 5.387 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.0004882/0.3729, allocations: 416.3 kB / 333.9 MB, free: 4.961 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.3729, allocations: 14.03 kB / 333.9 MB, free: 4.957 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.373, allocations: 35.36 kB / 333.9 MB, free: 4.914 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.009e-05/0.373, allocations: 12.72 kB / 334 MB, free: 4.906 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.3732, allocations: 203.5 kB / 334.2 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.386e-05/0.3733, allocations: 1.938 kB / 334.2 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.272e-05/0.3733, allocations: 2.438 kB / 334.2 MB, free: 4.688 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001271/0.3734, allocations: 43.03 kB / 334.2 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.3735, allocations: 1.094 kB / 334.2 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.3735, allocations: 0.6562 kB / 334.2 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.3735, allocations: 1.438 kB / 334.2 MB, free: 4.652 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.926e-05/0.3736, allocations: 17.06 kB / 334.2 MB, free: 4.645 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003674/0.3739, allocations: 285 kB / 334.5 MB, free: 4.355 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002275/0.3742, allocations: 38.55 kB / 334.5 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.589e-05/0.3742, allocations: 1.891 kB / 334.5 MB, free: 4.328 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.3744, allocations: 59.33 kB / 334.6 MB, free: 4.273 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 2.845e-06/0.3744, allocations: 0 / 334.6 MB, free: 4.273 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004745/0.3749, allocations: 119.8 kB / 334.7 MB, free: 4.203 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.375, allocations: 57.38 kB / 334.8 MB, free: 4.137 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002464/0.3752, allocations: 190.6 kB / 335 MB, free: 4.016 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.3752, allocations: 26.95 kB / 335 MB, free: 3.984 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.3753, allocations: 161.9 kB / 335.1 MB, free: 3.828 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.823e-05/0.3753, allocations: 18.53 kB / 335.2 MB, free: 3.812 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.3754, allocations: 1.375 kB / 335.2 MB, free: 3.812 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 5.714e-05/0.3754, allocations: 317.6 kB / 335.5 MB, free: 3.496 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.277e-05/0.3755, allocations: 23.8 kB / 335.5 MB, free: 3.484 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.864e-05/0.3756, allocations: 20.59 kB / 335.5 MB, free: 3.477 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.221e-05/0.3757, allocations: 45.86 kB / 335.6 MB, free: 3.438 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3757, allocations: 5.062 kB / 335.6 MB, free: 3.434 MB / 266.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002594/0.3759, allocations: 116.7 kB / 335.7 MB, free: 3.348 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.908e-05/0.376, allocations: 33.28 kB / 335.7 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.376, allocations: 0.8438 kB / 335.7 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.711e-05/0.376, allocations: 0.9062 kB / 335.7 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.86e-05/0.3761, allocations: 9.984 kB / 335.7 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3761, allocations: 0 / 335.7 MB, free: 3.316 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.352e-05/0.3762, allocations: 14.98 kB / 335.7 MB, free: 3.305 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.573e-05/0.3763, allocations: 3.734 kB / 335.7 MB, free: 3.305 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.0001169/0.3764, allocations: 131 kB / 335.9 MB, free: 3.18 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.602e-05/0.3764, allocations: 15.47 kB / 335.9 MB, free: 3.168 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.243e-05/0.3765, allocations: 19.98 kB / 335.9 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3765, allocations: 0 / 335.9 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.912e-06/0.3765, allocations: 1.875 kB / 335.9 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.3765, allocations: 0.6094 kB / 335.9 MB, free: 3.152 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004031/0.3769, allocations: 342.3 kB / 336.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.377, allocations: 0.6094 kB / 336.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.377, allocations: 6.359 kB / 336.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.377, allocations: 0.9844 kB / 336.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.377, allocations: 1.188 kB / 336.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.475e-06/0.3771, allocations: 1.406 kB / 336.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3771, allocations: 0.7031 kB / 336.2 MB, free: 2.824 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.3773, allocations: 173 kB / 336.4 MB, free: 2.672 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.3773, allocations: 88.23 kB / 336.5 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.089e-05/0.3774, allocations: 2.656 kB / 336.5 MB, free: 2.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.959e-05/0.3775, allocations: 5.75 kB / 336.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.463e-05/0.3775, allocations: 4.062 kB / 336.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.3775, allocations: 3.047 kB / 336.5 MB, free: 2.566 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001619/0.3777, allocations: 149.3 kB / 336.7 MB, free: 2.473 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3777, allocations: 0 / 336.7 MB, free: 2.473 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003517/0.3781, allocations: 28.42 kB / 336.7 MB, free: 2.465 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.001291/0.3794, allocations: 0.9779 MB / 337.7 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.3797, allocations: 103.1 kB / 337.8 MB, free: 1.57 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3797, allocations: 4 kB / 337.8 MB, free: 1.566 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.545e-05/0.3798, allocations: 19.34 kB / 337.8 MB, free: 1.559 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.3801, allocations: 18.64 kB / 337.8 MB, free: 1.551 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008338/0.381, allocations: 490 kB / 338.3 MB, free: 1.125 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001732/0.3811, allocations: 0.7023 MB / 339 MB, free: 440 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.439e-05/0.3812, allocations: 28.97 kB / 339 MB, free: 420 kB / 266.7 MB Notification: Performance of SimCode: time 1.012e-06/0.3812, allocations: 0 / 339 MB, free: 420 kB / 266.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.789/3.17, allocations: 2.183 MB / 341.2 MB, free: 15.52 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_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.table[5,1],t_new.table[5,2],t_new.verboseRead,t_new.y[1],time