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.Test42.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.Test42,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.957/1.957, allocations: 209.3 MB / 224.8 MB, free: 1.68 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005998/0.0006001, allocations: 15.98 kB / 282.6 MB, free: 9.734 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1081/0.1087, allocations: 48.71 MB / 331.3 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.002428/0.1112, allocations: 1.29 MB / 332.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1123, allocations: 420.7 kB / 333 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.388e-05/0.1124, allocations: 0 / 333 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002542/0.1126, allocations: 27.84 kB / 333 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001825/0.1128, allocations: 31.95 kB / 333 MB, free: 7.16 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002274/0.1131, allocations: 63.72 kB / 333.1 MB, free: 7.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001535/0.1132, allocations: 51.94 kB / 333.2 MB, free: 7.047 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.392e-05/0.1133, allocations: 11.92 kB / 333.2 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.396e-05/0.1134, allocations: 31.86 kB / 333.2 MB, free: 7.004 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.207e-05/0.1135, allocations: 31.89 kB / 333.2 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.562e-05/0.1135, allocations: 0 / 333.2 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001271/0.1137, allocations: 31.94 kB / 333.3 MB, free: 6.941 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.675e-05/0.1137, allocations: 19.92 kB / 333.3 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.1138, allocations: 25.7 kB / 333.3 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.114, allocations: 88.09 kB / 333.4 MB, free: 6.805 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.564e-06/0.114, allocations: 7.938 kB / 333.4 MB, free: 6.797 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.114, allocations: 0 / 333.4 MB, free: 6.797 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.114, allocations: 0 / 333.4 MB, free: 6.797 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.0005651/0.1146, allocations: 408.7 kB / 333.8 MB, free: 6.344 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1147, allocations: 12.03 kB / 333.8 MB, free: 6.332 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.239e-05/0.1147, allocations: 38.55 kB / 333.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.953e-05/0.1148, allocations: 11.81 kB / 333.9 MB, free: 6.273 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.115, allocations: 191.5 kB / 334 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.115, allocations: 0 / 334 MB, free: 6.047 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.645e-05/0.1151, allocations: 4 kB / 334.1 MB, free: 6.043 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/0.1152, allocations: 41.69 kB / 334.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.1153, allocations: 0 / 334.1 MB, free: 5.996 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.123e-05/0.1153, allocations: 4 kB / 334.1 MB, free: 5.992 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.1153, allocations: 7.922 kB / 334.1 MB, free: 5.984 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.231e-05/0.1154, allocations: 12 kB / 334.1 MB, free: 5.973 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.1158, allocations: 284.8 kB / 334.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002451/0.116, allocations: 42.55 kB / 334.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.036e-05/0.1161, allocations: 0 / 334.4 MB, free: 5.594 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001754/0.1163, allocations: 63.44 kB / 334.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.773e-06/0.1163, allocations: 0 / 334.5 MB, free: 5.52 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004616/0.1168, allocations: 117.3 kB / 334.6 MB, free: 5.398 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.1168, allocations: 59.41 kB / 334.7 MB, free: 5.328 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002343/0.1171, allocations: 185.5 kB / 334.9 MB, free: 5.141 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.1171, allocations: 25.7 kB / 334.9 MB, free: 5.109 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.484e-05/0.1172, allocations: 162.5 kB / 335 MB, free: 4.949 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.482e-05/0.1172, allocations: 23.75 kB / 335.1 MB, free: 4.926 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.192e-06/0.1173, allocations: 0 / 335.1 MB, free: 4.926 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.1174, allocations: 314.8 kB / 335.4 MB, free: 4.609 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.499e-05/0.1175, allocations: 19.98 kB / 335.4 MB, free: 4.59 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.722e-05/0.1175, allocations: 20 kB / 335.4 MB, free: 4.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.419e-05/0.1176, allocations: 53.72 kB / 335.5 MB, free: 4.512 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1177, allocations: 0 / 335.5 MB, free: 4.512 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002344/0.1179, allocations: 115.2 kB / 335.6 MB, free: 4.387 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.995e-05/0.118, allocations: 29.7 kB / 335.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.118, allocations: 0 / 335.6 MB, free: 4.352 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/0.118, allocations: 8 kB / 335.6 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.899e-05/0.1181, allocations: 15.92 kB / 335.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.1181, allocations: 0 / 335.6 MB, free: 4.328 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.044e-05/0.1182, allocations: 4 kB / 335.6 MB, free: 4.324 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.632e-05/0.1182, allocations: 7.953 kB / 335.6 MB, free: 4.316 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.0001263/0.1183, allocations: 125.8 kB / 335.8 MB, free: 4.184 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.246e-05/0.1184, allocations: 7.906 kB / 335.8 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.859e-05/0.1184, allocations: 16.31 kB / 335.8 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1184, allocations: 4 kB / 335.8 MB, free: 4.152 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.1185, allocations: 4.062 kB / 335.8 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.1185, allocations: 0 / 335.8 MB, free: 4.148 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.1189, allocations: 334.5 kB / 336.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1189, allocations: 0 / 336.1 MB, free: 3.766 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.071e-05/0.119, allocations: 8 kB / 336.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.624e-06/0.119, allocations: 0 / 336.1 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.119, allocations: 4 kB / 336.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.119, allocations: 0 / 336.1 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.119, allocations: 3.938 kB / 336.1 MB, free: 3.75 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002213/0.1193, allocations: 175.4 kB / 336.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.1193, allocations: 85.02 kB / 336.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.1194, allocations: 0 / 336.4 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.628e-05/0.1195, allocations: 4 kB / 336.4 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.817e-05/0.1195, allocations: 3.984 kB / 336.4 MB, free: 3.453 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.1196, allocations: 8 kB / 336.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001603/0.1197, allocations: 137.6 kB / 336.5 MB, free: 3.312 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.1197, allocations: 4 kB / 336.5 MB, free: 3.309 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003715/0.1201, allocations: 35.92 kB / 336.6 MB, free: 3.273 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.001453/0.1216, allocations: 0.9688 MB / 337.5 MB, free: 2.371 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002421/0.1218, allocations: 103.4 kB / 337.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.1219, allocations: 0 / 337.6 MB, free: 2.258 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.587e-05/0.1219, allocations: 27.88 kB / 337.7 MB, free: 2.23 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002988/0.1223, allocations: 7.984 kB / 337.7 MB, free: 2.223 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008766/0.1231, allocations: 481.1 kB / 338.1 MB, free: 1.699 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.1235, allocations: 0.7004 MB / 338.8 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.244e-05/0.1236, allocations: 23.42 kB / 338.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of SimCode: time 6.92e-07/0.1236, allocations: 0 / 338.9 MB, free: 0.9492 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.053/3.177, allocations: 2.121 MB / 341 MB, free: 14.78 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test42_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