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.Test46.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.Test46,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.Test46") Notification: Performance of loadModel(ModelicaTest): time 2.072/2.072, allocations: 209.4 MB / 217.3 MB, free: 4.152 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.952e-05/1.967e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2667, allocations: 48.69 MB / 320 MB, free: 14.19 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.384, allocations: 75.12 MB / 395.1 MB, free: 5.145 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002387/0.3843, allocations: 67.97 kB / 395.2 MB, free: 5.078 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01755/0.4019, allocations: 4.284 MB / 399.5 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.12e-06/0.4019, allocations: 0 / 399.5 MB, free: 0.7891 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.74e-05/0.4019, allocations: 0 / 399.5 MB, free: 0.7891 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.0005757/0.4025, allocations: 435.9 kB / 399.9 MB, free: 320 kB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.037e-05/0.4026, allocations: 12.03 kB / 399.9 MB, free: 308 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.005e-05/0.4026, allocations: 15.81 kB / 399.9 MB, free: 292 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.403, allocations: 202.8 kB / 400.1 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.398e-05/0.403, allocations: 0 / 400.1 MB, free: 48 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.916e-05/0.403, allocations: 4 kB / 400.1 MB, free: 44 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.592e-05/0.4031, allocations: 12 kB / 400.1 MB, free: 32 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001291/0.4033, allocations: 49.61 kB / 400.2 MB, free: 15.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.203e-05/0.4033, allocations: 3.938 kB / 400.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.4033, allocations: 0 / 400.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.868e-06/0.4033, allocations: 0 / 400.2 MB, free: 15.97 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004536/0.4038, allocations: 289.4 kB / 400.5 MB, free: 15.65 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001986/0.404, allocations: 42.56 kB / 400.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.687e-05/0.4041, allocations: 12.86 kB / 400.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.4041, allocations: 0 / 400.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001366/0.4043, allocations: 67.42 kB / 400.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 2.596e-06/0.4043, allocations: 0 / 400.6 MB, free: 15.51 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004448/0.4047, allocations: 113.1 kB / 400.7 MB, free: 15.39 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.186e-05/0.4048, allocations: 55.41 kB / 400.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003187/0.4051, allocations: 218.6 kB / 401 MB, free: 15.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.4052, allocations: 25.7 kB / 401 MB, free: 15.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000107/0.4053, allocations: 166.6 kB / 401.2 MB, free: 14.9 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.4053, allocations: 19.8 kB / 401.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.066e-06/0.4053, allocations: 0 / 401.2 MB, free: 14.88 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.4055, allocations: 318.8 kB / 401.5 MB, free: 14.56 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.364e-05/0.4056, allocations: 23.94 kB / 401.5 MB, free: 14.54 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.308e-05/0.4057, allocations: 20 kB / 401.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.91e-05/0.4057, allocations: 28.02 kB / 401.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.822e-06/0.4058, allocations: 0 / 401.6 MB, free: 14.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002326/0.406, allocations: 85.67 kB / 401.7 MB, free: 14.4 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.571e-05/0.4061, allocations: 36.05 kB / 401.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.438e-06/0.4061, allocations: 0 / 401.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.4061, allocations: 64 / 401.7 MB, free: 14.36 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.921e-05/0.4062, allocations: 15.94 kB / 401.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.125e-06/0.4062, allocations: 4 kB / 401.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.385e-05/0.4063, allocations: 7.984 kB / 401.7 MB, free: 14.34 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.699e-05/0.4063, allocations: 4 kB / 401.7 MB, free: 14.33 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 0.0001074/0.4064, allocations: 113.1 kB / 401.8 MB, free: 14.21 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.829e-05/0.4065, allocations: 11.81 kB / 401.8 MB, free: 14.2 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.4068, allocations: 87.28 kB / 401.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.11e-06/0.4068, allocations: 4 kB / 401.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.901e-06/0.4068, allocations: 0 / 401.9 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.942e-06/0.4068, allocations: 7.984 kB / 401.9 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000503/0.4073, allocations: 354.9 kB / 402.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.4074, allocations: 0 / 402.3 MB, free: 13.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.853e-05/0.4074, allocations: 12 kB / 402.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.656e-06/0.4074, allocations: 0 / 402.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.4075, allocations: 0 / 402.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.124e-06/0.4075, allocations: 3.984 kB / 402.3 MB, free: 13.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.07e-06/0.4075, allocations: 4 kB / 402.3 MB, free: 13.69 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000238/0.4077, allocations: 183.2 kB / 402.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.792e-05/0.4078, allocations: 93 kB / 402.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.164e-05/0.4079, allocations: 0 / 402.6 MB, free: 13.39 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.408, allocations: 4 kB / 402.6 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-05/0.408, allocations: 0 / 402.6 MB, free: 13.38 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.4081, allocations: 4.188 kB / 402.6 MB, free: 13.38 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002215/0.4083, allocations: 177.2 kB / 402.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.4083, allocations: 0 / 402.8 MB, free: 13.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003926/0.4087, allocations: 43.92 kB / 402.8 MB, free: 13.16 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.0009388/0.4097, allocations: 301.5 kB / 403.1 MB, free: 12.92 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.4099, allocations: 107.3 kB / 403.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.41, allocations: 0 / 403.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.218e-05/0.41, allocations: 20 kB / 403.2 MB, free: 12.78 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002906/0.4103, allocations: 28.41 kB / 403.2 MB, free: 12.75 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000513/0.4109, allocations: 214.5 kB / 403.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.4113, allocations: 0.7158 MB / 404.2 MB, free: 11.77 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.4114, allocations: 19.38 kB / 404.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of SimCode: time 1.448e-06/0.4114, allocations: 0 / 404.2 MB, free: 11.75 MB / 346.7 MB Notification: Performance of Templates: time 0.004698/0.4161, allocations: 1.915 MB / 406.1 MB, free: 9.84 MB / 346.7 MB