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.Test47.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.Test47,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.Test47") Notification: Performance of loadModel(ModelicaTest): time 1.908/1.908, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/2.988e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08799/0.08805, allocations: 48.71 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3419/0.43, allocations: 75.78 MB / 402.3 MB, free: 10.08 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002071/0.4303, allocations: 73.89 kB / 402.4 MB, free: 10.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01688/0.4472, allocations: 4.315 MB / 406.7 MB, free: 8.402 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.494e-06/0.4473, allocations: 7.938 kB / 406.7 MB, free: 8.395 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.217e-05/0.4473, allocations: 0 / 406.7 MB, free: 8.395 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.0006144/0.4479, allocations: 436.4 kB / 407.1 MB, free: 7.961 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.5e-05/0.448, allocations: 7.656 kB / 407.2 MB, free: 7.961 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.076e-05/0.4481, allocations: 15.56 kB / 407.2 MB, free: 7.953 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003776/0.4485, allocations: 205.1 kB / 407.4 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.23e-05/0.4486, allocations: 0 / 407.4 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.609e-05/0.4486, allocations: 7 kB / 407.4 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001614/0.4488, allocations: 49.22 kB / 407.4 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.4488, allocations: 0 / 407.4 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.4489, allocations: 0 / 407.4 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.734e-06/0.4489, allocations: 3.781 kB / 407.4 MB, free: 7.695 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.531e-05/0.449, allocations: 15.02 kB / 407.4 MB, free: 7.691 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.4496, allocations: 307.5 kB / 407.7 MB, free: 7.402 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002805/0.4499, allocations: 48.56 kB / 407.8 MB, free: 7.371 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.018e-05/0.45, allocations: 12.7 kB / 407.8 MB, free: 7.359 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.4501, allocations: 0 / 407.8 MB, free: 7.359 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001643/0.4502, allocations: 66.5 kB / 407.9 MB, free: 7.301 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 3.075e-06/0.4503, allocations: 0 / 407.9 MB, free: 7.301 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005742/0.4508, allocations: 117.4 kB / 408 MB, free: 7.234 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.738e-05/0.4509, allocations: 59.09 kB / 408 MB, free: 7.168 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.4514, allocations: 222.2 kB / 408.3 MB, free: 7.051 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.832e-05/0.4514, allocations: 33.08 kB / 408.3 MB, free: 7.016 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.762e-05/0.4515, allocations: 173 kB / 408.5 MB, free: 6.863 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.542e-05/0.4516, allocations: 11.62 kB / 408.5 MB, free: 6.855 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.337e-05/0.4516, allocations: 3.875 kB / 408.5 MB, free: 6.855 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.353e-05/0.4517, allocations: 314.3 kB / 408.8 MB, free: 6.543 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.4518, allocations: 22.39 kB / 408.8 MB, free: 6.539 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.368e-05/0.4519, allocations: 22.34 kB / 408.8 MB, free: 6.539 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001369/0.4521, allocations: 55.72 kB / 408.9 MB, free: 6.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.534e-06/0.4521, allocations: 0 / 408.9 MB, free: 6.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003634/0.4525, allocations: 126.5 kB / 409 MB, free: 6.426 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.466e-05/0.4526, allocations: 37.28 kB / 409 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.55e-06/0.4526, allocations: 0 / 409 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.4526, allocations: 0 / 409 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.677e-05/0.4527, allocations: 7.688 kB / 409 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.541e-06/0.4528, allocations: 3.938 kB / 409 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.4529, allocations: 7.938 kB / 409.1 MB, free: 6.383 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.539e-05/0.4529, allocations: 7.953 kB / 409.1 MB, free: 6.379 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 8.328e-05/0.453, allocations: 116.5 kB / 409.2 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.165e-05/0.4531, allocations: 15.66 kB / 409.2 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003614/0.4535, allocations: 87.58 kB / 409.3 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.4535, allocations: 3.875 kB / 409.3 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.56e-06/0.4535, allocations: 0 / 409.3 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.409e-06/0.4535, allocations: 0 / 409.3 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006428/0.4542, allocations: 390.8 kB / 409.7 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.965e-06/0.4542, allocations: 3.938 kB / 409.7 MB, free: 5.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.175e-05/0.4543, allocations: 3.844 kB / 409.7 MB, free: 5.871 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.264e-06/0.4543, allocations: 4 kB / 409.7 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.4544, allocations: 3.844 kB / 409.7 MB, free: 5.867 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.777e-06/0.4544, allocations: 3.984 kB / 409.7 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.4544, allocations: 0 / 409.7 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.4547, allocations: 183.6 kB / 409.9 MB, free: 5.715 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.241e-05/0.4548, allocations: 92.72 kB / 410 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.141e-05/0.4549, allocations: 3.781 kB / 410 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.4551, allocations: 3.625 kB / 410 MB, free: 5.613 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.681e-05/0.4552, allocations: 7.875 kB / 410 MB, free: 5.609 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.842e-05/0.4552, allocations: 3.984 kB / 410 MB, free: 5.605 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002943/0.4555, allocations: 182.8 kB / 410.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.045e-06/0.4555, allocations: 0 / 410.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006799/0.4562, allocations: 38.52 kB / 410.2 MB, free: 5.508 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.001558/0.4578, allocations: 346.9 kB / 410.5 MB, free: 5.301 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003212/0.4581, allocations: 124.3 kB / 410.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.405e-06/0.4582, allocations: 0 / 410.6 MB, free: 5.223 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 8.701e-05/0.4583, allocations: 18.84 kB / 410.7 MB, free: 5.223 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.4587, allocations: 15.05 kB / 410.7 MB, free: 5.215 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000651/0.4594, allocations: 216.8 kB / 410.9 MB, free: 5.082 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.4597, allocations: 0.7222 MB / 411.6 MB, free: 4.359 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.4598, allocations: 18.69 kB / 411.6 MB, free: 4.352 MB / 314.7 MB Notification: Performance of SimCode: time 1.828e-06/0.4598, allocations: 0 / 411.6 MB, free: 4.352 MB / 314.7 MB Notification: Performance of Templates: time 0.006006/0.4658, allocations: 1.902 MB / 413.5 MB, free: 3.41 MB / 314.7 MB