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.Test16.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.Test16,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.Test16") Notification: Performance of loadModel(ModelicaTest): time 2.031/2.031, allocations: 209.4 MB / 217.3 MB, free: 4.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.097e-05/2.103e-05, allocations: 4 kB / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2637/0.2638, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1153/0.3791, allocations: 75.07 MB / 395.1 MB, free: 5.391 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.3794, allocations: 71.95 kB / 395.2 MB, free: 5.32 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01607/0.3955, allocations: 3.843 MB / 399 MB, free: 1.473 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.997e-06/0.3955, allocations: 0 / 399 MB, free: 1.473 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.195e-05/0.3955, allocations: 0 / 399 MB, free: 1.473 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.0005286/0.3961, allocations: 408 kB / 399.4 MB, free: 1.023 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.3961, allocations: 8.031 kB / 399.4 MB, free: 1.016 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.865e-05/0.3962, allocations: 7.906 kB / 399.4 MB, free: 1.008 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.3965, allocations: 199.7 kB / 399.6 MB, free: 0.7734 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.196e-06/0.3965, allocations: 4 kB / 399.6 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.004e-05/0.3965, allocations: 0 / 399.6 MB, free: 0.7695 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.305e-05/0.3966, allocations: 23.86 kB / 399.6 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.659e-05/0.3967, allocations: 41.69 kB / 399.7 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3968, allocations: 4 kB / 399.7 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.662e-06/0.3968, allocations: 0 / 399.7 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.3968, allocations: 0 / 399.7 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004293/0.3972, allocations: 273.4 kB / 399.9 MB, free: 400 kB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002024/0.3975, allocations: 42.5 kB / 400 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.639e-05/0.3975, allocations: 12.95 kB / 400 MB, free: 332 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.324e-05/0.3975, allocations: 3.984 kB / 400 MB, free: 328 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.3977, allocations: 55.41 kB / 400.1 MB, free: 260 kB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 2.339e-06/0.3977, allocations: 0 / 400.1 MB, free: 260 kB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004131/0.3981, allocations: 105.4 kB / 400.2 MB, free: 148 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.3982, allocations: 51.41 kB / 400.2 MB, free: 84 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.3984, allocations: 152.1 kB / 400.4 MB, free: 15.93 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.3984, allocations: 25.7 kB / 400.4 MB, free: 15.89 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.593e-05/0.3986, allocations: 158.6 kB / 400.5 MB, free: 15.74 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.3986, allocations: 15.8 kB / 400.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.646e-06/0.3986, allocations: 4 kB / 400.6 MB, free: 15.72 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3988, allocations: 310.8 kB / 400.9 MB, free: 15.41 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.259e-05/0.3989, allocations: 24 kB / 400.9 MB, free: 15.38 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.422e-05/0.3989, allocations: 23.98 kB / 400.9 MB, free: 15.36 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.27e-05/0.399, allocations: 16 kB / 400.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.399, allocations: 4.094 kB / 400.9 MB, free: 15.34 MB / 346.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002295/0.3993, allocations: 93.55 kB / 401 MB, free: 15.24 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.159e-05/0.3993, allocations: 36.05 kB / 401.1 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.705e-06/0.3993, allocations: 64 / 401.1 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/0.3994, allocations: 4 kB / 401.1 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.504e-05/0.3994, allocations: 11.98 kB / 401.1 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.328e-06/0.3995, allocations: 0 / 401.1 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.501e-05/0.3995, allocations: 8 kB / 401.1 MB, free: 15.18 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.953e-05/0.3996, allocations: 7.953 kB / 401.1 MB, free: 15.17 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.487e-05/0.3997, allocations: 101 kB / 401.2 MB, free: 15.07 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.3997, allocations: 8.047 kB / 401.2 MB, free: 15.06 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002394/0.4, allocations: 94 kB / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.742e-06/0.4, allocations: 0 / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.816e-06/0.4, allocations: 3.984 kB / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.151e-06/0.4, allocations: 3.938 kB / 401.3 MB, free: 14.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004477/0.4005, allocations: 327 kB / 401.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.603e-06/0.4005, allocations: 0 / 401.6 MB, free: 14.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.072e-05/0.4006, allocations: 11.92 kB / 401.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.113e-06/0.4006, allocations: 0 / 401.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.4006, allocations: 4 kB / 401.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.202e-06/0.4006, allocations: 0 / 401.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.413e-06/0.4006, allocations: 0 / 401.6 MB, free: 14.58 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002356/0.4009, allocations: 175.3 kB / 401.8 MB, free: 14.39 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.582e-05/0.401, allocations: 93 kB / 401.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.401, allocations: 0 / 401.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.124e-05/0.4011, allocations: 0 / 401.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.754e-05/0.4012, allocations: 4 kB / 401.9 MB, free: 14.28 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.4012, allocations: 4.172 kB / 401.9 MB, free: 14.27 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000126/0.4013, allocations: 121.1 kB / 402 MB, free: 14.16 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.95e-07/0.4013, allocations: 0 / 402 MB, free: 14.16 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003781/0.4017, allocations: 36 kB / 402.1 MB, free: 14.12 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.0009633/0.4027, allocations: 316.7 kB / 402.4 MB, free: 13.86 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002209/0.4029, allocations: 107.4 kB / 402.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.862e-06/0.403, allocations: 0 / 402.5 MB, free: 13.74 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.992e-05/0.403, allocations: 27.92 kB / 402.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002604/0.4033, allocations: 5.422 kB / 402.5 MB, free: 13.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003717/0.4037, allocations: 151.8 kB / 402.6 MB, free: 13.53 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003924/0.4041, allocations: 0.6963 MB / 403.3 MB, free: 12.81 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.208e-05/0.4042, allocations: 19.44 kB / 403.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of SimCode: time 1.347e-06/0.4042, allocations: 0 / 403.4 MB, free: 12.79 MB / 346.7 MB Notification: Performance of Templates: time 0.004287/0.4085, allocations: 1.662 MB / 405 MB, free: 11.13 MB / 346.7 MB