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.Test7.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.Test7,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Tables_CombiTimeTable_Test7",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.206/2.206, allocations: 234.9 MB / 250.5 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004275/0.0004275, allocations: 12 kB / 314.4 MB, free: 9.508 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3324, allocations: 54.86 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.00251/0.335, allocations: 1.353 MB / 370.6 MB, free: 9.359 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001624/0.3366, allocations: 0.7163 MB / 371.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.098e-05/0.3367, allocations: 0 / 371.3 MB, free: 8.637 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.3371, allocations: 91.8 kB / 371.4 MB, free: 8.547 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002308/0.3373, allocations: 67.83 kB / 371.5 MB, free: 8.48 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002092/0.3375, allocations: 51.83 kB / 371.6 MB, free: 8.43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001931/0.3377, allocations: 79.83 kB / 371.6 MB, free: 8.352 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.511e-05/0.3379, allocations: 15.98 kB / 371.6 MB, free: 8.336 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.338, allocations: 47.83 kB / 371.7 MB, free: 8.289 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001275/0.3381, allocations: 51.81 kB / 371.7 MB, free: 8.238 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.193e-05/0.3382, allocations: 4 kB / 371.7 MB, free: 8.234 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001157/0.3383, allocations: 27.92 kB / 371.8 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.3384, allocations: 23.92 kB / 371.8 MB, free: 8.184 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.388e-05/0.3384, allocations: 37.64 kB / 371.8 MB, free: 8.141 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002025/0.3386, allocations: 96.84 kB / 371.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.3386, allocations: 0 / 371.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3387, allocations: 0 / 371.9 MB, free: 8.047 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.3387, allocations: 4 kB / 371.9 MB, free: 8.043 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.0006083/0.3393, allocations: 480.9 kB / 372.4 MB, free: 7.516 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3393, allocations: 8.031 kB / 372.4 MB, free: 7.508 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.3394, allocations: 30.56 kB / 372.4 MB, free: 7.469 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.3394, allocations: 11.91 kB / 372.5 MB, free: 7.457 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002857/0.3397, allocations: 211.6 kB / 372.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.3398, allocations: 0 / 372.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.921e-05/0.3398, allocations: 11.88 kB / 372.7 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000199/0.34, allocations: 57.67 kB / 372.7 MB, free: 7.137 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.386e-05/0.34, allocations: 4 kB / 372.7 MB, free: 7.133 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3401, allocations: 3.953 kB / 372.7 MB, free: 7.129 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3401, allocations: 0 / 372.7 MB, free: 7.129 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001075/0.3402, allocations: 19.98 kB / 372.8 MB, free: 7.109 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004498/0.3407, allocations: 308.8 kB / 373.1 MB, free: 6.758 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002478/0.3409, allocations: 66.61 kB / 373.1 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.341, allocations: 0 / 373.1 MB, free: 6.684 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.3412, allocations: 71.34 kB / 373.2 MB, free: 6.602 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 2.154e-06/0.3412, allocations: 0 / 373.2 MB, free: 6.602 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007415/0.342, allocations: 181.1 kB / 373.4 MB, free: 6.418 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.239e-05/0.342, allocations: 51.41 kB / 373.4 MB, free: 6.355 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003134/0.3424, allocations: 242.9 kB / 373.7 MB, free: 6.109 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.3424, allocations: 29.69 kB / 373.7 MB, free: 6.074 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.3425, allocations: 174.4 kB / 373.9 MB, free: 5.902 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.3426, allocations: 23.7 kB / 373.9 MB, free: 5.879 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.195e-06/0.3426, allocations: 0 / 373.9 MB, free: 5.879 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001346/0.3427, allocations: 322.8 kB / 374.2 MB, free: 5.555 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001143/0.3428, allocations: 23.98 kB / 374.2 MB, free: 5.531 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.343, allocations: 55.69 kB / 374.3 MB, free: 5.473 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.3432, allocations: 69.69 kB / 374.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.3432, allocations: 0 / 374.3 MB, free: 5.398 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003881/0.3436, allocations: 163.2 kB / 374.5 MB, free: 5.227 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.356e-05/0.3436, allocations: 33.7 kB / 374.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.3437, allocations: 0 / 374.5 MB, free: 5.188 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3437, allocations: 4 kB / 374.5 MB, free: 5.184 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.3438, allocations: 15.98 kB / 374.5 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3438, allocations: 0 / 374.5 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.062e-05/0.3439, allocations: 8.031 kB / 374.6 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.344, allocations: 8 kB / 374.6 MB, free: 5.152 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.0001512/0.3441, allocations: 133.8 kB / 374.7 MB, free: 5.012 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.244e-05/0.3442, allocations: 19.77 kB / 374.7 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.824e-05/0.3442, allocations: 21.39 kB / 374.7 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.039e-06/0.3442, allocations: 4 kB / 374.7 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.3443, allocations: 0 / 374.7 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.3443, allocations: 0 / 374.7 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006077/0.3449, allocations: 403.4 kB / 375.1 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-06/0.3449, allocations: 0 / 375.1 MB, free: 4.52 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.222e-05/0.345, allocations: 15.92 kB / 375.1 MB, free: 4.504 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.345, allocations: 3.984 kB / 375.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.345, allocations: 96 / 375.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.345, allocations: 7.938 kB / 375.2 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.345, allocations: 0 / 375.2 MB, free: 4.492 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003424/0.3454, allocations: 208.2 kB / 375.4 MB, free: 4.27 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.847e-05/0.3455, allocations: 101 kB / 375.5 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.3455, allocations: 0 / 375.5 MB, free: 4.152 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001108/0.3457, allocations: 12.36 kB / 375.5 MB, free: 4.141 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.649e-05/0.3457, allocations: 7.938 kB / 375.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.657e-05/0.3457, allocations: 0 / 375.5 MB, free: 4.133 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002293/0.346, allocations: 181.1 kB / 375.7 MB, free: 3.957 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.346, allocations: 4 kB / 375.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003432/0.3463, allocations: 31.98 kB / 375.7 MB, free: 3.922 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.001812/0.3482, allocations: 1.073 MB / 376.8 MB, free: 2.906 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003614/0.3485, allocations: 151.3 kB / 376.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3486, allocations: 0 / 376.9 MB, free: 2.746 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001246/0.3487, allocations: 39.91 kB / 377 MB, free: 2.707 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.349, allocations: 20.11 kB / 377 MB, free: 2.688 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001043/0.3501, allocations: 0.5514 MB / 377.5 MB, free: 2.082 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003838/0.3505, allocations: 0.7197 MB / 378.2 MB, free: 1.336 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.729e-05/0.3506, allocations: 39.42 kB / 378.3 MB, free: 1.297 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.3506, allocations: 0 / 378.3 MB, free: 1.297 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.531/2.882, allocations: 2.602 MB / 380.9 MB, free: 14.7 MB / 314.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat failed! Error: Could not read variable t_new.DBL_MAX in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat. Warning: Get data of variable t_new.DBL_MAX from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test7_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[1,3],t_new.table[2,1],t_new.table[2,2],t_new.table[2,3],t_new.table[3,1],t_new.table[3,2],t_new.table[3,3],t_new.table[4,1],t_new.table[4,2],t_new.table[4,3],t_new.table[5,1],t_new.table[5,2],t_new.table[5,3],t_new.timeScale,t_new.timeScaled,t_new.verboseRead,t_new.y[1],time