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.Test22.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.Test22,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.Test22") Notification: Performance of loadModel(ModelicaTest): time 1.928/1.928, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.068e-05/3.084e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08453/0.08458, allocations: 48.69 MB / 326.5 MB, free: 14.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3607/0.4453, allocations: 75.78 MB / 402.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003242/0.4457, allocations: 72.52 kB / 402.4 MB, free: 10.03 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02492/0.4707, allocations: 4.005 MB / 406.4 MB, free: 8.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.306e-06/0.4708, allocations: 0 / 406.4 MB, free: 8.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.717e-05/0.4708, allocations: 0 / 406.4 MB, free: 8.48 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.0005795/0.4714, allocations: 410.2 kB / 406.8 MB, free: 8.059 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/0.4715, allocations: 11.44 kB / 406.8 MB, free: 8.059 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.28e-05/0.4716, allocations: 7.75 kB / 406.8 MB, free: 8.055 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003259/0.4719, allocations: 202 kB / 407 MB, free: 7.836 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.472, allocations: 7.094 kB / 407 MB, free: 7.836 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.66e-05/0.472, allocations: 11.8 kB / 407 MB, free: 7.828 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001574/0.4722, allocations: 40.81 kB / 407.1 MB, free: 7.793 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.4723, allocations: 3.984 kB / 407.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.544e-05/0.4723, allocations: 0 / 407.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.755e-06/0.4723, allocations: 0 / 407.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.4724, allocations: 15.19 kB / 407.1 MB, free: 7.789 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.473, allocations: 293.3 kB / 407.4 MB, free: 7.496 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003214/0.4733, allocations: 48.41 kB / 407.4 MB, free: 7.465 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.891e-05/0.4734, allocations: 8.766 kB / 407.4 MB, free: 7.457 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.4735, allocations: 3.938 kB / 407.4 MB, free: 7.457 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.4737, allocations: 57.55 kB / 407.5 MB, free: 7.402 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 3.939e-06/0.4737, allocations: 0 / 407.5 MB, free: 7.402 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006283/0.4743, allocations: 116.7 kB / 407.6 MB, free: 7.34 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.835e-05/0.4744, allocations: 51.41 kB / 407.7 MB, free: 7.277 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002812/0.4747, allocations: 156.7 kB / 407.8 MB, free: 7.176 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.691e-05/0.4748, allocations: 29.55 kB / 407.8 MB, free: 7.145 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.724e-05/0.4748, allocations: 161.5 kB / 408 MB, free: 6.992 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.679e-05/0.4749, allocations: 18.61 kB / 408 MB, free: 6.98 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.216e-05/0.4749, allocations: 0 / 408 MB, free: 6.98 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.103e-05/0.475, allocations: 321.6 kB / 408.3 MB, free: 6.664 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.4752, allocations: 23 kB / 408.3 MB, free: 6.66 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001154/0.4753, allocations: 29.83 kB / 408.4 MB, free: 6.652 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.4755, allocations: 44.52 kB / 408.4 MB, free: 6.621 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.716e-06/0.4755, allocations: 0 / 408.4 MB, free: 6.621 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004125/0.4759, allocations: 127.1 kB / 408.5 MB, free: 6.547 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.69e-05/0.476, allocations: 40.55 kB / 408.6 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.476, allocations: 3.938 kB / 408.6 MB, free: 6.508 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.953e-05/0.4761, allocations: 3.984 kB / 408.6 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.4762, allocations: 7.5 kB / 408.6 MB, free: 6.504 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.4762, allocations: 3.953 kB / 408.6 MB, free: 6.5 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.4763, allocations: 7.844 kB / 408.6 MB, free: 6.496 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.627e-05/0.4764, allocations: 3.875 kB / 408.6 MB, free: 6.496 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.981e-05/0.4765, allocations: 104.7 kB / 408.7 MB, free: 6.391 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/0.4766, allocations: 11.62 kB / 408.7 MB, free: 6.387 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003669/0.4769, allocations: 91.25 kB / 408.8 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.422e-06/0.477, allocations: 0 / 408.8 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.188e-06/0.477, allocations: 0 / 408.8 MB, free: 6.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/0.477, allocations: 7.766 kB / 408.8 MB, free: 6.336 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000602/0.4776, allocations: 349.2 kB / 409.2 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.416e-06/0.4777, allocations: 0 / 409.2 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.035e-05/0.4778, allocations: 7.844 kB / 409.2 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.498e-06/0.4778, allocations: 4 kB / 409.2 MB, free: 6.012 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.937e-05/0.4778, allocations: 7.047 kB / 409.2 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.662e-06/0.4779, allocations: 3.953 kB / 409.2 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.663e-06/0.4779, allocations: 4.031 kB / 409.2 MB, free: 6 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003029/0.4782, allocations: 176.3 kB / 409.4 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.942e-05/0.4783, allocations: 96.02 kB / 409.5 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.826e-05/0.4784, allocations: 0 / 409.5 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001912/0.4786, allocations: 3.906 kB / 409.5 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.4786, allocations: 10.64 kB / 409.5 MB, free: 5.746 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.886e-05/0.4787, allocations: 0 / 409.5 MB, free: 5.746 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001954/0.4789, allocations: 132.6 kB / 409.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.187e-06/0.4789, allocations: 0 / 409.6 MB, free: 5.664 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008038/0.4797, allocations: 34.22 kB / 409.6 MB, free: 5.656 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.00178/0.4815, allocations: 344 kB / 410 MB, free: 5.449 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0003471/0.4819, allocations: 112 kB / 410.1 MB, free: 5.383 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.87e-06/0.482, allocations: 3.938 kB / 410.1 MB, free: 5.379 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 9.991e-05/0.4821, allocations: 21.66 kB / 410.1 MB, free: 5.375 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004963/0.4826, allocations: 21.81 kB / 410.1 MB, free: 5.367 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000557/0.4832, allocations: 163.3 kB / 410.3 MB, free: 5.242 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002296/0.4834, allocations: 0.6995 MB / 411 MB, free: 4.535 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.373e-05/0.4835, allocations: 11.28 kB / 411 MB, free: 4.527 MB / 314.7 MB Notification: Performance of SimCode: time 2.339e-06/0.4836, allocations: 0 / 411 MB, free: 4.527 MB / 314.7 MB Notification: Performance of Templates: time 0.006227/0.4898, allocations: 1.707 MB / 412.7 MB, free: 3.672 MB / 314.7 MB