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.Test53.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.Test53,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.Test53") Notification: Performance of loadModel(ModelicaTest): time 1.958/1.958, allocations: 209.3 MB / 224.8 MB, free: 188 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004544/0.0004545, allocations: 12 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3061/0.3066, allocations: 48.71 MB / 331.3 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1157/0.4224, allocations: 75.87 MB / 407.2 MB, free: 2.539 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003478/0.4228, allocations: 67.97 kB / 407.2 MB, free: 2.473 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02884/0.4517, allocations: 4.213 MB / 411.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.841e-06/0.4517, allocations: 0 / 411.4 MB, free: 14.26 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.806e-05/0.4518, allocations: 0 / 411.4 MB, free: 14.26 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.0009381/0.4527, allocations: 440.5 kB / 411.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.748e-05/0.4528, allocations: 8.031 kB / 411.9 MB, free: 13.77 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.698e-05/0.4529, allocations: 7.906 kB / 411.9 MB, free: 13.76 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004975/0.4534, allocations: 206.8 kB / 412.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.672e-05/0.4535, allocations: 4 kB / 412.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/0.4535, allocations: 4 kB / 412.1 MB, free: 13.51 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.4538, allocations: 49.62 kB / 412.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.736e-05/0.4538, allocations: 0 / 412.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.631e-05/0.4538, allocations: 0 / 412.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.4539, allocations: 0 / 412.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000109/0.454, allocations: 15.98 kB / 412.2 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007859/0.4548, allocations: 308.8 kB / 412.5 MB, free: 13.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.4552, allocations: 54.44 kB / 412.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.559e-05/0.4552, allocations: 0 / 412.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002192/0.4555, allocations: 59.48 kB / 412.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.485e-06/0.4555, allocations: 0 / 412.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0007937/0.4563, allocations: 125.5 kB / 412.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.977e-05/0.4564, allocations: 51.41 kB / 412.7 MB, free: 12.76 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005044/0.4569, allocations: 190.5 kB / 412.9 MB, free: 12.56 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 4.629e-05/0.457, allocations: 33.64 kB / 413 MB, free: 12.52 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001635/0.4572, allocations: 170.5 kB / 413.1 MB, free: 12.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.647e-05/0.4573, allocations: 11.91 kB / 413.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.316e-05/0.4573, allocations: 0 / 413.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002404/0.4576, allocations: 318.8 kB / 413.4 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/0.4577, allocations: 20 kB / 413.5 MB, free: 12 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001312/0.4579, allocations: 23.98 kB / 413.5 MB, free: 11.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.4581, allocations: 61.62 kB / 413.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4581, allocations: 0 / 413.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0005049/0.4586, allocations: 123.3 kB / 413.7 MB, free: 11.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.454e-05/0.4587, allocations: 37.69 kB / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.031e-06/0.4588, allocations: 0 / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.4588, allocations: 0 / 413.7 MB, free: 11.74 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00012/0.4589, allocations: 15.98 kB / 413.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.82e-05/0.459, allocations: 7.938 kB / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001181/0.4591, allocations: 0 / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.4592, allocations: 4 kB / 413.7 MB, free: 11.71 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.0002359/0.4594, allocations: 129.8 kB / 413.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.592e-05/0.4595, allocations: 7.906 kB / 413.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004458/0.46, allocations: 98.66 kB / 414 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.176e-06/0.46, allocations: 96 / 414 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.978e-06/0.46, allocations: 3.938 kB / 414 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.835e-06/0.4601, allocations: 0 / 414 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009149/0.461, allocations: 370.4 kB / 414.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.126e-05/0.461, allocations: 4 kB / 414.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.203e-05/0.4611, allocations: 4 kB / 414.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.346e-06/0.4612, allocations: 0 / 414.3 MB, free: 11.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.405e-05/0.4612, allocations: 12 kB / 414.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.929e-06/0.4612, allocations: 0 / 414.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.632e-06/0.4612, allocations: 0 / 414.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004367/0.4617, allocations: 183.5 kB / 414.5 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000151/0.4619, allocations: 96.95 kB / 414.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.455e-05/0.462, allocations: 0 / 414.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002083/0.4622, allocations: 7.984 kB / 414.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.4623, allocations: 0 / 414.6 MB, free: 10.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.7e-05/0.4623, allocations: 8 kB / 414.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003669/0.4627, allocations: 159.9 kB / 414.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.208e-06/0.4627, allocations: 4 kB / 414.8 MB, free: 10.54 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000806/0.4635, allocations: 36 kB / 414.8 MB, free: 10.5 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.002097/0.4657, allocations: 374 kB / 415.2 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004449/0.4661, allocations: 119.3 kB / 415.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.423e-06/0.4662, allocations: 0 / 415.3 MB, free: 10.08 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.4663, allocations: 19.98 kB / 415.3 MB, free: 10.06 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005227/0.4669, allocations: 14.58 kB / 415.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009833/0.4679, allocations: 271.4 kB / 415.6 MB, free: 9.754 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006498/0.4685, allocations: 0.7121 MB / 416.3 MB, free: 9.016 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.269e-05/0.4687, allocations: 11.44 kB / 416.3 MB, free: 9.004 MB / 346.7 MB Notification: Performance of SimCode: time 2.82e-06/0.4687, allocations: 0 / 416.3 MB, free: 9.004 MB / 346.7 MB Notification: Performance of Templates: time 0.007888/0.4766, allocations: 1.809 MB / 418.1 MB, free: 7.199 MB / 346.7 MB