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.Test21.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.Test21,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.Test21") Notification: Performance of loadModel(ModelicaTest): time 2.317/2.317, allocations: 234.9 MB / 251.1 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004593, allocations: 16 kB / 315 MB, free: 9.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3621, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1442/0.5064, allocations: 82.14 MB / 452 MB, free: 8.48 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.5067, allocations: 75.91 kB / 452 MB, free: 8.406 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.02097/0.5277, allocations: 4.575 MB / 456.6 MB, free: 3.824 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.837e-06/0.5277, allocations: 0 / 456.6 MB, free: 3.824 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.5278, allocations: 7.938 kB / 456.6 MB, free: 3.816 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.0006913/0.5285, allocations: 470.2 kB / 457.1 MB, free: 3.297 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.5285, allocations: 8.031 kB / 457.1 MB, free: 3.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.527e-05/0.5286, allocations: 11.81 kB / 457.1 MB, free: 3.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003597/0.529, allocations: 207.5 kB / 457.3 MB, free: 3.035 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/0.529, allocations: 8 kB / 457.3 MB, free: 3.027 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.87e-05/0.529, allocations: 7.984 kB / 457.3 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001898/0.5292, allocations: 61.61 kB / 457.4 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.5293, allocations: 0 / 457.4 MB, free: 2.953 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.5293, allocations: 3.953 kB / 457.4 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.5293, allocations: 0 / 457.4 MB, free: 2.949 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.5294, allocations: 23.97 kB / 457.4 MB, free: 2.926 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005083/0.53, allocations: 308.9 kB / 457.7 MB, free: 2.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002549/0.5302, allocations: 62.61 kB / 457.8 MB, free: 2.504 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.579e-05/0.5303, allocations: 0 / 457.8 MB, free: 2.504 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.5305, allocations: 76 kB / 457.8 MB, free: 2.418 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.913e-06/0.5305, allocations: 4 kB / 457.8 MB, free: 2.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008348/0.5313, allocations: 193.1 kB / 458 MB, free: 2.219 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.652e-05/0.5314, allocations: 51.41 kB / 458.1 MB, free: 2.156 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002526/0.5317, allocations: 182.2 kB / 458.2 MB, free: 1.969 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.5317, allocations: 29.7 kB / 458.3 MB, free: 1.934 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.5318, allocations: 166.5 kB / 458.4 MB, free: 1.77 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.238e-05/0.5319, allocations: 27.64 kB / 458.5 MB, free: 1.742 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.227e-05/0.5319, allocations: 4 kB / 458.5 MB, free: 1.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.532, allocations: 322.8 kB / 458.8 MB, free: 1.414 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.5322, allocations: 35.98 kB / 458.8 MB, free: 1.379 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.5324, allocations: 53.69 kB / 458.9 MB, free: 1.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.5326, allocations: 69.7 kB / 458.9 MB, free: 1.246 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.5326, allocations: 4 kB / 458.9 MB, free: 1.242 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004576/0.533, allocations: 179.2 kB / 459.1 MB, free: 1.055 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.788e-05/0.5331, allocations: 37.72 kB / 459.2 MB, free: 1.012 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.5331, allocations: 4 kB / 459.2 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.5332, allocations: 0 / 459.2 MB, free: 1.008 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001464/0.5333, allocations: 19.94 kB / 459.2 MB, free: 0.9883 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.5333, allocations: 4 kB / 459.2 MB, free: 0.9844 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.5334, allocations: 4 kB / 459.2 MB, free: 0.9805 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.17e-05/0.5335, allocations: 7.984 kB / 459.2 MB, free: 0.9727 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.0001423/0.5336, allocations: 125.8 kB / 459.3 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.5337, allocations: 15.77 kB / 459.3 MB, free: 0.8242 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003947/0.5341, allocations: 122.3 kB / 459.5 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.5341, allocations: 0 / 459.5 MB, free: 0.6875 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.5341, allocations: 4.359 kB / 459.5 MB, free: 0.6836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.5341, allocations: 4 kB / 459.5 MB, free: 0.6797 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006723/0.5348, allocations: 407.3 kB / 459.9 MB, free: 228 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.5348, allocations: 4 kB / 459.9 MB, free: 224 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.281e-05/0.5349, allocations: 11.98 kB / 459.9 MB, free: 212 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.5349, allocations: 8.031 kB / 459.9 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.535, allocations: 0 / 459.9 MB, free: 204 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.535, allocations: 3.938 kB / 459.9 MB, free: 200 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.535, allocations: 3.938 kB / 459.9 MB, free: 196 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003756/0.5354, allocations: 216.4 kB / 460.1 MB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.694e-05/0.5355, allocations: 104.8 kB / 460.2 MB, free: 15.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.771e-05/0.5355, allocations: 8 kB / 460.2 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001147/0.5357, allocations: 4 kB / 460.2 MB, free: 15.83 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.222e-05/0.5357, allocations: 7.984 kB / 460.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.5357, allocations: 0 / 460.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001692/0.5359, allocations: 143.2 kB / 460.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5359, allocations: 0 / 460.4 MB, free: 15.68 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003941/0.5363, allocations: 35.94 kB / 460.4 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.001268/0.5376, allocations: 466.5 kB / 460.9 MB, free: 15.26 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004419/0.5381, allocations: 167.3 kB / 461 MB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5381, allocations: 0 / 461 MB, free: 15.09 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001243/0.5382, allocations: 35.92 kB / 461.1 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.0003223/0.5386, allocations: 15.98 kB / 461.1 MB, free: 15.04 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006321/0.5392, allocations: 291.7 kB / 461.4 MB, free: 14.71 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.5395, allocations: 0.7004 MB / 462.1 MB, free: 13.99 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.764e-05/0.5396, allocations: 23.42 kB / 462.1 MB, free: 13.97 MB / 394.7 MB Notification: Performance of SimCode: time 1.012e-06/0.5396, allocations: 0 / 462.1 MB, free: 13.97 MB / 394.7 MB Notification: Performance of Templates: time 0.005576/0.5452, allocations: 1.942 MB / 464 MB, free: 12.03 MB / 394.7 MB