Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTable1Ds.Test23") Notification: Performance of loadModel(ModelicaTest): time 1.887/1.887, allocations: 209.3 MB / 224.8 MB, free: 1.219 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004385/0.0004387, allocations: 12 kB / 282.5 MB, free: 9.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0878/0.08826, allocations: 48.72 MB / 331.2 MB, free: 8.977 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test23): time 0.002017/0.09031, allocations: 1.195 MB / 332.4 MB, free: 7.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001363/0.0917, allocations: 0.8294 MB / 333.2 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.09177, allocations: 4 kB / 333.2 MB, free: 6.93 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.09195, allocations: 15.92 kB / 333.2 MB, free: 6.914 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001387/0.0921, allocations: 23.91 kB / 333.3 MB, free: 6.891 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.09225, allocations: 35.91 kB / 333.3 MB, free: 6.855 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001149/0.09238, allocations: 31.91 kB / 333.3 MB, free: 6.824 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.936e-05/0.09249, allocations: 23.95 kB / 333.3 MB, free: 6.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.07e-05/0.09255, allocations: 19.92 kB / 333.4 MB, free: 6.781 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.0927, allocations: 15.92 kB / 333.4 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.325e-05/0.09272, allocations: 0 / 333.4 MB, free: 6.766 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001011/0.09284, allocations: 39.91 kB / 333.4 MB, free: 6.727 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.727e-05/0.09289, allocations: 7.938 kB / 333.4 MB, free: 6.719 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.595e-05/0.09293, allocations: 29.7 kB / 333.5 MB, free: 6.684 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.09309, allocations: 59.91 kB / 333.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.472e-06/0.09311, allocations: 0 / 333.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.777e-06/0.09312, allocations: 0 / 333.5 MB, free: 6.625 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.958e-06/0.09314, allocations: 4 kB / 333.5 MB, free: 6.621 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.000496/0.09364, allocations: 385.2 kB / 333.9 MB, free: 6.191 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.09369, allocations: 8.031 kB / 333.9 MB, free: 6.184 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.199e-05/0.09374, allocations: 7.906 kB / 333.9 MB, free: 6.176 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.09398, allocations: 186.9 kB / 334.1 MB, free: 5.953 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.09401, allocations: 3.938 kB / 334.1 MB, free: 5.949 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.366e-05/0.09404, allocations: 3.938 kB / 334.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.09423, allocations: 67.41 kB / 334.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.09426, allocations: 0 / 334.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.09428, allocations: 0 / 334.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.374e-06/0.09429, allocations: 0 / 334.2 MB, free: 5.867 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001213/0.09442, allocations: 31.97 kB / 334.2 MB, free: 5.836 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004141/0.09485, allocations: 284.8 kB / 334.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000222/0.09509, allocations: 42.56 kB / 334.5 MB, free: 5.457 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.259e-05/0.09513, allocations: 4 kB / 334.5 MB, free: 5.453 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.09517, allocations: 38.64 kB / 334.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of pre-optimization done (n=3): time 2.081e-06/0.09519, allocations: 0 / 334.6 MB, free: 5.406 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006513/0.09585, allocations: 153.4 kB / 334.7 MB, free: 5.25 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.09593, allocations: 81.06 kB / 334.8 MB, free: 5.152 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.0961, allocations: 133.7 kB / 334.9 MB, free: 5.012 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.378e-05/0.09614, allocations: 25.7 kB / 334.9 MB, free: 4.98 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.499e-05/0.09624, allocations: 158.6 kB / 335.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.09628, allocations: 15.73 kB / 335.1 MB, free: 4.809 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.469e-06/0.0963, allocations: 3.938 kB / 335.1 MB, free: 4.805 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001614/0.09647, allocations: 318.8 kB / 335.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.09658, allocations: 23.98 kB / 335.5 MB, free: 4.461 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.09671, allocations: 37.7 kB / 335.5 MB, free: 4.418 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001266/0.09685, allocations: 53.69 kB / 335.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.777e-06/0.09686, allocations: 0 / 335.5 MB, free: 4.359 MB / 282.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003044/0.09718, allocations: 123.4 kB / 335.7 MB, free: 4.227 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/0.09723, allocations: 33.14 kB / 335.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.767e-06/0.09725, allocations: 0 / 335.7 MB, free: 4.191 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.09727, allocations: 4 kB / 335.7 MB, free: 4.188 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.84e-05/0.09737, allocations: 11.98 kB / 335.7 MB, free: 4.176 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.971e-06/0.09739, allocations: 7.938 kB / 335.7 MB, free: 4.168 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.94e-05/0.09747, allocations: 11.95 kB / 335.7 MB, free: 4.156 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.037e-05/0.0975, allocations: 7.938 kB / 335.7 MB, free: 4.148 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.0001103/0.09763, allocations: 113.8 kB / 335.9 MB, free: 4.027 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.09768, allocations: 7.906 kB / 335.9 MB, free: 4.02 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002955/0.09799, allocations: 97.62 kB / 336 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.09801, allocations: 4 kB / 336 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.259e-06/0.09803, allocations: 0 / 336 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-06/0.09804, allocations: 0 / 336 MB, free: 3.914 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005802/0.09863, allocations: 346.5 kB / 336.3 MB, free: 3.52 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.107e-06/0.09865, allocations: 4 kB / 336.3 MB, free: 3.516 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.04e-05/0.09875, allocations: 16.36 kB / 336.3 MB, free: 3.5 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.484e-06/0.09877, allocations: 4 kB / 336.3 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.09879, allocations: 4 kB / 336.3 MB, free: 3.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.834e-06/0.0988, allocations: 7.938 kB / 336.3 MB, free: 3.484 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.352e-06/0.09882, allocations: 3.953 kB / 336.3 MB, free: 3.48 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003109/0.09914, allocations: 187.4 kB / 336.5 MB, free: 3.281 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.846e-05/0.09922, allocations: 85 kB / 336.6 MB, free: 3.18 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.296e-05/0.09926, allocations: 4 kB / 336.6 MB, free: 3.176 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.746e-05/0.09936, allocations: 4 kB / 336.6 MB, free: 3.172 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.573e-05/0.09942, allocations: 7.938 kB / 336.6 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.292e-06/0.09944, allocations: 4 kB / 336.6 MB, free: 3.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001076/0.09956, allocations: 99.27 kB / 336.7 MB, free: 3.062 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.72e-07/0.09957, allocations: 4 kB / 336.7 MB, free: 3.059 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003604/0.09994, allocations: 20 kB / 336.7 MB, free: 3.039 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.001037/0.101, allocations: 332.2 kB / 337.1 MB, free: 2.781 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0003439/0.1014, allocations: 115.3 kB / 337.2 MB, free: 2.656 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 5.812e-06/0.1014, allocations: 8 kB / 337.2 MB, free: 2.648 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001042/0.1015, allocations: 23.98 kB / 337.2 MB, free: 2.625 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.1018, allocations: 10.81 kB / 337.2 MB, free: 2.617 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004512/0.1023, allocations: 190.5 kB / 337.4 MB, free: 2.398 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003735/0.1026, allocations: 0.6887 MB / 338.1 MB, free: 1.684 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.923e-05/0.1027, allocations: 11.44 kB / 338.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of SimCode: time 1.402e-06/0.1027, allocations: 0 / 338.1 MB, free: 1.672 MB / 282.7 MB Notification: Performance of Templates: time 0.003879/0.1066, allocations: 1.445 MB / 339.6 MB, free: 232 kB / 282.7 MB