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.Test24.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.Test24,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.Test24") Notification: Performance of loadModel(ModelicaTest): time 2.297/2.297, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006084/0.0006087, allocations: 12 kB / 314.9 MB, free: 9.598 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4706/0.4713, allocations: 54.86 MB / 369.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1518/0.6231, allocations: 82.09 MB / 451.9 MB, free: 8.512 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002924/0.6235, allocations: 79.95 kB / 452 MB, free: 8.434 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.02115/0.6447, allocations: 4.531 MB / 456.5 MB, free: 3.898 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.903e-06/0.6447, allocations: 4 kB / 456.5 MB, free: 3.895 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.67e-05/0.6447, allocations: 4 kB / 456.5 MB, free: 3.891 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.0006954/0.6454, allocations: 478.1 kB / 457 MB, free: 3.363 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.35e-05/0.6455, allocations: 8.031 kB / 457 MB, free: 3.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.394e-05/0.6456, allocations: 15.89 kB / 457 MB, free: 3.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003739/0.646, allocations: 206.9 kB / 457.2 MB, free: 3.098 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.646, allocations: 4 kB / 457.2 MB, free: 3.094 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.603e-05/0.6461, allocations: 7.984 kB / 457.2 MB, free: 3.086 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.6463, allocations: 57.67 kB / 457.3 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.6463, allocations: 0 / 457.3 MB, free: 3.023 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.6463, allocations: 3.953 kB / 457.3 MB, free: 3.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.6463, allocations: 4 kB / 457.3 MB, free: 3.016 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.6465, allocations: 23.98 kB / 457.3 MB, free: 2.992 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005229/0.647, allocations: 312.8 kB / 457.6 MB, free: 2.637 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.6473, allocations: 62.62 kB / 457.7 MB, free: 2.566 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.6473, allocations: 3.938 kB / 457.7 MB, free: 2.562 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.6475, allocations: 79.98 kB / 457.8 MB, free: 2.473 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.134e-06/0.6476, allocations: 0 / 457.8 MB, free: 2.473 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0008293/0.6484, allocations: 189.2 kB / 457.9 MB, free: 2.281 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.677e-05/0.6485, allocations: 55.41 kB / 458 MB, free: 2.215 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002989/0.6488, allocations: 195.3 kB / 458.2 MB, free: 2.004 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.676e-05/0.6488, allocations: 25.7 kB / 458.2 MB, free: 1.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.791e-05/0.6489, allocations: 170.5 kB / 458.4 MB, free: 1.805 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.912e-05/0.649, allocations: 19.72 kB / 458.4 MB, free: 1.785 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.978e-06/0.649, allocations: 0 / 458.4 MB, free: 1.785 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6491, allocations: 318.8 kB / 458.7 MB, free: 1.465 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.6493, allocations: 43.92 kB / 458.8 MB, free: 1.422 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.6495, allocations: 61.62 kB / 458.8 MB, free: 1.355 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.6497, allocations: 69.7 kB / 458.9 MB, free: 1.281 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.6497, allocations: 0 / 458.9 MB, free: 1.281 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004764/0.6502, allocations: 179.2 kB / 459.1 MB, free: 1.094 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.282e-05/0.6503, allocations: 37.69 kB / 459.1 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.6503, allocations: 0 / 459.1 MB, free: 1.051 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.6503, allocations: 7.984 kB / 459.1 MB, free: 1.043 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.6505, allocations: 12 kB / 459.1 MB, free: 1.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.6505, allocations: 4.031 kB / 459.1 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001129/0.6506, allocations: 8 kB / 459.1 MB, free: 1.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.6507, allocations: 11.98 kB / 459.1 MB, free: 1.008 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.0001619/0.6508, allocations: 125.8 kB / 459.3 MB, free: 0.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.768e-05/0.6509, allocations: 11.86 kB / 459.3 MB, free: 0.8633 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004097/0.6513, allocations: 127.1 kB / 459.4 MB, free: 0.7305 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.001e-05/0.6513, allocations: 4 kB / 459.4 MB, free: 0.7266 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/0.6513, allocations: 3.938 kB / 459.4 MB, free: 0.7227 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.6513, allocations: 4 kB / 459.4 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007735/0.6521, allocations: 415.6 kB / 459.8 MB, free: 260 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.6522, allocations: 3.938 kB / 459.8 MB, free: 256 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.98e-05/0.6522, allocations: 12 kB / 459.8 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.6523, allocations: 0 / 459.8 MB, free: 244 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.939e-05/0.6523, allocations: 4 kB / 459.8 MB, free: 240 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.496e-06/0.6523, allocations: 3.938 kB / 459.8 MB, free: 236 kB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/0.6523, allocations: 4.172 kB / 459.8 MB, free: 232 kB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004324/0.6528, allocations: 216.3 kB / 460.1 MB, free: 15.99 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.6529, allocations: 104.9 kB / 460.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.653, allocations: 4 kB / 460.2 MB, free: 15.87 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.6531, allocations: 4 kB / 460.2 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.461e-05/0.6532, allocations: 7.984 kB / 460.2 MB, free: 15.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.465e-05/0.6532, allocations: 4 kB / 460.2 MB, free: 15.85 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002195/0.6534, allocations: 143.9 kB / 460.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.6534, allocations: 4 kB / 460.3 MB, free: 15.71 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0004555/0.6539, allocations: 43.92 kB / 460.4 MB, free: 15.66 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.001367/0.6553, allocations: 455.6 kB / 460.8 MB, free: 15.29 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005342/0.6558, allocations: 163.4 kB / 461 MB, free: 15.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6559, allocations: 8.062 kB / 461 MB, free: 15.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001383/0.656, allocations: 35.92 kB / 461 MB, free: 15.08 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003895/0.6564, allocations: 20.05 kB / 461 MB, free: 15.06 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007481/0.6572, allocations: 288.3 kB / 461.3 MB, free: 14.74 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003917/0.6576, allocations: 0.7082 MB / 462 MB, free: 14.01 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.291e-05/0.6577, allocations: 15.44 kB / 462 MB, free: 14 MB / 394.7 MB Notification: Performance of SimCode: time 1.103e-06/0.6577, allocations: 3.938 kB / 462 MB, free: 13.99 MB / 394.7 MB Notification: Performance of Templates: time 0.006225/0.6639, allocations: 1.967 MB / 464 MB, free: 12.03 MB / 394.7 MB