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.Test60.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.Test60,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.Test60") Notification: Performance of loadModel(ModelicaTest): time 1.803/1.803, allocations: 209.3 MB / 224.9 MB, free: 1.352 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004377/0.0004377, allocations: 15.98 kB / 282.6 MB, free: 9.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08832/0.08878, allocations: 48.71 MB / 331.3 MB, free: 8.93 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3235/0.4123, allocations: 76.08 MB / 407.4 MB, free: 9.062 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.4126, allocations: 75.97 kB / 407.4 MB, free: 8.988 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01824/0.4309, allocations: 4.661 MB / 412.1 MB, free: 4.336 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.14e-06/0.4309, allocations: 0 / 412.1 MB, free: 4.336 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.4309, allocations: 12 kB / 412.1 MB, free: 4.324 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.0005416/0.4315, allocations: 412.8 kB / 412.5 MB, free: 3.867 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.4315, allocations: 8.031 kB / 412.5 MB, free: 3.859 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.462e-05/0.4316, allocations: 7.906 kB / 412.5 MB, free: 3.852 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.4319, allocations: 190.9 kB / 412.7 MB, free: 3.625 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.4319, allocations: 4 kB / 412.7 MB, free: 3.621 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.4319, allocations: 0 / 412.7 MB, free: 3.621 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001477/0.4321, allocations: 67.33 kB / 412.8 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.158e-05/0.4321, allocations: 0 / 412.8 MB, free: 3.543 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.4322, allocations: 7.984 kB / 412.8 MB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.4322, allocations: 0 / 412.8 MB, free: 3.535 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.904e-05/0.4322, allocations: 11.98 kB / 412.8 MB, free: 3.523 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004318/0.4327, allocations: 284.8 kB / 413.1 MB, free: 3.195 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.4329, allocations: 50.5 kB / 413.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.861e-06/0.4329, allocations: 0 / 413.1 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001464/0.4331, allocations: 63.48 kB / 413.2 MB, free: 3.062 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 4.442e-06/0.4331, allocations: 0 / 413.2 MB, free: 3.062 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.00044/0.4336, allocations: 109.4 kB / 413.3 MB, free: 2.949 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.635e-05/0.4336, allocations: 85.06 kB / 413.4 MB, free: 2.848 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001757/0.4338, allocations: 128.9 kB / 413.5 MB, free: 2.715 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.4339, allocations: 33.7 kB / 413.5 MB, free: 2.676 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.196e-05/0.434, allocations: 158.6 kB / 413.7 MB, free: 2.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.434, allocations: 23.72 kB / 413.7 MB, free: 2.496 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.675e-06/0.434, allocations: 0 / 413.7 MB, free: 2.496 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4342, allocations: 314.8 kB / 414 MB, free: 2.18 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.399e-05/0.4343, allocations: 19.98 kB / 414.1 MB, free: 2.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.243e-05/0.4344, allocations: 33.7 kB / 414.1 MB, free: 2.121 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.513e-05/0.4345, allocations: 57.67 kB / 414.1 MB, free: 2.059 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.708e-06/0.4345, allocations: 4.031 kB / 414.1 MB, free: 2.055 MB / 330.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002392/0.4348, allocations: 111.4 kB / 414.3 MB, free: 1.934 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.847e-05/0.4348, allocations: 37.69 kB / 414.3 MB, free: 1.891 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.987e-06/0.4348, allocations: 4 kB / 414.3 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.4349, allocations: 0 / 414.3 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.339e-05/0.4349, allocations: 11.94 kB / 414.3 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.264e-06/0.435, allocations: 0 / 414.3 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.399e-05/0.435, allocations: 7.953 kB / 414.3 MB, free: 1.867 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.4351, allocations: 3.984 kB / 414.3 MB, free: 1.863 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.0001281/0.4352, allocations: 126 kB / 414.4 MB, free: 1.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.4352, allocations: 3.906 kB / 414.4 MB, free: 1.727 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002385/0.4355, allocations: 85.64 kB / 414.5 MB, free: 1.641 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.283e-06/0.4355, allocations: 4 kB / 414.5 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.751e-06/0.4355, allocations: 0 / 414.5 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.749e-06/0.4355, allocations: 0 / 414.5 MB, free: 1.637 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005122/0.436, allocations: 346.5 kB / 414.9 MB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-06/0.4361, allocations: 0 / 414.9 MB, free: 1.242 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-05/0.4362, allocations: 12.17 kB / 414.9 MB, free: 1.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/0.4362, allocations: 8 kB / 414.9 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.4362, allocations: 0 / 414.9 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.507e-06/0.4362, allocations: 0 / 414.9 MB, free: 1.223 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.265e-06/0.4362, allocations: 3.953 kB / 414.9 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002626/0.4365, allocations: 175.4 kB / 415.1 MB, free: 1.031 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.535e-05/0.4366, allocations: 89 kB / 415.2 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/0.4367, allocations: 0 / 415.2 MB, free: 0.9258 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001241/0.4368, allocations: 11.94 kB / 415.2 MB, free: 0.9141 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.8e-05/0.4369, allocations: 7.984 kB / 415.2 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.4369, allocations: 7.953 kB / 415.2 MB, free: 0.8984 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001448/0.4371, allocations: 100.5 kB / 415.3 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.4371, allocations: 0 / 415.3 MB, free: 0.8008 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004471/0.4376, allocations: 51.92 kB / 415.3 MB, free: 0.75 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.001437/0.439, allocations: 461.3 kB / 415.8 MB, free: 396 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000226/0.4393, allocations: 111.3 kB / 415.9 MB, free: 272 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.4393, allocations: 3.938 kB / 415.9 MB, free: 268 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 6.653e-05/0.4394, allocations: 23.98 kB / 415.9 MB, free: 244 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002508/0.4396, allocations: 11.94 kB / 415.9 MB, free: 232 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000479/0.4401, allocations: 199.6 kB / 416.1 MB, free: 15.99 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.4405, allocations: 0.6965 MB / 416.8 MB, free: 15.27 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.257e-05/0.4406, allocations: 19.42 kB / 416.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of SimCode: time 1.5e-06/0.4406, allocations: 0 / 416.8 MB, free: 15.25 MB / 346.7 MB Notification: Performance of Templates: time 0.004548/0.4452, allocations: 1.896 MB / 418.7 MB, free: 13.36 MB / 346.7 MB