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.Test29.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.Test29,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test29",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.314/2.314, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004327/0.0004328, allocations: 12 kB / 314.4 MB, free: 9.512 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3642, allocations: 54.87 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.002539/0.3668, allocations: 1.349 MB / 370.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.3686, allocations: 0.7164 MB / 371.3 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.65e-05/0.3687, allocations: 3.938 kB / 371.4 MB, free: 8.629 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002591/0.369, allocations: 27.83 kB / 371.4 MB, free: 8.602 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001865/0.3692, allocations: 27.95 kB / 371.4 MB, free: 8.574 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.3694, allocations: 55.83 kB / 371.5 MB, free: 8.52 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.3696, allocations: 67.84 kB / 371.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.595e-05/0.3697, allocations: 15.98 kB / 371.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.3698, allocations: 31.86 kB / 371.6 MB, free: 8.406 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.399e-05/0.3699, allocations: 31.84 kB / 371.6 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.967e-05/0.3699, allocations: 4 kB / 371.6 MB, free: 8.371 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.37, allocations: 23.98 kB / 371.6 MB, free: 8.348 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.869e-05/0.3701, allocations: 19.92 kB / 371.7 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.595e-05/0.3702, allocations: 45.58 kB / 371.7 MB, free: 8.277 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001988/0.3704, allocations: 84.84 kB / 371.8 MB, free: 8.195 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.3704, allocations: 3.938 kB / 371.8 MB, free: 8.191 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3704, allocations: 4 kB / 371.8 MB, free: 8.188 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.3704, 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.0006214/0.3711, allocations: 446.3 kB / 372.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.3711, allocations: 8.031 kB / 372.2 MB, free: 7.684 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.3712, allocations: 34.56 kB / 372.3 MB, free: 7.641 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.345e-05/0.3712, allocations: 11.81 kB / 372.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.3715, allocations: 206.2 kB / 372.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/0.3716, allocations: 3.984 kB / 372.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.856e-05/0.3716, allocations: 12 kB / 372.5 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.3718, allocations: 65.55 kB / 372.6 MB, free: 7.305 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.41e-05/0.3718, allocations: 4 kB / 372.6 MB, free: 7.301 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.3719, allocations: 3.953 kB / 372.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.87e-06/0.3719, allocations: 0 / 372.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001083/0.372, allocations: 19.98 kB / 372.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004581/0.3725, allocations: 296.9 kB / 372.9 MB, free: 6.938 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.3727, allocations: 58.62 kB / 372.9 MB, free: 6.871 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.249e-05/0.3728, allocations: 4 kB / 372.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.373, allocations: 63.34 kB / 373 MB, free: 6.793 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.854e-06/0.373, allocations: 0 / 373 MB, free: 6.793 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007463/0.3738, allocations: 177.2 kB / 373.2 MB, free: 6.613 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.076e-05/0.3738, allocations: 59.41 kB / 373.2 MB, free: 6.543 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002415/0.3741, allocations: 190 kB / 373.4 MB, free: 6.348 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.481e-05/0.3741, allocations: 25.7 kB / 373.4 MB, free: 6.316 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.563e-05/0.3742, allocations: 162.6 kB / 373.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.752e-05/0.3743, allocations: 27.69 kB / 373.6 MB, free: 6.129 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-06/0.3743, allocations: 0 / 373.6 MB, free: 6.129 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3744, allocations: 318.8 kB / 373.9 MB, free: 5.809 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.3746, allocations: 31.98 kB / 374 MB, free: 5.777 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.3747, allocations: 49.69 kB / 374 MB, free: 5.723 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.3749, allocations: 69.64 kB / 374.1 MB, free: 5.648 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.3749, allocations: 0 / 374.1 MB, free: 5.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003906/0.3753, allocations: 159.2 kB / 374.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/0.3754, allocations: 33.69 kB / 374.3 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.308e-05/0.3754, allocations: 4 kB / 374.3 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3754, allocations: 3.938 kB / 374.3 MB, free: 5.434 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.3756, allocations: 12 kB / 374.3 MB, free: 5.422 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.759e-06/0.3756, allocations: 8.016 kB / 374.3 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.128e-05/0.3757, allocations: 8 kB / 374.3 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.007e-05/0.3757, allocations: 4 kB / 374.3 MB, free: 5.402 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.0001476/0.3759, allocations: 125.8 kB / 374.4 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.476e-05/0.376, allocations: 19.92 kB / 374.5 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.848e-05/0.376, allocations: 16.66 kB / 374.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.376, allocations: 7.938 kB / 374.5 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3761, allocations: 0 / 374.5 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.3761, allocations: 4 kB / 374.5 MB, free: 5.223 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006939/0.3768, allocations: 395.2 kB / 374.9 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3768, allocations: 0 / 374.9 MB, free: 4.777 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.521e-05/0.3769, allocations: 11.94 kB / 374.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.3769, allocations: 0 / 374.9 MB, free: 4.766 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.3769, allocations: 8.359 kB / 374.9 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.3769, allocations: 4 kB / 374.9 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.3769, allocations: 4 kB / 374.9 MB, free: 4.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000355/0.3773, allocations: 208.5 kB / 375.1 MB, free: 4.527 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.048e-05/0.3774, allocations: 92.95 kB / 375.2 MB, free: 4.418 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.64e-05/0.3775, allocations: 8 kB / 375.2 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.3776, allocations: 0 / 375.2 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.307e-05/0.3776, allocations: 7.984 kB / 375.2 MB, free: 4.402 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.266e-05/0.3777, allocations: 4 kB / 375.2 MB, free: 4.398 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001681/0.3778, allocations: 139.2 kB / 375.3 MB, free: 4.262 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3778, allocations: 3.938 kB / 375.4 MB, free: 4.258 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003588/0.3782, allocations: 32 kB / 375.4 MB, free: 4.227 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.001875/0.3801, allocations: 1.073 MB / 376.5 MB, free: 3.211 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003795/0.3805, allocations: 155.2 kB / 376.6 MB, free: 3.047 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.815e-06/0.3805, allocations: 0 / 376.6 MB, free: 3.047 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.3806, allocations: 31.91 kB / 376.6 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003216/0.381, allocations: 23.98 kB / 376.7 MB, free: 2.992 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009853/0.382, allocations: 491.1 kB / 377.1 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003555/0.3824, allocations: 0.7083 MB / 377.8 MB, free: 1.723 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.756e-05/0.3825, allocations: 31.42 kB / 377.9 MB, free: 1.691 MB / 298.7 MB Notification: Performance of SimCode: time 8.61e-07/0.3825, allocations: 0 / 377.9 MB, free: 1.691 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.514/2.896, allocations: 2.362 MB / 380.2 MB, free: 15.33 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test29_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