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/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.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.913/1.913, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.061e-05/3.069e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08536/0.08542, allocations: 48.7 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3407/0.4262, allocations: 75.74 MB / 402.3 MB, free: 10.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002026/0.4265, allocations: 70.72 kB / 402.3 MB, free: 10.17 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01502/0.4415, allocations: 4.031 MB / 406.4 MB, free: 8.613 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.025e-06/0.4416, allocations: 0 / 406.4 MB, free: 8.613 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.4416, allocations: 0 / 406.4 MB, free: 8.613 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.0003942/0.442, allocations: 421.2 kB / 406.8 MB, free: 8.188 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.843e-05/0.442, allocations: 7.719 kB / 406.8 MB, free: 8.188 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.656e-05/0.4421, allocations: 11.59 kB / 406.8 MB, free: 8.184 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.4423, allocations: 211.9 kB / 407 MB, free: 7.961 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.4424, allocations: 0 / 407 MB, free: 7.961 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.4424, allocations: 6.969 kB / 407 MB, free: 7.961 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001012/0.4425, allocations: 40.44 kB / 407.1 MB, free: 7.926 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4425, allocations: 3.844 kB / 407.1 MB, free: 7.926 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.4426, allocations: 3.984 kB / 407.1 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.784e-06/0.4426, allocations: 0 / 407.1 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.879e-05/0.4427, allocations: 10.78 kB / 407.1 MB, free: 7.922 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000355/0.443, allocations: 298.7 kB / 407.4 MB, free: 7.629 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.4432, allocations: 47.62 kB / 407.4 MB, free: 7.598 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.4433, allocations: 19.66 kB / 407.4 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.4433, allocations: 0 / 407.4 MB, free: 7.586 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001168/0.4434, allocations: 57.7 kB / 407.5 MB, free: 7.531 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.367e-06/0.4435, allocations: 0 / 407.5 MB, free: 7.531 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0004043/0.4439, allocations: 116.9 kB / 407.6 MB, free: 7.469 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.432e-05/0.4439, allocations: 51.41 kB / 407.7 MB, free: 7.406 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.4441, allocations: 182.5 kB / 407.8 MB, free: 7.297 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.884e-05/0.4442, allocations: 28.77 kB / 407.9 MB, free: 7.266 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.4442, allocations: 164.6 kB / 408 MB, free: 7.117 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.4443, allocations: 19.33 kB / 408 MB, free: 7.105 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.363e-06/0.4443, allocations: 0 / 408 MB, free: 7.105 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.005e-05/0.4443, allocations: 314.2 kB / 408.4 MB, free: 6.793 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.295e-05/0.4444, allocations: 26.34 kB / 408.4 MB, free: 6.789 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.599e-05/0.4445, allocations: 21.97 kB / 408.4 MB, free: 6.785 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.766e-05/0.4446, allocations: 63.28 kB / 408.5 MB, free: 6.742 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-06/0.4446, allocations: 0 / 408.5 MB, free: 6.742 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002203/0.4448, allocations: 118.8 kB / 408.6 MB, free: 6.672 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.5e-05/0.4449, allocations: 37.14 kB / 408.6 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.765e-06/0.4449, allocations: 3.938 kB / 408.6 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4449, allocations: 0 / 408.6 MB, free: 6.637 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.665e-05/0.445, allocations: 11.77 kB / 408.6 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.445, allocations: 3.875 kB / 408.6 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.462e-05/0.4451, allocations: 4 kB / 408.6 MB, free: 6.629 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.4451, allocations: 7.859 kB / 408.6 MB, free: 6.625 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.812e-05/0.4452, allocations: 108.3 kB / 408.8 MB, free: 6.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.739e-05/0.4452, allocations: 11.72 kB / 408.8 MB, free: 6.512 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.4455, allocations: 98.22 kB / 408.9 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.011e-06/0.4455, allocations: 0 / 408.9 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.369e-06/0.4455, allocations: 0 / 408.9 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.311e-06/0.4455, allocations: 3.844 kB / 408.9 MB, free: 6.457 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.4459, allocations: 358.5 kB / 409.2 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.821e-06/0.4459, allocations: 0 / 409.2 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.058e-05/0.446, allocations: 7.797 kB / 409.2 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.872e-06/0.446, allocations: 3.844 kB / 409.2 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.446, allocations: 0 / 409.2 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.911e-06/0.446, allocations: 0 / 409.2 MB, free: 6.129 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.662e-06/0.446, allocations: 3.938 kB / 409.2 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001881/0.4462, allocations: 183.5 kB / 409.4 MB, free: 5.977 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.603e-05/0.4463, allocations: 88.77 kB / 409.5 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.4463, allocations: 7.312 kB / 409.5 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.997e-05/0.4464, allocations: 0 / 409.5 MB, free: 5.875 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.862e-05/0.4465, allocations: 7.828 kB / 409.5 MB, free: 5.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.18e-05/0.4465, allocations: 3.875 kB / 409.5 MB, free: 5.871 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001474/0.4467, allocations: 157.1 kB / 409.7 MB, free: 5.777 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.4467, allocations: 0 / 409.7 MB, free: 5.777 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003765/0.4471, allocations: 37.69 kB / 409.7 MB, free: 5.77 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.001074/0.4482, allocations: 342.8 kB / 410 MB, free: 5.559 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002131/0.4484, allocations: 111.9 kB / 410.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.238e-06/0.4484, allocations: 0 / 410.1 MB, free: 5.492 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.772e-05/0.4485, allocations: 30.17 kB / 410.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/0.4488, allocations: 19.48 kB / 410.2 MB, free: 5.473 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003869/0.4492, allocations: 182.6 kB / 410.4 MB, free: 5.34 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001506/0.4494, allocations: 0.7066 MB / 411.1 MB, free: 4.629 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.64e-05/0.4494, allocations: 14.94 kB / 411.1 MB, free: 4.621 MB / 314.7 MB Notification: Performance of SimCode: time 1.416e-06/0.4494, allocations: 0 / 411.1 MB, free: 4.621 MB / 314.7 MB Notification: Performance of Templates: time 0.003786/0.4532, allocations: 1.762 MB / 412.9 MB, free: 3.738 MB / 314.7 MB