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.Test51.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.Test51,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.969/1.969, allocations: 209.2 MB / 224.8 MB, free: 1.551 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004468/0.0004468, allocations: 16 kB / 282.6 MB, free: 9.723 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1061/0.1066, allocations: 48.71 MB / 331.3 MB, free: 8.918 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002404/0.109, allocations: 1.29 MB / 332.6 MB, free: 7.617 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001078/0.1101, allocations: 420.6 kB / 333 MB, free: 7.203 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.122e-05/0.1102, allocations: 4 kB / 333 MB, free: 7.199 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002636/0.1105, allocations: 27.84 kB / 333 MB, free: 7.172 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.1107, allocations: 39.88 kB / 333.1 MB, free: 7.133 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.111, allocations: 55.8 kB / 333.1 MB, free: 7.078 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.00016/0.1111, allocations: 51.94 kB / 333.2 MB, free: 7.027 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.1112, allocations: 11.97 kB / 333.2 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.241e-05/0.1113, allocations: 35.84 kB / 333.2 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.532e-05/0.1114, allocations: 23.92 kB / 333.2 MB, free: 6.957 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.1114, allocations: 4 kB / 333.2 MB, free: 6.953 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1116, allocations: 27.94 kB / 333.3 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.335e-05/0.1117, allocations: 27.89 kB / 333.3 MB, free: 6.898 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 5.405e-05/0.1117, allocations: 37.64 kB / 333.3 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002119/0.1119, allocations: 80.12 kB / 333.4 MB, free: 6.777 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.334e-06/0.112, allocations: 0 / 333.4 MB, free: 6.777 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.112, allocations: 0 / 333.4 MB, free: 6.777 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.112, 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.0005863/0.1126, allocations: 428.6 kB / 333.8 MB, free: 6.305 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.1126, allocations: 8.031 kB / 333.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.884e-05/0.1127, allocations: 34.55 kB / 333.9 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.116e-05/0.1127, allocations: 7.906 kB / 333.9 MB, free: 6.246 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002665/0.113, allocations: 198.8 kB / 334.1 MB, free: 6.012 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.113, allocations: 4 kB / 334.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.1131, allocations: 0 / 334.1 MB, free: 6.008 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.1132, allocations: 49.62 kB / 334.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.1133, allocations: 0 / 334.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.519e-05/0.1133, allocations: 11.98 kB / 334.1 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.1133, allocations: 0 / 334.1 MB, free: 5.941 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.167e-05/0.1134, allocations: 8 kB / 334.1 MB, free: 5.934 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.1138, allocations: 284.8 kB / 334.4 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002247/0.1141, allocations: 42.5 kB / 334.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.1141, allocations: 0 / 334.5 MB, free: 5.555 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000173/0.1143, allocations: 67.48 kB / 334.5 MB, free: 5.477 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 5.36e-06/0.1143, allocations: 3.984 kB / 334.5 MB, free: 5.473 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004682/0.1148, allocations: 113.3 kB / 334.6 MB, free: 5.355 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1148, allocations: 55.41 kB / 334.7 MB, free: 5.289 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.1151, allocations: 215.2 kB / 334.9 MB, free: 5.066 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.187e-05/0.1152, allocations: 25.7 kB / 334.9 MB, free: 5.035 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.88e-05/0.1153, allocations: 170.5 kB / 335.1 MB, free: 4.867 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.404e-05/0.1153, allocations: 7.812 kB / 335.1 MB, free: 4.859 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.736e-06/0.1153, allocations: 11.94 kB / 335.1 MB, free: 4.848 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.1155, allocations: 314.8 kB / 335.4 MB, free: 4.531 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.589e-05/0.1156, allocations: 19.98 kB / 335.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.691e-05/0.1156, allocations: 16 kB / 335.5 MB, free: 4.496 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.679e-05/0.1157, allocations: 53.62 kB / 335.5 MB, free: 4.438 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.1157, allocations: 0 / 335.5 MB, free: 4.438 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002417/0.116, allocations: 115.4 kB / 335.6 MB, free: 4.312 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.1161, allocations: 29.7 kB / 335.7 MB, free: 4.277 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1161, allocations: 7.938 kB / 335.7 MB, free: 4.27 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1161, allocations: 4 kB / 335.7 MB, free: 4.266 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.11e-05/0.1162, allocations: 11.98 kB / 335.7 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.1162, allocations: 3.938 kB / 335.7 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.299e-05/0.1163, allocations: 0 / 335.7 MB, free: 4.25 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.1163, allocations: 7.953 kB / 335.7 MB, free: 4.242 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.0001314/0.1164, allocations: 129.8 kB / 335.8 MB, free: 4.105 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.673e-05/0.1165, allocations: 7.906 kB / 335.8 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.908e-05/0.1165, allocations: 17 kB / 335.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.1166, allocations: 0 / 335.8 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.1166, allocations: 4 kB / 335.8 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.1166, allocations: 3.984 kB / 335.8 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004423/0.117, allocations: 334.7 kB / 336.2 MB, free: 3.691 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.1171, allocations: 7.938 kB / 336.2 MB, free: 3.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.477e-05/0.1171, allocations: 8 kB / 336.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.1171, allocations: 0 / 336.2 MB, free: 3.676 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.1172, allocations: 7.984 kB / 336.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1172, allocations: 0 / 336.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.1172, allocations: 96 / 336.2 MB, free: 3.668 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000217/0.1174, allocations: 179.2 kB / 336.4 MB, free: 3.477 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.067e-05/0.1175, allocations: 85.02 kB / 336.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.1175, allocations: 0 / 336.5 MB, free: 3.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.092e-05/0.1176, allocations: 3.984 kB / 336.5 MB, free: 3.371 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.297e-05/0.1177, allocations: 8 kB / 336.5 MB, free: 3.363 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.1177, allocations: 4 kB / 336.5 MB, free: 3.359 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.000189/0.1179, allocations: 155.9 kB / 336.6 MB, free: 3.207 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1179, allocations: 4 kB / 336.6 MB, free: 3.203 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003356/0.1183, allocations: 31.92 kB / 336.7 MB, free: 3.172 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.001455/0.1197, allocations: 0.9658 MB / 337.6 MB, free: 2.266 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002355/0.12, allocations: 107.3 kB / 337.7 MB, free: 2.148 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.12, allocations: 4 kB / 337.7 MB, free: 2.145 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.91e-05/0.1201, allocations: 12 kB / 337.7 MB, free: 2.133 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003004/0.1204, allocations: 15.98 kB / 337.8 MB, free: 2.117 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009065/0.1213, allocations: 0.49 MB / 338.2 MB, free: 1.574 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003743/0.1217, allocations: 0.7075 MB / 339 MB, free: 0.8438 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.986e-05/0.1218, allocations: 31.42 kB / 339 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of SimCode: time 7.72e-07/0.1218, allocations: 0 / 339 MB, free: 0.8125 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.852/2.974, allocations: 2.239 MB / 341.2 MB, free: 14.83 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test51_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