Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.1_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadModel(Modelica): time 1.963/1.963, allocations: 171.1 MB / 186.7 MB, free: 1.121 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003743/0.0003744, allocations: 8 kB / 233.9 MB, free: 2.387 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1007, allocations: 38.77 MB / 272.6 MB, free: 11.54 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4025/0.5033, allocations: 72.35 MB / 345 MB, free: 1 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.5036, allocations: 71.53 kB / 345 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1405/0.6441, allocations: 27.28 MB / 372.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.036e-06/0.6442, allocations: 0 / 372.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.923e-05/0.6442, allocations: 4 kB / 372.3 MB, free: 10.45 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001318/0.6455, allocations: 0.6783 MB / 373 MB, free: 9.719 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.265e-05/0.6456, allocations: 12.03 kB / 373 MB, free: 9.707 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000165/0.6458, allocations: 39.53 kB / 373 MB, free: 9.668 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006379/0.6465, allocations: 253.2 kB / 373.3 MB, free: 9.387 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.6466, allocations: 11.94 kB / 373.3 MB, free: 9.375 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.513e-05/0.6467, allocations: 15.81 kB / 373.3 MB, free: 9.363 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007028/0.6474, allocations: 149 kB / 373.5 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.21e-05/0.6474, allocations: 0 / 373.5 MB, free: 9.23 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.072e-05/0.6475, allocations: 4 kB / 373.5 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.6475, allocations: 0 / 373.5 MB, free: 9.227 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003713/0.6479, allocations: 62.89 kB / 373.5 MB, free: 9.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.6495, allocations: 481.7 kB / 374 MB, free: 8.719 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/0.65, allocations: 105.8 kB / 374.1 MB, free: 8.637 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.532e-05/0.6501, allocations: 0 / 374.1 MB, free: 8.637 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006577/0.6507, allocations: 225.8 kB / 374.3 MB, free: 8.414 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 3.286e-06/0.6508, allocations: 0 / 374.3 MB, free: 8.414 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.002112/0.6529, allocations: 0.6938 MB / 375 MB, free: 7.73 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000167/0.6531, allocations: 166.1 kB / 375.2 MB, free: 7.535 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001587/0.6547, allocations: 0.5171 MB / 375.7 MB, free: 7.094 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.6549, allocations: 33.58 kB / 375.7 MB, free: 7.059 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.655, allocations: 102.5 kB / 375.8 MB, free: 6.965 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.844e-05/0.6551, allocations: 26.83 kB / 375.9 MB, free: 6.941 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.6552, allocations: 4 kB / 375.9 MB, free: 6.938 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.6554, allocations: 328.9 kB / 376.2 MB, free: 6.613 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003726/0.6558, allocations: 65.7 kB / 376.2 MB, free: 6.566 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003655/0.6562, allocations: 79.73 kB / 376.3 MB, free: 6.5 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004162/0.6566, allocations: 168.7 kB / 376.5 MB, free: 6.332 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.6567, allocations: 0 / 376.5 MB, free: 6.332 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.001569/0.6582, allocations: 437.2 kB / 376.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001631/0.6585, allocations: 131.9 kB / 377 MB, free: 5.785 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.294e-05/0.6585, allocations: 4.031 kB / 377 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.6585, allocations: 0 / 377 MB, free: 5.781 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.642e-05/0.6586, allocations: 4 kB / 377.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.6586, allocations: 0 / 377.1 MB, free: 5.777 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003873/0.659, allocations: 15.91 kB / 377.1 MB, free: 5.762 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007005/0.6597, allocations: 119.8 kB / 377.2 MB, free: 5.645 MB / 298.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: 15 ($PRE.bUF3S.inertialDelaySensitive.y,$whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 4 * 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.001194/0.661, allocations: 358.2 kB / 377.5 MB, free: 5.289 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/0.6614, allocations: 43.52 kB / 377.6 MB, free: 5.246 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004058/0.6618, allocations: 76.44 kB / 377.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.6619, allocations: 0 / 377.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/0.6619, allocations: 0 / 377.7 MB, free: 5.172 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.6619, allocations: 3.938 kB / 377.7 MB, free: 5.168 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001807/0.6637, allocations: 0.8647 MB / 378.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.6638, allocations: 192 / 378.5 MB, free: 4.336 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.339e-05/0.6638, allocations: 4 kB / 378.5 MB, free: 4.332 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.766e-06/0.6638, allocations: 3.984 kB / 378.5 MB, free: 4.328 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/0.6639, allocations: 23.73 kB / 378.6 MB, free: 4.309 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.6639, allocations: 7.938 kB / 378.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.6639, allocations: 0 / 378.6 MB, free: 4.301 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001216/0.6651, allocations: 0.5886 MB / 379.1 MB, free: 3.742 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005839/0.6657, allocations: 245 kB / 379.4 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.6659, allocations: 11.5 kB / 379.4 MB, free: 3.516 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.6661, allocations: 19.78 kB / 379.4 MB, free: 3.5 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001664/0.6663, allocations: 31.56 kB / 379.4 MB, free: 3.473 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002001/0.6665, allocations: 123.1 kB / 379.6 MB, free: 3.355 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0007733/0.6673, allocations: 387.9 kB / 379.9 MB, free: 3.035 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.6673, allocations: 0 / 379.9 MB, free: 3.035 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004588/0.6678, allocations: 44 kB / 380 MB, free: 2.992 MB / 298.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: 13 ($whenCondition1,$whenCondition2,e_table.y,x_table.y,bUF3S.nextstate,bUF3S.yy,bUF3S.inertialDelaySensitive.x,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,bUF3S.yy,bUF3S.nextstate,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S.inertialDelaySensitive.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 4 * 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 Backend phase and start with SimCode phase: time 0.0002146/0.668, allocations: 122.2 kB / 380.1 MB, free: 2.867 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008448/0.6689, allocations: 450.2 kB / 380.6 MB, free: 2.469 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 5.02e-06/0.6689, allocations: 4 kB / 380.6 MB, free: 2.465 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005129/0.6694, allocations: 388.6 kB / 380.9 MB, free: 2.117 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008221/0.6703, allocations: 102.7 kB / 381 MB, free: 2.031 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001805/0.6721, allocations: 0.7424 MB / 381.8 MB, free: 1.32 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006222/0.6727, allocations: 0.8079 MB / 382.6 MB, free: 0.4961 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.236e-05/0.6728, allocations: 8.656 kB / 382.6 MB, free: 496 kB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.553e-05/0.6729, allocations: 11.44 kB / 382.6 MB, free: 484 kB / 298.7 MB Notification: Performance of SimCode: time 1.162e-06/0.6729, allocations: 0 / 382.6 MB, free: 484 kB / 298.7 MB Notification: Performance of Templates: time 0.01448/0.6873, allocations: 5.615 MB / 388.2 MB, free: 10.8 MB / 314.7 MB