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.Test5.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.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y|d_t_new2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test5") Notification: Performance of loadModel(ModelicaTest): time 1.924/1.924, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.951e-05/2.965e-05, allocations: 7.938 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08633/0.08638, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3425/0.4289, allocations: 75.81 MB / 402.3 MB, free: 9.973 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002029/0.4291, allocations: 73.77 kB / 402.4 MB, free: 9.961 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01695/0.4461, allocations: 4.604 MB / 407 MB, free: 8.168 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.096e-06/0.4462, allocations: 0 / 407 MB, free: 8.168 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.443e-05/0.4462, allocations: 3.875 kB / 407 MB, free: 8.168 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003957/0.4466, allocations: 429.4 kB / 407.4 MB, free: 7.738 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.4466, allocations: 7.656 kB / 407.5 MB, free: 7.738 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.082e-05/0.4467, allocations: 15.62 kB / 407.5 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000249/0.447, allocations: 213.1 kB / 407.7 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.447, allocations: 7.75 kB / 407.7 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.743e-05/0.447, allocations: 3.844 kB / 407.7 MB, free: 7.508 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001236/0.4472, allocations: 56.36 kB / 407.7 MB, free: 7.469 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.4472, allocations: 0 / 407.7 MB, free: 7.469 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.4472, allocations: 4 kB / 407.7 MB, free: 7.465 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.841e-06/0.4472, allocations: 3.875 kB / 407.8 MB, free: 7.465 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.84e-05/0.4473, allocations: 30 kB / 407.8 MB, free: 7.461 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.4478, allocations: 334.5 kB / 408.1 MB, free: 7.156 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001182/0.4479, allocations: 60 kB / 408.2 MB, free: 7.121 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.342e-05/0.4479, allocations: 20.38 kB / 408.2 MB, free: 7.109 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.448, allocations: 7.844 kB / 408.2 MB, free: 7.105 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001225/0.4481, allocations: 62.34 kB / 408.3 MB, free: 7.055 MB / 314.7 MB Notification: Performance of pre-optimization done (n=6): time 2.622e-06/0.4481, allocations: 0 / 408.3 MB, free: 7.055 MB / 314.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005015/0.4486, allocations: 156.5 kB / 408.4 MB, free: 6.984 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.592e-05/0.4487, allocations: 51.41 kB / 408.5 MB, free: 6.922 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002342/0.4489, allocations: 218.4 kB / 408.7 MB, free: 6.805 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.844e-05/0.449, allocations: 28.52 kB / 408.7 MB, free: 6.773 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.449, allocations: 173.4 kB / 408.9 MB, free: 6.617 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.064e-05/0.4491, allocations: 30.61 kB / 408.9 MB, free: 6.598 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.005e-05/0.4491, allocations: 7.781 kB / 408.9 MB, free: 6.594 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.753e-05/0.4491, allocations: 314.8 kB / 409.2 MB, free: 6.277 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.85e-05/0.4492, allocations: 31.75 kB / 409.2 MB, free: 6.277 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.261e-05/0.4493, allocations: 34.17 kB / 409.3 MB, free: 6.273 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001023/0.4494, allocations: 61.2 kB / 409.3 MB, free: 6.238 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.4495, allocations: 0 / 409.3 MB, free: 6.238 MB / 314.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002832/0.4497, allocations: 161.5 kB / 409.5 MB, free: 6.156 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/0.4498, allocations: 33.52 kB / 409.5 MB, free: 6.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.868e-06/0.4498, allocations: 7.984 kB / 409.5 MB, free: 6.117 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.4498, allocations: 3.984 kB / 409.5 MB, free: 6.113 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.4499, allocations: 19.53 kB / 409.6 MB, free: 6.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.45, allocations: 7.797 kB / 409.6 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.848e-05/0.45, allocations: 0 / 409.6 MB, free: 6.102 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.4501, allocations: 11.28 kB / 409.6 MB, free: 6.102 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 (10): * Single equations (assignments): 9 * 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.975e-05/0.4501, allocations: 105 kB / 409.7 MB, free: 5.992 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.09e-05/0.4502, allocations: 14.5 kB / 409.7 MB, free: 5.988 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.4505, allocations: 137.2 kB / 409.8 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.061e-06/0.4505, allocations: 0 / 409.8 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.4505, allocations: 0 / 409.8 MB, free: 5.922 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.638e-06/0.4505, allocations: 7.938 kB / 409.8 MB, free: 5.914 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004963/0.4511, allocations: 427.4 kB / 410.3 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.187e-06/0.4511, allocations: 0 / 410.3 MB, free: 5.574 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.085e-05/0.4512, allocations: 15.25 kB / 410.3 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.093e-06/0.4512, allocations: 4 kB / 410.3 MB, free: 5.566 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.4512, allocations: 11.81 kB / 410.3 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.798e-06/0.4512, allocations: 0 / 410.3 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.88e-06/0.4512, allocations: 384 / 410.3 MB, free: 5.559 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002317/0.4515, allocations: 213.3 kB / 410.5 MB, free: 5.406 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.153e-05/0.4515, allocations: 92.58 kB / 410.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.716e-05/0.4516, allocations: 7.094 kB / 410.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.4517, allocations: 7.938 kB / 410.6 MB, free: 5.297 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.4518, allocations: 7.844 kB / 410.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.4518, allocations: 6.406 kB / 410.6 MB, free: 5.293 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001617/0.4519, allocations: 172.8 kB / 410.8 MB, free: 5.207 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.26e-07/0.452, allocations: 0 / 410.8 MB, free: 5.207 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000385/0.4524, allocations: 46.23 kB / 410.8 MB, free: 5.195 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 (10): * Single equations (assignments): 9 * 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.001064/0.4534, allocations: 355.3 kB / 411.2 MB, free: 4.984 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.4537, allocations: 137.7 kB / 411.3 MB, free: 4.914 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.708e-06/0.4537, allocations: 0 / 411.3 MB, free: 4.914 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 7.746e-05/0.4538, allocations: 33.81 kB / 411.3 MB, free: 4.91 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002898/0.4541, allocations: 25.61 kB / 411.4 MB, free: 4.902 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004664/0.4546, allocations: 231 kB / 411.6 MB, free: 4.758 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001642/0.4548, allocations: 0.7182 MB / 412.3 MB, free: 4.043 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.09e-05/0.4549, allocations: 23.08 kB / 412.3 MB, free: 4.031 MB / 314.7 MB Notification: Performance of SimCode: time 1.86e-06/0.4549, allocations: 0 / 412.3 MB, free: 4.031 MB / 314.7 MB Notification: Performance of Templates: time 0.004258/0.4591, allocations: 2.088 MB / 414.4 MB, free: 2.996 MB / 314.7 MB