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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 101 kB / 17.59 MB, free: 5.441 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 187.3 kB / 18.51 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.31/1.31, allocations: 222.9 MB / 242.2 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009828/0.0009828, allocations: 50.52 kB / 301.3 MB, free: 5.902 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0844/0.0854, allocations: 49.45 MB / 350.7 MB, free: 4.449 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002622/0.08805, allocations: 1.513 MB / 352.2 MB, free: 2.918 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001746/0.08983, allocations: 0.8434 MB / 353.1 MB, free: 2.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.453e-05/0.08991, allocations: 4 kB / 353.1 MB, free: 2.066 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.437e-05/0.09005, allocations: 15.86 kB / 353.1 MB, free: 2.051 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 7.911e-05/0.09014, allocations: 23.8 kB / 353.1 MB, free: 2.027 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000255/0.0904, allocations: 52.88 kB / 353.2 MB, free: 1.977 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001929/0.0906, allocations: 143.7 kB / 353.3 MB, free: 1.836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.09073, allocations: 27.97 kB / 353.3 MB, free: 1.809 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004149/0.09115, allocations: 375.3 kB / 353.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.09129, allocations: 63.77 kB / 353.8 MB, free: 1.379 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 4.631e-05/0.09134, allocations: 12 kB / 353.8 MB, free: 1.367 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.854e-05/0.09139, allocations: 8 kB / 353.8 MB, free: 1.359 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.09149, allocations: 67.7 kB / 353.9 MB, free: 1.293 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000117/0.09162, allocations: 111.2 kB / 354 MB, free: 1.184 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003561/0.09198, allocations: 354.8 kB / 354.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.09199, allocations: 0 / 354.3 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.092, allocations: 4 kB / 354.3 MB, free: 0.832 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.282e-06/0.09202, allocations: 0 / 354.3 MB, free: 0.832 MB / 286.1 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.0007403/0.09276, allocations: 0.7216 MB / 355 MB, free: 40 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.09281, allocations: 8.031 kB / 355 MB, free: 32 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.97e-05/0.0929, allocations: 40.52 kB / 355.1 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002749/0.09319, allocations: 270.3 kB / 355.4 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.09322, allocations: 8.375 kB / 355.4 MB, free: 15.68 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.003e-05/0.09326, allocations: 8.312 kB / 355.4 MB, free: 15.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003042/0.09357, allocations: 133.9 kB / 355.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.0936, allocations: 4 kB / 355.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.633e-05/0.09363, allocations: 4 kB / 355.5 MB, free: 15.53 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.09364, allocations: 3.938 kB / 355.5 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.09378, allocations: 55.97 kB / 355.6 MB, free: 15.47 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006247/0.09442, allocations: 456.4 kB / 356 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001824/0.09461, allocations: 98.55 kB / 356.1 MB, free: 14.87 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001446/0.09477, allocations: 80.89 kB / 356.2 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.259e-05/0.09479, allocations: 3.984 kB / 356.2 MB, free: 14.78 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003626/0.09516, allocations: 198.7 kB / 356.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of pre-optimization done (n=13): time 3.336e-06/0.09517, allocations: 0 / 356.4 MB, free: 14.56 MB / 302.1 MB Notification: Performance of matching and sorting (n=13): time 0.0007743/0.09595, allocations: 463.1 kB / 356.8 MB, free: 14.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.906e-05/0.09605, allocations: 170.2 kB / 357 MB, free: 13.88 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006092/0.09667, allocations: 0.5246 MB / 357.5 MB, free: 13.34 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.0967, allocations: 29.7 kB / 357.6 MB, free: 13.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.09678, allocations: 101.1 kB / 357.7 MB, free: 13.21 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.205e-05/0.09683, allocations: 35.58 kB / 357.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.09694, allocations: 77.41 kB / 357.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001067/0.09706, allocations: 326.8 kB / 358.1 MB, free: 12.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001278/0.09719, allocations: 59.97 kB / 358.1 MB, free: 12.7 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001287/0.09733, allocations: 69.69 kB / 358.2 MB, free: 12.63 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003241/0.09766, allocations: 343.4 kB / 358.5 MB, free: 12.24 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.09767, allocations: 3.938 kB / 358.5 MB, free: 12.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005097/0.09819, allocations: 380.2 kB / 358.9 MB, free: 11.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.742e-05/0.0983, allocations: 122.8 kB / 359 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.09831, allocations: 0 / 359 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.09833, allocations: 0 / 359 MB, free: 11.69 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.322e-05/0.09836, allocations: 4 kB / 359 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.09837, allocations: 4.031 kB / 359 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001321/0.09851, allocations: 15.98 kB / 359.1 MB, free: 11.66 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.131e-05/0.09857, allocations: 36 kB / 359.1 MB, free: 11.63 MB / 302.1 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,bUF3S.inertialDelaySensitive.t_next,bUF3S.inertialDelaySensitive.lh,bUF3S.inertialDelaySensitive.y_old,bUF3S.inertialDelaySensitive.y_auxiliary,bUF3S.inertialDelaySensitive.delayTime,bUF3S.inertialDelaySensitive.y,bUF3S.inertialDelaySensitive.x,$PRE.bUF3S.inertialDelaySensitive.x,bUF3S.yy,bUF3S.nextstate,x_table.y,e_table.y,$whenCondition2,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003168/0.09889, allocations: 366.2 kB / 359.5 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.09895, allocations: 35.53 kB / 359.5 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.622e-05/0.09906, allocations: 71.14 kB / 359.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.568e-06/0.09907, allocations: 112 / 359.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.09908, allocations: 3.938 kB / 359.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/0.09909, allocations: 4 kB / 359.6 MB, free: 11.12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009036/0.1, allocations: 0.8093 MB / 360.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.1, allocations: 0 / 360.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.242e-06/0.1, allocations: 3.984 kB / 360.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1, allocations: 0 / 360.4 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.1001, allocations: 12 kB / 360.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/0.1001, allocations: 3.984 kB / 360.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.1001, allocations: 7.938 kB / 360.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006024/0.1007, allocations: 0.5253 MB / 360.9 MB, free: 9.637 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002862/0.101, allocations: 240.4 kB / 361.2 MB, free: 9.383 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.067e-05/0.1011, allocations: 20.05 kB / 361.2 MB, free: 9.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001318/0.1012, allocations: 8 kB / 361.2 MB, free: 9.355 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.1013, allocations: 31.91 kB / 361.2 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.793e-05/0.1014, allocations: 39.94 kB / 361.3 MB, free: 9.285 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004383/0.1018, allocations: 390.9 kB / 361.6 MB, free: 8.906 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1018, allocations: 0 / 361.6 MB, free: 8.906 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002887/0.1021, allocations: 43.94 kB / 361.7 MB, free: 8.863 MB / 302.1 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001304/0.1023, allocations: 123 kB / 361.8 MB, free: 8.734 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000494/0.1028, allocations: 433.5 kB / 362.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1028, allocations: 0 / 362.2 MB, free: 8.262 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000304/0.1031, allocations: 381.6 kB / 362.6 MB, free: 7.84 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006173/0.1037, allocations: 115.5 kB / 362.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.1048, allocations: 0.7061 MB / 363.4 MB, free: 6.996 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003906/0.1052, allocations: 0.8061 MB / 364.2 MB, free: 6.164 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.1052, allocations: 11.44 kB / 364.2 MB, free: 6.152 MB / 302.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1052, allocations: 0 / 364.2 MB, free: 6.152 MB / 302.1 MB Notification: Performance of Templates: time 0.004176/0.1094, allocations: 2.509 MB / 366.7 MB, free: 3.664 MB / 302.1 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches