Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test28.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test28,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.Test28") Notification: Performance of loadModel(ModelicaTest): time 2.044/2.044, allocations: 209.2 MB / 225.4 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.0004312, allocations: 16 kB / 283.1 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3864, allocations: 48.7 MB / 331.8 MB, free: 6.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1375/0.524, allocations: 75.83 MB / 407.6 MB, free: 2.629 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.5243, allocations: 67.97 kB / 407.7 MB, free: 2.562 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01762/0.542, allocations: 3.94 MB / 411.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.542, allocations: 0 / 411.6 MB, free: 14.62 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.5421, allocations: 4 kB / 411.7 MB, free: 14.62 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.0006015/0.5427, allocations: 432.6 kB / 412.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.5427, allocations: 8.031 kB / 412.1 MB, free: 14.14 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.354e-05/0.5428, allocations: 11.89 kB / 412.1 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002812/0.5431, allocations: 198.9 kB / 412.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.655e-05/0.5431, allocations: 0 / 412.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.46e-05/0.5432, allocations: 8 kB / 412.3 MB, free: 13.88 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.5433, allocations: 41.69 kB / 412.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5433, allocations: 4 kB / 412.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.5433, allocations: 0 / 412.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5434, allocations: 0 / 412.3 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.353e-05/0.5434, allocations: 23.92 kB / 412.4 MB, free: 13.81 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.5439, allocations: 288.9 kB / 412.6 MB, free: 13.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002492/0.5442, allocations: 38.56 kB / 412.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.5442, allocations: 0 / 412.7 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001544/0.5444, allocations: 71.42 kB / 412.8 MB, free: 13.35 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.823e-06/0.5444, allocations: 0 / 412.8 MB, free: 13.35 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005751/0.545, allocations: 113.3 kB / 412.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.578e-05/0.5451, allocations: 63.28 kB / 412.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000274/0.5454, allocations: 173.3 kB / 413.1 MB, free: 12.98 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.393e-05/0.5454, allocations: 33.7 kB / 413.1 MB, free: 12.94 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.78e-05/0.5455, allocations: 154.6 kB / 413.3 MB, free: 12.79 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.324e-05/0.5456, allocations: 23.8 kB / 413.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.985e-06/0.5456, allocations: 0 / 413.3 MB, free: 12.76 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.5457, allocations: 314.8 kB / 413.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.196e-05/0.5458, allocations: 19.98 kB / 413.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.768e-05/0.5459, allocations: 20 kB / 413.7 MB, free: 12.41 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001219/0.546, allocations: 61.62 kB / 413.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.5461, allocations: 0 / 413.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003167/0.5464, allocations: 131.3 kB / 413.8 MB, free: 12.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.37e-05/0.5465, allocations: 33.7 kB / 413.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.5465, allocations: 4 kB / 413.9 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.5465, allocations: 4 kB / 413.9 MB, free: 12.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.5466, allocations: 12.06 kB / 413.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.5466, allocations: 3.953 kB / 413.9 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.757e-05/0.5467, allocations: 3.984 kB / 413.9 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.5468, allocations: 4 kB / 413.9 MB, free: 12.13 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.0001414/0.5469, allocations: 117.8 kB / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.547, allocations: 7.906 kB / 414 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003022/0.5473, allocations: 101.9 kB / 414.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.5473, allocations: 0 / 414.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5473, allocations: 0 / 414.1 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.374e-06/0.5473, allocations: 4.234 kB / 414.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005224/0.5479, allocations: 358.4 kB / 414.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5479, allocations: 0 / 414.5 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.191e-05/0.5479, allocations: 8 kB / 414.5 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.548, allocations: 0 / 414.5 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.569e-05/0.548, allocations: 7.984 kB / 414.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.548, allocations: 7.953 kB / 414.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.548, allocations: 3.984 kB / 414.5 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/0.5483, allocations: 171.4 kB / 414.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.907e-05/0.5483, allocations: 89.02 kB / 414.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.5484, allocations: 3.984 kB / 414.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.566e-05/0.5485, allocations: 4 kB / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.57e-05/0.5486, allocations: 3.953 kB / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.383e-05/0.5486, allocations: 4 kB / 414.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001614/0.5488, allocations: 139.7 kB / 414.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.9e-07/0.5488, allocations: 0 / 414.9 MB, free: 11.01 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003971/0.5492, allocations: 32 kB / 414.9 MB, free: 10.98 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.001056/0.5502, allocations: 372.3 kB / 415.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002567/0.5505, allocations: 115.4 kB / 415.4 MB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.5505, allocations: 0 / 415.4 MB, free: 10.56 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.306e-05/0.5506, allocations: 23.92 kB / 415.4 MB, free: 10.54 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002882/0.5509, allocations: 15.98 kB / 415.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005443/0.5515, allocations: 227.3 kB / 415.7 MB, free: 10.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.5518, allocations: 0.7043 MB / 416.4 MB, free: 9.535 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.5519, allocations: 11.44 kB / 416.4 MB, free: 9.523 MB / 346.7 MB Notification: Performance of SimCode: time 6.91e-07/0.5519, allocations: 0 / 416.4 MB, free: 9.523 MB / 346.7 MB Notification: Performance of Templates: time 0.005778/0.5577, allocations: 1.716 MB / 418.1 MB, free: 7.812 MB / 346.7 MB