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.Test35.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.Test35,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.Test35") Notification: Performance of loadModel(ModelicaTest): time 2.104/2.104, allocations: 209.2 MB / 224.8 MB, free: 200 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004621/0.0004624, allocations: 16 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2919, allocations: 48.7 MB / 331.3 MB, free: 6.457 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1555/0.4475, allocations: 75.85 MB / 407.1 MB, free: 2.555 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002317/0.4477, allocations: 71.97 kB / 407.2 MB, free: 2.484 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01745/0.4652, allocations: 4.244 MB / 411.5 MB, free: 14.24 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.614e-06/0.4653, allocations: 0 / 411.5 MB, free: 14.24 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.256e-05/0.4653, allocations: 0 / 411.5 MB, free: 14.24 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.0005935/0.4659, allocations: 436.5 kB / 411.9 MB, free: 13.76 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.4659, allocations: 8.031 kB / 411.9 MB, free: 13.75 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.372e-05/0.466, allocations: 11.91 kB / 411.9 MB, free: 13.74 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.4663, allocations: 202.8 kB / 412.1 MB, free: 13.5 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.689e-05/0.4664, allocations: 7.984 kB / 412.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.626e-05/0.4664, allocations: 4 kB / 412.1 MB, free: 13.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001183/0.4665, allocations: 45.62 kB / 412.2 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4666, allocations: 0 / 412.2 MB, free: 13.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.338e-05/0.4666, allocations: 4 kB / 412.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.865e-06/0.4666, allocations: 0 / 412.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.12e-05/0.4667, allocations: 11.98 kB / 412.2 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000473/0.4672, allocations: 308.8 kB / 412.5 MB, free: 13.07 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002127/0.4674, allocations: 42.5 kB / 412.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.818e-06/0.4674, allocations: 0 / 412.5 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001462/0.4676, allocations: 67.47 kB / 412.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.219e-06/0.4676, allocations: 0 / 412.6 MB, free: 12.94 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004775/0.4681, allocations: 121.5 kB / 412.7 MB, free: 12.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.273e-05/0.4681, allocations: 55.41 kB / 412.8 MB, free: 12.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000292/0.4684, allocations: 194.5 kB / 412.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.114e-05/0.4685, allocations: 29.7 kB / 413 MB, free: 12.51 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001069/0.4686, allocations: 170.4 kB / 413.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.4686, allocations: 7.906 kB / 413.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.554e-06/0.4687, allocations: 0 / 413.1 MB, free: 12.34 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001626/0.4688, allocations: 322.8 kB / 413.5 MB, free: 12.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.489e-05/0.4689, allocations: 20 kB / 413.5 MB, free: 11.99 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.919e-05/0.469, allocations: 31.97 kB / 413.5 MB, free: 11.96 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000114/0.4691, allocations: 57.72 kB / 413.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.421e-06/0.4692, allocations: 0 / 413.6 MB, free: 11.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002671/0.4694, allocations: 131.2 kB / 413.7 MB, free: 11.76 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.483e-05/0.4695, allocations: 33.69 kB / 413.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.113e-06/0.4695, allocations: 0 / 413.7 MB, free: 11.72 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/0.4695, allocations: 4 kB / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.219e-05/0.4696, allocations: 7.984 kB / 413.7 MB, free: 11.71 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.14e-06/0.4696, allocations: 4 kB / 413.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.325e-05/0.4697, allocations: 0 / 413.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.4697, allocations: 11.94 kB / 413.8 MB, free: 11.69 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.0001393/0.4699, allocations: 133.8 kB / 413.9 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.4699, allocations: 7.906 kB / 413.9 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002517/0.4702, allocations: 98.72 kB / 414 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.832e-06/0.4702, allocations: 0 / 414 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.904e-06/0.4702, allocations: 0 / 414 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.4702, allocations: 0 / 414 MB, free: 11.44 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005141/0.4708, allocations: 374.4 kB / 414.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.047e-06/0.4708, allocations: 4 kB / 414.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.747e-05/0.4708, allocations: 4 kB / 414.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4e-06/0.4709, allocations: 0 / 414.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.358e-05/0.4709, allocations: 4 kB / 414.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.592e-06/0.4709, allocations: 0 / 414.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.681e-06/0.4709, allocations: 0 / 414.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.4712, allocations: 183.3 kB / 414.5 MB, free: 10.81 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.59e-05/0.4713, allocations: 96.95 kB / 414.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.877e-05/0.4713, allocations: 0 / 414.6 MB, free: 10.7 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.4714, allocations: 7.984 kB / 414.6 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.28e-05/0.4715, allocations: 4 kB / 414.7 MB, free: 10.69 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.4715, allocations: 4 kB / 414.7 MB, free: 10.68 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001981/0.4717, allocations: 155.9 kB / 414.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.74e-07/0.4717, allocations: 3.938 kB / 414.8 MB, free: 10.53 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000383/0.4721, allocations: 36 kB / 414.8 MB, free: 10.49 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.001193/0.4733, allocations: 378 kB / 415.2 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.4736, allocations: 119.3 kB / 415.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.4736, allocations: 0 / 415.3 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.753e-05/0.4737, allocations: 19.98 kB / 415.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002791/0.474, allocations: 14.7 kB / 415.4 MB, free: 10.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005954/0.4746, allocations: 275.4 kB / 415.6 MB, free: 9.738 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004109/0.475, allocations: 0.716 MB / 416.4 MB, free: 8.996 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.081e-05/0.4751, allocations: 11.44 kB / 416.4 MB, free: 8.984 MB / 346.7 MB Notification: Performance of SimCode: time 1.792e-06/0.4751, allocations: 4 kB / 416.4 MB, free: 8.98 MB / 346.7 MB Notification: Performance of Templates: time 0.004496/0.4796, allocations: 1.805 MB / 418.2 MB, free: 7.18 MB / 346.7 MB