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.Test9.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.Test9,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.Test9") Notification: Performance of loadModel(ModelicaTest): time 1.985/1.985, allocations: 209.4 MB / 217.3 MB, free: 4.141 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.951e-05/1.959e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2768, allocations: 48.7 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1479/0.4248, allocations: 75.06 MB / 395.1 MB, free: 5.371 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003735/0.4252, allocations: 71.95 kB / 395.2 MB, free: 5.301 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02219/0.4474, allocations: 4 MB / 399.2 MB, free: 1.297 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.401e-06/0.4475, allocations: 0 / 399.2 MB, free: 1.297 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.507e-05/0.4475, allocations: 4 kB / 399.2 MB, free: 1.293 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.0005072/0.448, allocations: 412 kB / 399.6 MB, free: 0.8398 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4481, allocations: 12.03 kB / 399.6 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.4481, allocations: 7.906 kB / 399.6 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002929/0.4484, allocations: 208.2 kB / 399.8 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.4485, allocations: 0 / 399.8 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.828e-05/0.4485, allocations: 11.94 kB / 399.8 MB, free: 0.5664 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.988e-05/0.4486, allocations: 15.98 kB / 399.8 MB, free: 0.5508 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.341e-05/0.4487, allocations: 45.62 kB / 399.9 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.4487, allocations: 0 / 399.9 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.742e-06/0.4487, allocations: 0 / 399.9 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.36e-06/0.4488, allocations: 0 / 399.9 MB, free: 0.5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004219/0.4492, allocations: 273.4 kB / 400.1 MB, free: 200 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002042/0.4494, allocations: 50.48 kB / 400.2 MB, free: 140 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.563e-05/0.4495, allocations: 8.859 kB / 400.2 MB, free: 128 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.358e-05/0.4495, allocations: 8 kB / 400.2 MB, free: 120 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.4496, allocations: 55.5 kB / 400.2 MB, free: 52 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.417e-06/0.4496, allocations: 0 / 400.2 MB, free: 52 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004479/0.4501, allocations: 109.2 kB / 400.4 MB, free: 15.94 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/0.4502, allocations: 55.41 kB / 400.4 MB, free: 15.87 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002357/0.4504, allocations: 178.4 kB / 400.6 MB, free: 15.69 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.793e-05/0.4505, allocations: 29.7 kB / 400.6 MB, free: 15.66 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001002/0.4506, allocations: 162.5 kB / 400.8 MB, free: 15.5 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.4506, allocations: 15.81 kB / 400.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.776e-06/0.4506, allocations: 0 / 400.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.4508, allocations: 318.8 kB / 401.1 MB, free: 15.16 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.143e-05/0.4509, allocations: 19.98 kB / 401.1 MB, free: 15.14 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.307e-05/0.4509, allocations: 20 kB / 401.1 MB, free: 15.12 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.847e-05/0.451, allocations: 27.98 kB / 401.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.79e-06/0.451, allocations: 0 / 401.2 MB, free: 15.09 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002274/0.4513, allocations: 93.61 kB / 401.3 MB, free: 15 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.712e-05/0.4513, allocations: 30.48 kB / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.375e-06/0.4514, allocations: 4 kB / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.4514, allocations: 0 / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.4515, allocations: 11.98 kB / 401.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.986e-06/0.4515, allocations: 0 / 401.3 MB, free: 14.95 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.4515, allocations: 4.094 kB / 401.3 MB, free: 14.94 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.4516, allocations: 3.938 kB / 401.3 MB, free: 14.94 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.0001068/0.4517, allocations: 120 kB / 401.4 MB, free: 14.82 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.005e-05/0.4517, allocations: 11.81 kB / 401.4 MB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002449/0.452, allocations: 94.2 kB / 401.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.081e-06/0.452, allocations: 0 / 401.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.035e-06/0.452, allocations: 7.938 kB / 401.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.792e-06/0.452, allocations: 0 / 401.5 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004572/0.4525, allocations: 331 kB / 401.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.4525, allocations: 0 / 401.9 MB, free: 14.33 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.668e-05/0.4526, allocations: 11.98 kB / 401.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.385e-06/0.4526, allocations: 0 / 401.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.98e-06/0.4526, allocations: 4 kB / 401.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.167e-06/0.4526, allocations: 0 / 401.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.381e-06/0.4527, allocations: 0 / 401.9 MB, free: 14.32 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.4529, allocations: 171.7 kB / 402 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.428e-05/0.453, allocations: 96.91 kB / 402.1 MB, free: 14.02 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.197e-05/0.453, allocations: 8 kB / 402.1 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.113e-05/0.4531, allocations: 4 kB / 402.2 MB, free: 14.01 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.699e-05/0.4532, allocations: 7.984 kB / 402.2 MB, free: 14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.4532, allocations: 0 / 402.2 MB, free: 14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001659/0.4534, allocations: 140.1 kB / 402.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.4534, allocations: 4 kB / 402.3 MB, free: 13.86 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003695/0.4538, allocations: 27.94 kB / 402.3 MB, free: 13.83 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.0009362/0.4548, allocations: 311.7 kB / 402.6 MB, free: 13.58 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002166/0.455, allocations: 99.41 kB / 402.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.455, allocations: 0 / 402.7 MB, free: 13.47 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 6.183e-05/0.4551, allocations: 23.94 kB / 402.8 MB, free: 13.45 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002716/0.4554, allocations: 19.94 kB / 402.8 MB, free: 13.43 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004373/0.4558, allocations: 189.6 kB / 403 MB, free: 13.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004091/0.4563, allocations: 0.708 MB / 403.7 MB, free: 12.48 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.4563, allocations: 11.44 kB / 403.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of SimCode: time 1.445e-06/0.4563, allocations: 0 / 403.7 MB, free: 12.46 MB / 346.7 MB Notification: Performance of Templates: time 0.004447/0.4608, allocations: 1.773 MB / 405.4 MB, free: 10.7 MB / 346.7 MB