Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 180.2 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.322/1.322, allocations: 223.2 MB / 240.3 MB, free: 11.87 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008353/0.0008353, allocations: 93.61 kB / 291.5 MB, free: 10.91 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002711/0.0002711, allocations: 11.94 kB / 351.1 MB, free: 15.31 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2753, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1167/0.392, allocations: 82.79 MB / 484.3 MB, free: 13.7 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/0.3924, allocations: 68.5 kB / 484.3 MB, free: 13.64 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05048/0.4429, allocations: 27.18 MB / 0.4995 GB, free: 2.586 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.4429, allocations: 11.94 kB / 0.4995 GB, free: 2.574 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.193e-05/0.4429, allocations: 4 kB / 0.4995 GB, free: 2.57 MB / 378.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.0008226/0.4438, allocations: 0.6721 MB / 0.5002 GB, free: 1.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.108e-05/0.4438, allocations: 12.02 kB / 0.5002 GB, free: 1.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.055e-05/0.4439, allocations: 35.58 kB / 0.5003 GB, free: 1.777 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000383/0.4443, allocations: 265.4 kB / 0.5005 GB, free: 1.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.4443, allocations: 4 kB / 0.5005 GB, free: 1.477 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.521e-05/0.4444, allocations: 8 kB / 0.5005 GB, free: 1.469 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003402/0.4447, allocations: 149.5 kB / 0.5007 GB, free: 1.316 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4448, allocations: 4 kB / 0.5007 GB, free: 1.312 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.205e-05/0.4448, allocations: 8 kB / 0.5007 GB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4448, allocations: 0 / 0.5007 GB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.445, allocations: 67.95 kB / 0.5007 GB, free: 1.238 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008415/0.4458, allocations: 476.5 kB / 0.5012 GB, free: 0.7227 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000214/0.446, allocations: 98.55 kB / 0.5013 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.554e-06/0.4461, allocations: 0 / 0.5013 GB, free: 0.6172 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003548/0.4464, allocations: 230.6 kB / 0.5015 GB, free: 380 kB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.633e-06/0.4464, allocations: 0 / 0.5015 GB, free: 380 kB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.2595/0.7059, allocations: 0.6568 MB / 0.5021 GB, free: 97.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.059e-05/0.706, allocations: 166.6 kB / 0.5023 GB, free: 97.29 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007755/0.7068, allocations: 470.3 kB / 0.5028 GB, free: 97.13 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.787e-05/0.7069, allocations: 32.34 kB / 0.5028 GB, free: 97.1 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.161e-05/0.7069, allocations: 98.98 kB / 0.5029 GB, free: 97.02 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.137e-05/0.707, allocations: 28 kB / 0.5029 GB, free: 97.01 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.359e-05/0.707, allocations: 4.438 kB / 0.5029 GB, free: 97.01 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.797e-05/0.7071, allocations: 322.5 kB / 0.5032 GB, free: 96.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.7073, allocations: 64.03 kB / 0.5033 GB, free: 96.7 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002031/0.7075, allocations: 85.48 kB / 0.5034 GB, free: 96.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.7077, allocations: 174.5 kB / 0.5035 GB, free: 96.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.7077, allocations: 2.969 kB / 0.5035 GB, free: 96.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006876/0.7084, allocations: 412.7 kB / 0.5039 GB, free: 96.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.598e-05/0.7085, allocations: 125.3 kB / 0.504 GB, free: 96.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.7085, allocations: 0.6875 kB / 0.504 GB, free: 96.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.7085, allocations: 9.219 kB / 0.5041 GB, free: 96.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.894e-05/0.7086, allocations: 1.844 kB / 0.5041 GB, free: 96.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.7086, allocations: 0.9688 kB / 0.5041 GB, free: 96.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001584/0.7088, allocations: 20.08 kB / 0.5041 GB, free: 96.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001721/0.7089, allocations: 115.6 kB / 0.5042 GB, free: 96.26 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.0003286/0.7093, allocations: 364.2 kB / 0.5045 GB, free: 96 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.619e-05/0.7093, allocations: 39.44 kB / 0.5046 GB, free: 95.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.7095, allocations: 63.81 kB / 0.5046 GB, free: 95.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.7095, allocations: 4.547 kB / 0.5046 GB, free: 95.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.7095, allocations: 1.812 kB / 0.5046 GB, free: 95.94 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.7095, allocations: 1.094 kB / 0.5046 GB, free: 95.94 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001037/0.7105, allocations: 0.839 MB / 0.5055 GB, free: 95.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.7106, allocations: 1 kB / 0.5055 GB, free: 95.49 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.95e-06/0.7106, allocations: 5.109 kB / 0.5055 GB, free: 95.49 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.7106, allocations: 5.688 kB / 0.5055 GB, free: 95.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.365e-05/0.7106, allocations: 19.09 kB / 0.5055 GB, free: 95.48 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.7106, allocations: 1.719 kB / 0.5055 GB, free: 95.48 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7106, allocations: 5.531 kB / 0.5055 GB, free: 95.48 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007225/0.7114, allocations: 0.5551 MB / 0.506 GB, free: 95.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003624/0.7117, allocations: 256.8 kB / 0.5063 GB, free: 95.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.546e-05/0.7118, allocations: 19.25 kB / 0.5063 GB, free: 95.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001487/0.712, allocations: 14.14 kB / 0.5063 GB, free: 95.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/0.7121, allocations: 35.92 kB / 0.5063 GB, free: 95.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001601/0.7123, allocations: 118.9 kB / 0.5065 GB, free: 95.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004756/0.7128, allocations: 388.4 kB / 0.5068 GB, free: 94.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.7128, allocations: 2.719 kB / 0.5068 GB, free: 94.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003089/0.7131, allocations: 44.19 kB / 0.5069 GB, free: 94.92 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.0001678/0.7133, allocations: 113 kB / 0.507 GB, free: 94.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005842/0.7139, allocations: 450.6 kB / 0.5074 GB, free: 94.58 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.86e-05/0.7139, allocations: 96 / 0.5074 GB, free: 94.58 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003284/0.7142, allocations: 391.3 kB / 0.5078 GB, free: 94.32 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004592/0.7147, allocations: 95.66 kB / 0.5079 GB, free: 94.32 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009128/0.7156, allocations: 0.7395 MB / 0.5086 GB, free: 93.92 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002613/0.7159, allocations: 0.8105 MB / 0.5094 GB, free: 93.2 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 3.903e-05/0.7159, allocations: 5.219 kB / 0.5094 GB, free: 93.19 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.642e-05/0.7159, allocations: 11.16 kB / 0.5094 GB, free: 93.19 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.716, allocations: 0 / 0.5094 GB, free: 93.19 MB / 378.7 MB Notification: Performance of Templates: time 0.006524/0.7225, allocations: 5.626 MB / 0.5149 GB, free: 92.64 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches