Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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 1.923/1.923, allocations: 209.4 MB / 217.3 MB, free: 4.137 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.432e-05/2.442e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2622, allocations: 48.69 MB / 320 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1793/0.4416, allocations: 75.12 MB / 395.1 MB, free: 5.348 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004232/0.4421, allocations: 67.97 kB / 395.2 MB, free: 5.281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02505/0.4671, allocations: 4.296 MB / 399.5 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.4672, allocations: 0 / 399.5 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.574e-05/0.4672, allocations: 4 kB / 399.5 MB, free: 0.9805 MB / 330.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.0005334/0.4678, allocations: 420 kB / 399.9 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.4678, allocations: 12.03 kB / 399.9 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.204e-05/0.4679, allocations: 15.81 kB / 399.9 MB, free: 0.4922 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003169/0.4682, allocations: 214.8 kB / 400.1 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.4682, allocations: 0 / 400.1 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.4683, allocations: 7.938 kB / 400.2 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.198e-05/0.4684, allocations: 15.98 kB / 400.2 MB, free: 224 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.762e-05/0.4685, allocations: 41.67 kB / 400.2 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.4685, allocations: 0 / 400.2 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.615e-06/0.4685, allocations: 0 / 400.2 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.785e-06/0.4685, allocations: 4 kB / 400.2 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004459/0.469, allocations: 285.4 kB / 400.5 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000207/0.4692, allocations: 46.5 kB / 400.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.4693, allocations: 12.94 kB / 400.6 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.935e-06/0.4693, allocations: 0 / 400.6 MB, free: 15.78 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.4694, allocations: 55.41 kB / 400.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.773e-06/0.4694, allocations: 4 kB / 400.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004275/0.4699, allocations: 117.1 kB / 400.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.265e-05/0.4699, allocations: 55.39 kB / 400.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.4703, allocations: 214.6 kB / 401 MB, free: 15.3 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.727e-05/0.4703, allocations: 29.69 kB / 401 MB, free: 15.27 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000106/0.4704, allocations: 170.6 kB / 401.2 MB, free: 15.1 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.52e-05/0.4705, allocations: 11.81 kB / 401.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.637e-06/0.4705, allocations: 0 / 401.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.4706, allocations: 322.8 kB / 401.5 MB, free: 14.76 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/0.4707, allocations: 19.98 kB / 401.5 MB, free: 14.74 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.392e-05/0.4708, allocations: 20 kB / 401.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.613e-05/0.4709, allocations: 28.02 kB / 401.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.745e-06/0.4709, allocations: 0 / 401.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002292/0.4711, allocations: 89.62 kB / 401.7 MB, free: 14.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/0.4712, allocations: 30.48 kB / 401.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.587e-06/0.4712, allocations: 0 / 401.7 MB, free: 14.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.504e-05/0.4712, allocations: 3.984 kB / 401.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.991e-05/0.4713, allocations: 12 kB / 401.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.375e-06/0.4713, allocations: 8 kB / 401.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.438e-05/0.4714, allocations: 4.062 kB / 401.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.672e-05/0.4714, allocations: 4 kB / 401.7 MB, free: 14.54 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 () * 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 9.464e-05/0.4715, allocations: 112 kB / 401.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.7e-05/0.4716, allocations: 11.81 kB / 401.8 MB, free: 14.41 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.4718, allocations: 103.3 kB / 401.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.66e-06/0.4719, allocations: 0 / 401.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.972e-06/0.4719, allocations: 0 / 401.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.002e-06/0.4719, allocations: 4 kB / 402 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004822/0.4724, allocations: 355 kB / 402.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.39e-06/0.4724, allocations: 4 kB / 402.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.174e-05/0.4725, allocations: 11.92 kB / 402.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.304e-06/0.4725, allocations: 0 / 402.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.4725, allocations: 4 kB / 402.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4725, allocations: 0 / 402.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.423e-06/0.4725, allocations: 0 / 402.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002362/0.4728, allocations: 183.3 kB / 402.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.549e-05/0.4729, allocations: 89.02 kB / 402.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.4729, allocations: 0 / 402.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.373e-05/0.473, allocations: 4 kB / 402.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.917e-05/0.4731, allocations: 11.98 kB / 402.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.024e-05/0.4731, allocations: 144 / 402.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002129/0.4733, allocations: 173.2 kB / 402.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.39e-07/0.4733, allocations: 0 / 402.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000397/0.4737, allocations: 36 kB / 402.8 MB, free: 13.37 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) * 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.0009404/0.4747, allocations: 320.3 kB / 403.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002246/0.4749, allocations: 103.4 kB / 403.2 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.441e-06/0.475, allocations: 0 / 403.2 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.21e-05/0.475, allocations: 23.92 kB / 403.2 MB, free: 12.97 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002781/0.4753, allocations: 24.14 kB / 403.3 MB, free: 12.95 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004908/0.4758, allocations: 218.4 kB / 403.5 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.4762, allocations: 0.7158 MB / 404.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.228e-05/0.4763, allocations: 15.38 kB / 404.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of SimCode: time 1.508e-06/0.4763, allocations: 0 / 404.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of Templates: time 0.004532/0.4809, allocations: 1.915 MB / 406.1 MB, free: 10.04 MB / 346.7 MB