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.Test79.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.Test79,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test79",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.308/2.308, allocations: 234.9 MB / 250.5 MB, free: 9.555 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.0004509, allocations: 16 kB / 314.4 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3401, allocations: 54.86 MB / 369.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test79): time 0.002865/0.343, allocations: 1.47 MB / 370.8 MB, free: 9.227 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002336/0.3454, allocations: 0.9616 MB / 371.7 MB, free: 8.258 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.3456, allocations: 4 kB / 371.7 MB, free: 8.254 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005558/0.3461, allocations: 195.6 kB / 371.9 MB, free: 8.062 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003958/0.3466, allocations: 139.7 kB / 372 MB, free: 7.926 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004446/0.347, allocations: 99.7 kB / 372.1 MB, free: 7.828 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003426/0.3474, allocations: 159.7 kB / 372.3 MB, free: 7.672 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.3475, allocations: 21.55 kB / 372.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002002/0.3477, allocations: 99.66 kB / 372.4 MB, free: 7.555 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002459/0.348, allocations: 119.6 kB / 372.5 MB, free: 7.438 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.342e-05/0.348, allocations: 4 kB / 372.5 MB, free: 7.434 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002131/0.3483, allocations: 47.92 kB / 372.6 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.275e-05/0.3484, allocations: 55.81 kB / 372.6 MB, free: 7.332 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.3485, allocations: 53.58 kB / 372.7 MB, free: 7.273 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003753/0.3489, allocations: 188.6 kB / 372.9 MB, free: 7.09 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.3489, allocations: 4 kB / 372.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.3489, allocations: 0 / 372.9 MB, free: 7.086 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.21e-06/0.3489, allocations: 0 / 372.9 MB, free: 7.086 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.0009433/0.3499, allocations: 0.618 MB / 373.5 MB, free: 6.395 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.936e-05/0.3499, allocations: 11.97 kB / 373.5 MB, free: 6.383 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.534e-05/0.35, allocations: 34.56 kB / 373.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.687e-05/0.3501, allocations: 31.62 kB / 373.6 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000397/0.3505, allocations: 247.2 kB / 373.8 MB, free: 6.027 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.451e-05/0.3506, allocations: 8 kB / 373.8 MB, free: 6.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.691e-05/0.3506, allocations: 11.91 kB / 373.8 MB, free: 6.008 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003391/0.351, allocations: 103.3 kB / 373.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.476e-05/0.351, allocations: 0 / 373.9 MB, free: 5.895 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.305e-05/0.351, allocations: 11.95 kB / 373.9 MB, free: 5.883 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.005e-06/0.351, allocations: 4 kB / 374 MB, free: 5.879 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001993/0.3512, allocations: 39.95 kB / 374 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000723/0.352, allocations: 468.9 kB / 374.4 MB, free: 5.328 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004786/0.3525, allocations: 117.3 kB / 374.6 MB, free: 5.195 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.263e-05/0.3525, allocations: 11.94 kB / 374.6 MB, free: 5.184 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003676/0.3529, allocations: 117 kB / 374.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 2.795e-06/0.3529, allocations: 0 / 374.7 MB, free: 5.051 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001422/0.3544, allocations: 371.9 kB / 375.1 MB, free: 4.68 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.3545, allocations: 85.11 kB / 375.1 MB, free: 4.578 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006451/0.3551, allocations: 424.5 kB / 375.5 MB, free: 4.156 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.195e-05/0.3552, allocations: 25.7 kB / 375.6 MB, free: 4.125 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.3553, allocations: 198.9 kB / 375.8 MB, free: 3.93 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.839e-05/0.3554, allocations: 55.33 kB / 375.8 MB, free: 3.875 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.538e-05/0.3554, allocations: 4 kB / 375.8 MB, free: 3.871 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3556, allocations: 322.8 kB / 376.1 MB, free: 3.547 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002295/0.3558, allocations: 60.16 kB / 376.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002596/0.3561, allocations: 96.7 kB / 376.3 MB, free: 3.383 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003293/0.3564, allocations: 139.3 kB / 376.4 MB, free: 3.234 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.3564, allocations: 3.953 kB / 376.4 MB, free: 3.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007345/0.3572, allocations: 272.9 kB / 376.7 MB, free: 2.945 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.972e-05/0.3573, allocations: 67.39 kB / 376.8 MB, free: 2.867 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/0.3573, allocations: 8.062 kB / 376.8 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3573, allocations: 0 / 376.8 MB, free: 2.859 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002472/0.3576, allocations: 35.92 kB / 376.8 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.3576, allocations: 0 / 376.8 MB, free: 2.824 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001849/0.3578, allocations: 15.98 kB / 376.8 MB, free: 2.809 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.082e-05/0.3578, allocations: 8 kB / 376.8 MB, free: 2.801 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.0002388/0.3581, allocations: 169.7 kB / 377 MB, free: 2.625 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-05/0.3582, allocations: 31.58 kB / 377 MB, free: 2.594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.3583, allocations: 38.61 kB / 377.1 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3583, allocations: 0 / 377.1 MB, free: 2.555 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.3583, allocations: 4 kB / 377.1 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.96e-06/0.3583, allocations: 0 / 377.1 MB, free: 2.551 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/0.3595, allocations: 0.6172 MB / 377.7 MB, free: 1.871 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/0.3595, allocations: 7.984 kB / 377.7 MB, free: 1.863 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/0.3596, allocations: 20.06 kB / 377.7 MB, free: 1.844 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/0.3597, allocations: 4 kB / 377.7 MB, free: 1.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.095e-05/0.3597, allocations: 4 kB / 377.7 MB, free: 1.836 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.628e-06/0.3597, allocations: 7.984 kB / 377.7 MB, free: 1.828 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.3597, allocations: 4 kB / 377.7 MB, free: 1.824 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006539/0.3604, allocations: 374 kB / 378.1 MB, free: 1.438 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000144/0.3606, allocations: 112.8 kB / 378.2 MB, free: 1.309 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.3606, allocations: 7.984 kB / 378.2 MB, free: 1.301 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002023/0.3609, allocations: 8 kB / 378.2 MB, free: 1.293 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.271e-05/0.3609, allocations: 11.98 kB / 378.2 MB, free: 1.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.361, allocations: 11.98 kB / 378.3 MB, free: 1.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0004875/0.3615, allocations: 307 kB / 378.6 MB, free: 0.9688 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.3615, allocations: 4 kB / 378.6 MB, free: 0.9648 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0005217/0.362, allocations: 55.98 kB / 378.6 MB, free: 0.9102 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.002981/0.365, allocations: 1.505 MB / 380.1 MB, free: 15.47 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007784/0.3658, allocations: 294.7 kB / 380.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3659, allocations: 0 / 380.4 MB, free: 15.16 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002338/0.3661, allocations: 68.03 kB / 380.5 MB, free: 15.09 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005516/0.3667, allocations: 33.67 kB / 380.5 MB, free: 15.05 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.3685, allocations: 0.8845 MB / 381.4 MB, free: 14.1 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004327/0.369, allocations: 0.7712 MB / 382.2 MB, free: 13.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001926/0.3692, allocations: 75.41 kB / 382.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of SimCode: time 1.072e-06/0.3692, allocations: 0 / 382.2 MB, free: 13.23 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.576/2.945, allocations: 4.696 MB / 386.9 MB, free: 8.527 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat failed! Error: Could not read variable t_new_2.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat. Warning: Get data of variable t_new_2.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat failed! Error: Could not read variable t_new_2.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_res.mat. Warning: Get data of variable t_new_2.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test79_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[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[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