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.Test18.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.Test18,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test18",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.265/2.265, allocations: 234.9 MB / 250.4 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005056/0.0005058, allocations: 16 kB / 314.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3373/0.3378, allocations: 54.87 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test18): time 0.002501/0.3404, allocations: 1.353 MB / 370.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001668/0.3421, allocations: 0.7163 MB / 371.4 MB, free: 8.633 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.639e-05/0.3423, allocations: 8 kB / 371.4 MB, free: 8.625 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002883/0.3426, allocations: 27.84 kB / 371.4 MB, free: 8.598 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001942/0.3428, allocations: 31.89 kB / 371.4 MB, free: 8.566 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002232/0.343, allocations: 51.83 kB / 371.5 MB, free: 8.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001736/0.3432, allocations: 67.84 kB / 371.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.414e-05/0.3433, allocations: 11.98 kB / 371.5 MB, free: 8.438 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.3434, allocations: 35.84 kB / 371.6 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.048e-05/0.3435, allocations: 23.92 kB / 371.6 MB, free: 8.379 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.3435, allocations: 4 kB / 371.6 MB, free: 8.375 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.3437, allocations: 31.92 kB / 371.6 MB, free: 8.344 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.767e-05/0.3437, allocations: 15.97 kB / 371.7 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.77e-05/0.3438, allocations: 45.58 kB / 371.7 MB, free: 8.277 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001975/0.344, allocations: 76.88 kB / 371.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.505e-06/0.344, allocations: 0 / 371.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.344, allocations: 0 / 371.8 MB, free: 8.203 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.344, allocations: 0 / 371.8 MB, free: 8.203 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.0006336/0.3447, allocations: 446.3 kB / 372.2 MB, free: 7.707 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.613e-05/0.3447, allocations: 16.03 kB / 372.2 MB, free: 7.691 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.079e-05/0.3448, allocations: 30.56 kB / 372.3 MB, free: 7.652 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.633e-05/0.3449, allocations: 15.83 kB / 372.3 MB, free: 7.637 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.3451, allocations: 201.1 kB / 372.5 MB, free: 7.402 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.387e-05/0.3452, allocations: 8 kB / 372.5 MB, free: 7.395 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.489e-05/0.3452, allocations: 7.984 kB / 372.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.3454, allocations: 57.61 kB / 372.5 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3454, allocations: 0 / 372.5 MB, free: 7.324 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.589e-05/0.3455, allocations: 3.953 kB / 372.5 MB, free: 7.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.82e-06/0.3455, allocations: 0 / 372.5 MB, free: 7.32 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.3456, allocations: 23.98 kB / 372.6 MB, free: 7.297 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004527/0.3461, allocations: 304.7 kB / 372.9 MB, free: 6.949 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002455/0.3463, allocations: 54.67 kB / 372.9 MB, free: 6.887 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.39e-05/0.3464, allocations: 0 / 372.9 MB, free: 6.887 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.3466, allocations: 75.34 kB / 373 MB, free: 6.801 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.813e-06/0.3466, allocations: 0 / 373 MB, free: 6.801 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007551/0.3474, allocations: 169.3 kB / 373.2 MB, free: 6.629 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.3474, allocations: 55.41 kB / 373.2 MB, free: 6.562 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000216/0.3477, allocations: 173.7 kB / 373.4 MB, free: 6.387 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.634e-05/0.3477, allocations: 33.64 kB / 373.4 MB, free: 6.348 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.435e-05/0.3478, allocations: 158.6 kB / 373.6 MB, free: 6.191 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.057e-05/0.3479, allocations: 31.62 kB / 373.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.3479, allocations: 4 kB / 373.6 MB, free: 6.156 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.348, allocations: 322.8 kB / 373.9 MB, free: 5.832 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001126/0.3481, allocations: 24 kB / 373.9 MB, free: 5.809 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001732/0.3483, allocations: 49.69 kB / 374 MB, free: 5.754 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.3485, allocations: 61.7 kB / 374 MB, free: 5.688 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3485, allocations: 0 / 374 MB, free: 5.688 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003965/0.3489, allocations: 167.3 kB / 374.2 MB, free: 5.512 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.865e-05/0.349, allocations: 37.69 kB / 374.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.349, allocations: 0 / 374.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.349, allocations: 0 / 374.2 MB, free: 5.469 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001445/0.3492, allocations: 16.36 kB / 374.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3492, allocations: 4 kB / 374.3 MB, free: 5.449 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.542e-05/0.3493, allocations: 8 kB / 374.3 MB, free: 5.441 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.3493, allocations: 8 kB / 374.3 MB, free: 5.434 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.0001475/0.3495, allocations: 125.8 kB / 374.4 MB, free: 5.301 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.245e-05/0.3495, allocations: 19.77 kB / 374.4 MB, free: 5.281 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.871e-05/0.3496, allocations: 12.72 kB / 374.4 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.3496, allocations: 3.938 kB / 374.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.3496, allocations: 4 kB / 374.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.3496, allocations: 0 / 374.4 MB, free: 5.262 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007255/0.3504, allocations: 391.4 kB / 374.8 MB, free: 4.82 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.3504, allocations: 3.938 kB / 374.8 MB, free: 4.816 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-05/0.3505, allocations: 12.03 kB / 374.8 MB, free: 4.805 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/0.3505, allocations: 4 kB / 374.8 MB, free: 4.801 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.531e-05/0.3505, allocations: 3.984 kB / 374.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.3505, allocations: 0 / 374.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.3505, allocations: 0 / 374.9 MB, free: 4.797 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003769/0.3509, allocations: 200.2 kB / 375 MB, free: 4.582 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.441e-05/0.351, allocations: 101 kB / 375.1 MB, free: 4.465 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.179e-05/0.3511, allocations: 4 kB / 375.2 MB, free: 4.461 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001091/0.3512, allocations: 8 kB / 375.2 MB, free: 4.453 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.3513, allocations: 7.984 kB / 375.2 MB, free: 4.445 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.3513, allocations: 0 / 375.2 MB, free: 4.445 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000146/0.3514, allocations: 123.2 kB / 375.3 MB, free: 4.324 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.3515, allocations: 4 kB / 375.3 MB, free: 4.32 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003653/0.3518, allocations: 35.89 kB / 375.3 MB, free: 4.285 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.001844/0.3537, allocations: 1.079 MB / 376.4 MB, free: 3.262 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004011/0.3541, allocations: 147.4 kB / 376.5 MB, free: 3.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3541, allocations: 0 / 376.5 MB, free: 3.105 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.3543, allocations: 35.98 kB / 376.6 MB, free: 3.07 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.3546, allocations: 28.66 kB / 376.6 MB, free: 3.043 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009423/0.3556, allocations: 479.3 kB / 377.1 MB, free: 2.516 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.3559, allocations: 0.7043 MB / 377.8 MB, free: 1.785 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.734e-05/0.356, allocations: 27.42 kB / 377.8 MB, free: 1.758 MB / 298.7 MB Notification: Performance of SimCode: time 1.212e-06/0.356, allocations: 0 / 377.8 MB, free: 1.758 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.516/2.872, allocations: 2.299 MB / 380.1 MB, free: 15.46 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test18_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.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time