Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/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.3_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00193/0.00193, allocations: 180 kB / 17.01 MB, free: 5.125 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.961/1.961, allocations: 205.4 MB / 223.1 MB, free: 9.109 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009091/0.0009092, allocations: 102.4 kB / 271.5 MB, free: 8.359 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002971/0.0002973, allocations: 4 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3672, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.133/0.5004, allocations: 81.91 MB / 457.7 MB, free: 14.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/0.5008, allocations: 75.95 kB / 457.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05781/0.5586, allocations: 26.83 MB / 484.6 MB, free: 3.906 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.509e-06/0.5587, allocations: 0 / 484.6 MB, free: 3.906 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.067e-05/0.5587, allocations: 4 kB / 484.6 MB, free: 3.902 MB / 362.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.001165/0.5599, allocations: 0.6721 MB / 485.3 MB, free: 3.156 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.107e-05/0.56, allocations: 8.031 kB / 485.3 MB, free: 3.148 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.5601, allocations: 39.62 kB / 485.3 MB, free: 3.109 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/0.5606, allocations: 257.5 kB / 485.6 MB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.5607, allocations: 4 kB / 485.6 MB, free: 2.816 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.964e-05/0.5607, allocations: 8 kB / 485.6 MB, free: 2.809 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004206/0.5612, allocations: 149.5 kB / 485.7 MB, free: 2.656 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.623e-05/0.5612, allocations: 7.922 kB / 485.8 MB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.898e-05/0.5612, allocations: 8 kB / 485.8 MB, free: 2.641 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.15e-05/0.5613, allocations: 4 kB / 485.8 MB, free: 2.637 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.5614, allocations: 63.91 kB / 485.8 MB, free: 2.574 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.5625, allocations: 492.5 kB / 486.3 MB, free: 2.043 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002586/0.5628, allocations: 102.5 kB / 486.4 MB, free: 1.934 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.5628, allocations: 4 kB / 486.4 MB, free: 1.93 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004621/0.5633, allocations: 226.7 kB / 486.6 MB, free: 1.684 MB / 362.7 MB Notification: Performance of pre-optimization done (n=13): time 3.506e-06/0.5633, allocations: 0 / 486.6 MB, free: 1.684 MB / 362.7 MB Notification: Performance of matching and sorting (n=13): time 0.001158/0.5645, allocations: 0.6583 MB / 487.3 MB, free: 0.957 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001433/0.5646, allocations: 166.2 kB / 487.5 MB, free: 0.7578 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006404/0.5653, allocations: 464.5 kB / 487.9 MB, free: 304 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.5653, allocations: 33.7 kB / 487.9 MB, free: 264 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.23e-05/0.5654, allocations: 97.12 kB / 488 MB, free: 160 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.001e-05/0.5655, allocations: 27.7 kB / 488.1 MB, free: 132 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.885e-05/0.5655, allocations: 4 kB / 488.1 MB, free: 128 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001947/0.5657, allocations: 322.8 kB / 488.4 MB, free: 15.8 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.5659, allocations: 67.95 kB / 488.4 MB, free: 15.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001441/0.566, allocations: 81.61 kB / 488.5 MB, free: 15.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.5662, allocations: 170.8 kB / 488.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5662, allocations: 0 / 488.7 MB, free: 15.46 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006907/0.5669, allocations: 424 kB / 489.1 MB, free: 15.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001482/0.5671, allocations: 118.8 kB / 489.2 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.437e-06/0.5671, allocations: 4 kB / 489.2 MB, free: 14.87 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.478e-05/0.5672, allocations: 7.938 kB / 489.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.205e-05/0.5672, allocations: 3.938 kB / 489.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.5672, allocations: 0 / 489.2 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001892/0.5674, allocations: 15.98 kB / 489.3 MB, free: 14.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001782/0.5676, allocations: 123.8 kB / 489.4 MB, free: 14.72 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: 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.0005087/0.5681, allocations: 354.3 kB / 489.7 MB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.476e-05/0.5682, allocations: 47.48 kB / 489.8 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001276/0.5683, allocations: 63.16 kB / 489.8 MB, free: 14.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.422e-06/0.5683, allocations: 4 kB / 489.8 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.057e-05/0.5684, allocations: 0 / 489.8 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.5684, allocations: 0 / 489.8 MB, free: 14.22 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001324/0.5697, allocations: 0.8446 MB / 490.7 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.005e-06/0.5697, allocations: 0 / 490.7 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.597e-06/0.5697, allocations: 0 / 490.7 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.5698, allocations: 0 / 490.7 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-05/0.5698, allocations: 19.98 kB / 490.7 MB, free: 13.28 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.5698, allocations: 4 kB / 490.7 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.5698, allocations: 0 / 490.7 MB, free: 13.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007302/0.5706, allocations: 0.5607 MB / 491.3 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003869/0.571, allocations: 256.4 kB / 491.5 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.545e-05/0.571, allocations: 8.25 kB / 491.5 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001733/0.5712, allocations: 23.86 kB / 491.5 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001601/0.5714, allocations: 35.97 kB / 491.6 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.5715, allocations: 115.9 kB / 491.7 MB, free: 12.22 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005847/0.5721, allocations: 394.8 kB / 492.1 MB, free: 11.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5721, allocations: 0 / 492.1 MB, free: 11.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.5725, allocations: 44 kB / 492.1 MB, free: 11.8 MB / 378.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.0002371/0.5728, allocations: 111 kB / 492.2 MB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007458/0.5735, allocations: 449.5 kB / 492.7 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.5735, allocations: 0 / 492.7 MB, free: 11.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004564/0.574, allocations: 385.6 kB / 493 MB, free: 10.77 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006338/0.5746, allocations: 108.7 kB / 493.2 MB, free: 10.66 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.5761, allocations: 0.7465 MB / 493.9 MB, free: 9.887 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000528/0.5766, allocations: 0.8102 MB / 494.7 MB, free: 9.051 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.471e-05/0.5767, allocations: 8.656 kB / 494.7 MB, free: 9.039 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.98e-05/0.5767, allocations: 7.438 kB / 494.7 MB, free: 9.031 MB / 378.7 MB Notification: Performance of SimCode: time 1.163e-06/0.5768, allocations: 3.938 kB / 494.7 MB, free: 9.027 MB / 378.7 MB Notification: Performance of Templates: time 0.01062/0.5874, allocations: 5.609 MB / 0.4886 GB, free: 3.352 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches