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.Test43.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.Test43,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test43",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.29/2.29, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00044/0.0004403, allocations: 12 kB / 314.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3376/0.3381, allocations: 54.85 MB / 369.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002481/0.3406, allocations: 1.357 MB / 370.6 MB, free: 9.363 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001773/0.3424, allocations: 0.7241 MB / 371.4 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.299e-05/0.3426, allocations: 0 / 371.4 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002736/0.3429, allocations: 23.86 kB / 371.4 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002088/0.3431, allocations: 39.88 kB / 371.4 MB, free: 8.57 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002263/0.3433, allocations: 47.83 kB / 371.5 MB, free: 8.523 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001857/0.3435, allocations: 71.84 kB / 371.5 MB, free: 8.453 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/0.3436, allocations: 15.98 kB / 371.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001088/0.3437, allocations: 35.84 kB / 371.6 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.066e-05/0.3439, allocations: 31.84 kB / 371.6 MB, free: 8.371 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.3439, allocations: 0 / 371.6 MB, free: 8.371 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001151/0.344, allocations: 27.98 kB / 371.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.3441, allocations: 19.97 kB / 371.7 MB, free: 8.324 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.281e-05/0.3441, allocations: 41.58 kB / 371.7 MB, free: 8.277 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001944/0.3443, allocations: 80.88 kB / 371.8 MB, free: 8.199 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.904e-06/0.3444, allocations: 4 kB / 371.8 MB, free: 8.195 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.3444, allocations: 0 / 371.8 MB, free: 8.195 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.3444, allocations: 0 / 371.8 MB, free: 8.195 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.0006654/0.3451, allocations: 466.1 kB / 372.2 MB, free: 7.68 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.3451, allocations: 15.95 kB / 372.3 MB, free: 7.664 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.158e-05/0.3452, allocations: 34.56 kB / 372.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.079e-05/0.3452, allocations: 7.906 kB / 372.3 MB, free: 7.613 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002961/0.3455, allocations: 202.8 kB / 372.5 MB, free: 7.375 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.3456, allocations: 4 kB / 372.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.287e-05/0.3456, allocations: 11.98 kB / 372.5 MB, free: 7.359 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.3458, allocations: 57.61 kB / 372.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3458, allocations: 0 / 372.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.552e-05/0.3459, allocations: 3.953 kB / 372.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3459, allocations: 0 / 372.6 MB, free: 7.293 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001104/0.346, allocations: 23.92 kB / 372.6 MB, free: 7.27 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.3465, allocations: 296.8 kB / 372.9 MB, free: 6.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002428/0.3467, allocations: 58.69 kB / 372.9 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.3468, allocations: 4 kB / 372.9 MB, free: 6.859 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.347, allocations: 75.27 kB / 373 MB, free: 6.773 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.347, allocations: 0 / 373 MB, free: 6.773 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007554/0.3478, allocations: 181.1 kB / 373.2 MB, free: 6.59 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.41e-05/0.3479, allocations: 55.41 kB / 373.2 MB, free: 6.523 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002608/0.3481, allocations: 195.3 kB / 373.4 MB, free: 6.324 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.524e-05/0.3482, allocations: 29.69 kB / 373.5 MB, free: 6.289 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.916e-05/0.3483, allocations: 170.4 kB / 373.6 MB, free: 6.121 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.436e-05/0.3483, allocations: 23.66 kB / 373.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/0.3483, allocations: 0 / 373.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.3485, allocations: 318.8 kB / 374 MB, free: 5.777 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001141/0.3486, allocations: 27.98 kB / 374 MB, free: 5.75 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001385/0.3488, allocations: 49.7 kB / 374 MB, free: 5.695 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001692/0.3489, allocations: 65.69 kB / 374.1 MB, free: 5.625 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.349, allocations: 0 / 374.1 MB, free: 5.625 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003943/0.3494, allocations: 155.2 kB / 374.3 MB, free: 5.461 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.008e-05/0.3494, allocations: 37.7 kB / 374.3 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.3494, allocations: 0 / 374.3 MB, free: 5.418 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.3495, allocations: 4 kB / 374.3 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001532/0.3496, allocations: 16.02 kB / 374.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.084e-06/0.3497, allocations: 7.938 kB / 374.3 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.904e-05/0.3498, allocations: 4.375 kB / 374.3 MB, free: 5.387 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.3498, allocations: 4 kB / 374.3 MB, free: 5.383 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.0001525/0.35, allocations: 130.4 kB / 374.5 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.885e-05/0.35, allocations: 11.86 kB / 374.5 MB, free: 5.234 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.615e-05/0.3501, allocations: 21.39 kB / 374.5 MB, free: 5.219 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3501, allocations: 3.938 kB / 374.5 MB, free: 5.215 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-06/0.3501, allocations: 4.094 kB / 374.5 MB, free: 5.211 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.3501, allocations: 7.938 kB / 374.5 MB, free: 5.203 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006738/0.3508, allocations: 399.3 kB / 374.9 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.3508, allocations: 0 / 374.9 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.859e-05/0.3509, allocations: 8 kB / 374.9 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3509, allocations: 0 / 374.9 MB, free: 4.746 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.482e-05/0.3509, allocations: 4 kB / 374.9 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.845e-06/0.3509, allocations: 0 / 374.9 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.3509, allocations: 0 / 374.9 MB, free: 4.742 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003412/0.3513, allocations: 216.1 kB / 375.1 MB, free: 4.512 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.822e-05/0.3514, allocations: 101 kB / 375.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.11e-05/0.3514, allocations: 0 / 375.2 MB, free: 4.395 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001068/0.3516, allocations: 8 kB / 375.2 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.388e-05/0.3516, allocations: 7.984 kB / 375.2 MB, free: 4.379 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.119e-05/0.3516, allocations: 4 kB / 375.2 MB, free: 4.375 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001745/0.3518, allocations: 143.9 kB / 375.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.3518, allocations: 0 / 375.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003433/0.3522, 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.001823/0.354, allocations: 1.089 MB / 376.5 MB, free: 3.172 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003665/0.3544, allocations: 151.3 kB / 376.6 MB, free: 3.012 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3544, allocations: 192 / 376.6 MB, free: 3.012 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001151/0.3545, allocations: 31.98 kB / 376.7 MB, free: 2.98 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.3549, allocations: 23.98 kB / 376.7 MB, free: 2.957 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009381/0.3558, allocations: 0.5076 MB / 377.2 MB, free: 2.395 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.3562, allocations: 0.7082 MB / 377.9 MB, free: 1.66 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.167e-05/0.3563, allocations: 31.42 kB / 377.9 MB, free: 1.629 MB / 298.7 MB Notification: Performance of SimCode: time 6.02e-07/0.3563, allocations: 0 / 377.9 MB, free: 1.629 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.697/3.053, allocations: 2.398 MB / 380.3 MB, free: 15.23 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test43_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