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.Test15.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.Test15,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.Test15") Notification: Performance of loadModel(ModelicaTest): time 2.03/2.03, allocations: 209.3 MB / 224.9 MB, free: 1.199 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004483/0.0004483, allocations: 16 kB / 282.6 MB, free: 9.703 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08872/0.08921, allocations: 48.7 MB / 331.3 MB, free: 8.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3264/0.4157, allocations: 75.82 MB / 407.1 MB, free: 9.336 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.416, allocations: 71.95 kB / 407.2 MB, free: 9.266 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01639/0.4324, allocations: 3.891 MB / 411.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.4324, allocations: 0 / 411.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.698e-05/0.4325, allocations: 8 kB / 411.1 MB, free: 5.383 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005691/0.433, allocations: 424.6 kB / 411.5 MB, free: 4.914 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.4331, allocations: 8.031 kB / 411.5 MB, free: 4.906 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.451e-05/0.4332, allocations: 11.91 kB / 411.5 MB, free: 4.895 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002711/0.4334, allocations: 191.5 kB / 411.7 MB, free: 4.668 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.972e-05/0.4335, allocations: 4 kB / 411.7 MB, free: 4.664 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.4335, allocations: 7.922 kB / 411.7 MB, free: 4.656 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.4336, allocations: 49.69 kB / 411.8 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.4337, allocations: 0 / 411.8 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.775e-06/0.4337, allocations: 0 / 411.8 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.521e-06/0.4337, allocations: 0 / 411.8 MB, free: 4.602 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.779e-05/0.4338, allocations: 15.98 kB / 411.8 MB, free: 4.586 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.4342, allocations: 292.8 kB / 412.1 MB, free: 4.25 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002353/0.4345, allocations: 46.48 kB / 412.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.393e-05/0.4345, allocations: 4 kB / 412.1 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001375/0.4347, allocations: 55.48 kB / 412.2 MB, free: 4.125 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.335e-06/0.4347, allocations: 0 / 412.2 MB, free: 4.125 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004783/0.4352, allocations: 129.6 kB / 412.3 MB, free: 3.992 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.823e-05/0.4353, allocations: 55.36 kB / 412.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001993/0.4355, allocations: 152.7 kB / 412.5 MB, free: 3.77 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.4355, allocations: 25.7 kB / 412.5 MB, free: 3.738 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.476e-05/0.4356, allocations: 158.6 kB / 412.7 MB, free: 3.582 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.896e-05/0.4356, allocations: 15.75 kB / 412.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.728e-06/0.4357, allocations: 0 / 412.7 MB, free: 3.566 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001624/0.4358, allocations: 322.8 kB / 413 MB, free: 3.242 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.599e-05/0.4359, allocations: 23.94 kB / 413 MB, free: 3.219 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.395e-05/0.436, allocations: 23.98 kB / 413 MB, free: 3.195 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.789e-05/0.4361, allocations: 53.64 kB / 413.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.841e-06/0.4361, allocations: 0 / 413.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002651/0.4364, allocations: 127.4 kB / 413.2 MB, free: 3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.925e-05/0.4365, allocations: 37.7 kB / 413.3 MB, free: 2.957 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/0.4365, allocations: 3.984 kB / 413.3 MB, free: 2.953 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.216e-05/0.4365, allocations: 0 / 413.3 MB, free: 2.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.697e-05/0.4366, allocations: 11.94 kB / 413.3 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.492e-06/0.4366, allocations: 3.953 kB / 413.3 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.384e-05/0.4367, allocations: 8 kB / 413.3 MB, free: 2.93 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.4367, allocations: 4.062 kB / 413.3 MB, free: 2.926 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 (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.0001317/0.4368, allocations: 117.8 kB / 413.4 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.904e-05/0.4369, allocations: 11.91 kB / 413.4 MB, free: 2.789 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002499/0.4371, allocations: 89.89 kB / 413.5 MB, free: 2.695 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.131e-06/0.4372, allocations: 4 kB / 413.5 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.019e-06/0.4372, allocations: 0 / 413.5 MB, free: 2.691 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.419e-06/0.4372, allocations: 3.953 kB / 413.5 MB, free: 2.688 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004816/0.4377, allocations: 350.5 kB / 413.9 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.308e-06/0.4377, allocations: 0 / 413.9 MB, free: 2.289 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.552e-05/0.4378, allocations: 4 kB / 413.9 MB, free: 2.285 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.041e-05/0.4378, allocations: 7.984 kB / 413.9 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.4378, allocations: 0 / 413.9 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.928e-06/0.4378, allocations: 3.953 kB / 413.9 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.816e-06/0.4378, allocations: 0 / 413.9 MB, free: 2.273 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002383/0.4381, allocations: 179.4 kB / 414 MB, free: 2.082 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.396e-05/0.4382, allocations: 89 kB / 414.1 MB, free: 1.977 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.924e-05/0.4382, allocations: 4 kB / 414.1 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.535e-05/0.4383, allocations: 4 kB / 414.1 MB, free: 1.969 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.639e-05/0.4384, allocations: 3.953 kB / 414.1 MB, free: 1.965 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.4384, allocations: 7.984 kB / 414.2 MB, free: 1.957 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001581/0.4385, allocations: 119.2 kB / 414.3 MB, free: 1.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.53e-07/0.4386, allocations: 0 / 414.3 MB, free: 1.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003861/0.439, allocations: 35.94 kB / 414.3 MB, free: 1.805 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 (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.001186/0.4402, allocations: 380 kB / 414.7 MB, free: 1.512 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.4404, allocations: 123.3 kB / 414.8 MB, free: 1.379 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.293e-06/0.4405, allocations: 0 / 414.8 MB, free: 1.379 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.134e-05/0.4405, allocations: 19.98 kB / 414.8 MB, free: 1.359 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002816/0.4408, allocations: 16 kB / 414.8 MB, free: 1.344 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005167/0.4414, allocations: 215.3 kB / 415 MB, free: 1.098 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000396/0.4418, allocations: 0.7004 MB / 415.7 MB, free: 380 kB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.114e-05/0.4419, allocations: 23.36 kB / 415.8 MB, free: 356 kB / 330.7 MB Notification: Performance of SimCode: time 1.695e-06/0.4419, allocations: 0 / 415.8 MB, free: 356 kB / 330.7 MB Notification: Performance of Templates: time 0.004297/0.4462, allocations: 1.666 MB / 417.4 MB, free: 14.69 MB / 346.7 MB