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.Test37.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.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadModel(ModelicaTest): time 2.196/2.196, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006101/0.0006102, allocations: 12 kB / 283.1 MB, free: 9.691 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3772, allocations: 48.7 MB / 331.8 MB, free: 6.492 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1412/0.5184, allocations: 75.7 MB / 407.5 MB, free: 2.75 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003026/0.5188, allocations: 71.97 kB / 407.6 MB, free: 2.68 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01734/0.5361, allocations: 3.832 MB / 411.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5362, allocations: 0 / 411.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.385e-05/0.5362, allocations: 0 / 411.4 MB, free: 14.85 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0006357/0.5369, allocations: 431.6 kB / 411.8 MB, free: 14.38 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.5369, allocations: 8.031 kB / 411.8 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.716e-05/0.537, allocations: 7.906 kB / 411.8 MB, free: 14.36 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003085/0.5373, allocations: 194.9 kB / 412 MB, free: 14.13 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.5374, allocations: 4 kB / 412 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.5374, allocations: 7.938 kB / 412 MB, free: 14.12 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001242/0.5375, allocations: 37.69 kB / 412.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.5375, allocations: 3.984 kB / 412.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.5376, allocations: 4 kB / 412.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.5376, allocations: 0 / 412.1 MB, free: 14.07 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.389e-05/0.5377, allocations: 15.98 kB / 412.1 MB, free: 14.05 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002481/0.5379, allocations: 181.6 kB / 412.3 MB, free: 13.82 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.249e-05/0.538, allocations: 30.56 kB / 412.3 MB, free: 13.79 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.5381, allocations: 3.938 kB / 412.3 MB, free: 13.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.5382, allocations: 63.45 kB / 412.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=3): time 1.713e-06/0.5382, allocations: 0 / 412.4 MB, free: 13.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=3): time 0.0003102/0.5386, allocations: 65.59 kB / 412.4 MB, free: 13.64 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.5386, allocations: 51.41 kB / 412.5 MB, free: 13.57 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002527/0.5389, allocations: 173.5 kB / 412.7 MB, free: 13.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.5389, allocations: 29.64 kB / 412.7 MB, free: 13.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.402e-05/0.539, allocations: 162.5 kB / 412.8 MB, free: 13.2 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.5391, allocations: 11.84 kB / 412.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.762e-06/0.5391, allocations: 0 / 412.9 MB, free: 13.19 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.00014/0.5392, allocations: 322.8 kB / 413.2 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.199e-05/0.5393, allocations: 19.98 kB / 413.2 MB, free: 12.84 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.055e-05/0.5394, allocations: 19.98 kB / 413.2 MB, free: 12.82 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.717e-05/0.5395, allocations: 45.7 kB / 413.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.5395, allocations: 0 / 413.3 MB, free: 12.77 MB / 346.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002544/0.5398, allocations: 115.3 kB / 413.4 MB, free: 12.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.334e-05/0.5398, allocations: 33.7 kB / 413.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.656e-06/0.5399, allocations: 0 / 413.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.6e-05/0.5399, allocations: 3.938 kB / 413.4 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.166e-05/0.54, allocations: 8 kB / 413.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.54, allocations: 11.92 kB / 413.4 MB, free: 12.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.814e-05/0.5401, allocations: 4 kB / 413.4 MB, free: 12.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.5401, allocations: 4 kB / 413.4 MB, free: 12.58 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 (5): * Single equations (assignments): 4 * 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.0001307/0.5403, allocations: 121.8 kB / 413.6 MB, free: 12.45 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.5403, allocations: 7.906 kB / 413.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002212/0.5405, allocations: 69.92 kB / 413.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.5406, allocations: 0 / 413.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.183e-06/0.5406, allocations: 7.984 kB / 413.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.5406, allocations: 0 / 413.6 MB, free: 12.36 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001942/0.5408, allocations: 181.6 kB / 413.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.5408, allocations: 0 / 413.8 MB, free: 12.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.5409, allocations: 4 kB / 413.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.5409, allocations: 0 / 413.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.084e-05/0.5409, allocations: 7.938 kB / 413.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.5409, allocations: 0 / 413.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.5409, allocations: 0 / 413.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.5411, allocations: 96.97 kB / 413.9 MB, free: 12 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.444e-05/0.5412, allocations: 89.3 kB / 414 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.916e-05/0.5412, allocations: 0 / 414 MB, free: 11.9 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.473e-05/0.5413, allocations: 4 kB / 414 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.5414, allocations: 7.969 kB / 414 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.202e-05/0.5414, allocations: 4.125 kB / 414 MB, free: 11.88 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001588/0.5416, allocations: 131.8 kB / 414.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5416, allocations: 0 / 414.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003015/0.5419, allocations: 31.86 kB / 414.2 MB, free: 11.72 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 (4): * Single equations (assignments): 3 * 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.0009609/0.5429, allocations: 333.2 kB / 414.5 MB, free: 11.46 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002659/0.5431, allocations: 99.33 kB / 414.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.5432, allocations: 0 / 414.6 MB, free: 11.36 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.589e-05/0.5432, allocations: 15.98 kB / 414.6 MB, free: 11.34 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002793/0.5435, allocations: 15.98 kB / 414.6 MB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.5441, allocations: 223.8 kB / 414.9 MB, free: 11.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.5444, allocations: 0.6965 MB / 415.6 MB, free: 10.35 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.954e-05/0.5445, allocations: 15.38 kB / 415.6 MB, free: 10.33 MB / 346.7 MB Notification: Performance of SimCode: time 1.122e-06/0.5445, allocations: 0 / 415.6 MB, free: 10.33 MB / 346.7 MB Notification: Performance of Templates: time 0.004776/0.5493, allocations: 1.502 MB / 417.1 MB, free: 8.832 MB / 346.7 MB