Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTable1Ds.Test28") Notification: Performance of loadModel(ModelicaTest): time 2.2/2.2, allocations: 234.9 MB / 250.5 MB, free: 9.48 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009201/0.0009206, allocations: 12 kB / 314.3 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3159/0.3169, allocations: 54.87 MB / 369.2 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002088/0.319, allocations: 1.215 MB / 370.4 MB, free: 9.371 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006185/0.3197, allocations: 261.1 kB / 370.7 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.946e-05/0.3197, allocations: 0 / 370.7 MB, free: 9.113 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002879/0.3201, allocations: 91.8 kB / 370.7 MB, free: 9.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.3203, allocations: 71.83 kB / 370.8 MB, free: 8.953 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.3204, allocations: 27.92 kB / 370.8 MB, free: 8.926 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.3205, allocations: 51.92 kB / 370.9 MB, free: 8.875 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.208e-05/0.3206, allocations: 11.97 kB / 370.9 MB, free: 8.863 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.19e-05/0.3207, allocations: 31.91 kB / 370.9 MB, free: 8.832 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.3209, allocations: 47.83 kB / 371 MB, free: 8.785 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.3209, allocations: 4 kB / 371 MB, free: 8.781 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.31e-05/0.321, allocations: 15.92 kB / 371 MB, free: 8.766 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.424e-05/0.321, allocations: 31.91 kB / 371 MB, free: 8.734 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.348e-05/0.3211, allocations: 37.64 kB / 371.1 MB, free: 8.691 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001356/0.3213, allocations: 55.92 kB / 371.1 MB, free: 8.637 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.3213, allocations: 0 / 371.1 MB, free: 8.637 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.648e-06/0.3213, allocations: 0 / 371.1 MB, free: 8.637 MB / 298.7 MB Notification: Performance of Transformations before backend: time 8.959e-06/0.3213, allocations: 0 / 371.1 MB, free: 8.637 MB / 298.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.0005685/0.3219, allocations: 417.3 kB / 371.5 MB, free: 8.176 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3219, allocations: 8.031 kB / 371.5 MB, free: 8.168 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.384e-05/0.322, allocations: 19.86 kB / 371.6 MB, free: 8.148 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.3222, allocations: 191.6 kB / 371.7 MB, free: 7.922 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.223e-05/0.3222, allocations: 0 / 371.7 MB, free: 7.922 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.879e-05/0.3223, allocations: 4 kB / 371.8 MB, free: 7.918 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.3225, allocations: 45.69 kB / 371.8 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.3225, allocations: 0 / 371.8 MB, free: 7.867 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.3225, allocations: 4 kB / 371.8 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.484e-06/0.3225, allocations: 0 / 371.8 MB, free: 7.863 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.3227, allocations: 43.86 kB / 371.8 MB, free: 7.82 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004538/0.3231, allocations: 276.9 kB / 372.1 MB, free: 7.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000234/0.3234, allocations: 50.5 kB / 372.2 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.749e-05/0.3234, allocations: 0 / 372.2 MB, free: 7.441 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3235, allocations: 42.5 kB / 372.2 MB, free: 7.391 MB / 298.7 MB Notification: Performance of pre-optimization done (n=3): time 1.831e-06/0.3235, allocations: 0 / 372.2 MB, free: 7.391 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007036/0.3242, allocations: 169.2 kB / 372.4 MB, free: 7.219 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.3242, allocations: 55.34 kB / 372.4 MB, free: 7.152 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.3246, allocations: 238.3 kB / 372.7 MB, free: 6.91 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.3246, allocations: 25.7 kB / 372.7 MB, free: 6.879 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001175/0.3248, allocations: 166.6 kB / 372.8 MB, free: 6.715 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.3248, allocations: 19.64 kB / 372.9 MB, free: 6.695 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.636e-06/0.3248, allocations: 0 / 372.9 MB, free: 6.695 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001719/0.325, allocations: 314.8 kB / 373.2 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.3251, allocations: 27.98 kB / 373.2 MB, free: 6.352 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.3252, allocations: 23.98 kB / 373.2 MB, free: 6.328 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.3254, allocations: 49.69 kB / 373.3 MB, free: 6.273 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.936e-06/0.3254, allocations: 0 / 373.3 MB, free: 6.273 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003106/0.3257, allocations: 119.4 kB / 373.4 MB, free: 6.145 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.449e-05/0.3258, allocations: 37.69 kB / 373.4 MB, free: 6.102 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3258, allocations: 3.984 kB / 373.4 MB, free: 6.098 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.3258, allocations: 3.953 kB / 373.4 MB, free: 6.094 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-05/0.3259, allocations: 16.19 kB / 373.4 MB, free: 6.078 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.326, allocations: 7.984 kB / 373.5 MB, free: 6.07 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.457e-05/0.326, allocations: 12 kB / 373.5 MB, free: 6.059 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.3261, allocations: 0 / 373.5 MB, free: 6.059 MB / 298.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.0001483/0.3262, allocations: 125.8 kB / 373.6 MB, free: 5.926 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.611e-05/0.3263, allocations: 7.906 kB / 373.6 MB, free: 5.918 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003161/0.3266, allocations: 106.7 kB / 373.7 MB, free: 5.812 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.078e-06/0.3266, allocations: 3.953 kB / 373.7 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.455e-06/0.3266, allocations: 0 / 373.7 MB, free: 5.809 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.418e-06/0.3267, allocations: 4 kB / 373.7 MB, free: 5.805 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.3273, allocations: 366.4 kB / 374.1 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.815e-06/0.3273, allocations: 0 / 374.1 MB, free: 5.391 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.837e-05/0.3274, allocations: 15.98 kB / 374.1 MB, free: 5.375 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.017e-05/0.3274, allocations: 3.953 kB / 374.1 MB, free: 5.371 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.3275, allocations: 7.938 kB / 374.1 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.3275, allocations: 0 / 374.1 MB, free: 5.363 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.919e-06/0.3275, allocations: 4 kB / 374.1 MB, free: 5.359 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.3278, allocations: 187.4 kB / 374.3 MB, free: 5.16 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.032e-05/0.3279, allocations: 89.28 kB / 374.4 MB, free: 5.055 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.212e-05/0.3279, allocations: 3.953 kB / 374.4 MB, free: 5.051 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.877e-05/0.3281, allocations: 4 kB / 374.4 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.21e-05/0.3281, allocations: 7.984 kB / 374.4 MB, free: 5.039 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.955e-06/0.3281, allocations: 7.984 kB / 374.4 MB, free: 5.031 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0002065/0.3283, allocations: 175.2 kB / 374.6 MB, free: 4.859 MB / 298.7 MB Notification: Performance of sort global known variables: time 6.89e-07/0.3284, allocations: 0 / 374.6 MB, free: 4.859 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003278/0.3287, allocations: 15.98 kB / 374.6 MB, free: 4.844 MB / 298.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.001003/0.3297, allocations: 297.7 kB / 374.9 MB, free: 4.625 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003179/0.3301, allocations: 115.3 kB / 375 MB, free: 4.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.078e-06/0.3301, allocations: 4 kB / 375 MB, free: 4.496 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001141/0.3302, allocations: 27.98 kB / 375 MB, free: 4.469 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.3305, allocations: 8 kB / 375 MB, free: 4.461 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005709/0.3311, allocations: 282.9 kB / 375.3 MB, free: 4.145 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004496/0.3315, allocations: 0.7121 MB / 376 MB, free: 3.406 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.308e-05/0.3316, allocations: 11.44 kB / 376 MB, free: 3.395 MB / 298.7 MB Notification: Performance of SimCode: time 1.425e-06/0.3316, allocations: 0 / 376 MB, free: 3.395 MB / 298.7 MB Notification: Performance of Templates: time 0.004065/0.3357, allocations: 1.354 MB / 377.4 MB, free: 2.039 MB / 298.7 MB