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.Test7.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.Test7,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.Test7") Notification: Performance of loadModel(ModelicaTest): time 1.916/1.916, allocations: 209.3 MB / 224.9 MB, free: 188 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00096/0.0009602, allocations: 16 kB / 282.6 MB, free: 9.582 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2869, allocations: 48.7 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1133/0.4003, allocations: 75.87 MB / 407.2 MB, free: 2.543 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004308/0.4008, allocations: 67.97 kB / 407.2 MB, free: 2.477 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02978/0.4306, allocations: 4.28 MB / 411.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.605e-06/0.4307, allocations: 0 / 411.5 MB, free: 14.2 MB / 346.7 MB Notification: Performance of Transformations before backend: time 3.162e-05/0.4307, allocations: 3.984 kB / 411.5 MB, free: 14.19 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.0009489/0.4317, allocations: 448.5 kB / 411.9 MB, free: 13.7 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.266e-05/0.4318, allocations: 12.03 kB / 412 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.728e-05/0.4319, allocations: 7.906 kB / 412 MB, free: 13.68 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005014/0.4324, allocations: 210.7 kB / 412.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.4325, allocations: 8 kB / 412.2 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.649e-05/0.4325, allocations: 4 kB / 412.2 MB, free: 13.42 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.4328, allocations: 53.61 kB / 412.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.4328, allocations: 0 / 412.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.63e-05/0.4328, allocations: 0 / 412.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.255e-06/0.4329, allocations: 0 / 412.2 MB, free: 13.36 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001124/0.433, allocations: 15.98 kB / 412.3 MB, free: 13.35 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000789/0.4338, allocations: 296.9 kB / 412.5 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000366/0.4342, allocations: 54.5 kB / 412.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.992e-05/0.4343, allocations: 0 / 412.6 MB, free: 12.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002129/0.4345, allocations: 55.48 kB / 412.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 3.522e-06/0.4345, allocations: 0 / 412.6 MB, free: 12.88 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008024/0.4353, allocations: 133.2 kB / 412.8 MB, free: 12.74 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.437e-05/0.4354, allocations: 51.41 kB / 412.8 MB, free: 12.68 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005555/0.436, allocations: 205.9 kB / 413 MB, free: 12.47 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 5.044e-05/0.4361, allocations: 33.64 kB / 413.1 MB, free: 12.43 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001688/0.4363, allocations: 170.5 kB / 413.2 MB, free: 12.27 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.168e-05/0.4363, allocations: 11.91 kB / 413.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.282e-05/0.4364, allocations: 0 / 413.2 MB, free: 12.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002533/0.4367, allocations: 322.8 kB / 413.6 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001301/0.4368, allocations: 19.98 kB / 413.6 MB, free: 11.91 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001179/0.4369, allocations: 23.98 kB / 413.6 MB, free: 11.89 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.4372, allocations: 53.7 kB / 413.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.52e-06/0.4372, allocations: 4.031 kB / 413.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004546/0.4377, allocations: 135.2 kB / 413.8 MB, free: 11.68 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.4377, allocations: 30.64 kB / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.02e-05/0.4378, allocations: 4 kB / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.4378, allocations: 0 / 413.8 MB, free: 11.64 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001219/0.4379, allocations: 12.27 kB / 413.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.438, allocations: 0 / 413.8 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.4381, allocations: 7.938 kB / 413.8 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.4382, allocations: 0 / 413.8 MB, free: 11.62 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.0002435/0.4384, allocations: 141.8 kB / 414 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.137e-05/0.4385, allocations: 11.89 kB / 414 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004473/0.439, allocations: 94.73 kB / 414.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.476e-06/0.439, allocations: 0 / 414.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.29e-06/0.439, allocations: 0 / 414.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.044e-05/0.439, allocations: 3.984 kB / 414.1 MB, free: 11.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009138/0.44, allocations: 378.3 kB / 414.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.735e-06/0.44, allocations: 4 kB / 414.5 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.412e-05/0.4401, allocations: 8 kB / 414.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.085e-06/0.4401, allocations: 0 / 414.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.4402, allocations: 0 / 414.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.929e-06/0.4402, allocations: 0 / 414.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.067e-06/0.4402, allocations: 0 / 414.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004297/0.4407, allocations: 187.3 kB / 414.7 MB, free: 10.72 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.4408, allocations: 92.92 kB / 414.7 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.4e-05/0.4409, allocations: 7.984 kB / 414.8 MB, free: 10.61 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.4412, allocations: 4 kB / 414.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.4412, allocations: 4 kB / 414.8 MB, free: 10.6 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.4413, allocations: 4 kB / 414.8 MB, free: 10.59 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004095/0.4417, allocations: 180.2 kB / 414.9 MB, free: 10.42 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.004e-06/0.4417, allocations: 0 / 414.9 MB, free: 10.42 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008494/0.4426, allocations: 43.88 kB / 415 MB, free: 10.38 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.00206/0.4447, allocations: 376.9 kB / 415.3 MB, free: 10.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0004157/0.4451, allocations: 115.3 kB / 415.5 MB, free: 9.961 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.921e-06/0.4452, allocations: 0 / 415.5 MB, free: 9.961 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001123/0.4453, allocations: 20 kB / 415.5 MB, free: 9.941 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.4458, allocations: 16.11 kB / 415.5 MB, free: 9.926 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001064/0.4469, allocations: 295.2 kB / 415.8 MB, free: 9.602 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006491/0.4476, allocations: 0.7121 MB / 416.5 MB, free: 8.863 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.592e-05/0.4477, allocations: 11.44 kB / 416.5 MB, free: 8.852 MB / 346.7 MB Notification: Performance of SimCode: time 2.554e-06/0.4478, allocations: 4 kB / 416.5 MB, free: 8.848 MB / 346.7 MB Notification: Performance of Templates: time 0.008031/0.4558, allocations: 1.856 MB / 418.4 MB, free: 7 MB / 346.7 MB