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.Test31.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.Test31,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.Test31") Notification: Performance of loadModel(ModelicaTest): time 1.951/1.951, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.931e-05/2.953e-05, allocations: 4 kB / 277.8 MB, free: 15.3 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08621/0.08627, allocations: 48.7 MB / 326.5 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3377/0.424, allocations: 75.73 MB / 402.3 MB, free: 9.938 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002009/0.4243, allocations: 70.06 kB / 402.3 MB, free: 9.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01467/0.439, allocations: 3.919 MB / 406.3 MB, free: 8.418 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.997e-06/0.439, allocations: 0 / 406.3 MB, free: 8.418 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.439, allocations: 3.562 kB / 406.3 MB, free: 8.418 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.0003637/0.4394, allocations: 414.1 kB / 406.7 MB, free: 7.992 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.4395, allocations: 7.688 kB / 406.7 MB, free: 7.992 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.4395, allocations: 7.75 kB / 406.7 MB, free: 7.988 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.4397, allocations: 197.8 kB / 406.9 MB, free: 7.777 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.446e-05/0.4397, allocations: 4 kB / 406.9 MB, free: 7.773 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.4398, allocations: 11.59 kB / 406.9 MB, free: 7.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.647e-05/0.4399, allocations: 44.06 kB / 406.9 MB, free: 7.734 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.4399, allocations: 3.984 kB / 406.9 MB, free: 7.73 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.4399, allocations: 3.938 kB / 406.9 MB, free: 7.727 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.077e-06/0.44, allocations: 0 / 406.9 MB, free: 7.727 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.415e-05/0.44, allocations: 15.45 kB / 407 MB, free: 7.723 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000325/0.4404, allocations: 285.8 kB / 407.2 MB, free: 7.438 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001876/0.4406, allocations: 48.38 kB / 407.3 MB, free: 7.406 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.457e-05/0.4406, allocations: 11.67 kB / 407.3 MB, free: 7.398 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.206e-05/0.4406, allocations: 7.922 kB / 407.3 MB, free: 7.391 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001023/0.4407, allocations: 56.69 kB / 407.4 MB, free: 7.34 MB / 314.7 MB Notification: Performance of pre-optimization done (n=4): time 2.506e-06/0.4408, allocations: 0 / 407.4 MB, free: 7.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003804/0.4412, allocations: 114.4 kB / 407.5 MB, free: 7.277 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.609e-05/0.4412, allocations: 58.91 kB / 407.5 MB, free: 7.211 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.4414, allocations: 152.2 kB / 407.7 MB, free: 7.109 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.507e-05/0.4414, allocations: 25.7 kB / 407.7 MB, free: 7.078 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.357e-05/0.4414, allocations: 166 kB / 407.9 MB, free: 6.926 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.092e-05/0.4415, allocations: 14.72 kB / 407.9 MB, free: 6.918 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-06/0.4415, allocations: 3.938 kB / 407.9 MB, free: 6.914 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.791e-05/0.4416, allocations: 314.8 kB / 408.2 MB, free: 6.598 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.289e-05/0.4416, allocations: 24.91 kB / 408.2 MB, free: 6.598 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.586e-05/0.4417, allocations: 23.28 kB / 408.2 MB, free: 6.594 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.836e-05/0.4418, allocations: 51.28 kB / 408.3 MB, free: 6.559 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.749e-06/0.4418, allocations: 0 / 408.3 MB, free: 6.559 MB / 314.7 MB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002216/0.442, allocations: 133.2 kB / 408.4 MB, free: 6.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.934e-05/0.4421, allocations: 37.33 kB / 408.5 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.216e-06/0.4421, allocations: 160 / 408.5 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.4421, allocations: 0 / 408.5 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.827e-05/0.4422, allocations: 7.688 kB / 408.5 MB, free: 6.445 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.099e-06/0.4422, allocations: 11.92 kB / 408.5 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.875e-05/0.4423, allocations: 7.094 kB / 408.5 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.404e-05/0.4423, allocations: 7.844 kB / 408.5 MB, free: 6.43 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.332e-05/0.4424, allocations: 108.8 kB / 408.6 MB, free: 6.32 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.4424, allocations: 7.75 kB / 408.6 MB, free: 6.316 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002087/0.4426, allocations: 85.55 kB / 408.7 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.916e-06/0.4426, allocations: 3.875 kB / 408.7 MB, free: 6.277 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.848e-06/0.4427, allocations: 4 kB / 408.7 MB, free: 6.273 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.208e-06/0.4427, allocations: 3.953 kB / 408.7 MB, free: 6.27 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.443, allocations: 357.4 kB / 409.1 MB, free: 5.941 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.971e-06/0.4431, allocations: 0 / 409.1 MB, free: 5.941 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.773e-05/0.4431, allocations: 7.719 kB / 409.1 MB, free: 5.941 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.993e-06/0.4431, allocations: 0 / 409.1 MB, free: 5.941 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.04e-05/0.4431, allocations: 0 / 409.1 MB, free: 5.941 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.357e-06/0.4432, allocations: 4.047 kB / 409.1 MB, free: 5.938 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.517e-06/0.4432, allocations: 7.844 kB / 409.1 MB, free: 5.934 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.4434, allocations: 168.8 kB / 409.2 MB, free: 5.793 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.4434, allocations: 92.17 kB / 409.3 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.969e-05/0.4435, allocations: 0 / 409.3 MB, free: 5.691 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001046/0.4436, allocations: 7.781 kB / 409.3 MB, free: 5.688 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.4436, allocations: 15.27 kB / 409.3 MB, free: 5.68 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.054e-05/0.4436, allocations: 0 / 409.3 MB, free: 5.68 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.4438, allocations: 131.8 kB / 409.5 MB, free: 5.598 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.06e-07/0.4438, allocations: 0 / 409.5 MB, free: 5.598 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.000384/0.4442, allocations: 35 kB / 409.5 MB, free: 5.59 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.001014/0.4452, allocations: 342.3 kB / 409.8 MB, free: 5.383 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001964/0.4454, allocations: 115.6 kB / 410 MB, free: 5.312 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.4454, allocations: 3.938 kB / 410 MB, free: 5.309 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 5.838e-05/0.4455, allocations: 17.25 kB / 410 MB, free: 5.309 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002701/0.4458, allocations: 18.17 kB / 410 MB, free: 5.305 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003478/0.4462, allocations: 164.7 kB / 410.2 MB, free: 5.176 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001411/0.4463, allocations: 0.7036 MB / 410.9 MB, free: 4.465 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.4464, allocations: 22.95 kB / 410.9 MB, free: 4.453 MB / 314.7 MB Notification: Performance of SimCode: time 1.798e-06/0.4464, allocations: 0 / 410.9 MB, free: 4.453 MB / 314.7 MB Notification: Performance of Templates: time 0.003599/0.45, allocations: 1.706 MB / 412.6 MB, free: 3.594 MB / 314.7 MB