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.Test41.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.Test41,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.Test41") Notification: Performance of loadModel(ModelicaTest): time 2.061/2.061, allocations: 209.3 MB / 222.4 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.188e-05/3.201e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08789/0.08795, allocations: 48.69 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3347/0.4227, allocations: 75.78 MB / 402.3 MB, free: 9.617 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001981/0.4229, allocations: 77.17 kB / 402.4 MB, free: 9.605 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01495/0.4379, allocations: 4.127 MB / 406.5 MB, free: 8.008 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.91e-06/0.4379, allocations: 0 / 406.5 MB, free: 8.008 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.976e-05/0.438, allocations: 3.812 kB / 406.5 MB, free: 8.008 MB / 314.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.000359/0.4383, allocations: 422 kB / 406.9 MB, free: 7.574 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.4384, allocations: 11.56 kB / 406.9 MB, free: 7.574 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.455e-05/0.4384, allocations: 7.688 kB / 407 MB, free: 7.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.4386, allocations: 208.4 kB / 407.2 MB, free: 7.352 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.4387, allocations: 3.969 kB / 407.2 MB, free: 7.352 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.4387, allocations: 6.844 kB / 407.2 MB, free: 7.352 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.418e-05/0.4388, allocations: 41.28 kB / 407.2 MB, free: 7.316 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4388, allocations: 0 / 407.2 MB, free: 7.316 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.4389, allocations: 0 / 407.2 MB, free: 7.316 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.239e-06/0.4389, allocations: 0 / 407.2 MB, free: 7.316 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.457e-05/0.4389, allocations: 23.2 kB / 407.2 MB, free: 7.309 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.4393, allocations: 297.2 kB / 407.5 MB, free: 7.016 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.4395, allocations: 40.66 kB / 407.6 MB, free: 6.988 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.4395, allocations: 12.33 kB / 407.6 MB, free: 6.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.4396, allocations: 3.875 kB / 407.6 MB, free: 6.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001027/0.4397, allocations: 55.09 kB / 407.6 MB, free: 6.926 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.49e-06/0.4397, allocations: 4 kB / 407.6 MB, free: 6.922 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003727/0.4401, allocations: 113 kB / 407.7 MB, free: 6.863 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.254e-05/0.4401, allocations: 55.38 kB / 407.8 MB, free: 6.801 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.4403, allocations: 186.5 kB / 408 MB, free: 6.688 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.579e-05/0.4403, allocations: 25.7 kB / 408 MB, free: 6.656 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.584e-05/0.4404, allocations: 172.4 kB / 408.2 MB, free: 6.504 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.132e-05/0.4404, allocations: 15.59 kB / 408.2 MB, free: 6.496 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.622e-06/0.4404, allocations: 0 / 408.2 MB, free: 6.496 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.88e-05/0.4405, allocations: 314.8 kB / 408.5 MB, free: 6.18 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.389e-05/0.4406, allocations: 30.03 kB / 408.5 MB, free: 6.172 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.492e-05/0.4406, allocations: 22.06 kB / 408.5 MB, free: 6.172 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.911e-05/0.4407, allocations: 52.53 kB / 408.6 MB, free: 6.137 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.755e-06/0.4407, allocations: 0 / 408.6 MB, free: 6.137 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002185/0.441, allocations: 122.3 kB / 408.7 MB, free: 6.066 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.441, allocations: 33.47 kB / 408.8 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.105e-06/0.441, allocations: 0 / 408.8 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.4411, allocations: 3.906 kB / 408.8 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.786e-05/0.4411, allocations: 9.938 kB / 408.8 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.395e-06/0.4411, allocations: 160 / 408.8 MB, free: 6.031 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.927e-05/0.4412, allocations: 11.86 kB / 408.8 MB, free: 6.023 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.4412, allocations: 7.938 kB / 408.8 MB, free: 6.016 MB / 314.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 () * 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 5.601e-05/0.4413, allocations: 109 kB / 408.9 MB, free: 5.91 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.4413, allocations: 11.66 kB / 408.9 MB, free: 5.902 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002229/0.4416, allocations: 89.86 kB / 409 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.036e-06/0.4416, allocations: 3.953 kB / 409 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.905e-06/0.4416, allocations: 0 / 409 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4416, allocations: 3.984 kB / 409 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.442, allocations: 361.1 kB / 409.3 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.748e-06/0.442, allocations: 192 / 409.3 MB, free: 5.523 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.733e-05/0.4421, allocations: 15.53 kB / 409.4 MB, free: 5.516 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.478e-06/0.4421, allocations: 96 / 409.4 MB, free: 5.516 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.174e-05/0.4421, allocations: 10.61 kB / 409.4 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.1e-06/0.4421, allocations: 3.812 kB / 409.4 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.821e-06/0.4421, allocations: 0 / 409.4 MB, free: 5.508 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001775/0.4423, allocations: 175.4 kB / 409.6 MB, free: 5.363 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.544e-05/0.4424, allocations: 96.62 kB / 409.6 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.934e-05/0.4424, allocations: 0 / 409.6 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.54e-05/0.4425, allocations: 7.781 kB / 409.7 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.705e-05/0.4426, allocations: 0 / 409.7 MB, free: 5.258 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.184e-05/0.4426, allocations: 7.797 kB / 409.7 MB, free: 5.254 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001301/0.4427, allocations: 151.1 kB / 409.8 MB, free: 5.168 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.94e-07/0.4428, allocations: 0 / 409.8 MB, free: 5.168 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003607/0.4431, allocations: 34.8 kB / 409.8 MB, free: 5.156 MB / 314.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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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.001051/0.4442, allocations: 351.5 kB / 410.2 MB, free: 4.945 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002214/0.4444, allocations: 110.3 kB / 410.3 MB, free: 4.879 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.512e-06/0.4444, allocations: 0 / 410.3 MB, free: 4.879 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.763e-05/0.4445, allocations: 22.5 kB / 410.3 MB, free: 4.875 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.4448, allocations: 18.98 kB / 410.3 MB, free: 4.867 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003987/0.4452, allocations: 189.8 kB / 410.5 MB, free: 4.727 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000154/0.4454, allocations: 0.7096 MB / 411.2 MB, free: 4.016 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.955e-05/0.4455, allocations: 15.22 kB / 411.2 MB, free: 4.008 MB / 314.7 MB Notification: Performance of SimCode: time 1.921e-06/0.4455, allocations: 0 / 411.2 MB, free: 4.008 MB / 314.7 MB Notification: Performance of Templates: time 0.003718/0.4492, allocations: 1.759 MB / 413 MB, free: 3.125 MB / 314.7 MB