Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@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) 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 1.839/1.839, allocations: 194.9 MB / 211.7 MB, free: 2.98 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003525, allocations: 12 kB / 263.9 MB, free: 13.57 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07908/0.07946, allocations: 44.51 MB / 308.4 MB, free: 0.9961 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3269/0.4064, allocations: 77.66 MB / 386.1 MB, free: 18.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002114/0.4067, allocations: 69.2 kB / 386.2 MB, free: 18.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07377/0.4805, allocations: 26.79 MB / 413 MB, free: 14.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.616e-06/0.4805, allocations: 4 kB / 413 MB, free: 14.54 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.103e-05/0.4806, allocations: 3.844 kB / 413 MB, free: 14.54 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.0005773/0.4811, allocations: 0.6743 MB / 413.6 MB, free: 13.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.4812, allocations: 11.16 kB / 413.7 MB, free: 13.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.32e-05/0.4813, allocations: 34.75 kB / 413.7 MB, free: 13.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002686/0.4816, allocations: 263.5 kB / 413.9 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.525e-05/0.4816, allocations: 7.797 kB / 414 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.074e-05/0.4817, allocations: 7.781 kB / 414 MB, free: 13.63 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003533/0.482, allocations: 155.9 kB / 414.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.726e-06/0.4821, allocations: 0 / 414.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.58e-05/0.4821, allocations: 7.281 kB / 414.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.4821, allocations: 3.984 kB / 414.1 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.4823, allocations: 68.98 kB / 414.2 MB, free: 13.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007235/0.4831, allocations: 477.4 kB / 414.7 MB, free: 13.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002299/0.4833, allocations: 106.4 kB / 414.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.046e-05/0.4833, allocations: 0 / 414.8 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003452/0.4837, allocations: 229 kB / 415 MB, free: 12.98 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 3.1e-06/0.4837, allocations: 3.938 kB / 415 MB, free: 12.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=13): time 0.001076/0.4848, allocations: 0.6516 MB / 415.6 MB, free: 12.56 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.766e-05/0.4849, allocations: 177.1 kB / 415.8 MB, free: 12.37 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006667/0.4856, allocations: 469.7 kB / 416.3 MB, free: 12.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 3.764e-05/0.4856, allocations: 32.86 kB / 416.3 MB, free: 12.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.077e-05/0.4857, allocations: 162.3 kB / 416.5 MB, free: 11.94 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.842e-05/0.4857, allocations: 27 kB / 416.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.576e-05/0.4858, allocations: 0 / 416.5 MB, free: 11.93 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.501e-05/0.4858, allocations: 326.2 kB / 416.8 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001791/0.486, allocations: 57.41 kB / 416.9 MB, free: 11.6 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/0.4862, allocations: 82.08 kB / 416.9 MB, free: 11.57 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002192/0.4865, allocations: 174.6 kB / 417.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.305e-06/0.4865, allocations: 0 / 417.1 MB, free: 11.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007608/0.4873, allocations: 413.3 kB / 417.5 MB, free: 11.23 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.054e-05/0.4874, allocations: 126.1 kB / 417.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.98e-06/0.4874, allocations: 0 / 417.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.4874, allocations: 0 / 417.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.935e-05/0.4874, allocations: 0 / 417.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.674e-06/0.4874, allocations: 3.875 kB / 417.6 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.4876, allocations: 11.72 kB / 417.7 MB, free: 11.1 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.4878, allocations: 128.5 kB / 417.8 MB, free: 11.07 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.0003999/0.4882, allocations: 360.9 kB / 418.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.903e-05/0.4883, allocations: 38.91 kB / 418.2 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000141/0.4884, allocations: 65.52 kB / 418.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.605e-06/0.4885, allocations: 3.875 kB / 418.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.021e-06/0.4885, allocations: 0 / 418.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.4885, allocations: 0 / 418.2 MB, free: 10.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001261/0.4897, allocations: 0.8427 MB / 419.1 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.804e-06/0.4898, allocations: 3.984 kB / 419.1 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.558e-06/0.4898, allocations: 0 / 419.1 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.237e-06/0.4898, allocations: 0 / 419.1 MB, free: 10.17 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.631e-05/0.4899, allocations: 23.33 kB / 419.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.877e-06/0.4899, allocations: 0 / 419.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.291e-06/0.4899, allocations: 0 / 419.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008795/0.4908, allocations: 0.5613 MB / 419.7 MB, free: 9.844 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004272/0.4912, allocations: 250.1 kB / 419.9 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.718e-05/0.4913, allocations: 15.73 kB / 419.9 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002268/0.4916, allocations: 15.62 kB / 419.9 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.4917, allocations: 35.2 kB / 420 MB, free: 9.648 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001338/0.4919, allocations: 116.9 kB / 420.1 MB, free: 9.633 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0005836/0.4925, allocations: 389 kB / 420.5 MB, free: 9.445 MB / 314.7 MB Notification: Performance of sort global known variables: time 8.8e-07/0.4925, allocations: 0 / 420.5 MB, free: 9.445 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0004341/0.4929, allocations: 46.56 kB / 420.5 MB, free: 9.441 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.000147/0.4931, allocations: 126.2 kB / 420.6 MB, free: 9.34 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0006109/0.4937, allocations: 452.3 kB / 421.1 MB, free: 9.062 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4937, allocations: 0 / 421.1 MB, free: 9.062 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.4941, allocations: 384.1 kB / 421.5 MB, free: 8.793 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000545/0.4947, allocations: 102.6 kB / 421.6 MB, free: 8.754 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.496, allocations: 0.7979 MB / 422.4 MB, free: 8.258 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003373/0.4964, allocations: 0.8104 MB / 423.2 MB, free: 7.488 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.123e-05/0.4964, allocations: 11.41 kB / 423.2 MB, free: 7.48 MB / 314.7 MB Notification: Performance of SimCode: time 1.608e-06/0.4964, allocations: 0 / 423.2 MB, free: 7.48 MB / 314.7 MB Notification: Performance of Templates: time 0.00598/0.5024, allocations: 3.768 MB / 426.9 MB, free: 5.586 MB / 314.7 MB