Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001583/0.001583, allocations: 111.4 kB / 21.17 MB, free: 0.7734 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001726/0.001726, allocations: 209.5 kB / 24.47 MB, free: 4.379 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.493/1.493, allocations: 230.4 MB / 258.1 MB, free: 8.152 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.0022/0.0022, allocations: 59.84 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3221/0.3243, allocations: 53.32 MB / 432 MB, free: 7.387 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003485/0.3277, allocations: 1.545 MB / 433.6 MB, free: 5.84 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002092/0.3298, allocations: 0.9043 MB / 434.5 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.947e-05/0.3299, allocations: 0 / 434.5 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.729e-05/0.33, allocations: 7.922 kB / 434.5 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.499e-05/0.3301, allocations: 15.81 kB / 434.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003575/0.3305, allocations: 51.88 kB / 434.6 MB, free: 4.855 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.3307, allocations: 131.8 kB / 434.7 MB, free: 4.727 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001026/0.3308, allocations: 15.98 kB / 434.7 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006191/0.3314, allocations: 403.2 kB / 435.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.3315, allocations: 63.77 kB / 435.2 MB, free: 4.254 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.3316, allocations: 8 kB / 435.2 MB, free: 4.246 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.015e-05/0.3316, allocations: 12 kB / 435.2 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001693/0.3318, allocations: 63.7 kB / 435.2 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.3319, allocations: 119.1 kB / 435.4 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004092/0.3323, allocations: 352.1 kB / 435.7 MB, free: 3.711 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.449e-06/0.3323, allocations: 3.938 kB / 435.7 MB, free: 3.707 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3323, allocations: 0 / 435.7 MB, free: 3.707 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.169e-05/0.3324, allocations: 0 / 435.7 MB, free: 3.707 MB / 334.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.0009003/0.3333, allocations: 0.7344 MB / 436.4 MB, free: 2.898 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.34e-05/0.3333, allocations: 12.03 kB / 436.5 MB, free: 2.887 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.67e-05/0.3334, allocations: 36.7 kB / 436.5 MB, free: 2.852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003571/0.3337, allocations: 282.6 kB / 436.8 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.3338, allocations: 4.375 kB / 436.8 MB, free: 2.531 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.676e-05/0.3338, allocations: 8.375 kB / 436.8 MB, free: 2.523 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003208/0.3341, allocations: 129 kB / 436.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.055e-06/0.3341, allocations: 0 / 436.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.3341, allocations: 8 kB / 436.9 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.3341, allocations: 4 kB / 436.9 MB, free: 2.383 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.3343, allocations: 55.97 kB / 437 MB, free: 2.328 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008204/0.3351, allocations: 464.5 kB / 437.4 MB, free: 1.824 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000181/0.3353, allocations: 74.55 kB / 437.5 MB, free: 1.742 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001343/0.3354, allocations: 56.89 kB / 437.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.104e-05/0.3354, allocations: 0 / 437.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004338/0.3359, allocations: 214.6 kB / 437.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.3359, allocations: 0 / 437.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009017/0.3368, allocations: 464.3 kB / 438.2 MB, free: 0.9648 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/0.3369, allocations: 162.2 kB / 438.4 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006973/0.3376, allocations: 0.5208 MB / 438.9 MB, free: 240 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.07e-05/0.3376, allocations: 29.7 kB / 438.9 MB, free: 204 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.348e-05/0.3377, allocations: 105.2 kB / 439 MB, free: 96 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.646e-05/0.3378, allocations: 43.66 kB / 439.1 MB, free: 52 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001494/0.3379, allocations: 85.45 kB / 439.1 MB, free: 15.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3381, allocations: 326.8 kB / 439.5 MB, free: 15.63 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001259/0.3382, allocations: 51.97 kB / 439.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.3384, allocations: 77.67 kB / 439.6 MB, free: 15.5 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003643/0.3387, allocations: 339.3 kB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3387, allocations: 4 kB / 439.9 MB, free: 15.11 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006466/0.3394, allocations: 371.3 kB / 440.3 MB, free: 14.72 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001256/0.3395, allocations: 126.8 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.3395, allocations: 0 / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3395, allocations: 0 / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.736e-05/0.3395, allocations: 4 kB / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3395, allocations: 0 / 440.4 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001446/0.3397, allocations: 19.94 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.787e-05/0.3397, allocations: 36 kB / 440.5 MB, free: 14.51 MB / 350.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.0003957/0.3401, allocations: 370.2 kB / 440.8 MB, free: 14.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.3402, allocations: 35.81 kB / 440.9 MB, free: 14.08 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001078/0.3403, allocations: 63.16 kB / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3403, allocations: 0 / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3403, allocations: 0 / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3403, allocations: 0 / 440.9 MB, free: 14.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.3414, allocations: 0.8095 MB / 441.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.3414, allocations: 0 / 441.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.529e-06/0.3414, allocations: 0 / 441.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.3414, allocations: 8 kB / 441.8 MB, free: 13.12 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.3414, allocations: 19.97 kB / 441.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3414, allocations: 3.938 kB / 441.8 MB, free: 13.1 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.3414, allocations: 3.938 kB / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007662/0.3422, allocations: 0.5176 MB / 442.3 MB, free: 12.54 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.3426, allocations: 252.8 kB / 442.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.953e-05/0.3427, allocations: 12 kB / 442.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001366/0.3428, allocations: 15.98 kB / 442.6 MB, free: 12.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.3429, allocations: 27.92 kB / 442.6 MB, free: 12.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.253e-05/0.343, allocations: 43.92 kB / 442.6 MB, free: 12.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004833/0.3435, allocations: 386.9 kB / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3435, allocations: 0 / 443 MB, free: 11.8 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002864/0.3437, allocations: 44 kB / 443.1 MB, free: 11.75 MB / 350.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.0001822/0.3439, allocations: 119 kB / 443.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005257/0.3445, allocations: 377.5 kB / 443.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3445, allocations: 4.062 kB / 443.5 MB, free: 11.2 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003094/0.3448, allocations: 297.6 kB / 443.8 MB, free: 10.86 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006371/0.3454, allocations: 125.5 kB / 444 MB, free: 10.75 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.3466, allocations: 0.7133 MB / 444.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005223/0.3471, allocations: 0.7989 MB / 445.5 MB, free: 9.184 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.647e-05/0.3472, allocations: 15.44 kB / 445.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of SimCode: time 4e-07/0.3472, allocations: 0 / 445.5 MB, free: 9.168 MB / 350.1 MB Notification: Performance of Templates: time 0.004829/0.352, allocations: 2.503 MB / 448 MB, free: 6.676 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.BUF3S.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.5453758062794805]