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.Test39.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.Test39,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.Test39") Notification: Performance of loadModel(ModelicaTest): time 2.29/2.29, allocations: 235.1 MB / 243 MB, free: 9.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.133e-05/4.137e-05, allocations: 8 kB / 303.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3205/0.3206, allocations: 54.87 MB / 358 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.4467, allocations: 81.23 MB / 439.3 MB, free: 13.6 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002479/0.447, allocations: 71.95 kB / 439.4 MB, free: 13.53 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.01839/0.4654, allocations: 4.37 MB / 443.7 MB, free: 9.152 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.88e-06/0.4654, allocations: 0 / 443.7 MB, free: 9.152 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.626e-05/0.4655, allocations: 4 kB / 443.7 MB, free: 9.148 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.000586/0.466, allocations: 449.4 kB / 444.2 MB, free: 8.652 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.4661, allocations: 8.031 kB / 444.2 MB, free: 8.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.4662, allocations: 11.91 kB / 444.2 MB, free: 8.633 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003434/0.4665, allocations: 199.5 kB / 444.4 MB, free: 8.398 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.4666, allocations: 4 kB / 444.4 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.4666, allocations: 4 kB / 444.4 MB, free: 8.391 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.715e-05/0.4667, allocations: 15.94 kB / 444.4 MB, free: 8.375 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000111/0.4668, allocations: 53.67 kB / 444.5 MB, free: 8.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4668, allocations: 7.891 kB / 444.5 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.4669, allocations: 0 / 444.5 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.733e-06/0.4669, allocations: 0 / 444.5 MB, free: 8.309 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002482/0.4671, allocations: 174.2 kB / 444.6 MB, free: 8.102 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001339/0.4673, allocations: 54.62 kB / 444.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.008e-05/0.4673, allocations: 16.86 kB / 444.7 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.484e-05/0.4674, allocations: 0 / 444.7 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.4675, allocations: 67.42 kB / 444.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 2.357e-06/0.4676, allocations: 0 / 444.8 MB, free: 7.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002523/0.4678, allocations: 73.59 kB / 444.8 MB, free: 7.863 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.622e-05/0.4679, allocations: 59.41 kB / 444.9 MB, free: 7.793 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.4681, allocations: 169.9 kB / 445.1 MB, free: 7.617 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.4682, allocations: 25.7 kB / 445.1 MB, free: 7.586 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.322e-05/0.4683, allocations: 158.6 kB / 445.2 MB, free: 7.43 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.4683, allocations: 11.81 kB / 445.3 MB, free: 7.418 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.4683, allocations: 4 kB / 445.3 MB, free: 7.414 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001535/0.4685, allocations: 314.8 kB / 445.6 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.699e-05/0.4686, allocations: 28 kB / 445.6 MB, free: 7.07 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.9e-05/0.4687, allocations: 41.72 kB / 445.6 MB, free: 7.023 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.516e-05/0.4688, allocations: 31.92 kB / 445.7 MB, free: 6.992 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.4688, allocations: 0 / 445.7 MB, free: 6.992 MB / 378.7 MB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002805/0.4691, allocations: 105.6 kB / 445.8 MB, free: 6.883 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.627e-05/0.4692, allocations: 41.69 kB / 445.8 MB, free: 6.836 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4692, allocations: 3.938 kB / 445.8 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.4692, allocations: 0 / 445.8 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.4693, allocations: 8.125 kB / 445.8 MB, free: 6.824 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.636e-06/0.4693, allocations: 8 kB / 445.8 MB, free: 6.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.662e-05/0.4694, allocations: 19.86 kB / 445.8 MB, free: 6.797 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.14e-05/0.4695, allocations: 7.953 kB / 445.9 MB, free: 6.789 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.0001029/0.4696, allocations: 106.7 kB / 446 MB, free: 6.68 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.176e-05/0.4696, allocations: 11.89 kB / 446 MB, free: 6.668 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.4699, allocations: 90.02 kB / 446.1 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.928e-06/0.4699, allocations: 0 / 446.1 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.174e-06/0.4699, allocations: 7.938 kB / 446.1 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.03e-06/0.4699, allocations: 0 / 446.1 MB, free: 6.562 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.4702, allocations: 170.1 kB / 446.2 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.4702, allocations: 0 / 446.2 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.154e-05/0.4702, allocations: 8 kB / 446.2 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.314e-06/0.4702, allocations: 0 / 446.2 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.972e-06/0.4703, allocations: 0 / 446.2 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.493e-06/0.4703, allocations: 0 / 446.2 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.507e-06/0.4703, allocations: 0 / 446.2 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.4705, allocations: 109.6 kB / 446.3 MB, free: 6.227 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.4706, allocations: 96.91 kB / 446.4 MB, free: 6.113 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.059e-05/0.4707, allocations: 8 kB / 446.5 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.431e-05/0.4707, allocations: 0 / 446.5 MB, free: 6.105 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.695e-05/0.4708, allocations: 11.92 kB / 446.5 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.4708, allocations: 0 / 446.5 MB, free: 6.094 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001569/0.471, allocations: 143.3 kB / 446.6 MB, free: 5.953 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.33e-07/0.471, allocations: 0 / 446.6 MB, free: 5.953 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003244/0.4713, allocations: 27.94 kB / 446.6 MB, free: 5.926 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.001112/0.4725, allocations: 339.9 kB / 447 MB, free: 5.629 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002949/0.4728, allocations: 143.3 kB / 447.1 MB, free: 5.477 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.779e-06/0.4728, allocations: 0 / 447.1 MB, free: 5.477 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.458e-05/0.4729, allocations: 24 kB / 447.1 MB, free: 5.453 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000253/0.4731, allocations: 18.44 kB / 447.1 MB, free: 5.438 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.4736, allocations: 159 kB / 447.3 MB, free: 5.254 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004027/0.474, allocations: 0.7079 MB / 448 MB, free: 4.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.548e-05/0.4741, allocations: 19.44 kB / 448 MB, free: 4.5 MB / 378.7 MB Notification: Performance of SimCode: time 1.698e-06/0.4741, allocations: 0 / 448 MB, free: 4.5 MB / 378.7 MB Notification: Performance of Templates: time 0.004419/0.4785, allocations: 1.697 MB / 449.7 MB, free: 2.805 MB / 378.7 MB