Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.1_cpp_Modelica.Electrical.Digital.Examples.BUF3S.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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_cpp_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadModel(Modelica): time 1.521/1.521, allocations: 171.2 MB / 186.8 MB, free: 1.117 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003524/0.0003525, allocations: 12 kB / 233.2 MB, free: 3.012 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07082/0.07119, allocations: 38.77 MB / 272 MB, free: 12.16 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2857/0.3569, allocations: 72.34 MB / 344.4 MB, free: 1.562 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002337/0.3572, allocations: 73.33 kB / 344.4 MB, free: 1.523 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08667/0.4439, allocations: 27.27 MB / 371.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.477e-06/0.4439, allocations: 0 / 371.7 MB, free: 11.02 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.373e-05/0.444, allocations: 4 kB / 371.7 MB, free: 11.01 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.0008268/0.4448, allocations: 0.6691 MB / 372.4 MB, free: 10.29 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.045e-05/0.4449, allocations: 12.03 kB / 372.4 MB, free: 10.28 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.704e-05/0.445, allocations: 43.53 kB / 372.4 MB, free: 10.23 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003792/0.4454, allocations: 260.4 kB / 372.7 MB, free: 9.945 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.389e-05/0.4454, allocations: 7.562 kB / 372.7 MB, free: 9.941 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.971e-05/0.4455, allocations: 11.94 kB / 372.7 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.4459, allocations: 154 kB / 372.8 MB, free: 9.793 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.4459, allocations: 4 kB / 372.8 MB, free: 9.789 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.352e-05/0.4459, allocations: 0 / 372.8 MB, free: 9.789 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.446, allocations: 4 kB / 372.9 MB, free: 9.785 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002147/0.4462, allocations: 61.41 kB / 372.9 MB, free: 9.742 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008663/0.4471, allocations: 477.3 kB / 373.4 MB, free: 9.285 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002618/0.4474, allocations: 103.8 kB / 373.5 MB, free: 9.203 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.567e-06/0.4474, allocations: 0 / 373.5 MB, free: 9.203 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004256/0.4478, allocations: 227.6 kB / 373.7 MB, free: 8.98 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 2.503e-06/0.4478, allocations: 0 / 373.7 MB, free: 8.98 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001323/0.4492, allocations: 0.6655 MB / 374.4 MB, free: 8.32 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.4493, allocations: 165.5 kB / 374.5 MB, free: 8.125 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008006/0.4501, allocations: 465.1 kB / 375 MB, free: 7.734 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.899e-05/0.4502, allocations: 33.14 kB / 375 MB, free: 7.699 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001051/0.4503, allocations: 162.7 kB / 375.2 MB, free: 7.547 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.798e-05/0.4504, allocations: 31.08 kB / 375.2 MB, free: 7.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.806e-05/0.4504, allocations: 8 kB / 375.2 MB, free: 7.512 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.4506, allocations: 314 kB / 375.5 MB, free: 7.199 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002024/0.4508, allocations: 65.33 kB / 375.6 MB, free: 7.152 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.451, allocations: 83.83 kB / 375.7 MB, free: 7.086 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000266/0.4513, allocations: 171.9 kB / 375.8 MB, free: 6.914 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.4513, allocations: 4 kB / 375.8 MB, free: 6.91 MB / 298.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008936/0.4522, allocations: 411 kB / 376.2 MB, free: 6.535 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001378/0.4524, allocations: 126.1 kB / 376.4 MB, free: 6.391 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.311e-06/0.4524, allocations: 3.938 kB / 376.4 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4525, allocations: 0 / 376.4 MB, free: 6.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.075e-05/0.4525, allocations: 7.984 kB / 376.4 MB, free: 6.379 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.626e-06/0.4525, allocations: 0 / 376.4 MB, free: 6.379 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.4528, allocations: 8 kB / 376.4 MB, free: 6.371 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000182/0.453, allocations: 126.9 kB / 376.5 MB, free: 6.25 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.0004938/0.4535, allocations: 362.2 kB / 376.9 MB, free: 5.891 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.749e-05/0.4536, allocations: 43.58 kB / 376.9 MB, free: 5.848 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001528/0.4538, allocations: 61.91 kB / 377 MB, free: 5.793 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.524e-06/0.4538, allocations: 0 / 377 MB, free: 5.793 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.095e-06/0.4538, allocations: 0 / 377 MB, free: 5.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.18e-06/0.4538, allocations: 3.984 kB / 377 MB, free: 5.789 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001465/0.4553, allocations: 0.8496 MB / 377.8 MB, free: 4.973 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.333e-06/0.4553, allocations: 4 kB / 377.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.519e-06/0.4553, allocations: 0 / 377.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.321e-06/0.4553, allocations: 0 / 377.8 MB, free: 4.969 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.333e-05/0.4554, allocations: 23.98 kB / 377.8 MB, free: 4.945 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.945e-06/0.4554, allocations: 4.172 kB / 377.8 MB, free: 4.941 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.738e-06/0.4554, allocations: 4 kB / 377.9 MB, free: 4.938 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001023/0.4565, allocations: 0.5573 MB / 378.4 MB, free: 4.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004419/0.4569, allocations: 249.9 kB / 378.7 MB, free: 4.188 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.374e-05/0.457, allocations: 10.38 kB / 378.7 MB, free: 4.18 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000209/0.4572, allocations: 15.11 kB / 378.7 MB, free: 4.168 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001298/0.4574, allocations: 38.33 kB / 378.7 MB, free: 4.137 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00017/0.4576, allocations: 115.9 kB / 378.8 MB, free: 4.023 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0006643/0.4583, allocations: 386.4 kB / 379.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of sort global known variables: time 7.47e-07/0.4583, allocations: 0 / 379.2 MB, free: 3.703 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004226/0.4587, allocations: 47.38 kB / 379.3 MB, free: 3.66 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.00017/0.4589, allocations: 114.3 kB / 379.4 MB, free: 3.543 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0007283/0.4596, allocations: 449.3 kB / 379.8 MB, free: 3.145 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 9.625e-06/0.4596, allocations: 12 kB / 379.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004651/0.4601, allocations: 385.7 kB / 380.2 MB, free: 2.789 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000563/0.4607, allocations: 104.9 kB / 380.3 MB, free: 2.703 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.4623, allocations: 0.7872 MB / 381.1 MB, free: 1.949 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006297/0.4629, allocations: 0.809 MB / 381.9 MB, free: 1.125 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.75e-05/0.463, allocations: 11.44 kB / 381.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of SimCode: time 1.322e-06/0.463, allocations: 0 / 381.9 MB, free: 1.113 MB / 298.7 MB Notification: Performance of Templates: time 0.007072/0.4701, allocations: 3.79 MB / 385.7 MB, free: 13.3 MB / 314.7 MB