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.Test9.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.Test9,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.Test9") Notification: Performance of loadModel(ModelicaTest): time 2.126/2.126, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.072e-05/3.091e-05, allocations: 4 kB / 309.7 MB, free: 1.316 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3204/0.3205, allocations: 54.86 MB / 364.5 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1252/0.4458, allocations: 82.01 MB / 446.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002375/0.446, allocations: 72.66 kB / 446.6 MB, free: 14.38 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.01963/0.4657, allocations: 4.58 MB / 451.2 MB, free: 9.836 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.781e-06/0.4657, allocations: 0 / 451.2 MB, free: 9.836 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.551e-05/0.4658, allocations: 8.672 kB / 451.2 MB, free: 9.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.0006196/0.4664, allocations: 457.6 kB / 451.7 MB, free: 9.324 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.4664, allocations: 11.97 kB / 451.7 MB, free: 9.312 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.4665, allocations: 11.91 kB / 451.7 MB, free: 9.301 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003721/0.4669, allocations: 215.5 kB / 451.9 MB, free: 9.047 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.4669, allocations: 4 kB / 451.9 MB, free: 9.043 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.467, allocations: 7.984 kB / 451.9 MB, free: 9.035 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001415/0.4671, allocations: 57.61 kB / 452 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.4672, allocations: 0.9375 kB / 452 MB, free: 8.973 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.4672, allocations: 3.953 kB / 452 MB, free: 8.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.706e-06/0.4672, allocations: 4 kB / 452 MB, free: 8.965 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.433e-05/0.4673, allocations: 16 kB / 452 MB, free: 8.949 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005039/0.4678, allocations: 320.8 kB / 452.3 MB, free: 8.586 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.468, allocations: 58.62 kB / 452.4 MB, free: 8.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.912e-05/0.4681, allocations: 20.98 kB / 452.4 MB, free: 8.496 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.705e-05/0.4681, allocations: 3.953 kB / 452.4 MB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.4683, allocations: 67.39 kB / 452.5 MB, free: 8.414 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.917e-06/0.4683, allocations: 0 / 452.5 MB, free: 8.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005787/0.4689, allocations: 167.2 kB / 452.6 MB, free: 8.246 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.988e-05/0.4689, allocations: 59.34 kB / 452.7 MB, free: 8.176 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002757/0.4692, allocations: 197.9 kB / 452.9 MB, free: 7.973 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.053e-05/0.4693, allocations: 29.7 kB / 452.9 MB, free: 7.938 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.4694, allocations: 158.6 kB / 453.1 MB, free: 7.781 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.381e-05/0.4694, allocations: 27.69 kB / 453.1 MB, free: 7.754 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.347e-05/0.4695, allocations: 8 kB / 453.1 MB, free: 7.746 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.4696, allocations: 314.8 kB / 453.4 MB, free: 7.43 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/0.4697, allocations: 36 kB / 453.4 MB, free: 7.395 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001138/0.4699, allocations: 49.7 kB / 453.5 MB, free: 7.34 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000139/0.47, allocations: 69.69 kB / 453.5 MB, free: 7.266 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.02e-06/0.47, allocations: 5.344 kB / 453.6 MB, free: 7.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003771/0.4704, allocations: 171.3 kB / 453.7 MB, free: 7.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.042e-05/0.4705, allocations: 33.7 kB / 453.8 MB, free: 7.043 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.71e-06/0.4705, allocations: 4.031 kB / 453.8 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.4705, allocations: 4 kB / 453.8 MB, free: 7.035 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.4707, allocations: 24.11 kB / 453.8 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.445e-06/0.4707, allocations: 0 / 453.8 MB, free: 7.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.119e-05/0.4708, allocations: 11.91 kB / 453.8 MB, free: 7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.199e-05/0.4708, allocations: 8 kB / 453.8 MB, free: 6.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 () * 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.0001091/0.471, allocations: 114.8 kB / 453.9 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.471, allocations: 11.86 kB / 453.9 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003191/0.4713, allocations: 131.2 kB / 454.1 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.32e-06/0.4713, allocations: 0 / 454.1 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.276e-06/0.4714, allocations: 0 / 454.1 MB, free: 6.727 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.355e-06/0.4714, allocations: 3.984 kB / 454.1 MB, free: 6.723 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000646/0.472, allocations: 411.2 kB / 454.5 MB, free: 6.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-06/0.4721, allocations: 4 kB / 454.5 MB, free: 6.258 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.848e-05/0.4721, allocations: 8 kB / 454.5 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.972e-06/0.4721, allocations: 0 / 454.5 MB, free: 6.25 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.841e-05/0.4722, allocations: 12.03 kB / 454.5 MB, free: 6.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.832e-06/0.4722, allocations: 3.938 kB / 454.5 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.062e-06/0.4722, allocations: 0 / 454.5 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.4725, allocations: 221.9 kB / 454.7 MB, free: 5.992 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.4726, allocations: 112.8 kB / 454.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.4727, allocations: 0 / 454.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.4728, allocations: 8 kB / 454.8 MB, free: 5.855 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.066e-05/0.4729, allocations: 7.984 kB / 454.8 MB, free: 5.848 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.4729, allocations: 4 kB / 454.8 MB, free: 5.844 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001943/0.4731, allocations: 148.8 kB / 455 MB, free: 5.699 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.17e-07/0.4731, allocations: 4 kB / 455 MB, free: 5.695 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003913/0.4735, allocations: 39.94 kB / 455 MB, free: 5.656 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) * 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.001445/0.475, allocations: 418.3 kB / 455.4 MB, free: 5.328 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003359/0.4753, allocations: 167.3 kB / 455.6 MB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.949e-06/0.4754, allocations: 192 / 455.6 MB, free: 5.152 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 9.228e-05/0.4755, allocations: 35.92 kB / 455.6 MB, free: 5.117 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.4758, allocations: 31.88 kB / 455.7 MB, free: 5.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005257/0.4763, allocations: 204.3 kB / 455.9 MB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004095/0.4768, allocations: 0.7162 MB / 456.6 MB, free: 4.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.539e-05/0.4768, allocations: 19.42 kB / 456.6 MB, free: 4.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.409e-06/0.4768, allocations: 0 / 456.6 MB, free: 4.09 MB / 378.7 MB Notification: Performance of Templates: time 0.004798/0.4817, allocations: 1.996 MB / 458.6 MB, free: 2.098 MB / 378.7 MB