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.Test19.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.Test19,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.Test19") Notification: Performance of loadModel(ModelicaTest): time 2.086/2.086, allocations: 209.3 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.0004441, allocations: 16 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3382/0.3386, allocations: 48.7 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1138/0.4525, allocations: 75.83 MB / 407.1 MB, free: 2.602 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.4528, allocations: 63.97 kB / 407.2 MB, free: 2.539 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01652/0.4693, allocations: 3.926 MB / 411.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.339e-06/0.4694, allocations: 0 / 411.1 MB, free: 14.61 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.327e-05/0.4694, allocations: 0 / 411.1 MB, free: 14.61 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005961/0.47, allocations: 432.6 kB / 411.5 MB, free: 14.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.4701, allocations: 8.031 kB / 411.5 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.867e-05/0.4701, allocations: 7.906 kB / 411.5 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002879/0.4704, allocations: 198.8 kB / 411.7 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.463e-05/0.4705, allocations: 8 kB / 411.7 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.699e-05/0.4705, allocations: 8 kB / 411.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000121/0.4706, allocations: 41.69 kB / 411.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.4706, allocations: 0 / 411.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.4707, allocations: 0 / 411.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.4707, allocations: 0 / 411.8 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.695e-05/0.4708, allocations: 19.97 kB / 411.8 MB, free: 13.8 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000469/0.4712, allocations: 288.9 kB / 412.1 MB, free: 13.47 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.4715, allocations: 54.44 kB / 412.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.4715, allocations: 0 / 412.2 MB, free: 13.41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001403/0.4717, allocations: 63.48 kB / 412.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.644e-06/0.4717, allocations: 0 / 412.2 MB, free: 13.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004988/0.4722, allocations: 117.3 kB / 412.3 MB, free: 13.21 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.082e-05/0.4723, allocations: 55.36 kB / 412.4 MB, free: 13.15 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002195/0.4725, allocations: 165.4 kB / 412.5 MB, free: 12.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.4725, allocations: 25.7 kB / 412.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.4726, allocations: 162.6 kB / 412.7 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.4727, allocations: 19.78 kB / 412.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.696e-06/0.4727, allocations: 0 / 412.7 MB, free: 12.77 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4729, allocations: 314.8 kB / 413.1 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.372e-05/0.473, allocations: 27.92 kB / 413.1 MB, free: 12.42 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.411e-05/0.473, allocations: 27.92 kB / 413.1 MB, free: 12.39 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.892e-05/0.4732, allocations: 49.7 kB / 413.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.57e-06/0.4732, allocations: 4 kB / 413.2 MB, free: 12.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002817/0.4735, allocations: 123.4 kB / 413.3 MB, free: 12.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.81e-05/0.4735, allocations: 33.7 kB / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.367e-06/0.4735, allocations: 3.938 kB / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.4736, allocations: 0 / 413.3 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.299e-05/0.4736, allocations: 11.98 kB / 413.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.185e-06/0.4737, allocations: 0 / 413.3 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.448e-05/0.4737, allocations: 12.02 kB / 413.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.4738, allocations: 4 kB / 413.3 MB, free: 12.13 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 (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.000141/0.4739, allocations: 125.8 kB / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.474, allocations: 11.89 kB / 413.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002543/0.4742, allocations: 89.92 kB / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.687e-06/0.4743, allocations: 96 / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.793e-06/0.4743, allocations: 7.938 kB / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.307e-06/0.4743, allocations: 0 / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004918/0.4748, allocations: 350.5 kB / 413.9 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.303e-06/0.4748, allocations: 0 / 413.9 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.236e-05/0.4749, allocations: 12 kB / 413.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.144e-06/0.4749, allocations: 0 / 413.9 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.4749, allocations: 3.984 kB / 413.9 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.456e-06/0.4749, allocations: 0 / 413.9 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.994e-06/0.4749, allocations: 7.891 kB / 413.9 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002375/0.4752, allocations: 175.4 kB / 414.1 MB, free: 11.28 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.046e-05/0.4753, allocations: 93 kB / 414.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.725e-05/0.4753, allocations: 0 / 414.2 MB, free: 11.17 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.474e-05/0.4754, allocations: 4 kB / 414.2 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.4755, allocations: 11.95 kB / 414.2 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.591e-05/0.4755, allocations: 7.984 kB / 414.2 MB, free: 11.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001545/0.4757, allocations: 126.6 kB / 414.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.69e-07/0.4757, allocations: 0 / 414.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003782/0.4761, allocations: 28 kB / 414.4 MB, free: 11 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 (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.001202/0.4773, allocations: 390.3 kB / 414.8 MB, free: 10.69 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002722/0.4776, allocations: 115.3 kB / 414.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.315e-06/0.4776, allocations: 0 / 414.9 MB, free: 10.57 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.458e-05/0.4777, allocations: 19.98 kB / 414.9 MB, free: 10.55 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002949/0.478, allocations: 15.98 kB / 414.9 MB, free: 10.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005575/0.4786, allocations: 235.2 kB / 415.1 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003993/0.479, allocations: 0.6996 MB / 415.8 MB, free: 9.543 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.338e-05/0.479, allocations: 15.44 kB / 415.9 MB, free: 9.527 MB / 346.7 MB Notification: Performance of SimCode: time 1.578e-06/0.4791, allocations: 0 / 415.9 MB, free: 9.527 MB / 346.7 MB Notification: Performance of Templates: time 0.004379/0.4835, allocations: 1.71 MB / 417.6 MB, free: 7.824 MB / 346.7 MB