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.001064/0.001065, allocations: 176.1 kB / 17.4 MB, free: 4.418 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.488/1.488, allocations: 223.3 MB / 241.4 MB, free: 10 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.0007751/0.0007753, allocations: 107 kB / 292.6 MB, free: 10.57 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003332/0.0003332, allocations: 15.94 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2715, allocations: 50.41 MB / 402.7 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1079/0.3794, allocations: 82.82 MB / 485.6 MB, free: 13.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/0.3797, allocations: 67.97 kB / 485.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05679/0.4365, allocations: 27.18 MB / 0.5008 GB, free: 2.359 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.4366, allocations: 0 / 0.5008 GB, free: 2.359 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.4366, allocations: 4 kB / 0.5008 GB, free: 2.355 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.0009662/0.4376, allocations: 0.6724 MB / 0.5015 GB, free: 1.605 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.4376, allocations: 12.03 kB / 0.5015 GB, free: 1.594 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001212/0.4377, allocations: 36.55 kB / 0.5015 GB, free: 1.559 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.4381, allocations: 270.4 kB / 0.5018 GB, free: 1.258 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/0.4382, allocations: 8.375 kB / 0.5018 GB, free: 1.25 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.061e-05/0.4382, allocations: 8.375 kB / 0.5018 GB, free: 1.242 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003777/0.4386, allocations: 154 kB / 0.5019 GB, free: 1.086 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.4386, allocations: 192 / 0.5019 GB, free: 1.086 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.062e-05/0.4387, allocations: 11.94 kB / 0.5019 GB, free: 1.074 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.304e-06/0.4387, allocations: 4 kB / 0.5019 GB, free: 1.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001682/0.4389, allocations: 67.94 kB / 0.502 GB, free: 1.004 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008382/0.4397, allocations: 484.4 kB / 0.5025 GB, free: 492 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000203/0.4399, allocations: 94.55 kB / 0.5026 GB, free: 388 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001589/0.4401, allocations: 92.88 kB / 0.5026 GB, free: 292 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.959e-06/0.4401, allocations: 0 / 0.5026 GB, free: 292 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003345/0.4405, allocations: 230.8 kB / 0.5029 GB, free: 36 kB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.4405, allocations: 4 kB / 0.5029 GB, free: 32 kB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.2357/0.6762, allocations: 0.5136 MB / 0.5034 GB, free: 97.42 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.702e-05/0.6763, allocations: 167 kB / 0.5035 GB, free: 97.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008694/0.6772, allocations: 0.518 MB / 0.504 GB, free: 97.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.407e-05/0.6772, allocations: 31.23 kB / 0.5041 GB, free: 97.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.436e-05/0.6773, allocations: 97 kB / 0.5042 GB, free: 96.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.437e-05/0.6773, allocations: 29.23 kB / 0.5042 GB, free: 96.94 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.026e-05/0.6774, allocations: 5.25 kB / 0.5042 GB, free: 96.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.887e-05/0.6775, allocations: 327.8 kB / 0.5045 GB, free: 96.62 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.6776, allocations: 64.11 kB / 0.5046 GB, free: 96.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.6778, allocations: 81.11 kB / 0.5046 GB, free: 96.61 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003764/0.6782, allocations: 362.4 kB / 0.505 GB, free: 96.34 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6782, allocations: 2.625 kB / 0.505 GB, free: 96.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006924/0.6789, allocations: 441.1 kB / 0.5054 GB, free: 96.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.852e-05/0.679, allocations: 125.3 kB / 0.5055 GB, free: 96.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.909e-06/0.679, allocations: 1.875 kB / 0.5055 GB, free: 96.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.679, allocations: 0 / 0.5055 GB, free: 96.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.424e-05/0.6791, allocations: 4.391 kB / 0.5055 GB, free: 96.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.6791, allocations: 7.5 kB / 0.5055 GB, free: 96.06 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001483/0.6792, allocations: 13.2 kB / 0.5056 GB, free: 96.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001895/0.6794, allocations: 119.2 kB / 0.5057 GB, free: 96.05 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.0003239/0.6797, allocations: 358.7 kB / 0.506 GB, free: 95.79 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.748e-05/0.6798, allocations: 41.69 kB / 0.5061 GB, free: 95.77 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001166/0.6799, allocations: 64.05 kB / 0.5061 GB, free: 95.73 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.68, allocations: 1.094 kB / 0.5061 GB, free: 95.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.711e-06/0.68, allocations: 2.5 kB / 0.5061 GB, free: 95.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.68, allocations: 2.719 kB / 0.5061 GB, free: 95.73 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.6811, allocations: 0.8755 MB / 0.507 GB, free: 95.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.6811, allocations: 2.156 kB / 0.507 GB, free: 95.27 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.659e-06/0.6811, allocations: 0 / 0.507 GB, free: 95.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.6811, allocations: 3.656 kB / 0.507 GB, free: 95.27 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.94e-05/0.6812, allocations: 24.56 kB / 0.507 GB, free: 95.27 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.6812, allocations: 0 / 0.507 GB, free: 95.27 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.6812, allocations: 0 / 0.507 GB, free: 95.27 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006374/0.6818, allocations: 0.5794 MB / 0.5076 GB, free: 95 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002847/0.6821, allocations: 256.5 kB / 0.5078 GB, free: 94.86 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.987e-05/0.6822, allocations: 11.78 kB / 0.5078 GB, free: 94.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.6823, allocations: 12.61 kB / 0.5078 GB, free: 94.86 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001306/0.6825, allocations: 33.27 kB / 0.5079 GB, free: 94.86 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002365/0.6827, allocations: 127.5 kB / 0.508 GB, free: 94.86 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004943/0.6832, allocations: 390.4 kB / 0.5084 GB, free: 94.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6832, allocations: 0 / 0.5084 GB, free: 94.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002948/0.6835, allocations: 44.75 kB / 0.5084 GB, free: 94.71 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.0001227/0.6836, allocations: 125.7 kB / 0.5085 GB, free: 94.62 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004302/0.6841, allocations: 448.6 kB / 0.509 GB, free: 94.37 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.6841, allocations: 0 / 0.509 GB, free: 94.37 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002586/0.6844, allocations: 390.4 kB / 0.5093 GB, free: 94.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005753/0.6849, allocations: 108.7 kB / 0.5094 GB, free: 94.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009649/0.6859, allocations: 0.7401 MB / 0.5102 GB, free: 93.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002508/0.6862, allocations: 0.7996 MB / 0.5109 GB, free: 92.99 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.38e-05/0.6862, allocations: 15.38 kB / 0.511 GB, free: 92.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.488e-05/0.6863, allocations: 11.41 kB / 0.511 GB, free: 92.97 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6863, allocations: 0 / 0.511 GB, free: 92.97 MB / 378.7 MB Notification: Performance of Templates: time 0.006538/0.6928, allocations: 5.646 MB / 0.5165 GB, free: 92.43 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/jenkins1/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