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.Test61.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.Test61,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.149/2.149, allocations: 209.2 MB / 224.8 MB, free: 1.547 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004672/0.0004675, allocations: 16 kB / 282.6 MB, free: 9.719 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.113/0.1135, allocations: 48.71 MB / 331.3 MB, free: 8.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.002503/0.1161, allocations: 1.255 MB / 332.5 MB, free: 7.652 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001062/0.1172, allocations: 404.8 kB / 332.9 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.1173, allocations: 0 / 332.9 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002997/0.1176, allocations: 27.83 kB / 333 MB, free: 7.227 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000209/0.1179, allocations: 35.89 kB / 333 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.1181, allocations: 55.81 kB / 333.1 MB, free: 7.137 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001609/0.1183, allocations: 47.94 kB / 333.1 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.644e-05/0.1184, allocations: 7.984 kB / 333.1 MB, free: 7.082 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.421e-05/0.1185, allocations: 39.83 kB / 333.1 MB, free: 7.043 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.263e-05/0.1186, allocations: 19.92 kB / 333.2 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.1186, allocations: 3.938 kB / 333.2 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1187, allocations: 20 kB / 333.2 MB, free: 7 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.1188, allocations: 27.89 kB / 333.2 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.498e-05/0.1189, allocations: 41.64 kB / 333.3 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002126/0.1191, allocations: 72.12 kB / 333.3 MB, free: 6.855 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.1191, allocations: 4 kB / 333.3 MB, free: 6.852 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.924e-06/0.1191, allocations: 0 / 333.3 MB, free: 6.852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.199e-06/0.1192, allocations: 4 kB / 333.3 MB, free: 6.848 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.0006169/0.1198, allocations: 427.5 kB / 333.8 MB, free: 6.379 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.1198, allocations: 12.03 kB / 333.8 MB, free: 6.367 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.1199, allocations: 30.56 kB / 333.8 MB, free: 6.328 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.12, allocations: 7.906 kB / 333.8 MB, free: 6.32 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002849/0.1203, allocations: 202.8 kB / 334 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.1203, allocations: 4 kB / 334 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.876e-05/0.1203, allocations: 0 / 334 MB, free: 6.078 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.1205, allocations: 49.62 kB / 334.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1205, allocations: 0 / 334.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1205, allocations: 0 / 334.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1205, allocations: 0 / 334.1 MB, free: 6.023 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.501e-05/0.1206, allocations: 4 kB / 334.1 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002489/0.1208, allocations: 193.6 kB / 334.2 MB, free: 5.781 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.793e-05/0.1209, allocations: 26.56 kB / 334.3 MB, free: 5.746 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.072e-05/0.121, allocations: 4 kB / 334.3 MB, free: 5.742 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001817/0.1212, allocations: 59.31 kB / 334.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.1212, allocations: 0 / 334.3 MB, free: 5.672 MB / 282.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002541/0.1214, allocations: 69.58 kB / 334.4 MB, free: 5.598 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.1215, allocations: 51.41 kB / 334.5 MB, free: 5.535 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003484/0.1219, allocations: 247.4 kB / 334.7 MB, free: 5.277 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 3.708e-05/0.1219, allocations: 29.7 kB / 334.7 MB, free: 5.242 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.122, allocations: 174.5 kB / 334.9 MB, free: 5.07 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.695e-05/0.1221, allocations: 3.906 kB / 334.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.344e-05/0.1221, allocations: 8 kB / 334.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1223, allocations: 310.8 kB / 335.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.524e-05/0.1223, allocations: 15.98 kB / 335.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.667e-05/0.1224, allocations: 12 kB / 335.2 MB, free: 4.719 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.794e-05/0.1225, allocations: 41.7 kB / 335.3 MB, free: 4.672 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.1225, allocations: 3.953 kB / 335.3 MB, free: 4.668 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002147/0.1227, allocations: 103.4 kB / 335.4 MB, free: 4.555 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.714e-05/0.1228, allocations: 33.7 kB / 335.4 MB, free: 4.516 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1228, allocations: 4.078 kB / 335.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.1228, allocations: 0 / 335.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.83e-05/0.1229, allocations: 8 kB / 335.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.1229, allocations: 7.922 kB / 335.4 MB, free: 4.496 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.497e-05/0.123, allocations: 3.906 kB / 335.4 MB, free: 4.492 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.1231, allocations: 7.938 kB / 335.4 MB, free: 4.484 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.0001493/0.1232, allocations: 130 kB / 335.6 MB, free: 4.348 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.1233, allocations: 19.95 kB / 335.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.777e-05/0.1233, allocations: 16.94 kB / 335.6 MB, free: 4.309 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.23e-06/0.1233, allocations: 8 kB / 335.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1234, allocations: 0 / 335.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1234, allocations: 0 / 335.6 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000195/0.1236, allocations: 181.6 kB / 335.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1236, allocations: 0 / 335.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.851e-05/0.1236, allocations: 7.953 kB / 335.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.1236, allocations: 0 / 335.8 MB, free: 4.066 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1237, allocations: 3.984 kB / 335.8 MB, free: 4.062 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1237, allocations: 3.938 kB / 335.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1237, allocations: 0 / 335.8 MB, free: 4.059 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001734/0.1239, allocations: 96.88 kB / 335.9 MB, free: 3.945 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.824e-05/0.124, allocations: 81.02 kB / 336 MB, free: 3.848 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.124, allocations: 7.953 kB / 336 MB, free: 3.84 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.468e-05/0.1241, allocations: 3.984 kB / 336 MB, free: 3.836 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.176e-05/0.1241, allocations: 4 kB / 336 MB, free: 3.832 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-05/0.1242, allocations: 4 kB / 336 MB, free: 3.828 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002368/0.1244, allocations: 185.1 kB / 336.2 MB, free: 3.648 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1244, allocations: 4 kB / 336.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.000298/0.1247, allocations: 23.94 kB / 336.2 MB, free: 3.621 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.001335/0.1261, allocations: 0.8342 MB / 337 MB, free: 2.832 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002257/0.1263, allocations: 95.33 kB / 337.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.1263, allocations: 0 / 337.1 MB, free: 2.727 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.383e-05/0.1264, allocations: 19.98 kB / 337.2 MB, free: 2.707 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002883/0.1267, allocations: 16.12 kB / 337.2 MB, free: 2.691 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009453/0.1277, allocations: 0.5066 MB / 337.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003779/0.1281, allocations: 0.7082 MB / 338.4 MB, free: 1.398 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.468e-05/0.1282, allocations: 35.42 kB / 338.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of SimCode: time 1.422e-06/0.1282, allocations: 0 / 338.4 MB, free: 1.363 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.754/2.882, allocations: 2.185 MB / 340.6 MB, free: 14.92 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test61_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