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.Test26.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.Test26,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test26",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.028/2.028, allocations: 209.3 MB / 224.8 MB, free: 1.547 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004383/0.0004384, allocations: 12 kB / 282.6 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1168, allocations: 48.71 MB / 331.3 MB, free: 8.91 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test26): time 0.002516/0.1194, allocations: 1.286 MB / 332.6 MB, free: 7.613 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1206, allocations: 424.6 kB / 333 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.04e-05/0.1207, allocations: 4 kB / 333 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002939/0.121, allocations: 27.84 kB / 333 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001878/0.1212, allocations: 23.97 kB / 333 MB, free: 7.141 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002751/0.1215, allocations: 71.72 kB / 333.1 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.1217, allocations: 47.94 kB / 333.2 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.934e-05/0.1218, allocations: 15.97 kB / 333.2 MB, free: 7.008 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.857e-05/0.1219, allocations: 31.84 kB / 333.2 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001369/0.122, allocations: 23.91 kB / 333.2 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.1221, allocations: 4 kB / 333.2 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.1223, allocations: 31.94 kB / 333.3 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.79e-05/0.1223, allocations: 15.92 kB / 333.3 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.1224, allocations: 33.7 kB / 333.3 MB, free: 6.863 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.1226, allocations: 88.03 kB / 333.4 MB, free: 6.777 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.1226, allocations: 0 / 333.4 MB, free: 6.777 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.1226, allocations: 0 / 333.4 MB, free: 6.777 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.1227, allocations: 0 / 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.0006164/0.1233, allocations: 412.7 kB / 333.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.019e-05/0.1234, allocations: 16.02 kB / 333.8 MB, free: 6.305 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.547e-05/0.1234, allocations: 34.56 kB / 333.9 MB, free: 6.262 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.587e-05/0.1235, allocations: 11.81 kB / 333.9 MB, free: 6.25 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002585/0.1237, allocations: 191.5 kB / 334 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.1238, allocations: 0 / 334 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.914e-05/0.1238, allocations: 4 kB / 334.1 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.124, allocations: 45.69 kB / 334.1 MB, free: 5.969 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.485e-05/0.124, allocations: 3.938 kB / 334.1 MB, free: 5.965 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.124, allocations: 3.984 kB / 334.1 MB, free: 5.961 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.124, allocations: 4 kB / 334.1 MB, free: 5.957 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.519e-05/0.1241, allocations: 8 kB / 334.1 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004353/0.1246, allocations: 284.8 kB / 334.4 MB, free: 5.621 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.1248, allocations: 38.56 kB / 334.4 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.1249, allocations: 0 / 334.4 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001716/0.125, allocations: 63.44 kB / 334.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.713e-06/0.1251, allocations: 0 / 334.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004895/0.1256, allocations: 121.3 kB / 334.6 MB, free: 5.375 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.1256, allocations: 51.41 kB / 334.7 MB, free: 5.312 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002424/0.1259, allocations: 185.5 kB / 334.8 MB, free: 5.125 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.649e-05/0.1259, allocations: 33.7 kB / 334.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.041e-05/0.126, allocations: 162.5 kB / 335 MB, free: 4.926 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.925e-05/0.1261, allocations: 15.75 kB / 335.1 MB, free: 4.91 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.772e-06/0.1261, allocations: 3.938 kB / 335.1 MB, free: 4.906 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001274/0.1262, allocations: 318.8 kB / 335.4 MB, free: 4.586 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.577e-05/0.1263, allocations: 19.98 kB / 335.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.81e-05/0.1264, allocations: 16 kB / 335.4 MB, free: 4.551 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.426e-05/0.1265, allocations: 49.69 kB / 335.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.1265, allocations: 0 / 335.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002453/0.1267, allocations: 119.2 kB / 335.6 MB, free: 4.367 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.731e-05/0.1268, allocations: 33.7 kB / 335.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.1268, allocations: 3.938 kB / 335.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.1268, allocations: 0 / 335.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.669e-05/0.1269, allocations: 15.98 kB / 335.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.1269, allocations: 0 / 335.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.018e-05/0.127, allocations: 4 kB / 335.6 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/0.1271, allocations: 7.953 kB / 335.6 MB, free: 4.297 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.0001286/0.1272, allocations: 125.8 kB / 335.8 MB, free: 4.164 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.1272, allocations: 7.906 kB / 335.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.922e-05/0.1273, allocations: 12.59 kB / 335.8 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.891e-06/0.1273, allocations: 4 kB / 335.8 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1273, allocations: 3.984 kB / 335.8 MB, free: 4.133 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1273, allocations: 4 kB / 335.8 MB, free: 4.129 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004842/0.1278, allocations: 338.7 kB / 336.1 MB, free: 3.742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.1279, allocations: 4 kB / 336.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.1279, allocations: 4 kB / 336.1 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-05/0.1279, allocations: 4 kB / 336.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.128, allocations: 0 / 336.1 MB, free: 3.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.128, allocations: 3.938 kB / 336.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.128, allocations: 96 / 336.1 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000219/0.1282, allocations: 179.3 kB / 336.3 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.728e-05/0.1283, allocations: 85.02 kB / 336.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.1283, allocations: 0 / 336.4 MB, free: 3.434 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.37e-05/0.1284, allocations: 4 kB / 336.4 MB, free: 3.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.1285, allocations: 7.984 kB / 336.4 MB, free: 3.422 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.1285, allocations: 4 kB / 336.4 MB, free: 3.418 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000161/0.1287, allocations: 141.6 kB / 336.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1287, allocations: 0 / 336.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003442/0.129, allocations: 27.98 kB / 336.6 MB, free: 3.254 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.001468/0.1305, allocations: 0.9577 MB / 337.5 MB, free: 2.359 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.1308, allocations: 111.3 kB / 337.6 MB, free: 2.238 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.1308, allocations: 0 / 337.6 MB, free: 2.238 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.111e-05/0.1309, allocations: 15.94 kB / 337.7 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003322/0.1312, allocations: 22.73 kB / 337.7 MB, free: 2.203 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009257/0.1322, allocations: 477.1 kB / 338.1 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.1325, allocations: 0.6965 MB / 338.8 MB, free: 0.9609 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.711e-05/0.1326, allocations: 31.42 kB / 338.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of SimCode: time 1.243e-06/0.1326, allocations: 0 / 338.9 MB, free: 0.9297 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.032/3.164, allocations: 2.123 MB / 341 MB, free: 14.77 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test26_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.verboseRead,t_new.y[1],time