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.Test62.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.Test62,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.145/2.145, allocations: 209.2 MB / 224.8 MB, free: 1.695 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006185/0.0006188, allocations: 16 kB / 282.6 MB, free: 9.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1186, allocations: 48.71 MB / 331.3 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.002585/0.1213, allocations: 1.263 MB / 332.5 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001073/0.1224, allocations: 396.8 kB / 332.9 MB, free: 7.277 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.637e-05/0.1225, allocations: 4 kB / 332.9 MB, free: 7.273 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003044/0.1228, allocations: 31.83 kB / 333 MB, free: 7.242 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.123, allocations: 31.95 kB / 333 MB, free: 7.211 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.1233, allocations: 59.73 kB / 333.1 MB, free: 7.152 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.1235, allocations: 43.94 kB / 333.1 MB, free: 7.109 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.086e-05/0.1235, allocations: 7.984 kB / 333.1 MB, free: 7.102 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.373e-05/0.1236, allocations: 27.91 kB / 333.1 MB, free: 7.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.393e-05/0.1237, allocations: 35.84 kB / 333.2 MB, free: 7.039 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.155e-05/0.1238, allocations: 4 kB / 333.2 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.64e-05/0.1239, allocations: 12 kB / 333.2 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 8.35e-05/0.124, allocations: 27.91 kB / 333.2 MB, free: 6.996 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.74e-05/0.1241, allocations: 33.7 kB / 333.2 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.1243, allocations: 80.06 kB / 333.3 MB, free: 6.879 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.1243, allocations: 0 / 333.3 MB, free: 6.879 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1243, allocations: 0 / 333.3 MB, free: 6.879 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1243, allocations: 3.938 kB / 333.3 MB, free: 6.875 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0006377/0.125, allocations: 432.5 kB / 333.7 MB, free: 6.398 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.125, allocations: 8.031 kB / 333.8 MB, free: 6.391 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.994e-05/0.1251, allocations: 30.56 kB / 333.8 MB, free: 6.352 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.461e-05/0.1251, allocations: 11.91 kB / 333.8 MB, free: 6.34 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002895/0.1254, allocations: 202.8 kB / 334 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.234e-05/0.1255, allocations: 0 / 334 MB, free: 6.102 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.1255, allocations: 8 kB / 334 MB, free: 6.094 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001314/0.1256, allocations: 33.69 kB / 334 MB, free: 6.055 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.1257, allocations: 4 kB / 334 MB, free: 6.051 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.281e-05/0.1257, allocations: 4 kB / 334 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-06/0.1257, allocations: 7.938 kB / 334.1 MB, free: 6.039 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.232e-05/0.1258, allocations: 11.94 kB / 334.1 MB, free: 6.027 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002582/0.126, allocations: 185.6 kB / 334.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.654e-05/0.1261, allocations: 30.56 kB / 334.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.1262, allocations: 0 / 334.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001962/0.1264, allocations: 67.3 kB / 334.3 MB, free: 5.68 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.1264, allocations: 0 / 334.3 MB, free: 5.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002654/0.1267, allocations: 69.58 kB / 334.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.597e-05/0.1267, allocations: 51.41 kB / 334.5 MB, free: 5.543 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003572/0.1271, allocations: 243.5 kB / 334.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.1271, allocations: 29.69 kB / 334.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.1273, allocations: 170.6 kB / 334.9 MB, free: 5.086 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.489e-05/0.1273, allocations: 3.906 kB / 334.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.7e-06/0.1273, allocations: 0 / 334.9 MB, free: 5.082 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.1275, allocations: 318.8 kB / 335.2 MB, free: 4.762 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.726e-05/0.1275, allocations: 15.98 kB / 335.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.056e-05/0.1276, allocations: 19.97 kB / 335.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.381e-05/0.1277, allocations: 45.64 kB / 335.3 MB, free: 4.676 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.598e-06/0.1277, allocations: 3.953 kB / 335.3 MB, free: 4.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002089/0.1279, allocations: 95.39 kB / 335.4 MB, free: 4.566 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.128, allocations: 37.69 kB / 335.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.128, allocations: 0 / 335.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.1281, allocations: 0 / 335.4 MB, free: 4.523 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.17e-05/0.1282, allocations: 8 kB / 335.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1282, allocations: 0 / 335.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.236e-05/0.1283, allocations: 7.906 kB / 335.4 MB, free: 4.508 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.1283, allocations: 4 kB / 335.4 MB, free: 4.504 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 (5): * Single equations (assignments): 4 * 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.0001552/0.1284, allocations: 129.8 kB / 335.6 MB, free: 4.367 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.1285, allocations: 19.84 kB / 335.6 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.968e-05/0.1286, allocations: 12.88 kB / 335.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.1286, allocations: 0 / 335.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.1286, allocations: 0 / 335.6 MB, free: 4.332 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.484e-06/0.1286, allocations: 8 kB / 335.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.1288, allocations: 185.6 kB / 335.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1288, allocations: 0 / 335.8 MB, free: 4.094 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.709e-05/0.1289, allocations: 7.953 kB / 335.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.1289, allocations: 0 / 335.8 MB, free: 4.086 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.1289, allocations: 7.922 kB / 335.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.1289, allocations: 0 / 335.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1289, allocations: 0 / 335.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001794/0.1291, allocations: 84.94 kB / 335.9 MB, free: 3.977 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.625e-05/0.1292, allocations: 93.02 kB / 336 MB, free: 3.867 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.03e-05/0.1292, allocations: 3.953 kB / 336 MB, free: 3.863 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.192e-05/0.1293, allocations: 7.984 kB / 336 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.881e-05/0.1294, allocations: 0 / 336 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.1294, allocations: 4 kB / 336 MB, free: 3.852 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002427/0.1296, allocations: 189.1 kB / 336.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.1296, allocations: 0 / 336.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.1299, allocations: 19.94 kB / 336.2 MB, free: 3.648 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 (3): * Single equations (assignments): 2 * 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.001356/0.1313, allocations: 0.8567 MB / 337.1 MB, free: 2.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002302/0.1316, allocations: 91.39 kB / 337.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1316, allocations: 0 / 337.1 MB, free: 2.738 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.033e-05/0.1316, allocations: 15.91 kB / 337.2 MB, free: 2.723 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002918/0.132, allocations: 16.14 kB / 337.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009621/0.1329, allocations: 0.5105 MB / 337.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000375/0.1333, allocations: 0.7121 MB / 338.4 MB, free: 1.406 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.117e-05/0.1334, allocations: 31.42 kB / 338.4 MB, free: 1.375 MB / 282.7 MB Notification: Performance of SimCode: time 9.62e-07/0.1334, allocations: 0 / 338.4 MB, free: 1.375 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.737/2.87, allocations: 2.175 MB / 340.6 MB, free: 14.5 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat failed! " Variables in the reference:time,t_new.nextTimeEvent,t_new.y[1] Variables in the result: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