Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test12.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.CombiTable1D.Test12,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTable1D_Test12",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.013/2.013, allocations: 209.2 MB / 224.8 MB, free: 0.7617 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004447, allocations: 12 kB / 282.6 MB, free: 9.617 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.1073, allocations: 48.71 MB / 331.3 MB, free: 8.816 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test12): time 0.002327/0.1097, allocations: 1.199 MB / 332.5 MB, free: 7.605 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007119/0.1105, allocations: 249.1 kB / 332.7 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.687e-05/0.1106, allocations: 0 / 332.7 MB, free: 7.359 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001952/0.1108, allocations: 19.86 kB / 332.7 MB, free: 7.34 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001558/0.111, allocations: 19.97 kB / 332.8 MB, free: 7.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.1111, allocations: 31.91 kB / 332.8 MB, free: 7.289 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.1113, allocations: 35.95 kB / 332.8 MB, free: 7.254 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.1114, allocations: 15.97 kB / 332.8 MB, free: 7.238 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.732e-05/0.1115, allocations: 23.86 kB / 332.9 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.274e-05/0.1116, allocations: 19.88 kB / 332.9 MB, free: 7.195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.995e-05/0.1116, allocations: 4 kB / 332.9 MB, free: 7.191 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.421e-05/0.1117, allocations: 11.98 kB / 332.9 MB, free: 7.18 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.557e-05/0.1117, allocations: 15.98 kB / 332.9 MB, free: 7.164 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.637e-05/0.1118, allocations: 29.64 kB / 332.9 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.1119, allocations: 51.92 kB / 333 MB, free: 7.078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.112, allocations: 0 / 333 MB, free: 7.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.112, allocations: 0 / 333 MB, free: 7.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.431e-06/0.112, allocations: 0 / 333 MB, free: 7.078 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005403/0.1125, allocations: 400.2 kB / 333.4 MB, free: 6.637 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.573e-05/0.1126, allocations: 8.031 kB / 333.4 MB, free: 6.629 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.15e-05/0.1126, allocations: 30.56 kB / 333.4 MB, free: 6.59 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.957e-05/0.1127, allocations: 7.906 kB / 333.4 MB, free: 6.582 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002178/0.1129, allocations: 186.9 kB / 333.6 MB, free: 6.359 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.126e-06/0.1129, allocations: 3.938 kB / 333.6 MB, free: 6.355 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.722e-05/0.113, allocations: 7.938 kB / 333.6 MB, free: 6.348 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.1132, allocations: 57.66 kB / 333.7 MB, free: 6.285 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.1132, allocations: 4 kB / 333.7 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.015e-05/0.1132, allocations: 0 / 333.7 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.1132, allocations: 0 / 333.7 MB, free: 6.281 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001583/0.1134, allocations: 27.98 kB / 333.7 MB, free: 6.254 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004889/0.1139, allocations: 280.8 kB / 334 MB, free: 5.93 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/0.1142, allocations: 54.59 kB / 334 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.1142, allocations: 3.984 kB / 334 MB, free: 5.863 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.427e-05/0.1143, allocations: 34.56 kB / 334.1 MB, free: 5.82 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 1.663e-06/0.1143, allocations: 0 / 334.1 MB, free: 5.82 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008649/0.1152, allocations: 165.3 kB / 334.2 MB, free: 5.652 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/0.1152, allocations: 51.41 kB / 334.3 MB, free: 5.59 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001966/0.1154, allocations: 169 kB / 334.5 MB, free: 5.418 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.1155, allocations: 25.7 kB / 334.5 MB, free: 5.387 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.4e-05/0.1156, allocations: 158.6 kB / 334.6 MB, free: 5.23 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.1156, allocations: 27.72 kB / 334.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.191e-06/0.1156, allocations: 0 / 334.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.1157, allocations: 310.8 kB / 335 MB, free: 4.891 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.1159, allocations: 27.98 kB / 335 MB, free: 4.863 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.116, allocations: 36.05 kB / 335 MB, free: 4.828 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001578/0.1162, allocations: 53.67 kB / 335.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/0.1162, allocations: 0 / 335.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003634/0.1166, allocations: 123.3 kB / 335.2 MB, free: 4.637 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.309e-05/0.1167, allocations: 37.7 kB / 335.2 MB, free: 4.594 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1167, allocations: 3.984 kB / 335.2 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.1167, allocations: 0 / 335.2 MB, free: 4.59 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000119/0.1168, allocations: 12 kB / 335.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.1169, allocations: 0 / 335.3 MB, free: 4.578 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.521e-05/0.1169, allocations: 11.94 kB / 335.3 MB, free: 4.566 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.707e-05/0.117, allocations: 4 kB / 335.3 MB, free: 4.562 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 5 * 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.0001117/0.1171, allocations: 125.8 kB / 335.4 MB, free: 4.43 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.613e-05/0.1171, allocations: 3.906 kB / 335.4 MB, free: 4.426 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003992/0.1175, allocations: 113.9 kB / 335.5 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1176, allocations: 0 / 335.5 MB, free: 4.305 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.1176, allocations: 4 kB / 335.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1176, allocations: 0 / 335.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000651/0.1182, allocations: 366.4 kB / 335.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1183, allocations: 0 / 335.9 MB, free: 3.887 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.1184, allocations: 12 kB / 335.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.165e-06/0.1184, allocations: 0 / 335.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1184, allocations: 4 kB / 335.9 MB, free: 3.871 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.868e-06/0.1184, allocations: 11.92 kB / 335.9 MB, free: 3.859 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1184, allocations: 3.953 kB / 335.9 MB, free: 3.855 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003674/0.1188, allocations: 187.8 kB / 336.1 MB, free: 3.656 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.282e-05/0.1189, allocations: 85.09 kB / 336.2 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.1189, allocations: 8 kB / 336.2 MB, free: 3.547 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.119, allocations: 4 kB / 336.2 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.1191, allocations: 7.984 kB / 336.2 MB, free: 3.535 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1191, allocations: 3.953 kB / 336.2 MB, free: 3.531 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001289/0.1193, allocations: 127.2 kB / 336.3 MB, free: 3.406 MB / 282.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1193, allocations: 3.938 kB / 336.3 MB, free: 3.402 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003069/0.1196, allocations: 12 kB / 336.3 MB, free: 3.391 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.001235/0.1208, allocations: 0.8671 MB / 337.2 MB, free: 2.551 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003892/0.1212, allocations: 119.3 kB / 337.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1213, allocations: 0 / 337.3 MB, free: 2.422 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001512/0.1214, allocations: 35.98 kB / 337.3 MB, free: 2.387 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.1217, allocations: 7.984 kB / 337.4 MB, free: 2.379 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008567/0.1226, allocations: 452.1 kB / 337.8 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002886/0.1229, allocations: 0.7043 MB / 338.5 MB, free: 1.152 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.326e-05/0.123, allocations: 19.44 kB / 338.5 MB, free: 1.133 MB / 282.7 MB Notification: Performance of SimCode: time 7.41e-07/0.123, allocations: 0 / 338.5 MB, free: 1.133 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.838/2.961, allocations: 1.62 MB / 340.1 MB, free: 14.99 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1D.Test12_res.mat failed! " Variables in the reference:time,t_new.y[1],d_t_new.y,clock.y Variables in the result:clock.offset,clock.startTime,clock.y,d_t_new.u,d_t_new.y,der(d_t_new.u),der(t_new.u[1]),t_new.columns[1],t_new.n,t_new.smoothness,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.u[1],t_new.verboseRead,t_new.y[1],time