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.Test40.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.Test40,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004311/0.0004313, allocations: 19.92 kB / 314.4 MB, free: 9.492 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3362/0.3367, allocations: 54.86 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.002403/0.3391, allocations: 1.353 MB / 370.6 MB, free: 9.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001637/0.3408, allocations: 0.7202 MB / 371.4 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.017e-05/0.3409, allocations: 0 / 371.4 MB, free: 8.613 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000337/0.3413, allocations: 67.77 kB / 371.4 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002241/0.3415, allocations: 59.84 kB / 371.5 MB, free: 8.488 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002742/0.3418, allocations: 55.83 kB / 371.5 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002003/0.342, allocations: 75.84 kB / 371.6 MB, free: 8.359 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.743e-05/0.3422, allocations: 7.984 kB / 371.6 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000122/0.3423, allocations: 47.83 kB / 371.7 MB, free: 8.305 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001254/0.3424, allocations: 43.88 kB / 371.7 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.276e-05/0.3425, allocations: 7.938 kB / 371.7 MB, free: 8.254 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.3426, allocations: 24 kB / 371.7 MB, free: 8.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.179e-05/0.3427, allocations: 15.98 kB / 371.7 MB, free: 8.215 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.3427, allocations: 49.56 kB / 371.8 MB, free: 8.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.343, allocations: 88.8 kB / 371.9 MB, free: 8.074 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.444e-06/0.343, allocations: 0 / 371.9 MB, free: 8.074 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.343, allocations: 0 / 371.9 MB, free: 8.074 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.343, allocations: 0 / 371.9 MB, free: 8.074 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.0006678/0.3437, allocations: 466.1 kB / 372.3 MB, free: 7.559 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.3437, allocations: 16.02 kB / 372.4 MB, free: 7.543 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.533e-05/0.3438, allocations: 30.56 kB / 372.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.3439, allocations: 7.906 kB / 372.4 MB, free: 7.496 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.3442, allocations: 207.6 kB / 372.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.225e-05/0.3442, allocations: 0 / 372.6 MB, free: 7.254 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.3443, allocations: 7.984 kB / 372.6 MB, free: 7.246 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.3445, allocations: 57.61 kB / 372.7 MB, free: 7.184 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.3445, allocations: 4 kB / 372.7 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.581e-05/0.3445, allocations: 7.953 kB / 372.7 MB, free: 7.172 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.286e-06/0.3446, allocations: 3.984 kB / 372.7 MB, free: 7.168 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001197/0.3447, allocations: 23.92 kB / 372.7 MB, free: 7.145 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004735/0.3452, allocations: 304.8 kB / 373 MB, free: 6.797 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.3454, allocations: 54.69 kB / 373 MB, free: 6.734 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.906e-05/0.3455, allocations: 0 / 373 MB, free: 6.734 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002611/0.3458, allocations: 79.27 kB / 373.1 MB, free: 6.645 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.284e-06/0.3458, allocations: 0 / 373.1 MB, free: 6.645 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007995/0.3466, allocations: 181.2 kB / 373.3 MB, free: 6.461 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.149e-05/0.3466, allocations: 55.39 kB / 373.4 MB, free: 6.395 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002788/0.3469, allocations: 202.4 kB / 373.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.605e-05/0.347, allocations: 29.7 kB / 373.6 MB, free: 6.152 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3471, allocations: 170.3 kB / 373.7 MB, free: 5.984 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.213e-05/0.3471, allocations: 31.62 kB / 373.8 MB, free: 5.953 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.109e-05/0.3472, allocations: 4 kB / 373.8 MB, free: 5.949 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001284/0.3473, allocations: 318.8 kB / 374.1 MB, free: 5.629 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001166/0.3474, allocations: 27.98 kB / 374.1 MB, free: 5.602 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001367/0.3476, allocations: 49.69 kB / 374.2 MB, free: 5.547 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001535/0.3477, allocations: 61.7 kB / 374.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3478, allocations: 0 / 374.2 MB, free: 5.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000393/0.3482, allocations: 151.3 kB / 374.4 MB, free: 5.32 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.501e-05/0.3482, allocations: 41.69 kB / 374.4 MB, free: 5.273 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.3482, allocations: 4.031 kB / 374.4 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.3483, allocations: 0 / 374.4 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000145/0.3484, allocations: 19.94 kB / 374.4 MB, free: 5.25 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.3484, allocations: 3.984 kB / 374.4 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.002e-05/0.3485, allocations: 4 kB / 374.5 MB, free: 5.242 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.01e-05/0.3486, allocations: 4 kB / 374.5 MB, free: 5.238 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.0001438/0.3487, allocations: 129.9 kB / 374.6 MB, free: 5.102 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.3488, allocations: 19.7 kB / 374.6 MB, free: 5.082 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.951e-05/0.3488, allocations: 17.41 kB / 374.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3489, allocations: 7.938 kB / 374.6 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.3489, allocations: 0 / 374.6 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.3489, allocations: 0 / 374.6 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006227/0.3495, allocations: 391.3 kB / 375 MB, free: 4.621 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/0.3495, allocations: 4 kB / 375 MB, free: 4.617 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.132e-05/0.3496, allocations: 11.98 kB / 375 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.115e-06/0.3496, allocations: 0 / 375 MB, free: 4.605 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.3496, allocations: 4.375 kB / 375 MB, free: 4.602 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.3496, allocations: 4.031 kB / 375 MB, free: 4.598 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3497, allocations: 4 kB / 375 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.35, allocations: 212.1 kB / 375.2 MB, free: 4.367 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.592e-05/0.3501, allocations: 92.95 kB / 375.3 MB, free: 4.258 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.534e-05/0.3502, allocations: 8 kB / 375.3 MB, free: 4.25 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.3503, allocations: 3.984 kB / 375.3 MB, free: 4.246 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.004e-05/0.3503, allocations: 8 kB / 375.4 MB, free: 4.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.3504, allocations: 4 kB / 375.4 MB, free: 4.234 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001797/0.3506, allocations: 155.2 kB / 375.5 MB, free: 4.082 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3506, allocations: 0 / 375.5 MB, free: 4.082 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003438/0.3509, allocations: 32 kB / 375.5 MB, free: 4.051 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.00178/0.3527, allocations: 1.095 MB / 376.6 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003682/0.3531, allocations: 151.3 kB / 376.8 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3531, allocations: 0 / 376.8 MB, free: 2.855 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001193/0.3532, allocations: 35.97 kB / 376.8 MB, free: 2.82 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003158/0.3536, allocations: 20.11 kB / 376.8 MB, free: 2.801 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.3546, allocations: 0.52 MB / 377.4 MB, free: 2.227 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.355, allocations: 0.7082 MB / 378.1 MB, free: 1.492 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.146e-05/0.3551, allocations: 31.42 kB / 378.1 MB, free: 1.461 MB / 298.7 MB Notification: Performance of SimCode: time 1.453e-06/0.3551, allocations: 0 / 378.1 MB, free: 1.461 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.601/2.956, allocations: 2.457 MB / 380.6 MB, free: 15 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test40_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.table[5,1],t_new.table[5,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time