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.Test6.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test6,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.Test6") Notification: Performance of loadModel(ModelicaTest): time 2.014/2.014, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.904e-05/2.912e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08661/0.08667, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3416/0.4283, allocations: 75.78 MB / 402.3 MB, free: 10.04 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001989/0.4285, allocations: 69.22 kB / 402.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01611/0.4447, allocations: 4.354 MB / 406.7 MB, free: 8.348 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.659e-06/0.4447, allocations: 0 / 406.7 MB, free: 8.348 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.317e-05/0.4447, allocations: 0 / 406.7 MB, free: 8.348 MB / 314.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.0003853/0.4451, allocations: 435.8 kB / 407.2 MB, free: 7.914 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.4452, allocations: 7.531 kB / 407.2 MB, free: 7.914 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.075e-05/0.4452, allocations: 19.38 kB / 407.2 MB, free: 7.902 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.4455, allocations: 214.1 kB / 407.4 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.4455, allocations: 0 / 407.4 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.516e-05/0.4455, allocations: 7.781 kB / 407.4 MB, free: 7.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.4457, allocations: 45.3 kB / 407.5 MB, free: 7.641 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.4457, allocations: 0 / 407.5 MB, free: 7.641 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.4457, allocations: 7.312 kB / 407.5 MB, free: 7.637 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.132e-06/0.4457, allocations: 3.812 kB / 407.5 MB, free: 7.637 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.272e-05/0.4458, allocations: 11.03 kB / 407.5 MB, free: 7.637 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000399/0.4462, allocations: 315.3 kB / 407.8 MB, free: 7.336 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.4464, allocations: 45.66 kB / 407.8 MB, free: 7.305 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.4465, allocations: 12.48 kB / 407.8 MB, free: 7.297 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.4465, allocations: 0 / 407.8 MB, free: 7.297 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.4466, allocations: 58.61 kB / 407.9 MB, free: 7.242 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.468e-06/0.4466, allocations: 4 kB / 407.9 MB, free: 7.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003893/0.447, allocations: 122.9 kB / 408 MB, free: 7.176 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.4471, allocations: 51.41 kB / 408.1 MB, free: 7.113 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002648/0.4473, allocations: 237.6 kB / 408.3 MB, free: 6.996 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.4474, allocations: 29.33 kB / 408.3 MB, free: 6.965 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.5e-05/0.4474, allocations: 180.1 kB / 408.5 MB, free: 6.805 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.4475, allocations: 11.53 kB / 408.5 MB, free: 6.801 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.164e-06/0.4475, allocations: 0 / 408.5 MB, free: 6.801 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.874e-05/0.4475, allocations: 314.8 kB / 408.8 MB, free: 6.484 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.123e-05/0.4476, allocations: 26.39 kB / 408.9 MB, free: 6.48 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.269e-05/0.4477, allocations: 18.88 kB / 408.9 MB, free: 6.48 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.516e-05/0.4478, allocations: 59.22 kB / 408.9 MB, free: 6.441 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4478, allocations: 0 / 408.9 MB, free: 6.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002101/0.448, allocations: 118.4 kB / 409 MB, free: 6.371 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.228e-05/0.448, allocations: 44.31 kB / 409.1 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.362e-06/0.4481, allocations: 0 / 409.1 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.4481, allocations: 0 / 409.1 MB, free: 6.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.209e-05/0.4482, allocations: 11.62 kB / 409.1 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.69e-06/0.4482, allocations: 8.125 kB / 409.1 MB, free: 6.324 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.76e-05/0.4483, allocations: 8 kB / 409.1 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.4483, allocations: 11.75 kB / 409.1 MB, free: 6.309 MB / 314.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 5.668e-05/0.4484, allocations: 112 kB / 409.2 MB, free: 6.199 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.4484, allocations: 11.62 kB / 409.3 MB, free: 6.195 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002155/0.4486, allocations: 92.7 kB / 409.3 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.891e-06/0.4486, allocations: 0 / 409.3 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.324e-06/0.4487, allocations: 0 / 409.3 MB, free: 6.148 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.894e-06/0.4487, allocations: 7.875 kB / 409.4 MB, free: 6.145 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003804/0.4491, allocations: 386.9 kB / 409.7 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.561e-06/0.4491, allocations: 0 / 409.7 MB, free: 5.812 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.931e-05/0.4491, allocations: 11.73 kB / 409.7 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.4492, allocations: 0 / 409.7 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.042e-05/0.4492, allocations: 0 / 409.7 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.4492, allocations: 0 / 409.7 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.879e-06/0.4492, allocations: 0 / 409.7 MB, free: 5.809 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.4494, allocations: 184.4 kB / 409.9 MB, free: 5.656 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.822e-05/0.4495, allocations: 99.84 kB / 410 MB, free: 5.555 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.25e-05/0.4495, allocations: 0 / 410 MB, free: 5.555 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.944e-05/0.4496, allocations: 7.719 kB / 410 MB, free: 5.555 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.155e-05/0.4497, allocations: 7.797 kB / 410 MB, free: 5.551 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.4497, allocations: 0 / 410 MB, free: 5.551 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002016/0.4499, allocations: 188.7 kB / 410.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.65e-07/0.4499, allocations: 0 / 410.2 MB, free: 5.461 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003676/0.4503, allocations: 45.84 kB / 410.3 MB, free: 5.449 MB / 314.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.001038/0.4513, allocations: 348.6 kB / 410.6 MB, free: 5.234 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001893/0.4515, allocations: 112.9 kB / 410.7 MB, free: 5.168 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.66e-06/0.4516, allocations: 3.938 kB / 410.7 MB, free: 5.164 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.368e-05/0.4516, allocations: 18.77 kB / 410.7 MB, free: 5.16 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/0.4519, allocations: 22.95 kB / 410.8 MB, free: 5.148 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004311/0.4524, allocations: 232.6 kB / 411 MB, free: 5.008 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001606/0.4525, allocations: 0.7182 MB / 411.7 MB, free: 4.293 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.233e-05/0.4526, allocations: 18.31 kB / 411.7 MB, free: 4.285 MB / 314.7 MB Notification: Performance of SimCode: time 1.508e-06/0.4526, allocations: 0 / 411.7 MB, free: 4.285 MB / 314.7 MB Notification: Performance of Templates: time 0.003922/0.4565, allocations: 1.947 MB / 413.7 MB, free: 3.312 MB / 314.7 MB