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.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.068/2.068, allocations: 209.2 MB / 224.8 MB, free: 0.7617 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005153/0.0005154, allocations: 12 kB / 282.6 MB, free: 9.609 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1165, allocations: 48.71 MB / 331.3 MB, free: 8.809 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002477/0.119, allocations: 1.29 MB / 332.6 MB, free: 7.508 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1201, allocations: 424.7 kB / 333 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.557e-05/0.1202, allocations: 0 / 333 MB, free: 7.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002621/0.1205, allocations: 19.86 kB / 333 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001938/0.1207, allocations: 35.94 kB / 333 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000242/0.121, allocations: 63.75 kB / 333.1 MB, free: 6.973 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001647/0.1211, allocations: 59.92 kB / 333.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.232e-05/0.1213, allocations: 7.984 kB / 333.2 MB, free: 6.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.324e-05/0.1214, allocations: 35.89 kB / 333.2 MB, free: 6.871 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.044e-05/0.1215, allocations: 27.86 kB / 333.2 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.1215, allocations: 0 / 333.2 MB, free: 6.844 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001275/0.1216, allocations: 35.86 kB / 333.3 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.095e-05/0.1217, allocations: 27.91 kB / 333.3 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.269e-05/0.1218, allocations: 37.64 kB / 333.3 MB, free: 6.738 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002223/0.122, allocations: 92.11 kB / 333.4 MB, free: 6.648 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.122, allocations: 0 / 333.4 MB, free: 6.648 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.122, allocations: 0 / 333.4 MB, free: 6.648 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.268e-06/0.122, allocations: 0 / 333.4 MB, free: 6.648 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.0006068/0.1227, allocations: 436.5 kB / 333.9 MB, free: 6.168 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.1227, allocations: 8.031 kB / 333.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.161e-05/0.1228, allocations: 38.55 kB / 333.9 MB, free: 6.113 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.078e-05/0.1228, allocations: 7.906 kB / 333.9 MB, free: 6.105 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002615/0.1231, allocations: 210.8 kB / 334.1 MB, free: 5.859 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.1231, allocations: 4 kB / 334.1 MB, free: 5.855 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.14e-05/0.1232, allocations: 4 kB / 334.1 MB, free: 5.852 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001377/0.1233, allocations: 49.67 kB / 334.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.196e-05/0.1233, allocations: 0 / 334.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.109e-05/0.1233, allocations: 0 / 334.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.1234, allocations: 0 / 334.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.449e-05/0.1235, allocations: 8 kB / 334.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004513/0.1239, allocations: 292.8 kB / 334.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.1242, allocations: 46.5 kB / 334.5 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/0.1242, allocations: 0 / 334.5 MB, free: 5.398 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.1244, allocations: 59.48 kB / 334.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.753e-06/0.1244, allocations: 0 / 334.6 MB, free: 5.328 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.000471/0.1249, allocations: 117.2 kB / 334.7 MB, free: 5.207 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.1249, allocations: 55.41 kB / 334.7 MB, free: 5.141 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003421/0.1253, allocations: 247.5 kB / 335 MB, free: 4.883 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.299e-05/0.1253, allocations: 25.7 kB / 335 MB, free: 4.852 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001092/0.1255, allocations: 170.4 kB / 335.2 MB, free: 4.684 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.886e-05/0.1255, allocations: 19.88 kB / 335.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.583e-06/0.1255, allocations: 0 / 335.2 MB, free: 4.664 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/0.1257, allocations: 322.8 kB / 335.5 MB, free: 4.34 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.957e-05/0.1257, allocations: 12 kB / 335.5 MB, free: 4.328 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.373e-05/0.1258, allocations: 27.92 kB / 335.5 MB, free: 4.301 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.157e-05/0.1259, allocations: 49.73 kB / 335.6 MB, free: 4.246 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1259, allocations: 4 kB / 335.6 MB, free: 4.242 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002362/0.1262, allocations: 111.3 kB / 335.7 MB, free: 4.121 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.116e-05/0.1262, allocations: 37.69 kB / 335.7 MB, free: 4.078 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.1263, allocations: 3.938 kB / 335.7 MB, free: 4.074 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.689e-05/0.1263, allocations: 4 kB / 335.7 MB, free: 4.07 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.411e-05/0.1264, allocations: 16 kB / 335.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1264, allocations: 0 / 335.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.098e-05/0.1265, allocations: 0 / 335.8 MB, free: 4.055 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.793e-05/0.1265, allocations: 7.984 kB / 335.8 MB, free: 4.047 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.0001587/0.1267, allocations: 141.8 kB / 335.9 MB, free: 3.898 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.714e-05/0.1267, allocations: 7.906 kB / 335.9 MB, free: 3.891 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.399e-05/0.1268, allocations: 17 kB / 335.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1268, allocations: 0 / 335.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1268, allocations: 0 / 335.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.1268, allocations: 0 / 335.9 MB, free: 3.875 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000467/0.1273, allocations: 354.4 kB / 336.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.1273, allocations: 0 / 336.3 MB, free: 3.473 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.162e-05/0.1274, allocations: 8.266 kB / 336.3 MB, free: 3.465 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.1274, allocations: 4 kB / 336.3 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.1274, allocations: 4 kB / 336.3 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.1274, allocations: 160 / 336.3 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.1274, allocations: 0 / 336.3 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002249/0.1277, allocations: 171.4 kB / 336.5 MB, free: 3.273 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.595e-05/0.1277, allocations: 88.92 kB / 336.6 MB, free: 3.168 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.1278, allocations: 3.984 kB / 336.6 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.195e-05/0.1279, allocations: 8 kB / 336.6 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.734e-05/0.1279, allocations: 7.938 kB / 336.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.128, allocations: 4 kB / 336.6 MB, free: 3.145 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0002333/0.1282, allocations: 189.1 kB / 336.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1282, allocations: 0 / 336.8 MB, free: 2.961 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003474/0.1286, allocations: 27.98 kB / 336.8 MB, free: 2.934 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.001471/0.1301, allocations: 0.9756 MB / 337.8 MB, free: 2.02 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002424/0.1303, allocations: 107.3 kB / 337.9 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1303, allocations: 0 / 337.9 MB, free: 1.902 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.926e-05/0.1304, allocations: 16 kB / 337.9 MB, free: 1.887 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.1307, allocations: 16.17 kB / 337.9 MB, free: 1.871 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.1318, allocations: 0.534 MB / 338.4 MB, free: 1.285 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.1322, allocations: 0.7082 MB / 339.1 MB, free: 0.5508 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001009/0.1323, allocations: 35.42 kB / 339.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of SimCode: time 9.12e-07/0.1323, allocations: 0 / 339.2 MB, free: 0.5156 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.028/3.16, allocations: 2.394 MB / 341.6 MB, free: 14.63 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat failed! Error: Could not read variable t_new.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat. Warning: Get data of variable t_new.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test46_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.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