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.Test20.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.Test20,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.221/2.221, allocations: 234.9 MB / 250.4 MB, free: 9.695 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006455/0.0006458, allocations: 12 kB / 314.4 MB, free: 9.645 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3673, allocations: 54.86 MB / 369.3 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.002499/0.3699, allocations: 1.353 MB / 370.6 MB, free: 11.41 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.3716, allocations: 0.7202 MB / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.076e-05/0.3717, allocations: 0 / 371.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002601/0.372, allocations: 23.84 kB / 371.4 MB, free: 10.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001899/0.3722, allocations: 31.95 kB / 371.4 MB, free: 10.63 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.3725, allocations: 55.77 kB / 371.5 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.3726, allocations: 67.91 kB / 371.5 MB, free: 10.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001/0.3728, allocations: 15.97 kB / 371.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.3729, allocations: 39.84 kB / 371.6 MB, free: 10.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.781e-05/0.373, allocations: 23.86 kB / 371.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.04e-05/0.373, allocations: 4 kB / 371.6 MB, free: 10.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.3731, allocations: 27.98 kB / 371.6 MB, free: 10.4 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.873e-05/0.3732, allocations: 19.91 kB / 371.7 MB, free: 10.38 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.899e-05/0.3733, allocations: 45.58 kB / 371.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001937/0.3735, allocations: 76.86 kB / 371.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.3735, allocations: 3.938 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3735, allocations: 4 kB / 371.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.892e-06/0.3735, allocations: 4 kB / 371.8 MB, free: 10.25 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.0006138/0.3741, allocations: 448.1 kB / 372.2 MB, free: 9.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.3742, allocations: 8.031 kB / 372.2 MB, free: 9.742 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.477e-05/0.3743, allocations: 34.56 kB / 372.3 MB, free: 9.699 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.018e-05/0.3743, allocations: 15.81 kB / 372.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002811/0.3746, allocations: 206.7 kB / 372.5 MB, free: 9.441 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.879e-05/0.3746, allocations: 4 kB / 372.5 MB, free: 9.438 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.573e-05/0.3747, allocations: 8 kB / 372.5 MB, free: 9.43 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.3749, allocations: 61.61 kB / 372.6 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3749, allocations: 0 / 372.6 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.375, allocations: 3.953 kB / 372.6 MB, free: 9.359 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.375, allocations: 0 / 372.6 MB, free: 9.359 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001089/0.3751, allocations: 19.98 kB / 372.6 MB, free: 9.34 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004589/0.3756, allocations: 296.9 kB / 372.9 MB, free: 9 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000253/0.3758, allocations: 58.62 kB / 372.9 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.3759, allocations: 0 / 372.9 MB, free: 8.934 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002581/0.3761, allocations: 75.33 kB / 373 MB, free: 8.848 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.064e-06/0.3762, allocations: 0 / 373 MB, free: 8.848 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007928/0.377, allocations: 169.2 kB / 373.2 MB, free: 8.676 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.377, allocations: 59.41 kB / 373.2 MB, free: 8.605 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002655/0.3773, allocations: 190 kB / 373.4 MB, free: 8.41 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.56e-05/0.3774, allocations: 29.7 kB / 373.4 MB, free: 8.375 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3775, allocations: 162.5 kB / 373.6 MB, free: 8.215 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.026e-05/0.3775, allocations: 23.7 kB / 373.6 MB, free: 8.191 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.964e-06/0.3776, allocations: 0 / 373.6 MB, free: 8.191 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001494/0.3777, allocations: 318.8 kB / 373.9 MB, free: 7.871 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001355/0.3779, allocations: 27.98 kB / 374 MB, free: 7.844 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.378, allocations: 57.62 kB / 374 MB, free: 7.781 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001588/0.3782, allocations: 65.7 kB / 374.1 MB, free: 7.711 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.3782, allocations: 0 / 374.1 MB, free: 7.711 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004414/0.3787, allocations: 159.2 kB / 374.2 MB, free: 7.543 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.506e-05/0.3787, allocations: 37.69 kB / 374.3 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.3788, allocations: 0 / 374.3 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3788, allocations: 384 / 374.3 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001514/0.3789, allocations: 15.98 kB / 374.3 MB, free: 7.484 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.379, allocations: 8.031 kB / 374.3 MB, free: 7.477 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.3791, allocations: 12 kB / 374.3 MB, free: 7.465 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.3791, allocations: 4 kB / 374.3 MB, free: 7.461 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.0001608/0.3793, allocations: 128.4 kB / 374.4 MB, free: 7.328 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.3793, allocations: 11.95 kB / 374.4 MB, free: 7.316 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.635e-05/0.3794, allocations: 24.59 kB / 374.5 MB, free: 7.293 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.3794, allocations: 3.938 kB / 374.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3794, allocations: 0 / 374.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.3795, allocations: 0 / 374.5 MB, free: 7.289 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007073/0.3802, allocations: 403.2 kB / 374.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.3802, allocations: 0 / 374.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.209e-05/0.3803, allocations: 8 kB / 374.9 MB, free: 6.828 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.237e-06/0.3803, allocations: 3.984 kB / 374.9 MB, free: 6.824 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.3803, allocations: 8 kB / 374.9 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.596e-06/0.3803, allocations: 0 / 374.9 MB, free: 6.816 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.348e-06/0.3803, allocations: 3.984 kB / 374.9 MB, free: 6.812 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003578/0.3807, allocations: 196.3 kB / 375.1 MB, free: 6.602 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.763e-05/0.3808, allocations: 96.95 kB / 375.2 MB, free: 6.488 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.674e-05/0.3809, allocations: 8 kB / 375.2 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001105/0.381, allocations: 0 / 375.2 MB, free: 6.48 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.508e-05/0.381, allocations: 11.92 kB / 375.2 MB, free: 6.469 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.3811, allocations: 4 kB / 375.2 MB, free: 6.465 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001715/0.3813, allocations: 143.2 kB / 375.3 MB, free: 6.324 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.3813, allocations: 0 / 375.3 MB, free: 6.324 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003701/0.3816, allocations: 28 kB / 375.4 MB, free: 6.297 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.001975/0.3836, allocations: 1.079 MB / 376.4 MB, free: 5.281 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004526/0.3841, allocations: 159.2 kB / 376.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3842, allocations: 0 / 376.6 MB, free: 5.113 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.3843, allocations: 31.92 kB / 376.6 MB, free: 5.082 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003487/0.3846, allocations: 19.44 kB / 376.7 MB, free: 5.066 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.3857, allocations: 499 kB / 377.1 MB, free: 4.523 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003705/0.3861, allocations: 0.7083 MB / 377.8 MB, free: 3.789 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.25e-05/0.3862, allocations: 35.42 kB / 377.9 MB, free: 3.754 MB / 298.7 MB Notification: Performance of SimCode: time 8.81e-07/0.3862, allocations: 0 / 377.9 MB, free: 3.754 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.513/2.899, allocations: 2.347 MB / 380.2 MB, free: 1.402 MB / 298.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test20_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.table[3,1],t_new.table[3,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time