Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test23.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test23,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test23") Notification: Performance of loadModel(ModelicaTest): time 2.254/2.254, allocations: 234.9 MB / 250.5 MB, free: 9.449 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004504, allocations: 16 kB / 314.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2806/0.2811, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.135/0.4161, allocations: 82.11 MB / 451.4 MB, free: 8.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.4164, allocations: 75.95 kB / 451.5 MB, free: 8.406 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2312:7-2313:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValue. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2358:7-2359:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmin. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2369:7-2370:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableTimeTmax. Notification: Performance of FrontEnd - DAE generated: time 0.03121/0.4477, allocations: 4.528 MB / 456 MB, free: 3.871 MB / 378.7 MB Notification: Performance of FrontEnd: time 8.76e-06/0.4477, allocations: 4 kB / 456 MB, free: 3.867 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.96e-05/0.4478, allocations: 0 / 456 MB, free: 3.867 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.001032/0.4488, allocations: 486 kB / 456.5 MB, free: 3.332 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.132e-05/0.4489, allocations: 8.031 kB / 456.5 MB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.569e-05/0.449, allocations: 11.91 kB / 456.5 MB, free: 3.312 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005877/0.4496, allocations: 206.9 kB / 456.7 MB, free: 3.07 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.453e-05/0.4497, allocations: 4 kB / 456.7 MB, free: 3.066 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.4497, allocations: 4 kB / 456.7 MB, free: 3.062 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002786/0.45, allocations: 57.67 kB / 456.8 MB, free: 3 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.4501, allocations: 4 kB / 456.8 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.675e-05/0.4501, allocations: 3.953 kB / 456.8 MB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.119e-06/0.4502, allocations: 0 / 456.8 MB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.4504, allocations: 19.98 kB / 456.8 MB, free: 2.973 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00085/0.4512, allocations: 320.7 kB / 457.1 MB, free: 2.609 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004022/0.4517, allocations: 62.67 kB / 457.2 MB, free: 2.539 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.554e-05/0.4517, allocations: 4 kB / 457.2 MB, free: 2.535 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003139/0.452, allocations: 72.12 kB / 457.2 MB, free: 2.453 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 7.478e-06/0.4521, allocations: 7.922 kB / 457.2 MB, free: 2.445 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001248/0.4533, allocations: 177.3 kB / 457.4 MB, free: 2.266 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.4535, allocations: 55.34 kB / 457.5 MB, free: 2.199 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004773/0.454, allocations: 186.4 kB / 457.6 MB, free: 2 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.486e-05/0.454, allocations: 29.7 kB / 457.7 MB, free: 1.965 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.4542, allocations: 170.5 kB / 457.8 MB, free: 1.797 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.256e-05/0.4543, allocations: 23.7 kB / 457.9 MB, free: 1.773 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.207e-05/0.4543, allocations: 4 kB / 457.9 MB, free: 1.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002376/0.4546, allocations: 310.8 kB / 458.2 MB, free: 1.457 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002556/0.4549, allocations: 43.97 kB / 458.2 MB, free: 1.414 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002683/0.4552, allocations: 57.58 kB / 458.3 MB, free: 1.352 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003149/0.4555, allocations: 77.69 kB / 458.3 MB, free: 1.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.293e-06/0.4555, allocations: 0 / 458.3 MB, free: 1.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007948/0.4564, allocations: 171.6 kB / 458.5 MB, free: 1.09 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.781e-05/0.4565, allocations: 41.64 kB / 458.6 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.442e-06/0.4565, allocations: 0 / 458.6 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.266e-05/0.4565, allocations: 4 kB / 458.6 MB, free: 1.039 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002068/0.4568, allocations: 19.98 kB / 458.6 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.583e-06/0.4568, allocations: 0 / 458.6 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001697/0.457, allocations: 8 kB / 458.6 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.145e-05/0.457, allocations: 12.03 kB / 458.6 MB, free: 1 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * 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 0.0002638/0.4573, allocations: 129.8 kB / 458.7 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.743e-05/0.4574, allocations: 7.906 kB / 458.7 MB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006598/0.4581, allocations: 131 kB / 458.9 MB, free: 0.7109 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.4581, allocations: 4 kB / 458.9 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.906e-06/0.4582, allocations: 0 / 458.9 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.976e-06/0.4582, allocations: 0 / 458.9 MB, free: 0.707 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001234/0.4594, allocations: 423.2 kB / 459.3 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.068e-06/0.4595, allocations: 0 / 459.3 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.4596, allocations: 11.98 kB / 459.3 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.241e-06/0.4596, allocations: 0 / 459.3 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.338e-05/0.4597, allocations: 4 kB / 459.3 MB, free: 224 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.692e-06/0.4597, allocations: 80 / 459.3 MB, free: 224 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.05e-06/0.4597, allocations: 7.922 kB / 459.3 MB, free: 216 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006924/0.4604, allocations: 229.9 kB / 459.5 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001957/0.4607, allocations: 104.9 kB / 459.6 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.88e-05/0.4608, allocations: 0 / 459.6 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002329/0.461, allocations: 4 kB / 459.6 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.4611, allocations: 7.984 kB / 459.6 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.78e-05/0.4611, allocations: 4 kB / 459.6 MB, free: 15.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003447/0.4615, allocations: 143.9 kB / 459.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.043e-06/0.4615, allocations: 4 kB / 459.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008729/0.4624, allocations: 39.94 kB / 459.8 MB, free: 15.64 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002789/0.4652, allocations: 456 kB / 460.3 MB, free: 15.28 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007638/0.466, allocations: 175.2 kB / 460.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.315e-06/0.4661, allocations: 4 kB / 460.4 MB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002098/0.4663, allocations: 36.05 kB / 460.5 MB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005799/0.4669, allocations: 22.78 kB / 460.5 MB, free: 15.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.468, allocations: 284.3 kB / 460.8 MB, free: 14.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006395/0.4687, allocations: 0.7082 MB / 461.5 MB, free: 13.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.4688, allocations: 23.42 kB / 461.5 MB, free: 13.97 MB / 394.7 MB Notification: Performance of SimCode: time 2.035e-06/0.4689, allocations: 0 / 461.5 MB, free: 13.97 MB / 394.7 MB Notification: Performance of Templates: time 0.008725/0.4776, allocations: 1.959 MB / 463.5 MB, free: 12.02 MB / 394.7 MB