Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test17.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,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.Test17") Notification: Performance of loadModel(ModelicaTest): time 2.665/2.665, allocations: 234.9 MB / 251.1 MB, free: 10.53 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006128/0.000613, allocations: 12 kB / 314.9 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4386/0.4392, allocations: 54.87 MB / 369.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1474/0.5867, allocations: 82.14 MB / 452 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002973/0.5871, allocations: 79.95 kB / 452 MB, free: 8.523 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/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/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.02315/0.6102, allocations: 4.536 MB / 456.6 MB, free: 3.98 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.385e-06/0.6103, allocations: 0 / 456.6 MB, free: 3.98 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.638e-05/0.6103, allocations: 4 kB / 456.6 MB, free: 3.977 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.0008444/0.6112, allocations: 474.2 kB / 457 MB, free: 3.453 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.759e-05/0.6112, allocations: 8.031 kB / 457 MB, free: 3.445 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.823e-05/0.6113, allocations: 11.91 kB / 457.1 MB, free: 3.434 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.6119, allocations: 209.1 kB / 457.3 MB, free: 3.188 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.697e-05/0.6119, allocations: 3.938 kB / 457.3 MB, free: 3.184 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.612, allocations: 4 kB / 457.3 MB, free: 3.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003028/0.6123, allocations: 61.67 kB / 457.3 MB, free: 3.113 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.637e-05/0.6123, allocations: 0 / 457.3 MB, free: 3.113 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.016e-05/0.6124, allocations: 3.953 kB / 457.3 MB, free: 3.109 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.6124, allocations: 7.875 kB / 457.3 MB, free: 3.102 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001843/0.6126, allocations: 27.97 kB / 457.4 MB, free: 3.074 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006938/0.6133, allocations: 308.8 kB / 457.7 MB, free: 2.723 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.6137, allocations: 66.66 kB / 457.7 MB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.6138, allocations: 0 / 457.7 MB, free: 2.648 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.6141, allocations: 76 kB / 457.8 MB, free: 2.562 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.585e-06/0.6141, allocations: 0 / 457.8 MB, free: 2.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.001111/0.6152, allocations: 173.3 kB / 458 MB, free: 2.387 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.6153, allocations: 55.41 kB / 458 MB, free: 2.32 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003279/0.6156, allocations: 178.4 kB / 458.2 MB, free: 2.137 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.786e-05/0.6157, allocations: 29.7 kB / 458.2 MB, free: 2.102 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.6158, allocations: 158.6 kB / 458.4 MB, free: 1.945 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.586e-05/0.6159, allocations: 31.62 kB / 458.4 MB, free: 1.914 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.6159, allocations: 4 kB / 458.4 MB, free: 1.91 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001513/0.6161, allocations: 314.8 kB / 458.7 MB, free: 1.594 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.6163, allocations: 35.98 kB / 458.8 MB, free: 1.559 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002258/0.6166, allocations: 53.69 kB / 458.8 MB, free: 1.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002512/0.6168, allocations: 77.69 kB / 458.9 MB, free: 1.418 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.6168, allocations: 0 / 458.9 MB, free: 1.418 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006336/0.6175, allocations: 175.3 kB / 459.1 MB, free: 1.234 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.11e-05/0.6176, allocations: 37.69 kB / 459.1 MB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.033e-05/0.6176, allocations: 4 kB / 459.1 MB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.6176, allocations: 0 / 459.1 MB, free: 1.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001871/0.6178, allocations: 19.92 kB / 459.1 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.6179, allocations: 384 / 459.1 MB, free: 1.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000141/0.618, allocations: 12.03 kB / 459.1 MB, free: 1.156 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.716e-05/0.6181, allocations: 4 kB / 459.1 MB, free: 1.152 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.0001749/0.6182, allocations: 125.8 kB / 459.3 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.826e-05/0.6183, allocations: 19.77 kB / 459.3 MB, free: 1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005148/0.6188, allocations: 122.3 kB / 459.4 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.6189, allocations: 192 / 459.4 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.53e-06/0.6189, allocations: 0 / 459.4 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.6189, allocations: 3.938 kB / 459.4 MB, free: 0.8594 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008847/0.6198, allocations: 419.2 kB / 459.8 MB, free: 400 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.6198, allocations: 3.984 kB / 459.8 MB, free: 396 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.398e-05/0.6199, allocations: 8 kB / 459.8 MB, free: 388 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.62, allocations: 0 / 459.8 MB, free: 388 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.62, allocations: 4 kB / 459.8 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.967e-06/0.62, allocations: 0 / 459.8 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.62, allocations: 0 / 459.8 MB, free: 384 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005057/0.6205, allocations: 216.2 kB / 460 MB, free: 148 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000121/0.6207, allocations: 101 kB / 460.1 MB, free: 28 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.13e-05/0.6207, allocations: 8 kB / 460.1 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001718/0.6209, allocations: 0 / 460.1 MB, free: 20 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.877e-05/0.621, allocations: 11.92 kB / 460.2 MB, free: 8 kB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.133e-05/0.621, allocations: 4 kB / 460.2 MB, free: 4 kB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002287/0.6213, allocations: 127.2 kB / 460.3 MB, free: 15.88 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6213, allocations: 4 kB / 460.3 MB, free: 15.88 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006724/0.622, allocations: 39.98 kB / 460.3 MB, free: 15.84 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.001885/0.6239, allocations: 453.7 kB / 460.8 MB, free: 15.46 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006694/0.6246, allocations: 171.3 kB / 460.9 MB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.6246, allocations: 0 / 460.9 MB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.6248, allocations: 39.98 kB / 461 MB, free: 15.25 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.6253, allocations: 24.16 kB / 461 MB, free: 15.22 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008384/0.6262, allocations: 263.9 kB / 461.3 MB, free: 14.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004017/0.6266, allocations: 0.7082 MB / 462 MB, free: 14.2 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.966e-05/0.6267, allocations: 11.44 kB / 462 MB, free: 14.19 MB / 394.7 MB Notification: Performance of SimCode: time 1.112e-06/0.6267, allocations: 4 kB / 462 MB, free: 14.18 MB / 394.7 MB Notification: Performance of Templates: time 0.007488/0.6342, allocations: 1.913 MB / 463.9 MB, free: 12.27 MB / 394.7 MB