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.Test23.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.Test23,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test23",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.28/2.28, allocations: 234.9 MB / 250.5 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005929/0.0005931, allocations: 16 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.36/0.3606, allocations: 54.87 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test23): time 0.0026/0.3633, allocations: 1.353 MB / 370.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001683/0.365, allocations: 0.7163 MB / 371.3 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.009e-05/0.3651, allocations: 0 / 371.3 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000268/0.3654, allocations: 27.84 kB / 371.4 MB, free: 8.605 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.3656, allocations: 39.88 kB / 371.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002317/0.3658, allocations: 55.83 kB / 371.5 MB, free: 8.512 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000251/0.3661, allocations: 71.84 kB / 371.5 MB, free: 8.441 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.3662, allocations: 7.984 kB / 371.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.3664, allocations: 35.86 kB / 371.6 MB, free: 8.398 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.642e-05/0.3665, allocations: 31.84 kB / 371.6 MB, free: 8.367 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.3665, allocations: 3.938 kB / 371.6 MB, free: 8.363 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001229/0.3666, allocations: 27.98 kB / 371.6 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.007e-05/0.3667, allocations: 11.98 kB / 371.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.746e-05/0.3668, allocations: 41.58 kB / 371.7 MB, free: 8.277 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.367, allocations: 92.84 kB / 371.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.367, allocations: 0 / 371.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.367, allocations: 0 / 371.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.009e-06/0.367, allocations: 0 / 371.8 MB, free: 8.188 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.0006701/0.3677, allocations: 466.1 kB / 372.2 MB, free: 7.672 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3678, allocations: 8.031 kB / 372.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.866e-05/0.3678, allocations: 34.56 kB / 372.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.3679, allocations: 7.906 kB / 372.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002898/0.3682, allocations: 206.8 kB / 372.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.226e-05/0.3682, allocations: 8 kB / 372.5 MB, free: 7.363 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.381e-05/0.3683, allocations: 4 kB / 372.5 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002015/0.3685, allocations: 57.61 kB / 372.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.3685, allocations: 0 / 372.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.453e-05/0.3685, allocations: 3.953 kB / 372.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3686, allocations: 0 / 372.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001318/0.3687, allocations: 27.92 kB / 372.6 MB, free: 7.266 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.3692, allocations: 300.8 kB / 372.9 MB, free: 6.922 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.3694, allocations: 58.67 kB / 372.9 MB, free: 6.855 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.848e-05/0.3695, allocations: 4 kB / 372.9 MB, free: 6.852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002395/0.3697, allocations: 71.28 kB / 373 MB, free: 6.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.783e-06/0.3697, allocations: 0 / 373 MB, free: 6.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008338/0.3706, allocations: 185.1 kB / 373.2 MB, free: 6.582 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.3706, allocations: 51.41 kB / 373.2 MB, free: 6.52 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003198/0.371, allocations: 195.3 kB / 373.4 MB, free: 6.32 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.929e-05/0.371, allocations: 29.7 kB / 373.5 MB, free: 6.285 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001321/0.3712, allocations: 166.4 kB / 373.6 MB, free: 6.121 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/0.3712, allocations: 31.62 kB / 373.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.296e-06/0.3712, allocations: 0 / 373.7 MB, free: 6.09 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.3714, allocations: 314.8 kB / 374 MB, free: 5.773 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001204/0.3715, allocations: 31.98 kB / 374 MB, free: 5.742 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.3717, allocations: 50.53 kB / 374.1 MB, free: 5.688 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.3719, allocations: 61.7 kB / 374.1 MB, free: 5.621 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.3719, allocations: 0 / 374.1 MB, free: 5.621 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003969/0.3723, allocations: 155.2 kB / 374.3 MB, free: 5.457 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.681e-05/0.3723, allocations: 41.69 kB / 374.3 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3724, allocations: 0 / 374.3 MB, free: 5.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/0.3724, allocations: 8.031 kB / 374.3 MB, free: 5.402 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001519/0.3726, allocations: 12.09 kB / 374.3 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.988e-06/0.3726, allocations: 7.875 kB / 374.3 MB, free: 5.383 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.307e-05/0.3727, allocations: 7.984 kB / 374.3 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.3727, allocations: 11.98 kB / 374.3 MB, free: 5.363 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.0001506/0.3729, allocations: 121.8 kB / 374.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.078e-05/0.3729, allocations: 15.84 kB / 374.5 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.973e-05/0.373, allocations: 13.41 kB / 374.5 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.373, allocations: 7.938 kB / 374.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.373, allocations: 4 kB / 374.5 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.037e-06/0.373, allocations: 0 / 374.5 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007283/0.3738, allocations: 391.3 kB / 374.9 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3738, allocations: 0 / 374.9 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.728e-05/0.3739, allocations: 8 kB / 374.9 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.3739, allocations: 3.984 kB / 374.9 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.071e-05/0.3739, allocations: 8 kB / 374.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.3739, allocations: 0 / 374.9 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3739, allocations: 4.031 kB / 374.9 MB, free: 4.734 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/0.3744, allocations: 208.1 kB / 375.1 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.16e-05/0.3745, allocations: 97.33 kB / 375.2 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.285e-05/0.3746, allocations: 4 kB / 375.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001229/0.3747, allocations: 8 kB / 375.2 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.824e-05/0.3748, allocations: 11.98 kB / 375.2 MB, free: 4.375 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.3748, allocations: 4 kB / 375.2 MB, free: 4.371 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001828/0.375, allocations: 139.9 kB / 375.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.375, allocations: 0 / 375.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003731/0.3754, allocations: 32 kB / 375.4 MB, free: 4.203 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.001978/0.3774, allocations: 1.092 MB / 376.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004156/0.3779, allocations: 147.3 kB / 376.6 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3779, allocations: 0 / 376.6 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.378, allocations: 31.97 kB / 376.7 MB, free: 2.984 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003434/0.3784, allocations: 19.98 kB / 376.7 MB, free: 2.965 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.3794, allocations: 0.5076 MB / 377.2 MB, free: 2.402 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003479/0.3798, allocations: 0.7043 MB / 377.9 MB, free: 1.672 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.438e-05/0.3799, allocations: 31.42 kB / 377.9 MB, free: 1.641 MB / 298.7 MB Notification: Performance of SimCode: time 6.61e-07/0.3799, allocations: 0 / 377.9 MB, free: 1.641 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.572/2.952, allocations: 2.402 MB / 380.3 MB, free: 15.24 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test23_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.table[4,1],t_new.table[4,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time