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.Test49.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.Test49,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.Test49") Notification: Performance of loadModel(ModelicaTest): time 1.941/1.941, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.422e-05/2.436e-05, allocations: 4 kB / 271.3 MB, free: 14.13 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3344, allocations: 48.69 MB / 320 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1112/0.4457, allocations: 75.12 MB / 395.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002187/0.4459, allocations: 67.97 kB / 395.2 MB, free: 5.293 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01663/0.4626, allocations: 4.304 MB / 399.5 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.459e-06/0.4626, allocations: 0 / 399.5 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.275e-05/0.4626, allocations: 0 / 399.5 MB, free: 0.9844 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.0005342/0.4632, allocations: 427.2 kB / 399.9 MB, free: 0.5195 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.4632, allocations: 12.03 kB / 399.9 MB, free: 0.5078 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.162e-05/0.4633, allocations: 11.81 kB / 399.9 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003234/0.4636, allocations: 214.8 kB / 400.1 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/0.4637, allocations: 0 / 400.1 MB, free: 252 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.232e-05/0.4637, allocations: 4 kB / 400.2 MB, free: 248 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.938e-05/0.4638, allocations: 19.92 kB / 400.2 MB, free: 228 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.4639, allocations: 41.67 kB / 400.2 MB, free: 180 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4639, allocations: 7.875 kB / 400.2 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.939e-06/0.4639, allocations: 0 / 400.2 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.993e-06/0.464, allocations: 0 / 400.2 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000447/0.4644, allocations: 285.5 kB / 400.5 MB, free: 15.85 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002012/0.4646, allocations: 46.5 kB / 400.5 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.862e-05/0.4647, allocations: 16.94 kB / 400.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.985e-06/0.4647, allocations: 0 / 400.6 MB, free: 15.77 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000122/0.4649, allocations: 51.41 kB / 400.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.176e-06/0.4649, allocations: 4 kB / 400.6 MB, free: 15.71 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004175/0.4653, allocations: 117.1 kB / 400.7 MB, free: 15.59 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.4654, allocations: 55.39 kB / 400.8 MB, free: 15.52 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003056/0.4657, allocations: 218.6 kB / 401 MB, free: 15.29 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.4657, allocations: 29.69 kB / 401 MB, free: 15.26 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.4658, allocations: 170.6 kB / 401.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.4659, allocations: 7.812 kB / 401.2 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.041e-05/0.4659, allocations: 4 kB / 401.2 MB, free: 15.08 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.4661, allocations: 322.8 kB / 401.5 MB, free: 14.75 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.026e-05/0.4661, allocations: 19.98 kB / 401.5 MB, free: 14.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.031e-05/0.4662, allocations: 16 kB / 401.6 MB, free: 14.72 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.132e-05/0.4663, allocations: 23.98 kB / 401.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.76e-06/0.4663, allocations: 0 / 401.6 MB, free: 14.7 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002223/0.4665, allocations: 89.62 kB / 401.7 MB, free: 14.6 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.4666, allocations: 34.48 kB / 401.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.545e-06/0.4666, allocations: 0 / 401.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.4666, allocations: 3.984 kB / 401.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.104e-05/0.4667, allocations: 8 kB / 401.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.004e-06/0.4667, allocations: 4 kB / 401.7 MB, free: 14.55 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.841e-05/0.4668, allocations: 12.06 kB / 401.7 MB, free: 14.54 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.647e-05/0.4668, allocations: 4.094 kB / 401.7 MB, free: 14.53 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.171e-05/0.4669, allocations: 108.9 kB / 401.8 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.569e-05/0.467, allocations: 15.81 kB / 401.9 MB, free: 14.4 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002383/0.4672, allocations: 91.22 kB / 401.9 MB, free: 14.31 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.331e-06/0.4672, allocations: 4 kB / 401.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.855e-06/0.4673, allocations: 0 / 401.9 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.431e-06/0.4673, allocations: 4 kB / 402 MB, free: 14.3 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004734/0.4678, allocations: 351 kB / 402.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.827e-06/0.4678, allocations: 3.938 kB / 402.3 MB, free: 13.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.4678, allocations: 15.92 kB / 402.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4679, allocations: 0 / 402.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.411e-06/0.4679, allocations: 0 / 402.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.4679, allocations: 0 / 402.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.429e-06/0.4679, allocations: 0 / 402.3 MB, free: 13.89 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002333/0.4681, allocations: 183.3 kB / 402.5 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.773e-05/0.4682, allocations: 93.02 kB / 402.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.955e-05/0.4683, allocations: 0 / 402.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.372e-05/0.4684, allocations: 0 / 402.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.553e-05/0.4684, allocations: 12.12 kB / 402.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.4685, allocations: 4 kB / 402.6 MB, free: 13.57 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002107/0.4687, allocations: 173.2 kB / 402.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.41e-06/0.4687, allocations: 0 / 402.8 MB, free: 13.41 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003763/0.4691, allocations: 32 kB / 402.8 MB, free: 13.38 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.0009185/0.47, allocations: 325.1 kB / 403.1 MB, free: 13.11 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002115/0.4703, allocations: 99.41 kB / 403.2 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.799e-06/0.4703, allocations: 0 / 403.2 MB, free: 13 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.967e-05/0.4703, allocations: 23.92 kB / 403.2 MB, free: 12.98 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000277/0.4706, allocations: 21.56 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.0004787/0.4711, allocations: 218.5 kB / 403.5 MB, free: 12.71 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003991/0.4715, allocations: 0.7119 MB / 404.2 MB, free: 11.97 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.305e-05/0.4716, allocations: 15.44 kB / 404.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.456e-06/0.4716, allocations: 3.938 kB / 404.2 MB, free: 11.95 MB / 346.7 MB Notification: Performance of Templates: time 0.004501/0.4761, allocations: 1.926 MB / 406.1 MB, free: 10.03 MB / 346.7 MB