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.Test72.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.Test72,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test72",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.135/2.135, allocations: 209.2 MB / 224.8 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006436/0.0006438, allocations: 12 kB / 282.6 MB, free: 9.594 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3707/0.3714, allocations: 48.71 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.002416/0.3739, allocations: 1.34 MB / 332.6 MB, free: 5.82 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001543/0.3755, allocations: 0.6734 MB / 333.3 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.5e-05/0.3756, allocations: 0 / 333.3 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000708/0.3763, allocations: 278.1 kB / 333.6 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000446/0.3768, allocations: 170.3 kB / 333.7 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000529/0.3773, allocations: 109.3 kB / 333.8 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003363/0.3777, allocations: 148.4 kB / 334 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.695e-05/0.3777, allocations: 11.81 kB / 334 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.3779, allocations: 103.5 kB / 334.1 MB, free: 5.168 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.3782, allocations: 136 kB / 334.2 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.289e-05/0.3783, allocations: 3.688 kB / 334.2 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002839/0.3786, allocations: 57.27 kB / 334.3 MB, free: 5.137 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.3788, allocations: 127.8 kB / 334.4 MB, free: 5.105 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.57e-05/0.3789, allocations: 78.44 kB / 334.5 MB, free: 5.035 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000542/0.3794, allocations: 295.8 kB / 334.8 MB, free: 4.961 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3794, allocations: 0 / 334.8 MB, free: 4.961 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.015e-06/0.3794, allocations: 0.8438 kB / 334.8 MB, free: 4.961 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.783e-06/0.3795, allocations: 4.969 kB / 334.8 MB, free: 4.957 MB / 266.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.001045/0.3805, allocations: 0.6997 MB / 335.5 MB, free: 4.34 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.171e-05/0.3806, allocations: 10.2 kB / 335.5 MB, free: 4.34 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.712e-05/0.3806, allocations: 39.69 kB / 335.5 MB, free: 4.293 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.053e-05/0.3807, allocations: 44.09 kB / 335.6 MB, free: 4.27 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007167/0.3814, allocations: 404 kB / 336 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.738e-05/0.3815, allocations: 1.219 kB / 336 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.3815, allocations: 7.438 kB / 336 MB, free: 3.977 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.3817, allocations: 68.42 kB / 336.1 MB, free: 3.918 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3817, allocations: 1.219 kB / 336.1 MB, free: 3.918 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.369e-05/0.3817, allocations: 0 / 336.1 MB, free: 3.918 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.3818, allocations: 1.125 kB / 336.1 MB, free: 3.918 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.211e-05/0.3819, allocations: 16.48 kB / 336.1 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.3824, allocations: 368.3 kB / 336.4 MB, free: 3.641 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.3825, allocations: 67.62 kB / 336.5 MB, free: 3.57 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/0.3826, allocations: 0 / 336.5 MB, free: 3.57 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002327/0.3828, allocations: 91.5 kB / 336.6 MB, free: 3.48 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.754e-06/0.3828, allocations: 0 / 336.6 MB, free: 3.48 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004745/0.3833, allocations: 140.9 kB / 336.7 MB, free: 3.395 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.3834, allocations: 82.39 kB / 336.8 MB, free: 3.297 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001691/0.3851, allocations: 1.008 MB / 337.8 MB, free: 2.836 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.154e-05/0.3852, allocations: 27.55 kB / 337.8 MB, free: 2.805 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.3853, allocations: 249.8 kB / 338.1 MB, free: 2.566 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.762e-05/0.3854, allocations: 19.62 kB / 338.1 MB, free: 2.551 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.206e-05/0.3854, allocations: 5.781 kB / 338.1 MB, free: 2.547 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 7.511e-05/0.3855, allocations: 312.6 kB / 338.4 MB, free: 2.234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.588e-05/0.3856, allocations: 24.58 kB / 338.4 MB, free: 2.223 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001024/0.3857, allocations: 47.55 kB / 338.5 MB, free: 2.188 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000136/0.3859, allocations: 89.64 kB / 338.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.3859, allocations: 0 / 338.6 MB, free: 2.105 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003739/0.3863, allocations: 176.9 kB / 338.7 MB, free: 1.969 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.794e-05/0.3864, allocations: 66.73 kB / 338.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3864, allocations: 1.469 kB / 338.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.3864, allocations: 1.469 kB / 338.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001351/0.3866, allocations: 8.875 kB / 338.8 MB, free: 1.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.3866, allocations: 5 kB / 338.8 MB, free: 1.895 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002544/0.3868, allocations: 25.2 kB / 338.8 MB, free: 1.875 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.39e-05/0.3869, allocations: 5.094 kB / 338.9 MB, free: 1.875 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$PRE.startTime.nextTimeEvent,startTime.nextTimeEvent,$whenCondition1,$PRE.startTime_0.nextTimeEvent,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 2 * 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.0003748/0.3873, allocations: 220.2 kB / 339.1 MB, free: 1.719 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.025e-05/0.3874, allocations: 48.05 kB / 339.1 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001145/0.3875, allocations: 52.7 kB / 339.2 MB, free: 1.664 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.3875, allocations: 9.047 kB / 339.2 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.3875, allocations: 1.688 kB / 339.2 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/0.3875, allocations: 384 / 339.2 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.3879, allocations: 322.1 kB / 339.5 MB, free: 1.367 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.96e-06/0.3879, allocations: 9.266 kB / 339.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.321e-05/0.388, allocations: 3.438 kB / 339.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.388, allocations: 5.047 kB / 339.5 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.586e-05/0.3881, allocations: 6.453 kB / 339.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.848e-06/0.3881, allocations: 0 / 339.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.3881, allocations: 1.5 kB / 339.5 MB, free: 1.352 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.3884, allocations: 153.3 kB / 339.7 MB, free: 1.23 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001682/0.3886, allocations: 133.6 kB / 339.8 MB, free: 1.105 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.018e-05/0.3887, allocations: 10.77 kB / 339.8 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.3888, allocations: 6.672 kB / 339.8 MB, free: 1.094 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.3889, allocations: 7.188 kB / 339.8 MB, free: 1.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.769e-05/0.389, allocations: 7.078 kB / 339.8 MB, free: 1.086 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001204/0.3902, allocations: 0.7468 MB / 340.6 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3902, allocations: 1.031 kB / 340.6 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004603/0.3907, allocations: 59.06 kB / 340.6 MB, free: 0.7227 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,startTime.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEvent) * Number of discrete states: 2 (startTime_0.nextTimeEvent,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001805/0.3925, allocations: 1.055 MB / 341.7 MB, free: 15.87 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003948/0.3929, allocations: 190.8 kB / 341.9 MB, free: 15.7 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/0.3929, allocations: 9.531 kB / 341.9 MB, free: 15.69 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.906e-05/0.393, allocations: 15.69 kB / 341.9 MB, free: 15.69 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00053/0.3936, allocations: 52.56 kB / 342 MB, free: 15.65 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002741/0.3963, allocations: 1.351 MB / 343.3 MB, free: 14.72 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000606/0.397, allocations: 0.8375 MB / 344.1 MB, free: 13.95 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/0.3973, allocations: 130.8 kB / 344.3 MB, free: 13.84 MB / 282.7 MB Notification: Performance of SimCode: time 3.076e-06/0.3973, allocations: 0 / 344.3 MB, free: 13.84 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.694/3.091, allocations: 7.264 MB / 351.5 MB, free: 9.805 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat failed! Error: Could not read variable startTime.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat. Warning: Get data of variable startTime.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat failed! Error: Could not read variable startTime_0.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat. Warning: Get data of variable startTime_0.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat failed! " Variables in the reference:time,startTime.nextTimeEvent,startTime_0.nextTimeEvent Variables in the result:startTime.columns[1],startTime.extrapolation,startTime.nextTimeEvent,startTime.nout,startTime.offset[1],startTime.p_offset[1],startTime.smoothness,startTime.startTime,startTime.t_max,startTime.t_min,startTime.tableOnFile,startTime.tableOnFileRead,startTime.table[1,1],startTime.table[1,2],startTime.table[10,1],startTime.table[10,2],startTime.table[11,1],startTime.table[11,2],startTime.table[12,1],startTime.table[12,2],startTime.table[13,1],startTime.table[13,2],startTime.table[14,1],startTime.table[14,2],startTime.table[15,1],startTime.table[15,2],startTime.table[16,1],startTime.table[16,2],startTime.table[17,1],startTime.table[17,2],startTime.table[18,1],startTime.table[18,2],startTime.table[19,1],startTime.table[19,2],startTime.table[2,1],startTime.table[2,2],startTime.table[20,1],startTime.table[20,2],startTime.table[21,1],startTime.table[21,2],startTime.table[22,1],startTime.table[22,2],startTime.table[23,1],startTime.table[23,2],startTime.table[24,1],startTime.table[24,2],startTime.table[25,1],startTime.table[25,2],startTime.table[26,1],startTime.table[26,2],startTime.table[27,1],startTime.table[27,2],startTime.table[28,1],startTime.table[28,2],startTime.table[29,1],startTime.table[29,2],startTime.table[3,1],startTime.table[3,2],startTime.table[4,1],startTime.table[4,2],startTime.table[5,1],startTime.table[5,2],startTime.table[6,1],startTime.table[6,2],startTime.table[7,1],startTime.table[7,2],startTime.table[8,1],startTime.table[8,2],startTime.table[9,1],startTime.table[9,2],startTime.verboseRead,startTime.y[1],startTime_0.columns[1],startTime_0.extrapolation,startTime_0.nextTimeEvent,startTime_0.nout,startTime_0.offset[1],startTime_0.p_offset[1],startTime_0.smoothness,startTime_0.startTime,startTime_0.t_max,startTime_0.t_min,startTime_0.tableOnFile,startTime_0.tableOnFileRead,startTime_0.table[1,1],startTime_0.table[1,2],startTime_0.table[10,1],startTime_0.table[10,2],startTime_0.table[11,1],startTime_0.table[11,2],startTime_0.table[12,1],startTime_0.table[12,2],startTime_0.table[13,1],startTime_0.table[13,2],startTime_0.table[14,1],startTime_0.table[14,2],startTime_0.table[15,1],startTime_0.table[15,2],startTime_0.table[16,1],startTime_0.table[16,2],startTime_0.table[17,1],startTime_0.table[17,2],startTime_0.table[18,1],startTime_0.table[18,2],startTime_0.table[19,1],startTime_0.table[19,2],startTime_0.table[2,1],startTime_0.table[2,2],startTime_0.table[20,1],startTime_0.table[20,2],startTime_0.table[21,1],startTime_0.table[21,2],startTime_0.table[22,1],startTime_0.table[22,2],startTime_0.table[23,1],startTime_0.table[23,2],startTime_0.table[24,1],startTime_0.table[24,2],startTime_0.table[25,1],startTime_0.table[25,2],startTime_0.table[26,1],startTime_0.table[26,2],startTime_0.table[27,1],startTime_0.table[27,2],startTime_0.table[28,1],startTime_0.table[28,2],startTime_0.table[29,1],startTime_0.table[29,2],startTime_0.table[3,1],startTime_0.table[3,2],startTime_0.table[4,1],startTime_0.table[4,2],startTime_0.table[5,1],startTime_0.table[5,2],startTime_0.table[6,1],startTime_0.table[6,2],startTime_0.table[7,1],startTime_0.table[7,2],startTime_0.table[8,1],startTime_0.table[8,2],startTime_0.table[9,1],startTime_0.table[9,2],startTime_0.verboseRead,startTime_0.y[1],time