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.Test15.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.Test15,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test15",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.311/2.311, allocations: 234.9 MB / 250.5 MB, free: 9.559 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006165/0.0006168, allocations: 15.98 kB / 314.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3633, allocations: 54.86 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test15): time 0.002539/0.3659, allocations: 1.353 MB / 370.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001656/0.3676, allocations: 0.7126 MB / 371.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.966e-05/0.3677, allocations: 0 / 371.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002652/0.368, allocations: 27.84 kB / 371.4 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001934/0.3682, allocations: 31.89 kB / 371.4 MB, free: 8.578 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002207/0.3685, allocations: 59.81 kB / 371.5 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001887/0.3687, allocations: 67.86 kB / 371.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.3688, allocations: 8 kB / 371.5 MB, free: 8.445 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000103/0.3689, allocations: 35.84 kB / 371.6 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.675e-05/0.369, allocations: 31.84 kB / 371.6 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.02e-05/0.369, allocations: 4 kB / 371.6 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001101/0.3692, allocations: 27.92 kB / 371.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.801e-05/0.3692, allocations: 19.92 kB / 371.7 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.58e-05/0.3693, allocations: 33.7 kB / 371.7 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002006/0.3695, allocations: 84.84 kB / 371.8 MB, free: 8.207 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.3695, allocations: 3.938 kB / 371.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.3695, allocations: 4 kB / 371.8 MB, free: 8.199 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.3695, allocations: 0 / 371.8 MB, free: 8.199 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.00063/0.3702, allocations: 450.3 kB / 372.2 MB, free: 7.699 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.3702, allocations: 11.97 kB / 372.2 MB, free: 7.688 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.537e-05/0.3703, allocations: 30.56 kB / 372.3 MB, free: 7.648 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.497e-05/0.3703, allocations: 11.91 kB / 372.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.3706, allocations: 201.3 kB / 372.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.3707, allocations: 0 / 372.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.582e-05/0.3707, allocations: 4 kB / 372.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002069/0.3709, allocations: 57.67 kB / 372.5 MB, free: 7.336 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/0.371, allocations: 4 kB / 372.5 MB, free: 7.332 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.371, allocations: 3.953 kB / 372.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.371, allocations: 0 / 372.5 MB, free: 7.328 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001173/0.3711, allocations: 27.92 kB / 372.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004734/0.3716, allocations: 296.8 kB / 372.9 MB, free: 6.961 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002569/0.3719, allocations: 54.69 kB / 372.9 MB, free: 6.898 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.918e-05/0.3719, allocations: 4 kB / 372.9 MB, free: 6.895 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/0.3722, allocations: 79.27 kB / 373 MB, free: 6.805 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.866e-06/0.3722, allocations: 0 / 373 MB, free: 6.805 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008077/0.373, allocations: 173.3 kB / 373.2 MB, free: 6.629 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.099e-05/0.3731, allocations: 55.41 kB / 373.2 MB, free: 6.562 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002285/0.3733, allocations: 182.3 kB / 373.4 MB, free: 6.379 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.991e-05/0.3734, allocations: 25.7 kB / 373.4 MB, free: 6.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.869e-05/0.3735, allocations: 162.6 kB / 373.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.3735, allocations: 23.64 kB / 373.6 MB, free: 6.164 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.3736, allocations: 4 kB / 373.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001369/0.3737, allocations: 310.8 kB / 373.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001208/0.3738, allocations: 31.98 kB / 373.9 MB, free: 5.816 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.374, allocations: 51.95 kB / 374 MB, free: 5.762 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.3742, allocations: 65.69 kB / 374 MB, free: 5.691 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3742, allocations: 0 / 374 MB, free: 5.691 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003923/0.3746, allocations: 159.3 kB / 374.2 MB, free: 5.523 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.315e-05/0.3746, allocations: 41.69 kB / 374.2 MB, free: 5.477 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/0.3747, allocations: 3.984 kB / 374.2 MB, free: 5.473 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3747, allocations: 7.938 kB / 374.3 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.3748, allocations: 12 kB / 374.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.3749, allocations: 7.969 kB / 374.3 MB, free: 5.445 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.678e-05/0.375, allocations: 4 kB / 374.3 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.289e-05/0.375, allocations: 7.984 kB / 374.3 MB, free: 5.434 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.0001364/0.3751, allocations: 121.8 kB / 374.4 MB, free: 5.305 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.887e-05/0.3752, allocations: 19.86 kB / 374.4 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.3752, allocations: 20.64 kB / 374.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.3753, allocations: 0 / 374.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3753, allocations: 0 / 374.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.3753, allocations: 0 / 374.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006461/0.3759, allocations: 395.3 kB / 374.8 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.376, allocations: 3.984 kB / 374.8 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/0.376, allocations: 8 kB / 374.8 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.376, allocations: 0 / 374.8 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.3761, allocations: 0 / 374.8 MB, free: 4.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3761, allocations: 4 kB / 374.8 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.3761, allocations: 0 / 374.8 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003466/0.3764, allocations: 208.4 kB / 375.1 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.861e-05/0.3765, allocations: 96.95 kB / 375.1 MB, free: 4.469 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.572e-05/0.3766, allocations: 7.984 kB / 375.2 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.3767, allocations: 0 / 375.2 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3768, allocations: 4.375 kB / 375.2 MB, free: 4.457 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.476e-05/0.3768, allocations: 11.98 kB / 375.2 MB, free: 4.445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001477/0.377, allocations: 127.2 kB / 375.3 MB, free: 4.32 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.377, allocations: 0 / 375.3 MB, free: 4.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003589/0.3773, allocations: 31.91 kB / 375.3 MB, free: 4.289 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.001874/0.3792, allocations: 1.075 MB / 376.4 MB, free: 3.27 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004153/0.3797, allocations: 151.2 kB / 376.5 MB, free: 3.109 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3797, allocations: 0 / 376.5 MB, free: 3.109 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.3798, allocations: 31.98 kB / 376.6 MB, free: 3.078 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003405/0.3802, allocations: 19.92 kB / 376.6 MB, free: 3.059 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001026/0.3812, allocations: 483.3 kB / 377.1 MB, free: 2.527 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003406/0.3816, allocations: 0.7121 MB / 377.8 MB, free: 1.789 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.347e-05/0.3817, allocations: 31.42 kB / 377.8 MB, free: 1.758 MB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.3817, allocations: 0 / 377.8 MB, free: 1.758 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.481/2.863, allocations: 2.303 MB / 380.1 MB, free: 15.45 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test15_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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time