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.Test64.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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test64") Notification: Performance of loadModel(ModelicaTest): time 2.04/2.04, allocations: 209.2 MB / 225.4 MB, free: 1.555 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004232/0.0004234, allocations: 12 kB / 283.1 MB, free: 9.816 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1132, allocations: 48.71 MB / 331.8 MB, free: 9.008 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4093/0.5226, allocations: 75.69 MB / 407.5 MB, free: 9.543 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002976/0.523, allocations: 71.91 kB / 407.6 MB, free: 9.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01796/0.541, allocations: 4.154 MB / 411.7 MB, free: 5.332 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.103e-06/0.541, allocations: 0 / 411.7 MB, free: 5.332 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.51e-05/0.541, allocations: 0 / 411.7 MB, free: 5.332 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0006008/0.5417, allocations: 440.5 kB / 412.2 MB, free: 4.848 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.5417, allocations: 8.031 kB / 412.2 MB, free: 4.84 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/0.5418, allocations: 19.81 kB / 412.2 MB, free: 4.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/0.5421, allocations: 214.8 kB / 412.4 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.676e-05/0.5421, allocations: 0 / 412.4 MB, free: 4.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.86e-05/0.5422, allocations: 4 kB / 412.4 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001228/0.5423, allocations: 37.62 kB / 412.4 MB, free: 4.523 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5423, allocations: 4 kB / 412.4 MB, free: 4.52 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.416e-05/0.5423, allocations: 4 kB / 412.5 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.5424, allocations: 0 / 412.5 MB, free: 4.516 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.415e-05/0.5424, allocations: 11.98 kB / 412.5 MB, free: 4.504 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.5427, allocations: 201.6 kB / 412.7 MB, free: 4.258 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.487e-05/0.5428, allocations: 26.58 kB / 412.7 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.736e-05/0.5428, allocations: 0 / 412.7 MB, free: 4.223 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.543, allocations: 59.39 kB / 412.7 MB, free: 4.152 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.793e-06/0.543, allocations: 0 / 412.7 MB, free: 4.152 MB / 330.7 MB Notification: Performance of matching and sorting (n=3): time 0.0002769/0.5433, allocations: 73.5 kB / 412.8 MB, free: 4.074 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.5433, allocations: 59.39 kB / 412.9 MB, free: 4.004 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003876/0.5437, allocations: 235.5 kB / 413.1 MB, free: 3.758 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.498e-05/0.5438, allocations: 25.7 kB / 413.1 MB, free: 3.727 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.026e-05/0.5439, allocations: 170.6 kB / 413.3 MB, free: 3.559 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.471e-05/0.5439, allocations: 3.906 kB / 413.3 MB, free: 3.555 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.548e-05/0.5439, allocations: 7.938 kB / 413.3 MB, free: 3.547 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.5441, allocations: 318.8 kB / 413.6 MB, free: 3.227 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.451e-05/0.5442, allocations: 15.98 kB / 413.6 MB, free: 3.211 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.716e-05/0.5442, allocations: 31.92 kB / 413.7 MB, free: 3.18 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.382e-05/0.5443, allocations: 45.7 kB / 413.7 MB, free: 3.129 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.5444, allocations: 0 / 413.7 MB, free: 3.129 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002441/0.5446, allocations: 107.4 kB / 413.8 MB, free: 3.012 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.5447, allocations: 33.7 kB / 413.8 MB, free: 2.973 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.5447, allocations: 4 kB / 413.9 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.5447, allocations: 0 / 413.9 MB, free: 2.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.726e-05/0.5448, allocations: 7.938 kB / 413.9 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.5448, allocations: 0 / 413.9 MB, free: 2.961 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.604e-05/0.5449, allocations: 15.83 kB / 413.9 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.545, allocations: 8 kB / 413.9 MB, free: 2.938 MB / 330.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 (5): * Single equations (assignments): 4 * 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.0001474/0.5451, allocations: 130 kB / 414 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.5452, allocations: 15.89 kB / 414 MB, free: 2.785 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.5454, allocations: 78.55 kB / 414.1 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.5454, allocations: 0 / 414.1 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.5454, allocations: 0 / 414.1 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.5454, allocations: 0 / 414.1 MB, free: 2.699 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.5456, allocations: 197.6 kB / 414.3 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5457, allocations: 0 / 414.3 MB, free: 2.457 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.357e-05/0.5457, allocations: 15.98 kB / 414.3 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.5457, allocations: 0 / 414.3 MB, free: 2.441 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.5457, allocations: 4 kB / 414.3 MB, free: 2.438 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.778e-06/0.5458, allocations: 3.984 kB / 414.3 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5458, allocations: 0 / 414.3 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001841/0.546, allocations: 92.88 kB / 414.4 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/0.5461, allocations: 96.95 kB / 414.5 MB, free: 2.211 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.5461, allocations: 8 kB / 414.5 MB, free: 2.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.777e-05/0.5462, allocations: 4 kB / 414.5 MB, free: 2.199 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.5463, allocations: 7.984 kB / 414.5 MB, free: 2.191 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.5463, allocations: 0 / 414.5 MB, free: 2.191 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002628/0.5465, allocations: 185.1 kB / 414.7 MB, free: 2.012 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.5466, allocations: 0 / 414.7 MB, free: 2.012 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000323/0.5469, allocations: 31.94 kB / 414.7 MB, free: 1.98 MB / 330.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 (4): * Single equations (assignments): 3 * 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.0009375/0.5478, allocations: 325.9 kB / 415.1 MB, free: 1.727 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002653/0.5481, allocations: 107.3 kB / 415.2 MB, free: 1.609 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5481, allocations: 4 kB / 415.2 MB, free: 1.605 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 5.65e-05/0.5482, allocations: 15.98 kB / 415.2 MB, free: 1.59 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.5485, allocations: 12.19 kB / 415.2 MB, free: 1.574 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006777/0.5492, allocations: 291.7 kB / 415.5 MB, free: 1.262 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.5495, allocations: 0.7121 MB / 416.2 MB, free: 0.5234 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.412e-05/0.5496, allocations: 11.44 kB / 416.2 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5496, allocations: 0 / 416.2 MB, free: 0.5117 MB / 330.7 MB Notification: Performance of Templates: time 0.005224/0.5549, allocations: 1.733 MB / 417.9 MB, free: 14.79 MB / 346.7 MB