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.Test59.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.Test59,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.Test59") Notification: Performance of loadModel(ModelicaTest): time 1.916/1.916, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.852e-05/2.864e-05, allocations: 4 kB / 277.8 MB, free: 15.31 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08677/0.08682, allocations: 48.71 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.341/0.4278, allocations: 75.99 MB / 402.5 MB, free: 9.984 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.4281, allocations: 77.67 kB / 402.6 MB, free: 9.973 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01674/0.4448, allocations: 4.46 MB / 407.1 MB, free: 8.387 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.4449, allocations: 3.938 kB / 407.1 MB, free: 8.383 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.343e-05/0.4449, allocations: 4 kB / 407.1 MB, free: 8.379 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.0003663/0.4453, allocations: 398.8 kB / 407.5 MB, free: 7.965 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.4453, allocations: 15.59 kB / 407.5 MB, free: 7.961 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.125e-05/0.4454, allocations: 7.75 kB / 407.5 MB, free: 7.957 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002021/0.4456, allocations: 196.7 kB / 407.7 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.4456, allocations: 3.844 kB / 407.7 MB, free: 7.742 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.43e-05/0.4457, allocations: 3.938 kB / 407.7 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/0.4458, allocations: 62.8 kB / 407.8 MB, free: 7.684 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.243e-05/0.4458, allocations: 3.984 kB / 407.8 MB, free: 7.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.4459, allocations: 0 / 407.8 MB, free: 7.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.022e-06/0.4459, allocations: 7.812 kB / 407.8 MB, free: 7.676 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.632e-05/0.4459, allocations: 11.41 kB / 407.8 MB, free: 7.676 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003193/0.4463, allocations: 278.7 kB / 408.1 MB, free: 7.391 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001952/0.4465, allocations: 45.34 kB / 408.1 MB, free: 7.359 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.397e-05/0.4465, allocations: 12.42 kB / 408.1 MB, free: 7.352 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.4466, allocations: 0 / 408.1 MB, free: 7.352 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001146/0.4467, allocations: 62.3 kB / 408.2 MB, free: 7.293 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.292e-06/0.4467, allocations: 0 / 408.2 MB, free: 7.293 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003967/0.4471, allocations: 106.3 kB / 408.3 MB, free: 7.238 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.189e-05/0.4472, allocations: 84.97 kB / 408.4 MB, free: 7.141 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/0.4473, allocations: 130.9 kB / 408.5 MB, free: 7.039 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.4473, allocations: 29.67 kB / 408.5 MB, free: 7.008 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.4474, allocations: 154.5 kB / 408.7 MB, free: 6.859 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.4474, allocations: 22.72 kB / 408.7 MB, free: 6.844 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.405e-06/0.4474, allocations: 0 / 408.7 MB, free: 6.844 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.973e-05/0.4475, allocations: 318.7 kB / 409 MB, free: 6.527 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.612e-05/0.4476, allocations: 19.41 kB / 409 MB, free: 6.527 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.278e-05/0.4476, allocations: 39.72 kB / 409.1 MB, free: 6.504 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.374e-05/0.4477, allocations: 52.78 kB / 409.1 MB, free: 6.469 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.885e-06/0.4477, allocations: 3.938 kB / 409.1 MB, free: 6.465 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002147/0.448, allocations: 110.5 kB / 409.2 MB, free: 6.395 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.448, allocations: 40.7 kB / 409.3 MB, free: 6.359 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.714e-06/0.448, allocations: 4.062 kB / 409.3 MB, free: 6.355 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.448, allocations: 4 kB / 409.3 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.622e-05/0.4481, allocations: 7.719 kB / 409.3 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.781e-06/0.4481, allocations: 0 / 409.3 MB, free: 6.352 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.241e-05/0.4482, allocations: 7.828 kB / 409.3 MB, free: 6.348 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.253e-05/0.4483, allocations: 7.672 kB / 409.3 MB, free: 6.344 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 6.111e-05/0.4484, allocations: 108.5 kB / 409.4 MB, free: 6.238 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.4484, allocations: 7.875 kB / 409.4 MB, free: 6.234 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002207/0.4486, allocations: 94.12 kB / 409.5 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.165e-06/0.4487, allocations: 0 / 409.5 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.265e-06/0.4487, allocations: 0 / 409.5 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.866e-06/0.4487, allocations: 0 / 409.5 MB, free: 6.184 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003315/0.449, allocations: 343.5 kB / 409.8 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.449, allocations: 0 / 409.8 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-05/0.4491, allocations: 7.688 kB / 409.8 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.789e-06/0.4491, allocations: 0 / 409.8 MB, free: 5.863 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.4491, allocations: 7.672 kB / 409.8 MB, free: 5.859 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.155e-06/0.4491, allocations: 7.688 kB / 409.9 MB, free: 5.855 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.4492, allocations: 3.938 kB / 409.9 MB, free: 5.852 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001657/0.4493, allocations: 171 kB / 410 MB, free: 5.711 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.423e-05/0.4494, allocations: 92.83 kB / 410.1 MB, free: 5.605 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.822e-05/0.4494, allocations: 96 / 410.1 MB, free: 5.605 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.698e-05/0.4495, allocations: 7.781 kB / 410.1 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.615e-05/0.4496, allocations: 3.375 kB / 410.1 MB, free: 5.602 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.326e-05/0.4496, allocations: 12.02 kB / 410.1 MB, free: 5.594 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.585e-05/0.4497, allocations: 103.6 kB / 410.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.88e-07/0.4497, allocations: 0 / 410.2 MB, free: 5.516 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003888/0.4501, allocations: 54.36 kB / 410.3 MB, free: 5.492 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.001233/0.4513, allocations: 419.9 kB / 410.7 MB, free: 5.238 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001948/0.4516, allocations: 103 kB / 410.8 MB, free: 5.176 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4516, allocations: 0 / 410.8 MB, free: 5.176 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.624e-05/0.4516, allocations: 31.02 kB / 410.8 MB, free: 5.164 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002607/0.4519, allocations: 14.92 kB / 410.8 MB, free: 5.16 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002998/0.4522, allocations: 132.6 kB / 411 MB, free: 5.035 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.4524, allocations: 0.6919 MB / 411.7 MB, free: 4.332 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.177e-05/0.4524, allocations: 18.95 kB / 411.7 MB, free: 4.324 MB / 314.7 MB Notification: Performance of SimCode: time 1.607e-06/0.4525, allocations: 0 / 411.7 MB, free: 4.324 MB / 314.7 MB Notification: Performance of Templates: time 0.003842/0.4563, allocations: 1.885 MB / 413.6 MB, free: 3.359 MB / 314.7 MB