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.CombiTimeTable.Test2.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.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test2") Notification: Performance of loadModel(ModelicaTest): time 1.884/1.884, allocations: 209.3 MB / 224.8 MB, free: 1.211 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004698/0.0004699, allocations: 16 kB / 282.5 MB, free: 9.762 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08629/0.08679, allocations: 48.71 MB / 331.2 MB, free: 8.953 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.002124/0.08896, allocations: 1.282 MB / 332.5 MB, free: 7.66 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008929/0.08987, allocations: 416.6 kB / 332.9 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.534e-05/0.08995, allocations: 0 / 332.9 MB, free: 7.25 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002194/0.09018, allocations: 31.83 kB / 332.9 MB, free: 7.219 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001579/0.09036, allocations: 31.91 kB / 333 MB, free: 7.188 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002104/0.09059, allocations: 59.8 kB / 333 MB, free: 7.129 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001416/0.09075, allocations: 59.86 kB / 333.1 MB, free: 7.07 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.761e-05/0.09085, allocations: 11.98 kB / 333.1 MB, free: 7.059 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.851e-05/0.09093, allocations: 23.92 kB / 333.1 MB, free: 7.035 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.309e-05/0.09101, allocations: 19.91 kB / 333.1 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.09103, allocations: 0 / 333.1 MB, free: 7.016 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000104/0.09115, allocations: 35.92 kB / 333.2 MB, free: 6.98 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.126e-05/0.0912, allocations: 11.94 kB / 333.2 MB, free: 6.969 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.308e-05/0.09126, allocations: 29.7 kB / 333.2 MB, free: 6.934 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001804/0.09145, allocations: 84.05 kB / 333.3 MB, free: 6.852 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.579e-06/0.09147, allocations: 0 / 333.3 MB, free: 6.852 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.781e-06/0.09148, allocations: 0 / 333.3 MB, free: 6.852 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.343e-06/0.09149, allocations: 0 / 333.3 MB, free: 6.852 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.0005329/0.09203, allocations: 404.8 kB / 333.7 MB, free: 6.402 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.09208, allocations: 12.03 kB / 333.7 MB, free: 6.391 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.503e-05/0.09214, allocations: 3.906 kB / 333.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.09239, allocations: 190.9 kB / 333.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.09242, allocations: 0 / 333.9 MB, free: 6.16 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.126e-05/0.09248, allocations: 12 kB / 333.9 MB, free: 6.148 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.09261, allocations: 45.67 kB / 333.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.09264, allocations: 0 / 333.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.09265, allocations: 0 / 333.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.711e-06/0.09267, allocations: 0 / 333.9 MB, free: 6.098 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.927e-05/0.09274, allocations: 15.94 kB / 334 MB, free: 6.082 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004045/0.09315, allocations: 280.8 kB / 334.2 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.09337, allocations: 42.56 kB / 334.3 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.6e-05/0.0934, allocations: 0 / 334.3 MB, free: 5.707 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001558/0.09357, allocations: 59.38 kB / 334.3 MB, free: 5.637 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 2.29e-06/0.09359, allocations: 0 / 334.3 MB, free: 5.637 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004149/0.09401, allocations: 121.3 kB / 334.4 MB, free: 5.512 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.09408, allocations: 55.41 kB / 334.5 MB, free: 5.445 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001711/0.09426, allocations: 141.5 kB / 334.6 MB, free: 5.301 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.357e-05/0.0943, allocations: 29.7 kB / 334.7 MB, free: 5.266 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.09441, allocations: 162.5 kB / 334.8 MB, free: 5.105 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.09446, allocations: 19.88 kB / 334.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/0.09448, allocations: 0 / 334.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.09465, allocations: 318.8 kB / 335.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.074e-05/0.09472, allocations: 15.98 kB / 335.2 MB, free: 4.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.065e-05/0.09478, allocations: 20 kB / 335.2 MB, free: 4.73 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.133e-05/0.09488, allocations: 45.7 kB / 335.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.62e-06/0.09489, allocations: 0 / 335.2 MB, free: 4.68 MB / 282.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000228/0.09513, allocations: 123.2 kB / 335.4 MB, free: 4.547 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.612e-05/0.09519, allocations: 37.7 kB / 335.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.386e-06/0.09521, allocations: 0 / 335.4 MB, free: 4.504 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.09523, allocations: 3.938 kB / 335.4 MB, free: 4.5 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.489e-05/0.0953, allocations: 8 kB / 335.4 MB, free: 4.492 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.927e-06/0.09532, allocations: 3.984 kB / 335.4 MB, free: 4.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.838e-05/0.09538, allocations: 4 kB / 335.4 MB, free: 4.484 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.09541, allocations: 0 / 335.4 MB, free: 4.484 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.0001222/0.09554, allocations: 121.8 kB / 335.5 MB, free: 4.355 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.09558, allocations: 11.91 kB / 335.5 MB, free: 4.344 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.09564, allocations: 20.23 kB / 335.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.178e-06/0.09566, allocations: 0 / 335.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.173e-06/0.09567, allocations: 0 / 335.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.752e-06/0.09568, allocations: 96 / 335.6 MB, free: 4.32 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004512/0.09615, allocations: 338.5 kB / 335.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.559e-06/0.09617, allocations: 0 / 335.9 MB, free: 3.934 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.598e-05/0.09621, allocations: 4 kB / 335.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.071e-06/0.09623, allocations: 0 / 335.9 MB, free: 3.93 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.09625, allocations: 4 kB / 335.9 MB, free: 3.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.312e-06/0.09626, allocations: 4 kB / 335.9 MB, free: 3.922 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.616e-06/0.09628, allocations: 3.984 kB / 335.9 MB, free: 3.918 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002177/0.0965, allocations: 167.3 kB / 336.1 MB, free: 3.738 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.364e-05/0.09659, allocations: 85.02 kB / 336.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.64e-05/0.09662, allocations: 4 kB / 336.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.028e-05/0.09672, allocations: 4 kB / 336.2 MB, free: 3.629 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.141e-05/0.09677, allocations: 3.984 kB / 336.2 MB, free: 3.625 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-05/0.0968, allocations: 8 kB / 336.2 MB, free: 3.617 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001162/0.09693, allocations: 111.2 kB / 336.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.84e-07/0.09694, allocations: 0 / 336.3 MB, free: 3.508 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003527/0.0973, allocations: 31.89 kB / 336.3 MB, free: 3.477 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.001139/0.09846, allocations: 373.8 kB / 336.7 MB, free: 3.199 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002146/0.09869, allocations: 107.3 kB / 336.8 MB, free: 3.082 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.889e-06/0.09871, allocations: 3.938 kB / 336.8 MB, free: 3.078 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 5.017e-05/0.09877, allocations: 16 kB / 336.8 MB, free: 3.062 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002603/0.09904, allocations: 19.92 kB / 336.8 MB, free: 3.043 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004415/0.0995, allocations: 203 kB / 337 MB, free: 2.812 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.0999, allocations: 0.6965 MB / 337.7 MB, free: 2.09 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.88e-05/0.09996, allocations: 11.44 kB / 337.7 MB, free: 2.078 MB / 282.7 MB Notification: Performance of SimCode: time 1.36e-06/0.09997, allocations: 3.938 kB / 337.7 MB, free: 2.074 MB / 282.7 MB Notification: Performance of Templates: time 0.003974/0.104, allocations: 1.607 MB / 339.3 MB, free: 480 kB / 282.7 MB