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.Test51.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.Test51,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.Test51") Notification: Performance of loadModel(ModelicaTest): time 2.264/2.264, allocations: 235 MB / 248.1 MB, free: 14.59 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.057e-05/3.08e-05, allocations: 4 kB / 309.7 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3195/0.3195, allocations: 54.86 MB / 364.5 MB, free: 5.52 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1219/0.4415, allocations: 82.06 MB / 446.6 MB, free: 14.45 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002383/0.4417, allocations: 71.75 kB / 446.7 MB, free: 14.39 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.0198/0.4616, allocations: 4.728 MB / 451.4 MB, free: 9.684 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.193e-06/0.4616, allocations: 4 kB / 451.4 MB, free: 9.68 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.4616, allocations: 4 kB / 451.4 MB, free: 9.676 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.0005809/0.4622, allocations: 465.4 kB / 451.9 MB, free: 9.164 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.4623, allocations: 11.97 kB / 451.9 MB, free: 9.152 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.148e-05/0.4623, allocations: 12.64 kB / 451.9 MB, free: 9.141 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003517/0.4627, allocations: 214.8 kB / 452.1 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.4627, allocations: 0 / 452.1 MB, free: 8.891 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.4628, allocations: 8 kB / 452.1 MB, free: 8.883 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001434/0.4629, allocations: 61.61 kB / 452.2 MB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/0.463, allocations: 0 / 452.2 MB, free: 8.816 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.463, allocations: 3.953 kB / 452.2 MB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.797e-06/0.463, allocations: 0 / 452.2 MB, free: 8.812 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.84e-05/0.4631, allocations: 24.83 kB / 452.2 MB, free: 8.789 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004968/0.4636, allocations: 312.9 kB / 452.5 MB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001636/0.4638, allocations: 62.62 kB / 452.6 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.762e-05/0.4638, allocations: 20.98 kB / 452.6 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.4639, allocations: 0 / 452.6 MB, free: 8.34 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001692/0.4641, allocations: 75.47 kB / 452.7 MB, free: 8.254 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.401e-06/0.4641, allocations: 0 / 452.7 MB, free: 8.254 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0005795/0.4647, allocations: 169.1 kB / 452.8 MB, free: 8.082 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.357e-05/0.4647, allocations: 51.41 kB / 452.9 MB, free: 8.02 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002861/0.465, allocations: 208 kB / 453.1 MB, free: 7.809 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.4651, allocations: 29.7 kB / 453.1 MB, free: 7.773 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.4652, allocations: 166.5 kB / 453.3 MB, free: 7.609 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.771e-05/0.4652, allocations: 27.59 kB / 453.3 MB, free: 7.582 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.153e-05/0.4653, allocations: 4 kB / 453.3 MB, free: 7.578 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001514/0.4654, allocations: 318.8 kB / 453.6 MB, free: 7.258 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.4655, allocations: 32 kB / 453.6 MB, free: 7.227 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.4657, allocations: 53.7 kB / 453.7 MB, free: 7.168 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001362/0.4658, allocations: 77.62 kB / 453.8 MB, free: 7.086 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.881e-06/0.4658, allocations: 0 / 453.8 MB, free: 7.086 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000356/0.4662, allocations: 163.2 kB / 453.9 MB, free: 6.914 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.089e-05/0.4663, allocations: 41.69 kB / 454 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.678e-06/0.4663, allocations: 0 / 454 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.809e-05/0.4663, allocations: 4 kB / 454 MB, free: 6.863 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.4665, allocations: 20.02 kB / 454 MB, free: 6.844 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.219e-06/0.4665, allocations: 3.938 kB / 454 MB, free: 6.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.934e-05/0.4666, allocations: 8.031 kB / 454 MB, free: 6.832 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.4666, allocations: 8 kB / 454 MB, free: 6.824 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.0001008/0.4667, allocations: 110.7 kB / 454.1 MB, free: 6.711 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.4668, allocations: 11.86 kB / 454.1 MB, free: 6.699 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.4671, allocations: 127 kB / 454.3 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.071e-06/0.4671, allocations: 0 / 454.3 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.6e-06/0.4671, allocations: 0 / 454.3 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.161e-06/0.4671, allocations: 0 / 454.3 MB, free: 6.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006474/0.4678, allocations: 427.2 kB / 454.7 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.4678, allocations: 0 / 454.7 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.392e-05/0.4679, allocations: 12 kB / 454.7 MB, free: 6.082 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.4679, allocations: 3.938 kB / 454.7 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.4679, allocations: 0 / 454.7 MB, free: 6.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.863e-06/0.4679, allocations: 4 kB / 454.7 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.07e-06/0.468, allocations: 0 / 454.7 MB, free: 6.074 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/0.4683, allocations: 229.8 kB / 454.9 MB, free: 5.824 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.4684, allocations: 105 kB / 455 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.275e-05/0.4684, allocations: 0 / 455 MB, free: 5.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001188/0.4686, allocations: 8 kB / 455 MB, free: 5.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.401e-05/0.4686, allocations: 7.984 kB / 455 MB, free: 5.688 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.347e-05/0.4687, allocations: 4.125 kB / 455 MB, free: 5.684 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002033/0.4689, allocations: 164.3 kB / 455.2 MB, free: 5.523 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.55e-07/0.4689, allocations: 4 kB / 455.2 MB, free: 5.52 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00042/0.4693, allocations: 47.92 kB / 455.2 MB, free: 5.473 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.001447/0.4708, allocations: 420.9 kB / 455.7 MB, free: 5.137 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003521/0.4712, allocations: 159.3 kB / 455.8 MB, free: 4.969 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.281e-06/0.4712, allocations: 4 kB / 455.8 MB, free: 4.965 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.731e-05/0.4713, allocations: 36 kB / 455.9 MB, free: 4.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003235/0.4716, allocations: 19.94 kB / 455.9 MB, free: 4.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005479/0.4722, allocations: 224.7 kB / 456.1 MB, free: 4.652 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003903/0.4726, allocations: 0.7121 MB / 456.8 MB, free: 3.914 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.483e-05/0.4727, allocations: 19.42 kB / 456.8 MB, free: 3.898 MB / 378.7 MB Notification: Performance of SimCode: time 1.528e-06/0.4727, allocations: 4.062 kB / 456.8 MB, free: 3.895 MB / 378.7 MB Notification: Performance of Templates: time 0.004789/0.4775, allocations: 2.036 MB / 458.9 MB, free: 1.859 MB / 378.7 MB