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.Test74.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.Test74,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.262/2.262, allocations: 234.9 MB / 250.5 MB, free: 9.543 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004248/0.0004248, allocations: 12 kB / 314.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3388/0.3393, allocations: 54.87 MB / 369.3 MB, free: 10.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002711/0.342, allocations: 1.474 MB / 370.8 MB, free: 9.219 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002377/0.3445, allocations: 0.9655 MB / 371.7 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001579/0.3447, allocations: 0 / 371.7 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005848/0.3453, allocations: 223.5 kB / 371.9 MB, free: 8.027 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004251/0.3457, allocations: 155.6 kB / 372.1 MB, free: 7.875 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004577/0.3462, allocations: 103.7 kB / 372.2 MB, free: 7.773 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000386/0.3466, allocations: 175.6 kB / 372.4 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001315/0.3468, allocations: 21.55 kB / 372.4 MB, free: 7.582 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002148/0.347, allocations: 103.7 kB / 372.5 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002813/0.3473, allocations: 143.6 kB / 372.6 MB, free: 7.34 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.975e-05/0.3474, allocations: 8 kB / 372.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002428/0.3476, allocations: 47.94 kB / 372.7 MB, free: 7.285 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001118/0.3478, allocations: 63.73 kB / 372.7 MB, free: 7.223 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.036e-05/0.3479, allocations: 57.58 kB / 372.8 MB, free: 7.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.3483, allocations: 196.6 kB / 373 MB, free: 6.969 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.3483, allocations: 0 / 373 MB, free: 6.969 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.3483, allocations: 0 / 373 MB, free: 6.969 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.3483, allocations: 0 / 373 MB, free: 6.969 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0009509/0.3493, allocations: 0.6335 MB / 373.6 MB, free: 6.262 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.3493, allocations: 8.031 kB / 373.6 MB, free: 6.254 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.779e-05/0.3494, allocations: 42.56 kB / 373.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.718e-05/0.3495, allocations: 27.62 kB / 373.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004211/0.3499, allocations: 259 kB / 374 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.096e-05/0.35, allocations: 8 kB / 374 MB, free: 5.875 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.133e-05/0.35, allocations: 7.984 kB / 374 MB, free: 5.867 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003314/0.3504, allocations: 95.36 kB / 374.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.3504, allocations: 0 / 374.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.927e-05/0.3504, allocations: 3.953 kB / 374.1 MB, free: 5.758 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.3504, allocations: 8 kB / 374.1 MB, free: 5.75 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002018/0.3507, allocations: 43.91 kB / 374.1 MB, free: 5.707 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000788/0.3515, allocations: 476.9 kB / 374.6 MB, free: 5.188 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004628/0.352, allocations: 121.3 kB / 374.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.91e-05/0.352, allocations: 7.953 kB / 374.7 MB, free: 5.043 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003621/0.3524, allocations: 116.9 kB / 374.8 MB, free: 4.91 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 2.756e-06/0.3524, allocations: 4 kB / 374.8 MB, free: 4.906 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001427/0.3538, allocations: 387.7 kB / 375.2 MB, free: 4.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.354, allocations: 81.11 kB / 375.3 MB, free: 4.422 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000721/0.3547, allocations: 472.4 kB / 375.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.822e-05/0.3547, allocations: 33.7 kB / 375.8 MB, free: 3.914 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001475/0.3549, allocations: 202.8 kB / 376 MB, free: 3.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.422e-05/0.355, allocations: 51.34 kB / 376 MB, free: 3.664 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.614e-05/0.355, allocations: 8 kB / 376 MB, free: 3.656 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.3552, allocations: 318.8 kB / 376.3 MB, free: 3.336 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003031/0.3555, allocations: 60.16 kB / 376.4 MB, free: 3.277 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.3557, allocations: 91.77 kB / 376.5 MB, free: 3.176 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000308/0.3561, allocations: 135.4 kB / 376.6 MB, free: 3.031 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.3561, allocations: 7.953 kB / 376.6 MB, free: 3.023 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007473/0.3568, allocations: 276.8 kB / 376.9 MB, free: 2.734 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.609e-05/0.3569, allocations: 67.39 kB / 377 MB, free: 2.656 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.357, allocations: 4 kB / 377 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.357, allocations: 0 / 377 MB, free: 2.652 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002587/0.3573, allocations: 35.92 kB / 377 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.729e-06/0.3573, allocations: 0 / 377 MB, free: 2.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.3575, allocations: 15.98 kB / 377 MB, free: 2.602 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.3575, allocations: 12.06 kB / 377 MB, free: 2.59 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 2 * 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.0002764/0.3578, allocations: 173.8 kB / 377.2 MB, free: 2.41 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.438e-05/0.3579, allocations: 31.58 kB / 377.2 MB, free: 2.379 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000112/0.358, allocations: 38.81 kB / 377.3 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.358, allocations: 0 / 377.3 MB, free: 2.34 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.3581, allocations: 4 kB / 377.3 MB, free: 2.336 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.316e-06/0.3581, allocations: 3.984 kB / 377.3 MB, free: 2.332 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001232/0.3593, allocations: 0.6242 MB / 377.9 MB, free: 1.645 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.207e-05/0.3594, allocations: 7.938 kB / 377.9 MB, free: 1.637 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.3595, allocations: 15.98 kB / 377.9 MB, free: 1.621 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.878e-06/0.3595, allocations: 4 kB / 377.9 MB, free: 1.617 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.007e-05/0.3596, allocations: 8.75 kB / 377.9 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.599e-06/0.3596, allocations: 0 / 377.9 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.3596, allocations: 0 / 377.9 MB, free: 1.609 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006772/0.3603, allocations: 379.1 kB / 378.3 MB, free: 1.219 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001551/0.3605, allocations: 124.6 kB / 378.4 MB, free: 1.078 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.064e-05/0.3605, allocations: 8 kB / 378.4 MB, free: 1.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002104/0.3608, allocations: 11.98 kB / 378.5 MB, free: 1.059 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.059e-05/0.3608, allocations: 19.98 kB / 378.5 MB, free: 1.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.135e-05/0.3609, allocations: 4 kB / 378.5 MB, free: 1.035 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0005256/0.3614, allocations: 343 kB / 378.8 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3614, allocations: 0 / 378.8 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005219/0.362, allocations: 59.98 kB / 378.9 MB, free: 0.6406 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002933/0.3649, allocations: 1.5 MB / 380.4 MB, free: 15.2 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.000792/0.3658, allocations: 302.5 kB / 380.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3658, allocations: 0 / 380.7 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002242/0.366, allocations: 59.92 kB / 380.7 MB, free: 14.82 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005717/0.3666, allocations: 40.86 kB / 380.8 MB, free: 14.78 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.3686, allocations: 0.9444 MB / 381.7 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004353/0.3691, allocations: 0.7751 MB / 382.5 MB, free: 12.96 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001887/0.3693, allocations: 83.39 kB / 382.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.3693, allocations: 4 kB / 382.6 MB, free: 12.88 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.594/2.964, allocations: 4.935 MB / 387.5 MB, free: 7.938 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat failed! Error: Could not read variable t_new_2.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat. Warning: Get data of variable t_new_2.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat failed! Error: Could not read variable t_new_2.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat. Warning: Get data of variable t_new_2.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat failed! " Variables in the reference:time,t_new.y[1],d_t_new.y,t_new_2.y[1],d_t_new_2.y Variables in the result:d_t_new.u,d_t_new.y,d_t_new_2.u,d_t_new_2.y,der(d_t_new.u),der(d_t_new_2.u),der(t_new.timeScaled),der(t_new_2.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[10,1],t_new.table[10,2],t_new.table[11,1],t_new.table[11,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.table[6,1],t_new.table[6,2],t_new.table[7,1],t_new.table[7,2],t_new.table[8,1],t_new.table[8,2],t_new.table[9,1],t_new.table[9,2],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],t_new_2.columns[1],t_new_2.extrapolation,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nout,t_new_2.offset[1],t_new_2.p_offset[1],t_new_2.smoothness,t_new_2.startTime,t_new_2.t_max,t_new_2.t_maxScaled,t_new_2.t_min,t_new_2.t_minScaled,t_new_2.tableOnFile,t_new_2.tableOnFileRead,t_new_2.table[1,1],t_new_2.table[1,2],t_new_2.table[10,1],t_new_2.table[10,2],t_new_2.table[11,1],t_new_2.table[11,2],t_new_2.table[2,1],t_new_2.table[2,2],t_new_2.table[3,1],t_new_2.table[3,2],t_new_2.table[4,1],t_new_2.table[4,2],t_new_2.table[5,1],t_new_2.table[5,2],t_new_2.table[6,1],t_new_2.table[6,2],t_new_2.table[7,1],t_new_2.table[7,2],t_new_2.table[8,1],t_new_2.table[8,2],t_new_2.table[9,1],t_new_2.table[9,2],t_new_2.timeScale,t_new_2.timeScaled,t_new_2.verboseRead,t_new_2.y[1],time