Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001364/0.001364, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001494/0.001494, allocations: 216.4 kB / 24.48 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.582/1.582, allocations: 230.6 MB / 258.2 MB, free: 7.789 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00177/0.00177, allocations: 47.92 kB / 379 MB, free: 2.473 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3893/0.3911, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.003087/0.3942, allocations: 1.499 MB / 433.8 MB, free: 5.215 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00259/0.3968, allocations: 0.8265 MB / 434.7 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.597e-05/0.3969, allocations: 4 kB / 434.7 MB, free: 4.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001133/0.397, allocations: 15.86 kB / 434.7 MB, free: 4.363 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001128/0.3971, allocations: 19.84 kB / 434.7 MB, free: 4.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003086/0.3974, allocations: 51.89 kB / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002714/0.3977, allocations: 135.7 kB / 434.9 MB, free: 4.16 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001119/0.3978, allocations: 19.91 kB / 434.9 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005781/0.3984, allocations: 391.3 kB / 435.3 MB, free: 3.758 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001535/0.3985, allocations: 75.69 kB / 435.3 MB, free: 3.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.49e-05/0.3986, allocations: 8 kB / 435.4 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.932e-05/0.3986, allocations: 12 kB / 435.4 MB, free: 3.664 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.3987, allocations: 67.7 kB / 435.4 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001203/0.3988, allocations: 79.41 kB / 435.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004567/0.3993, allocations: 361.1 kB / 435.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.3993, allocations: 0 / 435.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3993, allocations: 0 / 435.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3993, allocations: 0 / 435.9 MB, free: 3.172 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.0009431/0.4002, allocations: 0.6629 MB / 436.5 MB, free: 2.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.4003, allocations: 8.031 kB / 436.5 MB, free: 2.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.487e-05/0.4004, allocations: 44.7 kB / 436.6 MB, free: 2.402 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.4007, allocations: 212.8 kB / 436.8 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.62e-05/0.4007, allocations: 8.375 kB / 436.8 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.427e-05/0.4008, allocations: 12.38 kB / 436.8 MB, free: 2.148 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000441/0.4012, allocations: 240.7 kB / 437 MB, free: 1.883 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.4012, allocations: 4 kB / 437 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.432e-05/0.4012, allocations: 0 / 437 MB, free: 1.879 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.4013, allocations: 7.938 kB / 437.1 MB, free: 1.871 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002556/0.4015, allocations: 174.8 kB / 437.2 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007766/0.4023, allocations: 384.2 kB / 437.6 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000298/0.4026, allocations: 193.3 kB / 437.8 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002762/0.4029, allocations: 179.7 kB / 438 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.4029, allocations: 4 kB / 438 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005455/0.4034, allocations: 321.5 kB / 438.3 MB, free: 488 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.653e-06/0.4034, allocations: 0 / 438.3 MB, free: 488 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001233/0.4047, allocations: 0.6961 MB / 439 MB, free: 15.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001351/0.4048, allocations: 170.2 kB / 439.1 MB, free: 15.5 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008602/0.4056, allocations: 0.5168 MB / 439.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.4057, allocations: 29.7 kB / 439.7 MB, free: 14.94 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/0.4058, allocations: 97.12 kB / 439.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.674e-05/0.4058, allocations: 19.86 kB / 439.8 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/0.406, allocations: 89.5 kB / 439.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4061, allocations: 330.8 kB / 440.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000256/0.4064, allocations: 170.9 kB / 440.4 MB, free: 14.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002714/0.4067, allocations: 200.4 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000512/0.4072, allocations: 347.3 kB / 440.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.4072, allocations: 0 / 440.9 MB, free: 13.58 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000845/0.408, allocations: 499.1 kB / 441.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.4081, allocations: 122.8 kB / 441.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.4082, allocations: 7.922 kB / 441.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.4082, allocations: 0 / 441.5 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.852e-05/0.4082, allocations: 4 kB / 441.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.707e-06/0.4082, allocations: 8.031 kB / 441.5 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001769/0.4084, allocations: 11.95 kB / 441.6 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.066e-05/0.4085, allocations: 39.98 kB / 441.6 MB, free: 12.82 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.0004609/0.4089, allocations: 366.4 kB / 442 MB, free: 12.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.409, allocations: 39.77 kB / 442 MB, free: 12.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001609/0.4092, allocations: 67.09 kB / 442.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.4092, allocations: 0 / 442.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.4092, allocations: 0 / 442.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4092, allocations: 3.984 kB / 442.1 MB, free: 12.32 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/0.4106, allocations: 0.8666 MB / 442.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.4106, allocations: 0 / 442.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.731e-06/0.4106, allocations: 0 / 442.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-06/0.4106, allocations: 0 / 442.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.811e-05/0.4107, allocations: 12 kB / 442.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4107, allocations: 0 / 442.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4107, allocations: 0 / 442.9 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.4117, allocations: 0.6519 MB / 443.6 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005567/0.4122, allocations: 201.3 kB / 443.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.352e-05/0.4123, allocations: 15.98 kB / 443.8 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001937/0.4125, allocations: 11.94 kB / 443.8 MB, free: 10.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.4126, allocations: 27.97 kB / 443.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.767e-05/0.4127, allocations: 39.94 kB / 443.9 MB, free: 10.35 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006397/0.4133, allocations: 390.9 kB / 444.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4133, allocations: 0 / 444.3 MB, free: 9.973 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004213/0.4137, allocations: 47.94 kB / 444.3 MB, free: 9.926 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.0001719/0.4139, allocations: 111 kB / 444.4 MB, free: 9.809 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008976/0.4148, allocations: 0.6046 MB / 445 MB, free: 9.105 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.4148, allocations: 4 kB / 445 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004687/0.4153, allocations: 428.4 kB / 445.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008222/0.4161, allocations: 125.8 kB / 445.6 MB, free: 8.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.4178, allocations: 0.7732 MB / 446.3 MB, free: 7.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.4181, allocations: 190.3 kB / 446.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.921e-05/0.4182, allocations: 8.656 kB / 446.5 MB, free: 7.457 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.164e-05/0.4182, allocations: 15.44 kB / 446.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of SimCode: time 4.5e-07/0.4182, allocations: 0 / 446.6 MB, free: 7.441 MB / 350.1 MB Notification: Performance of Templates: time 0.01102/0.4292, allocations: 4.852 MB / 451.4 MB, free: 2.656 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 6.285295788999065]