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.Test37.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test37,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.nextTimeEvent|t_new.y.1.",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Tables.CombiTimeTable.Test37") Notification: Performance of loadModel(ModelicaTest): time 2.329/2.329, allocations: 235.1 MB / 243 MB, free: 9.594 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.27e-05/4.281e-05, allocations: 11.94 kB / 303.2 MB, free: 13.28 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2941/0.2942, allocations: 54.85 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1277/0.422, allocations: 81.22 MB / 439.3 MB, free: 13.62 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002373/0.4222, allocations: 71.95 kB / 439.3 MB, free: 13.55 MB / 378.7 MB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/Blocks/Sources.mo:2331:7-2332:66:writable] Warning: Unused input variable tableAvailable in function .Modelica.Blocks.Sources.CombiTimeTable$t_new.getTableValueNoDer. [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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/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.01865/0.4409, allocations: 4.362 MB / 443.7 MB, free: 9.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.808e-06/0.4409, allocations: 0 / 443.7 MB, free: 9.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.472e-05/0.441, allocations: 4 kB / 443.7 MB, free: 9.176 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005894/0.4416, allocations: 453.4 kB / 444.1 MB, free: 8.676 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.4416, allocations: 8.031 kB / 444.2 MB, free: 8.668 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.028e-05/0.4417, allocations: 7.906 kB / 444.2 MB, free: 8.66 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003674/0.4421, allocations: 207.5 kB / 444.4 MB, free: 8.418 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.4421, allocations: 4 kB / 444.4 MB, free: 8.414 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.4422, allocations: 4 kB / 444.4 MB, free: 8.41 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.023e-05/0.4423, allocations: 15.98 kB / 444.4 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001018/0.4424, allocations: 41.69 kB / 444.4 MB, free: 8.348 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.283e-05/0.4424, allocations: 7.891 kB / 444.4 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.4424, allocations: 7.922 kB / 444.4 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.633e-06/0.4424, allocations: 0 / 444.4 MB, free: 8.332 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002467/0.4427, allocations: 182.2 kB / 444.6 MB, free: 8.117 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001226/0.4428, allocations: 42.62 kB / 444.7 MB, free: 8.066 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.457e-05/0.4429, allocations: 16.86 kB / 444.7 MB, free: 8.047 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.784e-05/0.4429, allocations: 4 kB / 444.7 MB, free: 8.043 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001487/0.4431, allocations: 63.48 kB / 444.7 MB, free: 7.969 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.677e-06/0.4431, allocations: 0 / 444.7 MB, free: 7.969 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002569/0.4434, allocations: 85.52 kB / 444.8 MB, free: 7.879 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.411e-05/0.4434, allocations: 51.41 kB / 444.9 MB, free: 7.816 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002332/0.4437, allocations: 165.9 kB / 445 MB, free: 7.645 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.544e-05/0.4437, allocations: 25.7 kB / 445.1 MB, free: 7.613 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001127/0.4438, allocations: 162.6 kB / 445.2 MB, free: 7.453 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.4439, allocations: 15.8 kB / 445.2 MB, free: 7.438 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.832e-06/0.4439, allocations: 0 / 445.2 MB, free: 7.438 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001794/0.4441, allocations: 314.8 kB / 445.6 MB, free: 7.121 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.875e-05/0.4442, allocations: 28 kB / 445.6 MB, free: 7.094 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.382e-05/0.4443, allocations: 49.64 kB / 445.6 MB, free: 7.039 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.15e-05/0.4444, allocations: 27.98 kB / 445.7 MB, free: 7.012 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.666e-06/0.4444, allocations: 0 / 445.7 MB, free: 7.012 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002776/0.4447, allocations: 109.5 kB / 445.8 MB, free: 6.898 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.691e-05/0.4448, allocations: 33.7 kB / 445.8 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.429e-06/0.4448, allocations: 0 / 445.8 MB, free: 6.859 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.4448, allocations: 4 kB / 445.8 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001104/0.445, allocations: 16.02 kB / 445.8 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.157e-06/0.445, allocations: 3.938 kB / 445.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.531e-05/0.4451, allocations: 15.97 kB / 445.8 MB, free: 6.82 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.4451, allocations: 7.953 kB / 445.8 MB, free: 6.812 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * 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.0001003/0.4452, allocations: 105 kB / 445.9 MB, free: 6.703 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.506e-05/0.4453, allocations: 15.91 kB / 446 MB, free: 6.688 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002285/0.4455, allocations: 86.06 kB / 446 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.511e-06/0.4455, allocations: 0 / 446 MB, free: 6.594 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.094e-06/0.4456, allocations: 3.938 kB / 446 MB, free: 6.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4456, allocations: 4 kB / 446.1 MB, free: 6.586 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002004/0.4458, allocations: 170.1 kB / 446.2 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-06/0.4458, allocations: 0 / 446.2 MB, free: 6.383 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-05/0.4459, allocations: 11.92 kB / 446.2 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.992e-06/0.4459, allocations: 0 / 446.2 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.72e-06/0.4459, allocations: 0 / 446.2 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.868e-06/0.4459, allocations: 4 kB / 446.2 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.4459, allocations: 0 / 446.2 MB, free: 6.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002158/0.4461, allocations: 113.6 kB / 446.3 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001022/0.4463, allocations: 92.92 kB / 446.4 MB, free: 6.129 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.131e-05/0.4463, allocations: 3.984 kB / 446.4 MB, free: 6.125 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.589e-05/0.4464, allocations: 4 kB / 446.4 MB, free: 6.121 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.4464, allocations: 4 kB / 446.4 MB, free: 6.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.4465, allocations: 7.984 kB / 446.5 MB, free: 6.109 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001493/0.4466, allocations: 135.3 kB / 446.6 MB, free: 5.977 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-07/0.4466, allocations: 0 / 446.6 MB, free: 5.977 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003371/0.447, allocations: 31.94 kB / 446.6 MB, free: 5.945 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.001134/0.4481, allocations: 338.5 kB / 446.9 MB, free: 5.652 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003075/0.4484, allocations: 139.4 kB / 447.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.635e-06/0.4485, allocations: 0 / 447.1 MB, free: 5.504 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.315e-05/0.4485, allocations: 23.94 kB / 447.1 MB, free: 5.48 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002476/0.4488, allocations: 20.55 kB / 447.1 MB, free: 5.461 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.4492, allocations: 159 kB / 447.3 MB, free: 5.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003934/0.4497, allocations: 0.708 MB / 448 MB, free: 4.543 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.13e-05/0.4497, allocations: 23.36 kB / 448 MB, free: 4.52 MB / 378.7 MB Notification: Performance of SimCode: time 1.618e-06/0.4497, allocations: 0 / 448 MB, free: 4.52 MB / 378.7 MB Notification: Performance of Templates: time 0.004442/0.4542, allocations: 1.69 MB / 449.7 MB, free: 2.832 MB / 378.7 MB