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.Test48.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.Test48,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.Test48") Notification: Performance of loadModel(ModelicaTest): time 2.247/2.247, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004381/0.0004381, allocations: 16 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3819/0.3824, allocations: 48.7 MB / 331.8 MB, free: 6.5 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1434/0.5259, allocations: 75.88 MB / 407.7 MB, free: 2.586 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003046/0.5262, allocations: 71.97 kB / 407.8 MB, free: 2.516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01991/0.5462, allocations: 4.351 MB / 412.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.5462, allocations: 0 / 412.1 MB, free: 14.16 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.5462, allocations: 0 / 412.1 MB, free: 14.16 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.0007034/0.547, allocations: 456.5 kB / 412.5 MB, free: 13.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.874e-05/0.547, allocations: 8.031 kB / 412.6 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.898e-05/0.5471, allocations: 11.81 kB / 412.6 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003759/0.5475, allocations: 214.8 kB / 412.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.5475, allocations: 0 / 412.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.5476, allocations: 4 kB / 412.8 MB, free: 13.39 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001374/0.5477, allocations: 45.69 kB / 412.8 MB, free: 13.34 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.5477, allocations: 3.984 kB / 412.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.5478, allocations: 0 / 412.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.5478, allocations: 0 / 412.8 MB, free: 13.33 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.434e-05/0.5479, allocations: 16 kB / 412.8 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005539/0.5484, allocations: 316.8 kB / 413.2 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002732/0.5487, allocations: 42.5 kB / 413.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.382e-05/0.5488, allocations: 0 / 413.2 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001801/0.5489, allocations: 63.48 kB / 413.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.374e-06/0.549, allocations: 0 / 413.3 MB, free: 12.83 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005942/0.5496, allocations: 129.2 kB / 413.4 MB, free: 12.7 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.819e-05/0.5496, allocations: 51.41 kB / 413.4 MB, free: 12.64 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004204/0.5501, allocations: 243.5 kB / 413.7 MB, free: 12.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.5501, allocations: 33.69 kB / 413.7 MB, free: 12.34 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001271/0.5503, allocations: 166.5 kB / 413.9 MB, free: 12.18 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.5503, allocations: 11.91 kB / 413.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.765e-06/0.5503, allocations: 0 / 413.9 MB, free: 12.17 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001722/0.5505, allocations: 318.8 kB / 414.2 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.785e-05/0.5506, allocations: 27.92 kB / 414.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.976e-05/0.5507, allocations: 27.92 kB / 414.2 MB, free: 11.79 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.5508, allocations: 53.73 kB / 414.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.5508, allocations: 0 / 414.3 MB, free: 11.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003011/0.5511, allocations: 127.3 kB / 414.4 MB, free: 11.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.563e-05/0.5512, allocations: 37.7 kB / 414.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.5512, allocations: 0 / 414.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.5512, allocations: 8.203 kB / 414.5 MB, free: 11.55 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001018/0.5514, allocations: 12.06 kB / 414.5 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.5514, allocations: 4 kB / 414.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001154/0.5515, allocations: 4 kB / 414.5 MB, free: 11.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.732e-05/0.5515, allocations: 3.953 kB / 414.5 MB, free: 11.52 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.000168/0.5517, allocations: 137.8 kB / 414.6 MB, free: 11.38 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.865e-05/0.5518, allocations: 11.91 kB / 414.6 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003136/0.5521, allocations: 98.5 kB / 414.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.118e-06/0.5521, allocations: 4 kB / 414.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.5521, allocations: 4 kB / 414.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.5521, allocations: 0 / 414.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000593/0.5527, allocations: 378.5 kB / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5528, allocations: 0 / 415.1 MB, free: 10.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.361e-05/0.5528, allocations: 8 kB / 415.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.79e-06/0.5529, allocations: 4 kB / 415.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.5529, allocations: 0 / 415.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.987e-06/0.5529, allocations: 0 / 415.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/0.5529, allocations: 0 / 415.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002772/0.5532, allocations: 187.3 kB / 415.3 MB, free: 10.62 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.748e-05/0.5533, allocations: 96.92 kB / 415.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.904e-05/0.5534, allocations: 0 / 415.4 MB, free: 10.51 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001123/0.5535, allocations: 7.984 kB / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.682e-05/0.5535, allocations: 0 / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.5536, allocations: 4.188 kB / 415.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002825/0.5539, allocations: 189.1 kB / 415.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5539, allocations: 0 / 415.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0004063/0.5543, allocations: 47.92 kB / 415.6 MB, free: 10.27 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.001139/0.5554, allocations: 376 kB / 416 MB, free: 9.973 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000325/0.5558, allocations: 115.3 kB / 416.1 MB, free: 9.848 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.5559, allocations: 0 / 416.1 MB, free: 9.848 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.187e-05/0.5559, allocations: 24 kB / 416.1 MB, free: 9.824 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.5563, allocations: 12.17 kB / 416.2 MB, free: 9.809 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000753/0.5571, allocations: 311.4 kB / 416.5 MB, free: 9.477 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003402/0.5575, allocations: 0.716 MB / 417.2 MB, free: 8.734 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.126e-05/0.5575, allocations: 15.44 kB / 417.2 MB, free: 8.719 MB / 346.7 MB Notification: Performance of SimCode: time 1.403e-06/0.5576, allocations: 0 / 417.2 MB, free: 8.719 MB / 346.7 MB Notification: Performance of Templates: time 0.006/0.5636, allocations: 1.914 MB / 419.1 MB, free: 6.812 MB / 346.7 MB