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.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadModel(ModelicaTest): time 1.963/1.963, allocations: 209.3 MB / 224.8 MB, free: 1.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004382/0.0004384, allocations: 16 kB / 282.6 MB, free: 9.715 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0866/0.08707, allocations: 48.7 MB / 331.3 MB, free: 8.926 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3242/0.4113, allocations: 75.87 MB / 407.1 MB, free: 9.301 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002435/0.4116, allocations: 75.95 kB / 407.2 MB, free: 9.227 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01861/0.4302, allocations: 4.541 MB / 411.8 MB, free: 4.691 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.902e-06/0.4303, allocations: 0 / 411.8 MB, free: 4.691 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.78e-05/0.4303, allocations: 7.938 kB / 411.8 MB, free: 4.684 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006171/0.4309, allocations: 448.5 kB / 412.2 MB, free: 4.191 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.431, allocations: 12.03 kB / 412.2 MB, free: 4.18 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.762e-05/0.4311, allocations: 15.81 kB / 412.2 MB, free: 4.164 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003211/0.4314, allocations: 214.8 kB / 412.4 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.4314, allocations: 0 / 412.4 MB, free: 3.914 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.4315, allocations: 4 kB / 412.4 MB, free: 3.91 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.4316, allocations: 53.67 kB / 412.5 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.4317, allocations: 0 / 412.5 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.4317, allocations: 4 kB / 412.5 MB, free: 3.848 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.4317, allocations: 7.938 kB / 412.5 MB, free: 3.84 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.693e-05/0.4318, allocations: 19.98 kB / 412.5 MB, free: 3.82 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000542/0.4324, allocations: 328.7 kB / 412.9 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.4325, allocations: 54.56 kB / 412.9 MB, free: 3.387 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.452e-05/0.4326, allocations: 3.984 kB / 412.9 MB, free: 3.383 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001518/0.4327, allocations: 63.42 kB / 413 MB, free: 3.309 MB / 330.7 MB Notification: Performance of pre-optimization done (n=5): time 3.236e-06/0.4327, allocations: 0 / 413 MB, free: 3.309 MB / 330.7 MB Notification: Performance of matching and sorting (n=6): time 0.0005614/0.4333, allocations: 157.2 kB / 413.1 MB, free: 3.148 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.252e-05/0.4334, allocations: 51.41 kB / 413.2 MB, free: 3.086 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.4337, allocations: 221.8 kB / 413.4 MB, free: 2.859 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.259e-05/0.4337, allocations: 25.7 kB / 413.4 MB, free: 2.828 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001217/0.4339, allocations: 170.5 kB / 413.6 MB, free: 2.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001223/0.438, allocations: 19.75 kB / 413.6 MB, free: 2.641 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.02e-05/0.438, allocations: 0 / 413.6 MB, free: 2.641 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002284/0.4383, allocations: 318.8 kB / 413.9 MB, free: 2.32 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.4385, allocations: 31.98 kB / 413.9 MB, free: 2.289 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001283/0.4386, allocations: 24 kB / 414 MB, free: 2.266 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.4388, allocations: 65.72 kB / 414 MB, free: 2.195 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.003e-06/0.4389, allocations: 0 / 414 MB, free: 2.195 MB / 330.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005282/0.4394, allocations: 139.3 kB / 414.2 MB, free: 2.047 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.607e-05/0.4395, allocations: 33.7 kB / 414.2 MB, free: 2.008 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.4395, allocations: 3.984 kB / 414.2 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.284e-05/0.4396, allocations: 0 / 414.2 MB, free: 2.004 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001574/0.4397, allocations: 11.98 kB / 414.2 MB, free: 1.992 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.58e-05/0.4398, allocations: 3.953 kB / 414.2 MB, free: 1.988 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001413/0.4399, allocations: 12 kB / 414.2 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.877e-05/0.44, allocations: 4 kB / 414.2 MB, free: 1.973 MB / 330.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 (8): * Single equations (assignments): 7 * 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.0002432/0.4403, allocations: 133.8 kB / 414.4 MB, free: 1.832 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.885e-05/0.4403, allocations: 11.81 kB / 414.4 MB, free: 1.82 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005002/0.4408, allocations: 119 kB / 414.5 MB, free: 1.699 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.4409, allocations: 3.938 kB / 414.5 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.649e-06/0.4409, allocations: 0 / 414.5 MB, free: 1.695 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.705e-06/0.4409, allocations: 3.953 kB / 414.5 MB, free: 1.691 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009814/0.4419, allocations: 410.7 kB / 414.9 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.04e-06/0.4419, allocations: 0 / 414.9 MB, free: 1.234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001132/0.4421, allocations: 12 kB / 414.9 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.396e-06/0.4421, allocations: 0 / 414.9 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.912e-05/0.4421, allocations: 448 / 414.9 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.4422, allocations: 3.953 kB / 414.9 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.051e-06/0.4422, allocations: 3.984 kB / 414.9 MB, free: 1.215 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004643/0.4427, allocations: 203.3 kB / 415.1 MB, free: 1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001665/0.4428, allocations: 101 kB / 415.2 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.4429, allocations: 0 / 415.2 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.4431, allocations: 0 / 415.2 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.4432, allocations: 11.94 kB / 415.2 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.359e-05/0.4432, allocations: 4 kB / 415.2 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003717/0.4436, allocations: 175.2 kB / 415.4 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.063e-06/0.4436, allocations: 0 / 415.4 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006843/0.4443, allocations: 47.83 kB / 415.5 MB, free: 0.6484 MB / 330.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 (8): * Single equations (assignments): 7 * 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.00183/0.4462, allocations: 373.9 kB / 415.8 MB, free: 364 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004934/0.4467, allocations: 127.3 kB / 415.9 MB, free: 224 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.703e-06/0.4467, allocations: 4 kB / 415.9 MB, free: 220 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001206/0.4469, allocations: 27.98 kB / 416 MB, free: 192 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004698/0.4474, allocations: 24.11 kB / 416 MB, free: 164 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009358/0.4483, allocations: 311.6 kB / 416.3 MB, free: 15.82 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005339/0.4489, allocations: 0.7199 MB / 417 MB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.974e-05/0.449, allocations: 15.44 kB / 417 MB, free: 15.06 MB / 346.7 MB Notification: Performance of SimCode: time 1.951e-06/0.449, allocations: 0 / 417 MB, free: 15.06 MB / 346.7 MB Notification: Performance of Templates: time 0.007275/0.4563, allocations: 1.991 MB / 419 MB, free: 13.08 MB / 346.7 MB