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.Test33.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.Test33,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.Test33") Notification: Performance of loadModel(ModelicaTest): time 2.13/2.13, allocations: 234.9 MB / 250.5 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.0004341, allocations: 16 kB / 314.4 MB, free: 9.605 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.351, allocations: 54.86 MB / 369.3 MB, free: 12.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2425/0.5936, allocations: 82.15 MB / 451.4 MB, free: 10.49 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002418/0.5939, allocations: 71.97 kB / 451.5 MB, free: 10.42 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.01946/0.6134, allocations: 4.582 MB / 456.1 MB, free: 5.828 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.476e-06/0.6134, allocations: 0 / 456.1 MB, free: 5.828 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.298e-05/0.6134, allocations: 0 / 456.1 MB, free: 5.828 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.0006344/0.6141, allocations: 478.1 kB / 456.5 MB, free: 5.301 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.6141, allocations: 8.031 kB / 456.6 MB, free: 5.293 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.6142, allocations: 15.81 kB / 456.6 MB, free: 5.277 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003528/0.6146, allocations: 202.9 kB / 456.8 MB, free: 5.039 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.465e-05/0.6146, allocations: 8 kB / 456.8 MB, free: 5.031 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.985e-05/0.6146, allocations: 15.98 kB / 456.8 MB, free: 5.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.6148, allocations: 49.67 kB / 456.8 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.227e-05/0.6149, allocations: 0 / 456.8 MB, free: 4.961 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.665e-05/0.6149, allocations: 7.953 kB / 456.8 MB, free: 4.953 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.323e-06/0.6149, allocations: 4 kB / 456.8 MB, free: 4.949 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001018/0.615, allocations: 19.92 kB / 456.9 MB, free: 4.93 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005047/0.6156, allocations: 312.9 kB / 457.2 MB, free: 4.574 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002265/0.6158, allocations: 66.67 kB / 457.2 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.476e-05/0.6158, allocations: 0 / 457.2 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001881/0.616, allocations: 72.12 kB / 457.3 MB, free: 4.418 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.464e-06/0.616, allocations: 3.938 kB / 457.3 MB, free: 4.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007132/0.6168, allocations: 185.1 kB / 457.5 MB, free: 4.227 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.967e-05/0.6168, allocations: 55.41 kB / 457.5 MB, free: 4.16 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00023/0.6171, allocations: 165.3 kB / 457.7 MB, free: 3.992 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/0.6171, allocations: 29.7 kB / 457.7 MB, free: 3.957 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.6173, allocations: 170.5 kB / 457.9 MB, free: 3.789 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.6173, allocations: 23.66 kB / 457.9 MB, free: 3.766 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.2e-06/0.6173, allocations: 0 / 457.9 MB, free: 3.766 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.6175, allocations: 318.8 kB / 458.2 MB, free: 3.445 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001255/0.6176, allocations: 35.98 kB / 458.3 MB, free: 3.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.6178, allocations: 61.69 kB / 458.3 MB, free: 3.344 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001648/0.618, allocations: 69.7 kB / 458.4 MB, free: 3.27 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.016e-06/0.618, allocations: 0 / 458.4 MB, free: 3.27 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004154/0.6184, allocations: 175.3 kB / 458.6 MB, free: 3.086 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.062e-05/0.6185, allocations: 41.73 kB / 458.6 MB, free: 3.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.799e-06/0.6185, allocations: 3.938 kB / 458.6 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.6185, allocations: 0 / 458.6 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.6187, allocations: 16 kB / 458.6 MB, free: 3.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.6187, allocations: 16.03 kB / 458.7 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.224e-05/0.6188, allocations: 4 kB / 458.7 MB, free: 3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.38e-05/0.6188, allocations: 7.984 kB / 458.7 MB, free: 2.992 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.0001514/0.619, allocations: 127.7 kB / 458.8 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.131e-05/0.619, allocations: 11.81 kB / 458.8 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003521/0.6194, allocations: 122.3 kB / 458.9 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.407e-06/0.6194, allocations: 4 kB / 458.9 MB, free: 2.707 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.819e-06/0.6194, allocations: 7.984 kB / 458.9 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.054e-06/0.6194, allocations: 0 / 458.9 MB, free: 2.699 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006621/0.6201, allocations: 407.3 kB / 459.3 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.6201, allocations: 384 / 459.3 MB, free: 2.242 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.894e-05/0.6202, allocations: 11.98 kB / 459.3 MB, free: 2.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.659e-06/0.6202, allocations: 4 kB / 459.3 MB, free: 2.227 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.6202, allocations: 4 kB / 459.3 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.872e-06/0.6203, allocations: 0 / 459.3 MB, free: 2.223 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.2e-06/0.6203, allocations: 7.938 kB / 459.4 MB, free: 2.215 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003602/0.6206, allocations: 229.9 kB / 459.6 MB, free: 1.965 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.6208, allocations: 100.9 kB / 459.7 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.011e-05/0.6208, allocations: 0 / 459.7 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.6209, allocations: 4 kB / 459.7 MB, free: 1.844 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.282e-05/0.621, allocations: 11.98 kB / 459.7 MB, free: 1.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.621, allocations: 11.94 kB / 459.7 MB, free: 1.82 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001609/0.6212, allocations: 135.2 kB / 459.8 MB, free: 1.688 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.6212, allocations: 0 / 459.8 MB, free: 1.688 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003851/0.6216, allocations: 39.94 kB / 459.9 MB, free: 1.648 MB / 378.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.001576/0.6232, allocations: 466.3 kB / 460.3 MB, free: 1.281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003971/0.6236, allocations: 179.3 kB / 460.5 MB, free: 1.094 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.32e-06/0.6236, allocations: 4 kB / 460.5 MB, free: 1.09 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.6237, allocations: 31.92 kB / 460.5 MB, free: 1.059 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003035/0.6241, allocations: 31.19 kB / 460.6 MB, free: 1.031 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000615/0.6247, allocations: 275.7 kB / 460.8 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004176/0.6251, allocations: 0.7004 MB / 461.5 MB, free: 16 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.317e-05/0.6252, allocations: 23.42 kB / 461.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of SimCode: time 1.466e-06/0.6252, allocations: 0 / 461.6 MB, free: 15.98 MB / 394.7 MB Notification: Performance of Templates: time 0.004598/0.6298, allocations: 1.92 MB / 463.5 MB, free: 14.06 MB / 394.7 MB