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.Test61.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.Test61,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.386/2.386, allocations: 234.9 MB / 250.5 MB, free: 10.54 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004502/0.0004503, allocations: 12 kB / 314.4 MB, free: 10.48 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3597, allocations: 54.88 MB / 369.3 MB, free: 10.84 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002496/0.3623, allocations: 1.31 MB / 370.6 MB, free: 9.504 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001689/0.364, allocations: 0.7008 MB / 371.3 MB, free: 8.797 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.197e-05/0.3641, allocations: 0 / 371.3 MB, free: 8.797 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002819/0.3644, allocations: 27.84 kB / 371.3 MB, free: 8.77 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002136/0.3647, allocations: 43.88 kB / 371.4 MB, free: 8.727 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002164/0.3649, allocations: 51.81 kB / 371.4 MB, free: 8.676 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.3651, allocations: 55.92 kB / 371.5 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.241e-05/0.3652, allocations: 11.84 kB / 371.5 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.3653, allocations: 39.84 kB / 371.5 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.3654, allocations: 35.84 kB / 371.6 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.894e-05/0.3654, allocations: 0 / 371.6 MB, free: 8.535 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.475e-05/0.3655, allocations: 24 kB / 371.6 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.288e-05/0.3656, allocations: 23.89 kB / 371.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.559e-05/0.3657, allocations: 45.64 kB / 371.6 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001978/0.3659, allocations: 75.89 kB / 371.7 MB, free: 8.363 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.3659, allocations: 3.938 kB / 371.7 MB, free: 8.359 MB / 298.7 MB Notification: Performance of FrontEnd: time 4.418e-06/0.3659, allocations: 7.922 kB / 371.7 MB, free: 8.352 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.29e-06/0.3659, allocations: 0 / 371.7 MB, free: 8.352 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006598/0.3666, allocations: 475.1 kB / 372.2 MB, free: 7.828 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.896e-05/0.3667, allocations: 8.031 kB / 372.2 MB, free: 7.82 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.053e-05/0.3667, allocations: 38.5 kB / 372.2 MB, free: 7.773 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.621e-05/0.3668, allocations: 11.91 kB / 372.3 MB, free: 7.762 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.3671, allocations: 206.8 kB / 372.5 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.924e-05/0.3671, allocations: 0 / 372.5 MB, free: 7.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.299e-05/0.3672, allocations: 4 kB / 372.5 MB, free: 7.516 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002262/0.3674, allocations: 49.67 kB / 372.5 MB, free: 7.461 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3674, allocations: 4 kB / 372.5 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/0.3674, allocations: 3.953 kB / 372.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.3675, allocations: 0 / 372.5 MB, free: 7.453 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.3676, allocations: 15.98 kB / 372.5 MB, free: 7.438 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.3679, allocations: 205.5 kB / 372.7 MB, free: 7.188 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002499/0.3682, allocations: 46.62 kB / 372.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.697e-05/0.3682, allocations: 0 / 372.8 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002374/0.3685, allocations: 71.38 kB / 372.8 MB, free: 7.051 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.843e-06/0.3685, allocations: 4 kB / 372.9 MB, free: 7.047 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004189/0.3689, allocations: 101.4 kB / 373 MB, free: 6.941 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.369, allocations: 55.36 kB / 373 MB, free: 6.875 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/0.3694, allocations: 258.5 kB / 373.3 MB, free: 6.609 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.227e-05/0.3694, allocations: 29.7 kB / 373.3 MB, free: 6.574 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001184/0.3696, allocations: 166.6 kB / 373.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.229e-05/0.3696, allocations: 19.8 kB / 373.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.555e-06/0.3696, allocations: 0 / 373.5 MB, free: 6.391 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3698, allocations: 318.8 kB / 373.8 MB, free: 6.07 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/0.3699, allocations: 27.97 kB / 373.8 MB, free: 6.043 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/0.3701, allocations: 41.69 kB / 373.8 MB, free: 5.996 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001469/0.3702, allocations: 53.7 kB / 373.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.3702, allocations: 0 / 373.9 MB, free: 5.938 MB / 298.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003624/0.3706, allocations: 131.2 kB / 374 MB, free: 5.797 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.428e-05/0.3707, allocations: 45.62 kB / 374.1 MB, free: 5.746 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.3707, allocations: 4.031 kB / 374.1 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.3707, allocations: 0 / 374.1 MB, free: 5.742 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001226/0.3709, allocations: 8 kB / 374.1 MB, free: 5.734 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.3709, allocations: 7.953 kB / 374.1 MB, free: 5.727 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001056/0.371, allocations: 15.83 kB / 374.1 MB, free: 5.711 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.371, allocations: 4 kB / 374.1 MB, free: 5.707 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 (8): * Single equations (assignments): 7 * 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.0001691/0.3712, allocations: 139.9 kB / 374.3 MB, free: 5.562 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/0.3712, allocations: 11.81 kB / 374.3 MB, free: 5.551 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.62e-05/0.3713, allocations: 17 kB / 374.3 MB, free: 5.539 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.3714, allocations: 4 kB / 374.3 MB, free: 5.535 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.346e-06/0.3714, allocations: 3.984 kB / 374.3 MB, free: 5.531 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.3714, allocations: 3.953 kB / 374.3 MB, free: 5.527 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.3716, allocations: 186 kB / 374.5 MB, free: 5.297 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3716, allocations: 7.984 kB / 374.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.512e-05/0.3717, allocations: 4 kB / 374.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3717, allocations: 0 / 374.5 MB, free: 5.285 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.3717, allocations: 15.92 kB / 374.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.3717, allocations: 0 / 374.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3717, allocations: 0 / 374.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.372, allocations: 112.9 kB / 374.6 MB, free: 5.141 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.38e-05/0.3721, allocations: 93.02 kB / 374.7 MB, free: 5.031 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.727e-05/0.3722, allocations: 7.922 kB / 374.7 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.084e-05/0.3722, allocations: 0 / 374.7 MB, free: 5.023 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.003e-05/0.3723, allocations: 4 kB / 374.7 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.009e-05/0.3723, allocations: 4 kB / 374.7 MB, free: 5.016 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000244/0.3726, allocations: 192.5 kB / 374.9 MB, free: 4.828 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3726, allocations: 4 kB / 374.9 MB, free: 4.824 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002977/0.3729, allocations: 20 kB / 374.9 MB, free: 4.805 MB / 298.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * 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.001627/0.3745, allocations: 0.9475 MB / 375.9 MB, free: 3.918 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003465/0.3749, allocations: 127.4 kB / 376 MB, free: 3.781 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3749, allocations: 3.938 kB / 376 MB, free: 3.777 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 9.446e-05/0.375, allocations: 19.98 kB / 376 MB, free: 3.758 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003003/0.3753, allocations: 23.98 kB / 376 MB, free: 3.734 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009884/0.3764, allocations: 0.5434 MB / 376.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003595/0.3767, allocations: 0.7121 MB / 377.3 MB, free: 2.395 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.646e-05/0.3768, allocations: 39.42 kB / 377.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3768, allocations: 0 / 377.3 MB, free: 2.355 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.488/2.865, allocations: 2.42 MB / 379.8 MB, free: 15.93 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat failed! " Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1] Variables in the result: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.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.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time