Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001338/0.001338, allocations: 196.9 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.351/1.351, allocations: 226.5 MB / 245.4 MB, free: 6.457 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007663/0.0007664, allocations: 100 kB / 297.5 MB, free: 6.652 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002025/0.0002025, allocations: 8 kB / 358.1 MB, free: 10.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2357, allocations: 51.29 MB / 409.4 MB, free: 27.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1052/0.3409, allocations: 83.53 MB / 492.9 MB, free: 7.949 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002266/0.3412, allocations: 67.97 kB / 493 MB, free: 7.883 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2407/0.5818, allocations: 27.24 MB / 0.508 GB, free: 95.06 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.5819, allocations: 3.938 kB / 0.508 GB, free: 95.05 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.665e-05/0.5819, allocations: 8 kB / 0.508 GB, free: 95.05 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.0008271/0.5827, allocations: 0.668 MB / 0.5087 GB, free: 94.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.5828, allocations: 12.91 kB / 0.5087 GB, free: 94.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001166/0.5829, allocations: 38.78 kB / 0.5087 GB, free: 94.46 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002918/0.5832, allocations: 269.9 kB / 0.509 GB, free: 94.22 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.442e-05/0.5833, allocations: 5.188 kB / 0.509 GB, free: 94.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.705e-05/0.5833, allocations: 8.469 kB / 0.509 GB, free: 94.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00036/0.5837, allocations: 152.5 kB / 0.5091 GB, free: 94.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.5837, allocations: 192 / 0.5091 GB, free: 94.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.18e-05/0.5837, allocations: 8.562 kB / 0.5092 GB, free: 94.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.5837, allocations: 0 / 0.5092 GB, free: 94.19 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001752/0.5839, allocations: 70.09 kB / 0.5092 GB, free: 94.19 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009305/0.5849, allocations: 475.3 kB / 0.5097 GB, free: 93.89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002404/0.5851, allocations: 109.6 kB / 0.5098 GB, free: 93.86 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001961/0.5853, allocations: 90.81 kB / 0.5099 GB, free: 93.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.5854, allocations: 0.7188 kB / 0.5099 GB, free: 93.86 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004388/0.5858, allocations: 235.5 kB / 0.5101 GB, free: 93.74 MB / 378.7 MB Notification: Performance of pre-optimization done (n=13): time 2.355e-06/0.5858, allocations: 1.531 kB / 0.5101 GB, free: 93.74 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.001101/0.5869, allocations: 0.525 MB / 0.5106 GB, free: 93.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.638e-05/0.587, allocations: 167.9 kB / 0.5108 GB, free: 93.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000966/0.588, allocations: 0.5117 MB / 0.5113 GB, free: 93.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.947e-05/0.588, allocations: 29.98 kB / 0.5113 GB, free: 93.15 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.231e-05/0.5881, allocations: 103.2 kB / 0.5114 GB, free: 93.06 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.752e-05/0.5882, allocations: 31.38 kB / 0.5114 GB, free: 93.05 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.157e-05/0.5882, allocations: 7.438 kB / 0.5114 GB, free: 93.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.791e-05/0.5883, allocations: 328.5 kB / 0.5117 GB, free: 92.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001716/0.5885, allocations: 60.84 kB / 0.5118 GB, free: 92.73 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001669/0.5886, allocations: 77.94 kB / 0.5119 GB, free: 92.71 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.589, allocations: 366 kB / 0.5122 GB, free: 92.44 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.589, allocations: 0 / 0.5122 GB, free: 92.44 MB / 378.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006825/0.5897, allocations: 437.2 kB / 0.5126 GB, free: 92.28 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001093/0.5898, allocations: 126.1 kB / 0.5128 GB, free: 92.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.5899, allocations: 0 / 0.5128 GB, free: 92.15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.5899, allocations: 0 / 0.5128 GB, free: 92.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.892e-05/0.5899, allocations: 8.25 kB / 0.5128 GB, free: 92.15 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/0.5899, allocations: 3.969 kB / 0.5128 GB, free: 92.15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001852/0.5901, allocations: 18.19 kB / 0.5128 GB, free: 92.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.5903, allocations: 112.4 kB / 0.5129 GB, free: 92.14 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.0003729/0.5906, allocations: 374 kB / 0.5133 GB, free: 91.86 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.112e-05/0.5907, allocations: 33.72 kB / 0.5133 GB, free: 91.84 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001043/0.5908, allocations: 67.31 kB / 0.5134 GB, free: 91.81 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5908, allocations: 3.328 kB / 0.5134 GB, free: 91.81 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.5908, allocations: 0 / 0.5134 GB, free: 91.81 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5908, allocations: 3.438 kB / 0.5134 GB, free: 91.81 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009656/0.5918, allocations: 0.8681 MB / 0.5142 GB, free: 91.35 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.5918, allocations: 0 / 0.5142 GB, free: 91.35 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.292e-06/0.5918, allocations: 0 / 0.5142 GB, free: 91.35 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-06/0.5919, allocations: 7.969 kB / 0.5142 GB, free: 91.35 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.384e-05/0.5919, allocations: 15.59 kB / 0.5142 GB, free: 91.35 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.5919, allocations: 0 / 0.5142 GB, free: 91.35 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5919, allocations: 9.875 kB / 0.5142 GB, free: 91.35 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006761/0.5926, allocations: 0.5848 MB / 0.5148 GB, free: 91.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003448/0.593, allocations: 250.7 kB / 0.515 GB, free: 90.93 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.133e-05/0.593, allocations: 14.62 kB / 0.5151 GB, free: 90.93 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.5932, allocations: 17.58 kB / 0.5151 GB, free: 90.93 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001359/0.5933, allocations: 44.56 kB / 0.5151 GB, free: 90.92 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/0.5935, allocations: 124.8 kB / 0.5152 GB, free: 90.91 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004665/0.5939, allocations: 384.4 kB / 0.5156 GB, free: 90.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/0.594, allocations: 0 / 0.5156 GB, free: 90.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000324/0.5943, allocations: 43.25 kB / 0.5156 GB, free: 90.77 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.0001556/0.5944, allocations: 112.8 kB / 0.5158 GB, free: 90.67 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004815/0.5949, allocations: 450.2 kB / 0.5162 GB, free: 90.42 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5949, allocations: 4.062 kB / 0.5162 GB, free: 90.42 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002606/0.5952, allocations: 380.5 kB / 0.5166 GB, free: 90.09 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005898/0.5958, allocations: 116 kB / 0.5167 GB, free: 90.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001122/0.5969, allocations: 0.7434 MB / 0.5174 GB, free: 89.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.5973, allocations: 0.8022 MB / 0.5182 GB, free: 88.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.587e-05/0.5974, allocations: 8.594 kB / 0.5182 GB, free: 88.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.193e-05/0.5974, allocations: 11.38 kB / 0.5182 GB, free: 88.87 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5974, allocations: 4 kB / 0.5182 GB, free: 88.86 MB / 378.7 MB Notification: Performance of Templates: time 0.007691/0.6051, allocations: 5.633 MB / 0.5237 GB, free: 87.25 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches