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.Test70.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.Test70,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_Tables_CombiTimeTable_Test70",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.211/2.211, allocations: 209.2 MB / 224.8 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005669/0.0005673, allocations: 16 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3647/0.3654, allocations: 48.71 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test70): time 0.002439/0.3679, allocations: 1.343 MB / 332.6 MB, free: 5.816 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001546/0.3695, allocations: 0.6706 MB / 333.3 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.3696, allocations: 1.156 kB / 333.3 MB, free: 5.363 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006979/0.3703, allocations: 277.5 kB / 333.6 MB, free: 5.344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000419/0.3707, allocations: 170.8 kB / 333.7 MB, free: 5.312 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004535/0.3712, allocations: 109.7 kB / 333.8 MB, free: 5.254 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.3715, allocations: 147.6 kB / 334 MB, free: 5.203 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.943e-05/0.3716, allocations: 11.34 kB / 334 MB, free: 5.199 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001751/0.3718, allocations: 98.88 kB / 334.1 MB, free: 5.172 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002811/0.3721, allocations: 137 kB / 334.2 MB, free: 5.152 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.015e-05/0.3721, allocations: 6.375 kB / 334.2 MB, free: 5.148 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000262/0.3724, allocations: 61.44 kB / 334.3 MB, free: 5.133 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.3726, allocations: 129.1 kB / 334.4 MB, free: 5.102 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.341e-05/0.3727, allocations: 69.67 kB / 334.5 MB, free: 5.039 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005385/0.3732, allocations: 295.5 kB / 334.8 MB, free: 4.965 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.3732, allocations: 1.25 kB / 334.8 MB, free: 4.965 MB / 266.7 MB Notification: Performance of FrontEnd: time 2.906e-06/0.3733, allocations: 0.8906 kB / 334.8 MB, free: 4.965 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.3733, allocations: 0 / 334.8 MB, free: 4.965 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.001033/0.3743, allocations: 0.701 MB / 335.5 MB, free: 4.348 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.3744, allocations: 12.56 kB / 335.5 MB, free: 4.344 MB / 266.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.679e-05/0.3744, allocations: 36.55 kB / 335.5 MB, free: 4.301 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.44e-05/0.3745, allocations: 43.72 kB / 335.6 MB, free: 4.277 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000715/0.3753, allocations: 408 kB / 336 MB, free: 3.984 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.3753, allocations: 6.281 kB / 336 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.3753, allocations: 3.766 kB / 336 MB, free: 3.98 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.3755, allocations: 59.66 kB / 336 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.3755, allocations: 0 / 336 MB, free: 3.93 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.3755, allocations: 9.297 kB / 336 MB, free: 3.922 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3756, allocations: 0 / 336 MB, free: 3.922 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.95e-05/0.3757, allocations: 21.89 kB / 336.1 MB, free: 3.914 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.3762, allocations: 368.7 kB / 336.4 MB, free: 3.629 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001193/0.3763, allocations: 59.34 kB / 336.5 MB, free: 3.566 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.3764, allocations: 4 kB / 336.5 MB, free: 3.562 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002182/0.3766, allocations: 91.75 kB / 336.6 MB, free: 3.473 MB / 266.7 MB Notification: Performance of pre-optimization done (n=6): time 1.593e-06/0.3766, allocations: 0 / 336.6 MB, free: 3.473 MB / 266.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004145/0.377, allocations: 139.8 kB / 336.7 MB, free: 3.387 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.416e-05/0.3771, allocations: 78.7 kB / 336.8 MB, free: 3.293 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001573/0.3787, allocations: 1.007 MB / 337.8 MB, free: 2.832 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.3787, allocations: 37.58 kB / 337.8 MB, free: 2.793 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.3789, allocations: 252.6 kB / 338.1 MB, free: 2.551 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.745e-05/0.3789, allocations: 15.33 kB / 338.1 MB, free: 2.539 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.103e-05/0.379, allocations: 5.656 kB / 338.1 MB, free: 2.535 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 6.311e-05/0.379, allocations: 312.3 kB / 338.4 MB, free: 2.223 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.3791, allocations: 26.27 kB / 338.4 MB, free: 2.211 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.83e-05/0.3792, allocations: 42.64 kB / 338.5 MB, free: 2.18 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001318/0.3794, allocations: 98.8 kB / 338.6 MB, free: 2.09 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.3794, allocations: 0 / 338.6 MB, free: 2.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003486/0.3798, allocations: 172.4 kB / 338.7 MB, free: 1.957 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.11e-05/0.3798, allocations: 66.7 kB / 338.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.416e-06/0.3798, allocations: 1.812 kB / 338.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.3799, allocations: 0 / 338.8 MB, free: 1.887 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001325/0.38, allocations: 12.97 kB / 338.8 MB, free: 1.883 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.38, allocations: 5.75 kB / 338.8 MB, free: 1.879 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000194/0.3802, allocations: 17.11 kB / 338.8 MB, free: 1.867 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.964e-05/0.3803, allocations: 5.375 kB / 338.8 MB, free: 1.867 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.000311/0.3806, allocations: 215.3 kB / 339.1 MB, free: 1.715 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.64e-05/0.3807, allocations: 50.91 kB / 339.1 MB, free: 1.684 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.3808, allocations: 53.58 kB / 339.2 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.889e-06/0.3808, allocations: 1.406 kB / 339.2 MB, free: 1.656 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.3808, allocations: 4.125 kB / 339.2 MB, free: 1.652 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.001e-06/0.3809, allocations: 5.516 kB / 339.2 MB, free: 1.648 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003489/0.3812, allocations: 322.5 kB / 339.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.3812, allocations: 0 / 339.5 MB, free: 1.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.806e-05/0.3813, allocations: 8.984 kB / 339.5 MB, free: 1.355 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.3813, allocations: 7.953 kB / 339.5 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.3813, allocations: 2.656 kB / 339.5 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3813, allocations: 0 / 339.5 MB, free: 1.348 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.3813, allocations: 5.188 kB / 339.5 MB, free: 1.344 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002821/0.3816, allocations: 149.9 kB / 339.7 MB, free: 1.227 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.3818, allocations: 133.4 kB / 339.8 MB, free: 1.102 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/0.3819, allocations: 6.141 kB / 339.8 MB, free: 1.098 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.382, allocations: 15.48 kB / 339.8 MB, free: 1.086 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.639e-05/0.3821, allocations: 2.938 kB / 339.8 MB, free: 1.086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.3821, allocations: 3.594 kB / 339.8 MB, free: 1.086 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.001203/0.3833, allocations: 0.7471 MB / 340.6 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.3834, allocations: 0 / 340.6 MB, free: 0.7383 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004614/0.3838, allocations: 63.67 kB / 340.6 MB, free: 0.7188 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.001817/0.3857, allocations: 1.067 MB / 341.7 MB, free: 15.85 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003912/0.3861, allocations: 192.9 kB / 341.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3861, allocations: 0 / 341.9 MB, free: 15.68 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 7.953e-05/0.3862, allocations: 26.11 kB / 341.9 MB, free: 15.67 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004996/0.3867, allocations: 47.45 kB / 342 MB, free: 15.64 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002676/0.3894, allocations: 1.353 MB / 343.3 MB, free: 14.71 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006154/0.39, allocations: 0.8387 MB / 344.1 MB, free: 13.93 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002926/0.3903, allocations: 130.5 kB / 344.3 MB, free: 13.82 MB / 282.7 MB Notification: Performance of SimCode: time 9.22e-07/0.3904, allocations: 0 / 344.3 MB, free: 13.82 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.801/3.191, allocations: 7.254 MB / 351.5 MB, free: 9.809 MB / 282.7 MB "Error: Could not read variable _derdummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat. Warning: Get data of variable _derdummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat failed! Error: Could not read variable _dummy in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat. Warning: Get data of variable _dummy from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat failed! Error: Could not read variable startTime.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat. Warning: Get data of variable startTime.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat failed! Error: Could not read variable startTime_0.tableID.id in file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_res.mat. Warning: Get data of variable startTime_0.tableID.id from file ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test70_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