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.Test52.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.Test52,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test52",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.178/2.178, allocations: 209.3 MB / 224.8 MB, free: 1.539 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004895, allocations: 20 kB / 282.6 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1173, allocations: 48.71 MB / 331.3 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test52): time 0.002604/0.1199, allocations: 1.286 MB / 332.6 MB, free: 7.609 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001161/0.1211, allocations: 424.6 kB / 333 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.108e-05/0.1213, allocations: 0 / 333 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003124/0.1216, allocations: 27.84 kB / 333 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000224/0.1219, allocations: 39.88 kB / 333.1 MB, free: 7.125 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.1222, allocations: 55.8 kB / 333.1 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001828/0.1224, allocations: 55.88 kB / 333.2 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.1225, allocations: 15.97 kB / 333.2 MB, free: 7 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.981e-05/0.1226, allocations: 31.91 kB / 333.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.538e-05/0.1227, allocations: 19.92 kB / 333.2 MB, free: 6.949 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.161e-05/0.1227, allocations: 4 kB / 333.2 MB, free: 6.945 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001722/0.1229, allocations: 39.86 kB / 333.3 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.502e-05/0.123, allocations: 19.97 kB / 333.3 MB, free: 6.887 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.47e-05/0.1231, allocations: 37.64 kB / 333.3 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1233, allocations: 80.11 kB / 333.4 MB, free: 6.766 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1233, allocations: 0 / 333.4 MB, free: 6.766 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.023e-06/0.1234, allocations: 4 kB / 333.4 MB, free: 6.762 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.52e-06/0.1234, allocations: 0 / 333.4 MB, free: 6.762 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.0007256/0.1241, allocations: 424.6 kB / 333.8 MB, free: 6.293 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.326e-05/0.1242, allocations: 8.031 kB / 333.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.1242, allocations: 30.56 kB / 333.9 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.337e-05/0.1243, allocations: 7.906 kB / 333.9 MB, free: 6.238 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002887/0.1246, allocations: 202.8 kB / 334.1 MB, free: 6 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1246, allocations: 4 kB / 334.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.1247, allocations: 4 kB / 334.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.1248, allocations: 49.67 kB / 334.1 MB, free: 5.938 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.297e-05/0.1248, allocations: 4 kB / 334.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.1249, allocations: 0 / 334.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1249, allocations: 0 / 334.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.973e-05/0.125, allocations: 8 kB / 334.1 MB, free: 5.926 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004993/0.1255, allocations: 288.7 kB / 334.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002682/0.1258, allocations: 50.55 kB / 334.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.285e-05/0.1258, allocations: 0 / 334.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001893/0.126, allocations: 59.48 kB / 334.5 MB, free: 5.465 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.024e-06/0.126, allocations: 0 / 334.5 MB, free: 5.465 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005375/0.1266, allocations: 117.3 kB / 334.6 MB, free: 5.344 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.389e-05/0.1266, allocations: 51.41 kB / 334.7 MB, free: 5.281 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003275/0.127, allocations: 219.2 kB / 334.9 MB, free: 5.055 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.562e-05/0.127, allocations: 29.7 kB / 334.9 MB, free: 5.02 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001237/0.1271, allocations: 166.6 kB / 335.1 MB, free: 4.855 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.1272, allocations: 11.81 kB / 335.1 MB, free: 4.844 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.1272, allocations: 7.938 kB / 335.1 MB, free: 4.836 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.1274, allocations: 314.8 kB / 335.4 MB, free: 4.52 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.475e-05/0.1275, allocations: 19.98 kB / 335.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.054e-05/0.1275, allocations: 19.98 kB / 335.5 MB, free: 4.48 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001018/0.1276, allocations: 49.7 kB / 335.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.1277, allocations: 0 / 335.5 MB, free: 4.426 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002811/0.1279, allocations: 115.3 kB / 335.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.271e-05/0.128, allocations: 33.7 kB / 335.7 MB, free: 4.262 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.781e-05/0.1281, allocations: 3.938 kB / 335.7 MB, free: 4.258 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.1281, allocations: 3.984 kB / 335.7 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.138e-05/0.1282, allocations: 8 kB / 335.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1282, allocations: 0 / 335.7 MB, free: 4.246 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.228e-05/0.1283, allocations: 4 kB / 335.7 MB, free: 4.242 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.1283, allocations: 7.953 kB / 335.7 MB, free: 4.234 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.0001665/0.1285, allocations: 125.8 kB / 335.8 MB, free: 4.102 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.747e-05/0.1286, allocations: 11.97 kB / 335.8 MB, free: 4.09 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.364e-05/0.1286, allocations: 24.98 kB / 335.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.1287, allocations: 0 / 335.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.1287, allocations: 0 / 335.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.1287, allocations: 0 / 335.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005496/0.1292, allocations: 346.5 kB / 336.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.896e-06/0.1293, allocations: 0 / 336.2 MB, free: 3.672 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.856e-05/0.1293, allocations: 7.984 kB / 336.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.292e-06/0.1294, allocations: 0 / 336.2 MB, free: 3.664 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.1294, allocations: 8 kB / 336.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.1294, allocations: 0 / 336.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.1294, allocations: 96 / 336.2 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.1297, allocations: 179.2 kB / 336.4 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.176e-05/0.1297, allocations: 85.02 kB / 336.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.1298, allocations: 3.984 kB / 336.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.936e-05/0.1299, allocations: 0 / 336.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.13, allocations: 8 kB / 336.5 MB, free: 3.352 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.019e-05/0.13, allocations: 8 kB / 336.5 MB, free: 3.344 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002121/0.1302, allocations: 159.9 kB / 336.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.1302, allocations: 0 / 336.6 MB, free: 3.188 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003717/0.1306, allocations: 27.92 kB / 336.7 MB, free: 3.16 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.001698/0.1323, allocations: 0.9657 MB / 337.6 MB, free: 2.254 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.000314/0.1327, allocations: 115.3 kB / 337.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.1327, allocations: 0 / 337.7 MB, free: 2.129 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.167e-05/0.1328, allocations: 12 kB / 337.7 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.1331, allocations: 15.98 kB / 337.8 MB, free: 2.102 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001047/0.1342, allocations: 0.49 MB / 338.3 MB, free: 1.559 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.1347, allocations: 0.7075 MB / 339 MB, free: 0.8281 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.824e-05/0.1348, allocations: 31.42 kB / 339 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of SimCode: time 1.313e-06/0.1348, allocations: 0 / 339 MB, free: 0.7969 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.942/3.077, allocations: 2.234 MB / 341.2 MB, free: 14.57 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test52_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.verboseRead,t_new.y[1],time