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.Test28.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.Test28,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.Test28") Notification: Performance of loadModel(ModelicaTest): time 1.993/1.993, allocations: 209.4 MB / 217.3 MB, free: 4.137 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.921e-05/2.935e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2762/0.2763, allocations: 48.68 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1155/0.3918, allocations: 75.08 MB / 395.1 MB, free: 5.359 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00023/0.3921, allocations: 67.97 kB / 395.2 MB, free: 5.293 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01623/0.4084, allocations: 3.898 MB / 399.1 MB, free: 1.391 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.588e-06/0.4084, allocations: 0 / 399.1 MB, free: 1.391 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.461e-05/0.4084, allocations: 4 kB / 399.1 MB, free: 1.387 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.0005151/0.409, allocations: 404 kB / 399.5 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.409, allocations: 12.03 kB / 399.5 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.879e-05/0.4091, allocations: 7.906 kB / 399.5 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003258/0.4094, allocations: 209.8 kB / 399.7 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.4095, allocations: 0 / 399.7 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.235e-05/0.4095, allocations: 7.906 kB / 399.7 MB, free: 0.6719 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.459e-05/0.4096, allocations: 15.94 kB / 399.7 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.11e-05/0.4097, allocations: 41.67 kB / 399.7 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.4097, allocations: 0 / 399.7 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.4097, allocations: 0 / 399.7 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.403e-06/0.4097, allocations: 0 / 399.7 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004404/0.4102, allocations: 273.4 kB / 400 MB, free: 312 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.4104, allocations: 46.5 kB / 400.1 MB, free: 256 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.465e-05/0.4105, allocations: 8.859 kB / 400.1 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.4105, allocations: 4 kB / 400.1 MB, free: 240 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001298/0.4106, allocations: 55.48 kB / 400.1 MB, free: 172 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.425e-06/0.4107, allocations: 4 kB / 400.1 MB, free: 168 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004122/0.4111, allocations: 101.3 kB / 400.2 MB, free: 60 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.787e-05/0.4112, allocations: 51.41 kB / 400.3 MB, free: 16 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002009/0.4114, allocations: 162.3 kB / 400.4 MB, free: 15.83 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.4114, allocations: 25.7 kB / 400.5 MB, free: 15.8 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.4115, allocations: 170.5 kB / 400.6 MB, free: 15.63 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.4116, allocations: 11.81 kB / 400.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.59e-06/0.4116, allocations: 0 / 400.6 MB, free: 15.62 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.4118, allocations: 318.8 kB / 400.9 MB, free: 15.3 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.154e-05/0.4118, allocations: 20 kB / 401 MB, free: 15.28 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.084e-05/0.4119, allocations: 19.98 kB / 401 MB, free: 15.26 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.206e-05/0.412, allocations: 20 kB / 401 MB, free: 15.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.687e-06/0.412, allocations: 96 / 401 MB, free: 15.24 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002295/0.4122, allocations: 97.45 kB / 401.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.891e-05/0.4123, allocations: 38.48 kB / 401.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.504e-06/0.4123, allocations: 0 / 401.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.4123, allocations: 64 / 401.1 MB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.807e-05/0.4124, allocations: 15.98 kB / 401.2 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.193e-06/0.4124, allocations: 4 kB / 401.2 MB, free: 15.08 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.942e-05/0.4125, allocations: 4 kB / 401.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.851e-05/0.4125, allocations: 7.953 kB / 401.2 MB, free: 15.07 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.867e-05/0.4126, allocations: 108.9 kB / 401.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.4127, allocations: 7.906 kB / 401.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002278/0.4129, allocations: 78.08 kB / 401.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.4129, allocations: 7.984 kB / 401.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.096e-06/0.413, allocations: 0 / 401.4 MB, free: 14.86 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.535e-06/0.413, allocations: 7.938 kB / 401.4 MB, free: 14.85 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004429/0.4134, allocations: 327 kB / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.979e-06/0.4134, allocations: 0 / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.42e-05/0.4135, allocations: 4 kB / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.4135, allocations: 0 / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.4135, allocations: 4 kB / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.05e-06/0.4135, allocations: 0 / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.302e-06/0.4136, allocations: 0 / 401.7 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002437/0.4138, allocations: 179.5 kB / 401.9 MB, free: 14.29 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.439e-05/0.4139, allocations: 93 kB / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.4139, allocations: 0 / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.958e-05/0.414, allocations: 0 / 402 MB, free: 14.18 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.4141, allocations: 7.984 kB / 402 MB, free: 14.17 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.4141, allocations: 4.188 kB / 402 MB, free: 14.16 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000143/0.4143, allocations: 123.8 kB / 402.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.4143, allocations: 3.938 kB / 402.1 MB, free: 14.04 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003692/0.4147, allocations: 31.92 kB / 402.1 MB, free: 14.01 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.0009562/0.4157, allocations: 316.8 kB / 402.4 MB, free: 13.75 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002229/0.4159, allocations: 111.4 kB / 402.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.599e-06/0.4159, allocations: 0 / 402.6 MB, free: 13.62 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.855e-05/0.416, allocations: 19.94 kB / 402.6 MB, free: 13.61 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.4163, allocations: 21.41 kB / 402.6 MB, free: 13.59 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003927/0.4167, allocations: 154.7 kB / 402.7 MB, free: 13.41 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003953/0.4171, allocations: 0.704 MB / 403.5 MB, free: 12.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.4172, allocations: 19.42 kB / 403.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of SimCode: time 1.336e-06/0.4172, allocations: 0 / 403.5 MB, free: 12.66 MB / 346.7 MB Notification: Performance of Templates: time 0.004292/0.4215, allocations: 1.698 MB / 405.2 MB, free: 10.96 MB / 346.7 MB