Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Electrical.Digital.Examples.BUF3S.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadModel(Modelica): time 2.276/2.276, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003976/0.0003978, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1009, allocations: 44.51 MB / 309 MB, free: 1.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4049/0.5058, allocations: 77.65 MB / 386.6 MB, free: 14.86 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002637/0.5061, allocations: 74.72 kB / 386.7 MB, free: 14.86 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08332/0.5894, allocations: 26.79 MB / 413.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5895, allocations: 0 / 413.5 MB, free: 10.12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.331e-05/0.5895, allocations: 3.844 kB / 413.5 MB, free: 10.12 MB / 314.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.0007384/0.5903, allocations: 0.6802 MB / 414.2 MB, free: 9.461 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.5903, allocations: 7.812 kB / 414.2 MB, free: 9.461 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.426e-05/0.5904, allocations: 35.09 kB / 414.2 MB, free: 9.445 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003429/0.5908, allocations: 252.4 kB / 414.5 MB, free: 9.215 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.853e-05/0.5908, allocations: 11.7 kB / 414.5 MB, free: 9.211 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.878e-05/0.5909, allocations: 11.84 kB / 414.5 MB, free: 9.207 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004197/0.5913, allocations: 148.6 kB / 414.6 MB, free: 9.133 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5913, allocations: 0 / 414.6 MB, free: 9.133 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.937e-05/0.5914, allocations: 7.312 kB / 414.6 MB, free: 9.133 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.5914, allocations: 3.906 kB / 414.6 MB, free: 9.133 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.5916, allocations: 67.12 kB / 414.7 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009251/0.5926, allocations: 476.6 kB / 415.2 MB, free: 8.766 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.5929, allocations: 112.3 kB / 415.3 MB, free: 8.723 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.5929, allocations: 0 / 415.3 MB, free: 8.723 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004086/0.5934, allocations: 231.9 kB / 415.5 MB, free: 8.562 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.206e-06/0.5934, allocations: 112 / 415.5 MB, free: 8.562 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001313/0.5947, allocations: 0.6758 MB / 416.2 MB, free: 8.141 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.253e-05/0.5948, allocations: 176.1 kB / 416.4 MB, free: 7.945 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008991/0.5957, allocations: 0.519 MB / 416.9 MB, free: 7.68 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.991e-05/0.5958, allocations: 36.36 kB / 416.9 MB, free: 7.645 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.5959, allocations: 158 kB / 417.1 MB, free: 7.492 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.256e-05/0.5959, allocations: 26.58 kB / 417.1 MB, free: 7.477 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.398e-05/0.596, allocations: 7.719 kB / 417.1 MB, free: 7.477 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.975e-05/0.596, allocations: 314.8 kB / 417.4 MB, free: 7.16 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002258/0.5963, allocations: 67.64 kB / 417.5 MB, free: 7.145 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002215/0.5965, allocations: 85.19 kB / 417.6 MB, free: 7.113 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002507/0.5968, allocations: 173.7 kB / 417.7 MB, free: 6.98 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.5968, allocations: 0 / 417.7 MB, free: 6.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000892/0.5977, allocations: 430.6 kB / 418.1 MB, free: 6.777 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.265e-05/0.5978, allocations: 132.8 kB / 418.3 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.5978, allocations: 0 / 418.3 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.5979, allocations: 0 / 418.3 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.542e-05/0.5979, allocations: 3.844 kB / 418.3 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.5979, allocations: 0 / 418.3 MB, free: 6.641 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002413/0.5982, allocations: 19.67 kB / 418.3 MB, free: 6.633 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001492/0.5983, allocations: 116.9 kB / 418.4 MB, free: 6.617 MB / 314.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.0005291/0.5989, allocations: 363.3 kB / 418.8 MB, free: 6.328 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-05/0.5989, allocations: 39.03 kB / 418.8 MB, free: 6.309 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.5991, allocations: 68.69 kB / 418.9 MB, free: 6.266 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/0.5991, allocations: 7.891 kB / 418.9 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5991, allocations: 0 / 418.9 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5991, allocations: 0 / 418.9 MB, free: 6.262 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.6005, allocations: 0.8666 MB / 419.7 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6006, allocations: 0 / 419.7 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.044e-05/0.6006, allocations: 0 / 419.7 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/0.6006, allocations: 3.781 kB / 419.7 MB, free: 5.703 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.942e-05/0.6007, allocations: 25.11 kB / 419.8 MB, free: 5.699 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.6007, allocations: 0 / 419.8 MB, free: 5.699 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6007, allocations: 3.984 kB / 419.8 MB, free: 5.695 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.6017, allocations: 0.5834 MB / 420.4 MB, free: 5.371 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004811/0.6022, allocations: 251.5 kB / 420.6 MB, free: 5.195 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001055/0.6023, allocations: 15.31 kB / 420.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002431/0.6026, allocations: 12.03 kB / 420.6 MB, free: 5.191 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001559/0.6027, allocations: 35.11 kB / 420.7 MB, free: 5.18 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001449/0.6029, allocations: 120 kB / 420.8 MB, free: 5.16 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0006364/0.6035, allocations: 391.5 kB / 421.2 MB, free: 4.973 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.6036, allocations: 0 / 421.2 MB, free: 4.973 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004141/0.604, allocations: 38.91 kB / 421.2 MB, free: 4.973 MB / 314.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.000166/0.6042, allocations: 128.7 kB / 421.3 MB, free: 4.871 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007075/0.6049, allocations: 448.3 kB / 421.8 MB, free: 4.59 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.6049, allocations: 0 / 421.8 MB, free: 4.59 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004013/0.6053, allocations: 385 kB / 422.1 MB, free: 4.32 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008076/0.6061, allocations: 111.4 kB / 422.3 MB, free: 4.277 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001552/0.6077, allocations: 0.7886 MB / 423 MB, free: 3.793 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000386/0.6081, allocations: 0.812 MB / 423.9 MB, free: 3.023 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.6082, allocations: 11.19 kB / 423.9 MB, free: 3.016 MB / 314.7 MB Notification: Performance of SimCode: time 1.493e-06/0.6082, allocations: 0 / 423.9 MB, free: 3.016 MB / 314.7 MB Notification: Performance of Templates: time 0.007733/0.6159, allocations: 3.785 MB / 427.6 MB, free: 1.102 MB / 314.7 MB