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.Test63.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.Test63,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.Test63") Notification: Performance of loadModel(ModelicaTest): time 2.102/2.102, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006284/0.0006288, allocations: 12 kB / 283.1 MB, free: 9.688 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3698, allocations: 48.7 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1526/0.5225, allocations: 75.71 MB / 407.5 MB, free: 2.719 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003585/0.5229, allocations: 75.95 kB / 407.6 MB, free: 2.645 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02326/0.5462, allocations: 4.146 MB / 411.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.916e-06/0.5463, allocations: 0 / 411.7 MB, free: 14.5 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.75e-05/0.5463, allocations: 0 / 411.7 MB, free: 14.5 MB / 346.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.0008198/0.5471, allocations: 447.4 kB / 412.2 MB, free: 14.01 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.5472, allocations: 8.031 kB / 412.2 MB, free: 14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.494e-05/0.5473, allocations: 19.81 kB / 412.2 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.5478, allocations: 210.8 kB / 412.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.958e-05/0.5478, allocations: 0 / 412.4 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.5479, allocations: 4 kB / 412.4 MB, free: 13.73 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001502/0.548, allocations: 33.69 kB / 412.4 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.5481, allocations: 3.938 kB / 412.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.5481, allocations: 4 kB / 412.4 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.5481, allocations: 4 kB / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.698e-05/0.5482, allocations: 7.984 kB / 412.5 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003423/0.5486, allocations: 201.6 kB / 412.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.5487, allocations: 26.58 kB / 412.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.507e-05/0.5487, allocations: 0 / 412.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001946/0.5489, allocations: 63.39 kB / 412.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 2.284e-06/0.549, allocations: 3.938 kB / 412.7 MB, free: 13.32 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003475/0.5493, allocations: 73.48 kB / 412.8 MB, free: 13.24 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.095e-05/0.5494, allocations: 59.41 kB / 412.9 MB, free: 13.17 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005686/0.55, allocations: 235.5 kB / 413.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.55, allocations: 29.7 kB / 413.1 MB, free: 12.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001212/0.5502, allocations: 166.6 kB / 413.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.112e-05/0.5502, allocations: 3.906 kB / 413.3 MB, free: 12.72 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.509e-05/0.5502, allocations: 4 kB / 413.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.5504, allocations: 318.8 kB / 413.6 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.698e-05/0.5505, allocations: 12 kB / 413.6 MB, free: 12.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.862e-05/0.5506, allocations: 27.98 kB / 413.7 MB, free: 12.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000126/0.5508, allocations: 53.59 kB / 413.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5508, allocations: 0 / 413.7 MB, free: 12.3 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003277/0.5511, allocations: 111.4 kB / 413.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.375e-05/0.5512, allocations: 33.7 kB / 413.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.757e-06/0.5512, allocations: 0 / 413.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.5513, allocations: 7.938 kB / 413.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.5514, allocations: 7.984 kB / 413.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.5514, allocations: 0 / 413.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001145/0.5515, allocations: 11.84 kB / 413.9 MB, free: 12.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.5516, allocations: 8 kB / 413.9 MB, free: 12.1 MB / 346.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.0001783/0.5518, allocations: 129.8 kB / 414 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.504e-05/0.5518, allocations: 11.91 kB / 414 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002764/0.5521, allocations: 82.72 kB / 414.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.5521, allocations: 0 / 414.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5522, allocations: 0 / 414.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5522, allocations: 0 / 414.1 MB, free: 11.86 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002724/0.5525, allocations: 197.6 kB / 414.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.5525, allocations: 3.953 kB / 414.3 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.137e-05/0.5525, allocations: 8 kB / 414.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.287e-06/0.5526, allocations: 0 / 414.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.197e-05/0.5526, allocations: 0 / 414.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.5526, allocations: 4 kB / 414.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.953e-06/0.5526, allocations: 0 / 414.3 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.5529, allocations: 96.86 kB / 414.4 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.553, allocations: 96.97 kB / 414.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.785e-05/0.5531, allocations: 4 kB / 414.5 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.82e-05/0.5532, allocations: 11.92 kB / 414.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.5532, allocations: 0 / 414.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.112e-05/0.5533, allocations: 4 kB / 414.5 MB, free: 11.36 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003616/0.5536, allocations: 185.1 kB / 414.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.31e-07/0.5536, allocations: 0 / 414.7 MB, free: 11.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004961/0.5542, allocations: 35.92 kB / 414.7 MB, free: 11.14 MB / 346.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.001285/0.5555, allocations: 329.6 kB / 415.1 MB, free: 10.89 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003014/0.5558, allocations: 99.33 kB / 415.2 MB, free: 10.78 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5558, allocations: 4 kB / 415.2 MB, free: 10.77 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.565e-05/0.5559, allocations: 15.98 kB / 415.2 MB, free: 10.76 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003518/0.5563, allocations: 16.17 kB / 415.2 MB, free: 10.74 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000855/0.5571, allocations: 291.7 kB / 415.5 MB, free: 10.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004288/0.5576, allocations: 0.7121 MB / 416.2 MB, free: 9.688 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.447e-05/0.5577, allocations: 11.44 kB / 416.2 MB, free: 9.676 MB / 346.7 MB Notification: Performance of SimCode: time 1.082e-06/0.5577, allocations: 0 / 416.2 MB, free: 9.676 MB / 346.7 MB Notification: Performance of Templates: time 0.006638/0.5644, allocations: 1.724 MB / 417.9 MB, free: 7.957 MB / 346.7 MB