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.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Tables.CombiTimeTable.Test8") Notification: Performance of loadModel(ModelicaTest): time 1.852/1.852, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.153e-05/3.173e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08739/0.08745, allocations: 48.69 MB / 326.5 MB, free: 14.51 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3319/0.4194, allocations: 75.77 MB / 402.3 MB, free: 10.05 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001977/0.4196, allocations: 73.31 kB / 402.4 MB, free: 10.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01678/0.4364, allocations: 4.525 MB / 406.9 MB, free: 8.281 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.4365, allocations: 0 / 406.9 MB, free: 8.281 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.102e-05/0.4365, allocations: 3.781 kB / 406.9 MB, free: 8.281 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004032/0.4369, allocations: 436.7 kB / 407.3 MB, free: 7.848 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.938e-05/0.437, allocations: 7.688 kB / 407.4 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.042e-05/0.437, allocations: 15.44 kB / 407.4 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002316/0.4373, allocations: 208.2 kB / 407.6 MB, free: 7.621 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.501e-05/0.4373, allocations: 3.875 kB / 407.6 MB, free: 7.621 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.574e-05/0.4374, allocations: 3.875 kB / 407.6 MB, free: 7.621 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.4375, allocations: 56.09 kB / 407.6 MB, free: 7.578 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.167e-05/0.4375, allocations: 0 / 407.6 MB, free: 7.578 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.4375, allocations: 0 / 407.6 MB, free: 7.578 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.762e-06/0.4375, allocations: 4 kB / 407.6 MB, free: 7.574 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.409e-05/0.4376, allocations: 25.89 kB / 407.7 MB, free: 7.57 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003854/0.438, allocations: 326 kB / 408 MB, free: 7.27 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001112/0.4382, allocations: 52.69 kB / 408 MB, free: 7.238 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.246e-05/0.4382, allocations: 15.33 kB / 408 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.4382, allocations: 3.844 kB / 408 MB, free: 7.23 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001236/0.4384, allocations: 69.64 kB / 408.1 MB, free: 7.168 MB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.663e-06/0.4384, allocations: 0 / 408.1 MB, free: 7.168 MB / 314.7 MB Notification: Performance of matching and sorting (n=6): time 0.0004455/0.4389, allocations: 138.2 kB / 408.3 MB, free: 7.102 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.431e-05/0.4389, allocations: 59.23 kB / 408.3 MB, free: 7.035 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002329/0.4391, allocations: 213.5 kB / 408.5 MB, free: 6.922 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.4392, allocations: 32.77 kB / 408.6 MB, free: 6.887 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.4392, allocations: 164.4 kB / 408.7 MB, free: 6.738 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.672e-05/0.4393, allocations: 18.66 kB / 408.7 MB, free: 6.727 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.716e-06/0.4393, allocations: 7.188 kB / 408.7 MB, free: 6.723 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.4394, allocations: 315.2 kB / 409 MB, free: 6.406 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.197e-05/0.4394, allocations: 25.31 kB / 409.1 MB, free: 6.406 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.196e-05/0.4395, allocations: 31.12 kB / 409.1 MB, free: 6.402 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.67e-05/0.4396, allocations: 60.17 kB / 409.2 MB, free: 6.363 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.669e-06/0.4396, allocations: 0 / 409.2 MB, free: 6.363 MB / 314.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002642/0.4399, allocations: 144.8 kB / 409.3 MB, free: 6.289 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.143e-05/0.4399, allocations: 33.48 kB / 409.3 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.316e-06/0.44, allocations: 0 / 409.3 MB, free: 6.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.548e-05/0.44, allocations: 4 kB / 409.3 MB, free: 6.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.913e-05/0.4401, allocations: 15.61 kB / 409.4 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.196e-06/0.4401, allocations: 0 / 409.4 MB, free: 6.246 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.984e-05/0.4402, allocations: 7.828 kB / 409.4 MB, free: 6.242 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.657e-05/0.4402, allocations: 7.75 kB / 409.4 MB, free: 6.242 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 (8): * Single equations (assignments): 7 * 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.728e-05/0.4403, allocations: 104.9 kB / 409.5 MB, free: 6.137 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.4403, allocations: 7.75 kB / 409.5 MB, free: 6.133 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002737/0.4406, allocations: 121.2 kB / 409.6 MB, free: 6.074 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.15e-06/0.4406, allocations: 7.875 kB / 409.6 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.204e-06/0.4406, allocations: 0 / 409.6 MB, free: 6.07 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.212e-06/0.4407, allocations: 3.984 kB / 409.6 MB, free: 6.066 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.4411, allocations: 400.9 kB / 410 MB, free: 5.734 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.054e-06/0.4411, allocations: 0 / 410 MB, free: 5.734 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.148e-05/0.4412, allocations: 11.72 kB / 410 MB, free: 5.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.487e-06/0.4412, allocations: 7.812 kB / 410 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.4412, allocations: 0 / 410 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.8e-06/0.4412, allocations: 3.938 kB / 410 MB, free: 5.723 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.958e-06/0.4413, allocations: 7.953 kB / 410 MB, free: 5.715 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000214/0.4415, allocations: 191.5 kB / 410.2 MB, free: 5.57 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.35e-05/0.4416, allocations: 95.53 kB / 410.3 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.515e-05/0.4416, allocations: 3.875 kB / 410.3 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001063/0.4417, allocations: 3.438 kB / 410.3 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.45e-05/0.4418, allocations: 11.81 kB / 410.3 MB, free: 5.461 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.4418, allocations: 7.812 kB / 410.3 MB, free: 5.457 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000177/0.442, allocations: 175.1 kB / 410.5 MB, free: 5.367 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.15e-07/0.442, allocations: 3.969 kB / 410.5 MB, free: 5.367 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0003833/0.4424, allocations: 42.03 kB / 410.6 MB, free: 5.355 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 (8): * Single equations (assignments): 7 * 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.001076/0.4435, allocations: 347.2 kB / 410.9 MB, free: 5.156 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0002313/0.4437, allocations: 123 kB / 411 MB, free: 5.086 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.981e-06/0.4437, allocations: 0 / 411 MB, free: 5.086 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 6.965e-05/0.4438, allocations: 30.77 kB / 411 MB, free: 5.078 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/0.4441, allocations: 30.03 kB / 411.1 MB, free: 5.062 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004625/0.4446, allocations: 221.1 kB / 411.3 MB, free: 4.922 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000158/0.4448, allocations: 0.7109 MB / 412 MB, free: 4.211 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.4449, allocations: 25.11 kB / 412 MB, free: 4.199 MB / 314.7 MB Notification: Performance of SimCode: time 3.014e-06/0.4449, allocations: 4 kB / 412 MB, free: 4.195 MB / 314.7 MB Notification: Performance of Templates: time 0.004065/0.4489, allocations: 1.991 MB / 414 MB, free: 3.199 MB / 314.7 MB