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.Test25.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.Test25,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.Test25") Notification: Performance of loadModel(ModelicaTest): time 2.117/2.117, allocations: 209.3 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006898/0.0006903, allocations: 12 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4647/0.4654, allocations: 48.7 MB / 331.8 MB, free: 6.504 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1458/0.6113, allocations: 75.86 MB / 407.7 MB, free: 2.582 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000329/0.6117, allocations: 75.97 kB / 407.7 MB, free: 2.508 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01956/0.6313, allocations: 4.066 MB / 411.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.6314, allocations: 0 / 411.8 MB, free: 14.44 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.599e-05/0.6314, allocations: 0 / 411.8 MB, free: 14.44 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.000687/0.6321, allocations: 432.6 kB / 412.2 MB, free: 13.96 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.6321, allocations: 16.03 kB / 412.3 MB, free: 13.95 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.32e-05/0.6322, allocations: 7.906 kB / 412.3 MB, free: 13.94 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003516/0.6326, allocations: 207.3 kB / 412.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.816e-05/0.6326, allocations: 4 kB / 412.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.285e-05/0.6327, allocations: 4 kB / 412.5 MB, free: 13.69 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.6328, allocations: 45.69 kB / 412.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.39e-05/0.6328, allocations: 0 / 412.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.6329, allocations: 0 / 412.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.6329, allocations: 0 / 412.5 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.402e-05/0.633, allocations: 15.98 kB / 412.5 MB, free: 13.62 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/0.6336, allocations: 304.7 kB / 412.8 MB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002867/0.6339, allocations: 38.56 kB / 412.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.6339, allocations: 0 / 412.9 MB, free: 13.23 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001931/0.6341, allocations: 67.47 kB / 412.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.154e-06/0.6341, allocations: 4 kB / 412.9 MB, free: 13.14 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006449/0.6348, allocations: 113.3 kB / 413 MB, free: 13.03 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.696e-05/0.6349, allocations: 55.39 kB / 413.1 MB, free: 12.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003027/0.6352, allocations: 182.4 kB / 413.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.5e-05/0.6352, allocations: 25.7 kB / 413.3 MB, free: 12.74 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001221/0.6353, allocations: 170.5 kB / 413.5 MB, free: 12.57 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.364e-05/0.6354, allocations: 15.81 kB / 413.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.025e-06/0.6354, allocations: 0 / 413.5 MB, free: 12.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.6356, allocations: 318.8 kB / 413.8 MB, free: 12.23 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.385e-05/0.6357, allocations: 27.86 kB / 413.8 MB, free: 12.21 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.83e-05/0.6358, allocations: 23.98 kB / 413.8 MB, free: 12.18 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001292/0.6359, allocations: 57.73 kB / 413.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.6359, allocations: 0 / 413.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000325/0.6363, allocations: 131.2 kB / 414 MB, free: 11.98 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.266e-05/0.6363, allocations: 33.7 kB / 414.1 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6363, allocations: 0 / 414.1 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.6364, allocations: 0 / 414.1 MB, free: 11.94 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.6365, allocations: 11.98 kB / 414.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.111e-05/0.6365, allocations: 4 kB / 414.1 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-05/0.6366, allocations: 4 kB / 414.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/0.6366, allocations: 7.953 kB / 414.1 MB, free: 11.91 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.0001675/0.6368, allocations: 125.8 kB / 414.2 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.263e-05/0.6369, allocations: 7.906 kB / 414.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003123/0.6372, allocations: 89.92 kB / 414.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6372, allocations: 0 / 414.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.6372, allocations: 0 / 414.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.6373, allocations: 4 kB / 414.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005769/0.6378, allocations: 362.6 kB / 414.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.6379, allocations: 288 / 414.7 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.058e-05/0.6379, allocations: 8 kB / 414.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.502e-06/0.638, allocations: 0 / 414.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.574e-05/0.638, allocations: 4 kB / 414.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/0.638, allocations: 3.938 kB / 414.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.638, allocations: 0 / 414.7 MB, free: 11.25 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002783/0.6383, allocations: 187.4 kB / 414.9 MB, free: 11.05 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.506e-05/0.6384, allocations: 85.02 kB / 415 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.539e-05/0.6385, allocations: 0 / 415 MB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.6386, allocations: 7.984 kB / 415 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.13e-05/0.6387, allocations: 8 kB / 415 MB, free: 10.93 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.6387, allocations: 0 / 415 MB, free: 10.93 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002041/0.6389, allocations: 141.8 kB / 415.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6389, allocations: 4 kB / 415.1 MB, free: 10.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003957/0.6393, allocations: 39.84 kB / 415.1 MB, free: 10.75 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.00115/0.6405, allocations: 367.4 kB / 415.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0003586/0.6409, allocations: 115.3 kB / 415.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.6409, allocations: 0 / 415.6 MB, free: 10.34 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.749e-05/0.641, allocations: 19.98 kB / 415.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003773/0.6414, allocations: 23.17 kB / 415.7 MB, free: 10.3 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006937/0.6421, allocations: 255.2 kB / 415.9 MB, free: 10.02 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.6426, allocations: 0.7043 MB / 416.6 MB, free: 9.285 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.432e-05/0.6427, allocations: 15.44 kB / 416.6 MB, free: 9.27 MB / 346.7 MB Notification: Performance of SimCode: time 1.683e-06/0.6427, allocations: 0 / 416.6 MB, free: 9.27 MB / 346.7 MB Notification: Performance of Templates: time 0.005858/0.6485, allocations: 1.749 MB / 418.4 MB, free: 7.523 MB / 346.7 MB