Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test1.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2/2, allocations: 209.3 MB / 224.8 MB, free: 1.613 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004328/0.0004328, allocations: 19.94 kB / 282.6 MB, free: 9.73 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1041, allocations: 48.7 MB / 331.3 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002422/0.1066, allocations: 1.294 MB / 332.6 MB, free: 7.637 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.1077, allocations: 424.6 kB / 333 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.927e-05/0.1077, allocations: 0 / 333 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002739/0.108, allocations: 27.84 kB / 333 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001905/0.1082, allocations: 35.89 kB / 333 MB, free: 7.156 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002361/0.1085, allocations: 59.8 kB / 333.1 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001565/0.1087, allocations: 51.94 kB / 333.2 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.1088, allocations: 19.95 kB / 333.2 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.92e-05/0.1089, allocations: 31.86 kB / 333.2 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.643e-05/0.109, allocations: 27.91 kB / 333.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.748e-05/0.109, allocations: 0 / 333.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.1091, allocations: 35.92 kB / 333.3 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.458e-05/0.1092, allocations: 23.92 kB / 333.3 MB, free: 6.91 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.013e-05/0.1093, allocations: 37.64 kB / 333.3 MB, free: 6.867 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.1095, allocations: 88.09 kB / 333.4 MB, free: 6.781 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.1095, allocations: 0 / 333.4 MB, free: 6.781 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1095, allocations: 0 / 333.4 MB, free: 6.781 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.159e-06/0.1095, allocations: 4 kB / 333.4 MB, free: 6.777 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005705/0.1101, allocations: 436.5 kB / 333.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.022e-05/0.1102, allocations: 12.02 kB / 333.9 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.156e-05/0.1102, allocations: 34.56 kB / 333.9 MB, free: 6.242 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.232e-05/0.1103, allocations: 15.84 kB / 333.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.1106, allocations: 194.8 kB / 334.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.359e-05/0.1106, allocations: 7.984 kB / 334.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.584e-05/0.1106, allocations: 0 / 334.1 MB, free: 5.988 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.1108, allocations: 53.61 kB / 334.2 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1108, allocations: 4 kB / 334.2 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1108, allocations: 0 / 334.2 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.1108, allocations: 0 / 334.2 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.53e-05/0.1109, allocations: 12 kB / 334.2 MB, free: 5.914 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004268/0.1114, allocations: 300.7 kB / 334.5 MB, free: 5.57 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000224/0.1116, allocations: 34.58 kB / 334.5 MB, free: 5.527 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1116, allocations: 4 kB / 334.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001728/0.1118, allocations: 63.48 kB / 334.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.044e-06/0.1118, allocations: 0 / 334.6 MB, free: 5.449 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.00048/0.1123, allocations: 117.2 kB / 334.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.1124, allocations: 51.41 kB / 334.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003338/0.1127, allocations: 243.5 kB / 335 MB, free: 5.012 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.1128, allocations: 29.7 kB / 335 MB, free: 4.977 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.768e-05/0.1129, allocations: 178.4 kB / 335.2 MB, free: 4.801 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.1129, allocations: 15.89 kB / 335.2 MB, free: 4.785 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.883e-06/0.1129, allocations: 3.938 kB / 335.2 MB, free: 4.781 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001137/0.113, allocations: 314.8 kB / 335.5 MB, free: 4.465 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.244e-05/0.1131, allocations: 16 kB / 335.5 MB, free: 4.449 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.929e-05/0.1132, allocations: 19.98 kB / 335.5 MB, free: 4.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.942e-05/0.1133, allocations: 49.7 kB / 335.6 MB, free: 4.375 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1133, allocations: 0 / 335.6 MB, free: 4.375 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002456/0.1136, allocations: 119.3 kB / 335.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.96e-05/0.1136, allocations: 33.7 kB / 335.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1136, allocations: 80 / 335.7 MB, free: 4.207 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.1136, allocations: 4 kB / 335.7 MB, free: 4.203 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.06e-05/0.1137, allocations: 8 kB / 335.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.1138, allocations: 7.922 kB / 335.8 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.1138, allocations: 4.078 kB / 335.8 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.906e-05/0.1139, allocations: 15.89 kB / 335.8 MB, free: 4.168 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * 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.0001341/0.114, allocations: 129.8 kB / 335.9 MB, free: 4.031 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.394e-05/0.114, allocations: 7.906 kB / 335.9 MB, free: 4.023 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.012e-05/0.1141, allocations: 21 kB / 335.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.1141, allocations: 0 / 335.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.1141, allocations: 0 / 335.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1142, allocations: 0 / 335.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.1147, allocations: 358.4 kB / 336.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1147, allocations: 0 / 336.3 MB, free: 3.598 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.433e-05/0.1147, allocations: 7.984 kB / 336.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.1147, allocations: 288 / 336.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.1148, allocations: 4 kB / 336.3 MB, free: 3.586 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1148, allocations: 4 kB / 336.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.1148, allocations: 0 / 336.3 MB, free: 3.582 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.115, allocations: 175.3 kB / 336.5 MB, free: 3.395 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.07e-05/0.1151, allocations: 96.89 kB / 336.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.927e-05/0.1151, allocations: 0 / 336.6 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.26e-05/0.1152, allocations: 4 kB / 336.6 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.773e-05/0.1153, allocations: 0 / 336.6 MB, free: 3.277 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.1153, allocations: 4 kB / 336.6 MB, free: 3.273 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002318/0.1155, allocations: 197.1 kB / 336.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1156, allocations: 0 / 336.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003675/0.1159, allocations: 31.98 kB / 336.8 MB, free: 3.051 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,t_new.nextTimeEvent) * Number of discrete states: 1 (t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001415/0.1174, allocations: 0.9579 MB / 337.7 MB, free: 2.152 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.1176, allocations: 103.3 kB / 337.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.1176, allocations: 0 / 337.8 MB, free: 2.039 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.191e-05/0.1177, allocations: 16 kB / 337.9 MB, free: 2.023 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.118, allocations: 20.11 kB / 337.9 MB, free: 2.004 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009821/0.119, allocations: 0.5301 MB / 338.4 MB, free: 1.422 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003211/0.1194, allocations: 0.7192 MB / 339.1 MB, free: 0.6797 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.382e-05/0.1195, allocations: 31.42 kB / 339.2 MB, free: 0.6484 MB / 282.7 MB Notification: Performance of SimCode: time 8.32e-07/0.1195, allocations: 4 kB / 339.2 MB, free: 0.6445 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.254/3.374, allocations: 2.404 MB / 341.6 MB, free: 14.67 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test1_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),t_new.columns[1],t_new.extrapolation,t_new.nextTimeEvent,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_min,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.verboseRead,t_new.y[1],time