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.Test4.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.Test4,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.Test4") Notification: Performance of loadModel(ModelicaTest): time 2.123/2.123, allocations: 209.2 MB / 225.4 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004574, allocations: 12 kB / 283.1 MB, free: 9.684 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3863/0.3868, allocations: 48.7 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1405/0.5273, allocations: 75.86 MB / 407.7 MB, free: 2.574 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003062/0.5277, allocations: 71.97 kB / 407.7 MB, free: 2.504 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01887/0.5465, allocations: 4.147 MB / 411.9 MB, free: 14.36 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.863e-06/0.5466, allocations: 4 kB / 411.9 MB, free: 14.35 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.969e-05/0.5466, allocations: 8 kB / 411.9 MB, free: 14.34 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.0006596/0.5473, allocations: 440.5 kB / 412.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.5474, allocations: 8.031 kB / 412.3 MB, free: 13.85 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.131e-05/0.5474, allocations: 7.906 kB / 412.3 MB, free: 13.84 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003233/0.5478, allocations: 198.9 kB / 412.5 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.5478, allocations: 8 kB / 412.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.5478, allocations: 4 kB / 412.5 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001375/0.548, allocations: 49.69 kB / 412.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.015e-05/0.548, allocations: 0 / 412.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.548, allocations: 0 / 412.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.97e-06/0.548, allocations: 0 / 412.6 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.399e-05/0.5481, allocations: 19.92 kB / 412.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005267/0.5487, allocations: 300.8 kB / 412.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002561/0.549, allocations: 46.56 kB / 413 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.549, allocations: 4 kB / 413 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001535/0.5491, allocations: 59.42 kB / 413 MB, free: 13.05 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.545e-06/0.5492, allocations: 0 / 413 MB, free: 13.05 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005416/0.5497, allocations: 125.3 kB / 413.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.5498, allocations: 51.41 kB / 413.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/0.5501, allocations: 195 kB / 413.4 MB, free: 12.66 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.844e-05/0.5501, allocations: 29.7 kB / 413.4 MB, free: 12.62 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.144e-05/0.5502, allocations: 170.5 kB / 413.6 MB, free: 12.46 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.667e-05/0.5503, allocations: 19.73 kB / 413.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.5503, allocations: 4 kB / 413.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.5504, allocations: 310.8 kB / 413.9 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.893e-05/0.5505, allocations: 23.98 kB / 413.9 MB, free: 12.1 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.239e-05/0.5506, allocations: 20 kB / 413.9 MB, free: 12.08 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.5508, allocations: 61.72 kB / 414 MB, free: 12.01 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.5508, allocations: 0 / 414 MB, free: 12.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002936/0.5511, allocations: 127.3 kB / 414.1 MB, free: 11.88 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.088e-05/0.5511, allocations: 33.7 kB / 414.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.5512, allocations: 4 kB / 414.2 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.316e-05/0.5512, allocations: 0 / 414.2 MB, free: 11.83 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.133e-05/0.5513, allocations: 8 kB / 414.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.5513, allocations: 0 / 414.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.417e-05/0.5514, allocations: 7.984 kB / 414.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.827e-05/0.5514, allocations: 7.953 kB / 414.2 MB, free: 11.81 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.0001379/0.5515, allocations: 121.8 kB / 414.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.5516, allocations: 11.89 kB / 414.3 MB, free: 11.67 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002865/0.5519, allocations: 101.8 kB / 414.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.5519, allocations: 288 / 414.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.5519, allocations: 0 / 414.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.5519, allocations: 3.984 kB / 414.4 MB, free: 11.56 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005383/0.5525, allocations: 362.5 kB / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.5525, allocations: 0 / 414.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.541e-05/0.5526, allocations: 7.938 kB / 414.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.5526, allocations: 0 / 414.8 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.5526, allocations: 8 kB / 414.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.5526, allocations: 0 / 414.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.5526, allocations: 192 / 414.8 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002958/0.5529, allocations: 179.4 kB / 415 MB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.676e-05/0.553, allocations: 93.02 kB / 415.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.438e-05/0.5531, allocations: 0 / 415.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.5532, allocations: 3.984 kB / 415.1 MB, free: 10.83 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.5532, allocations: 4 kB / 415.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.306e-05/0.5533, allocations: 8 kB / 415.1 MB, free: 10.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000204/0.5535, allocations: 155.9 kB / 415.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.8e-07/0.5535, allocations: 3.938 kB / 415.2 MB, free: 10.66 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000379/0.5539, allocations: 39.92 kB / 415.3 MB, free: 10.62 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.001083/0.555, allocations: 375.6 kB / 415.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002683/0.5553, allocations: 107.4 kB / 415.7 MB, free: 10.21 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5553, allocations: 4 kB / 415.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 7.105e-05/0.5554, allocations: 19.94 kB / 415.8 MB, free: 10.18 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.5557, allocations: 19.89 kB / 415.8 MB, free: 10.16 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006207/0.5563, allocations: 259.3 kB / 416 MB, free: 9.879 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003788/0.5567, allocations: 0.7082 MB / 416.7 MB, free: 9.145 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.731e-05/0.5568, allocations: 19.38 kB / 416.8 MB, free: 9.125 MB / 346.7 MB Notification: Performance of SimCode: time 8.71e-07/0.5568, allocations: 0 / 416.8 MB, free: 9.125 MB / 346.7 MB Notification: Performance of Templates: time 0.005289/0.5621, allocations: 1.777 MB / 418.5 MB, free: 7.355 MB / 346.7 MB