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.Test3.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.Test3,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.Test3") Notification: Performance of loadModel(ModelicaTest): time 1.841/1.841, allocations: 209.3 MB / 224.9 MB, free: 196 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004617/0.0004618, allocations: 20 kB / 282.6 MB, free: 9.578 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2841/0.2846, allocations: 48.7 MB / 331.3 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1149/0.3996, allocations: 75.82 MB / 407.1 MB, free: 2.602 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000243/0.3999, allocations: 75.91 kB / 407.2 MB, free: 2.527 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01646/0.4164, allocations: 3.83 MB / 411 MB, free: 14.7 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.035e-06/0.4164, allocations: 0 / 411 MB, free: 14.7 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.332e-05/0.4164, allocations: 0 / 411 MB, free: 14.7 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.0006009/0.4171, allocations: 420.7 kB / 411.4 MB, free: 14.23 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.4171, allocations: 8.031 kB / 411.4 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.818e-05/0.4172, allocations: 4 kB / 411.4 MB, free: 14.22 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000272/0.4175, allocations: 195.8 kB / 411.6 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.959e-05/0.4175, allocations: 3.984 kB / 411.6 MB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.554e-05/0.4175, allocations: 8 kB / 411.6 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.4177, allocations: 45.62 kB / 411.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4177, allocations: 0 / 411.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.4177, allocations: 0 / 411.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.553e-06/0.4177, allocations: 4 kB / 411.7 MB, free: 13.93 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.771e-05/0.4178, allocations: 19.98 kB / 411.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004762/0.4183, allocations: 284.8 kB / 412 MB, free: 13.58 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.4186, allocations: 54.48 kB / 412 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.4186, allocations: 0 / 412 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001447/0.4187, allocations: 59.5 kB / 412.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.505e-06/0.4188, allocations: 0 / 412.1 MB, free: 13.45 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000498/0.4193, allocations: 117.5 kB / 412.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.404e-05/0.4193, allocations: 55.41 kB / 412.3 MB, free: 13.26 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001799/0.4195, allocations: 140.2 kB / 412.4 MB, free: 13.12 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.961e-05/0.4196, allocations: 29.7 kB / 412.4 MB, free: 13.08 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.627e-05/0.4197, allocations: 158.5 kB / 412.6 MB, free: 12.93 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.338e-05/0.4197, allocations: 15.89 kB / 412.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.737e-06/0.4198, allocations: 0 / 412.6 MB, free: 12.91 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4199, allocations: 326.7 kB / 412.9 MB, free: 12.58 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.332e-05/0.42, allocations: 27.92 kB / 412.9 MB, free: 12.55 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.563e-05/0.4201, allocations: 19.98 kB / 413 MB, free: 12.54 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001012/0.4202, allocations: 53.7 kB / 413 MB, free: 12.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.916e-06/0.4202, allocations: 0 / 413 MB, free: 12.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002744/0.4205, allocations: 135.2 kB / 413.1 MB, free: 12.33 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.546e-05/0.4206, allocations: 29.7 kB / 413.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.843e-06/0.4206, allocations: 0 / 413.2 MB, free: 12.3 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.4206, allocations: 4 kB / 413.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.242e-05/0.4207, allocations: 7.984 kB / 413.2 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.895e-06/0.4207, allocations: 12.14 kB / 413.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.32e-05/0.4208, allocations: 0 / 413.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.4208, allocations: 4 kB / 413.2 MB, free: 12.27 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.0001311/0.421, allocations: 125.7 kB / 413.3 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.527e-05/0.421, allocations: 7.906 kB / 413.3 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002526/0.4213, allocations: 90.09 kB / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.665e-06/0.4213, allocations: 4 kB / 413.4 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.486e-06/0.4213, allocations: 4 kB / 413.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.955e-06/0.4213, allocations: 0 / 413.4 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004904/0.4218, allocations: 346.5 kB / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.223e-06/0.4218, allocations: 0 / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/0.4219, allocations: 11.98 kB / 413.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.635e-06/0.4219, allocations: 0 / 413.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.4219, allocations: 0 / 413.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.422, allocations: 4 kB / 413.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.919e-06/0.422, allocations: 0 / 413.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002429/0.4222, allocations: 183.3 kB / 414 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.055e-05/0.4223, allocations: 85.02 kB / 414 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.904e-05/0.4223, allocations: 4.094 kB / 414.1 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.763e-05/0.4225, allocations: 7.938 kB / 414.1 MB, free: 11.31 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.009e-05/0.4225, allocations: 7.984 kB / 414.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.4225, allocations: 0 / 414.1 MB, free: 11.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001237/0.4227, allocations: 107.3 kB / 414.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of sort global known variables: time 9.93e-07/0.4227, allocations: 0 / 414.2 MB, free: 11.2 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003878/0.4231, allocations: 43.86 kB / 414.2 MB, free: 11.16 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.001224/0.4243, allocations: 376.2 kB / 414.6 MB, free: 10.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002736/0.4246, allocations: 123.2 kB / 414.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.448e-06/0.4246, allocations: 0 / 414.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.616e-05/0.4247, allocations: 20 kB / 414.7 MB, free: 10.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002878/0.425, allocations: 15.98 kB / 414.7 MB, free: 10.7 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005168/0.4255, allocations: 211.7 kB / 414.9 MB, free: 10.45 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003909/0.426, allocations: 0.6965 MB / 415.6 MB, free: 9.727 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.824e-05/0.426, allocations: 15.44 kB / 415.7 MB, free: 9.711 MB / 346.7 MB Notification: Performance of SimCode: time 1.804e-06/0.426, allocations: 0 / 415.7 MB, free: 9.711 MB / 346.7 MB Notification: Performance of Templates: time 0.004319/0.4304, allocations: 1.631 MB / 417.3 MB, free: 8.086 MB / 346.7 MB