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/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.001735/0.001735, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.002014/0.002014, allocations: 215.5 kB / 24.48 MB, free: 3.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.482/1.482, allocations: 230.5 MB / 258.1 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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) 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_trunk_Modelica.Electrical.Digital.Examples.BUF3S") translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002148/0.002148, allocations: 63.89 kB / 379 MB, free: 2.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2933, allocations: 53.42 MB / 432.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.00317/0.2965, allocations: 1.483 MB / 433.9 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002104/0.2986, allocations: 0.8343 MB / 434.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.512e-05/0.2987, allocations: 4 kB / 434.7 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.2988, allocations: 11.86 kB / 434.7 MB, free: 4.184 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.221e-05/0.2989, allocations: 15.86 kB / 434.7 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002948/0.2992, allocations: 51.88 kB / 434.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.2994, allocations: 135.7 kB / 434.9 MB, free: 3.984 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.2995, allocations: 19.97 kB / 434.9 MB, free: 3.965 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005036/0.3, allocations: 399.2 kB / 435.3 MB, free: 3.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001341/0.3002, allocations: 55.77 kB / 435.4 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.531e-05/0.3002, allocations: 8 kB / 435.4 MB, free: 3.512 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.454e-05/0.3002, allocations: 16 kB / 435.4 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.767e-05/0.3003, allocations: 63.75 kB / 435.5 MB, free: 3.434 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001145/0.3005, allocations: 83.3 kB / 435.6 MB, free: 3.352 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004015/0.3009, allocations: 361.2 kB / 435.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.3009, allocations: 0 / 435.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3009, allocations: 0 / 435.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.493e-05/0.3009, allocations: 0 / 435.9 MB, free: 3.004 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.0009211/0.3018, allocations: 0.6552 MB / 436.6 MB, free: 2.293 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.665e-05/0.3018, allocations: 15.92 kB / 436.6 MB, free: 2.277 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.433e-05/0.3019, allocations: 40.7 kB / 436.6 MB, free: 2.238 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003099/0.3022, allocations: 220.8 kB / 436.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.268e-05/0.3023, allocations: 12.38 kB / 436.8 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.444e-05/0.3023, allocations: 4.375 kB / 436.9 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004068/0.3027, allocations: 252.6 kB / 437.1 MB, free: 1.703 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.3027, allocations: 3.984 kB / 437.1 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.3027, allocations: 8 kB / 437.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3027, allocations: 0 / 437.1 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002196/0.303, allocations: 174.8 kB / 437.3 MB, free: 1.496 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000731/0.3037, allocations: 388.1 kB / 437.7 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000262/0.304, allocations: 193.3 kB / 437.8 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002169/0.3042, allocations: 183.7 kB / 438 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.143e-05/0.3042, allocations: 0 / 438 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000456/0.3046, allocations: 317.5 kB / 438.3 MB, free: 304 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.523e-06/0.3046, allocations: 0 / 438.3 MB, free: 304 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001011/0.3057, allocations: 0.6965 MB / 439 MB, free: 15.52 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.3058, allocations: 170.2 kB / 439.2 MB, free: 15.32 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007162/0.3065, allocations: 0.5168 MB / 439.7 MB, free: 14.79 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.389e-05/0.3065, allocations: 29.7 kB / 439.7 MB, free: 14.76 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.367e-05/0.3066, allocations: 101.1 kB / 439.8 MB, free: 14.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.932e-05/0.3067, allocations: 27.84 kB / 439.9 MB, free: 14.63 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.3068, allocations: 85.5 kB / 440 MB, free: 14.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3069, allocations: 326.8 kB / 440.3 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002148/0.3072, allocations: 178.7 kB / 440.4 MB, free: 14.01 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002165/0.3074, allocations: 191.3 kB / 440.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003827/0.3078, allocations: 351.3 kB / 441 MB, free: 13.4 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.3078, allocations: 0 / 441 MB, free: 13.4 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006284/0.3084, allocations: 495.1 kB / 441.5 MB, free: 12.86 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001048/0.3085, allocations: 129 kB / 441.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.3085, allocations: 0 / 441.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3085, allocations: 0 / 441.6 MB, free: 12.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.492e-05/0.3085, allocations: 12.02 kB / 441.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3085, allocations: 0 / 441.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.3087, allocations: 11.95 kB / 441.6 MB, free: 12.69 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-05/0.3087, allocations: 36.11 kB / 441.6 MB, free: 12.65 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.0003645/0.3091, allocations: 371 kB / 442 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.01e-05/0.3092, allocations: 39.77 kB / 442 MB, free: 12.22 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.3093, allocations: 67.08 kB / 442.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3093, allocations: 0 / 442.1 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3093, allocations: 3.938 kB / 442.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3093, allocations: 4 kB / 442.1 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001045/0.3103, allocations: 0.8588 MB / 443 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.043e-06/0.3103, allocations: 192 / 443 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.263e-06/0.3103, allocations: 4 kB / 443 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.3103, allocations: 4 kB / 443 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.59e-05/0.3104, allocations: 12 kB / 443 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.3104, allocations: 0 / 443 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3104, allocations: 0 / 443 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007369/0.3111, allocations: 0.6483 MB / 443.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003859/0.3115, allocations: 205.3 kB / 443.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.753e-05/0.3116, allocations: 12 kB / 443.9 MB, free: 10.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.3117, allocations: 15.98 kB / 443.9 MB, free: 10.24 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.909e-05/0.3118, allocations: 23.97 kB / 443.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.706e-05/0.3119, allocations: 43.94 kB / 443.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005162/0.3124, allocations: 390.9 kB / 444.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3124, allocations: 0 / 444.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003034/0.3127, allocations: 47.94 kB / 444.4 MB, free: 9.746 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.0001622/0.3128, allocations: 115 kB / 444.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006727/0.3135, allocations: 0.6046 MB / 445.1 MB, free: 8.922 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.3135, allocations: 4.062 kB / 445.1 MB, free: 8.918 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003878/0.3139, allocations: 424.4 kB / 445.5 MB, free: 8.43 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006294/0.3145, allocations: 119.4 kB / 445.6 MB, free: 8.32 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.3158, allocations: 0.8212 MB / 446.4 MB, free: 7.445 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.3161, allocations: 197.7 kB / 446.6 MB, free: 7.23 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.934e-05/0.3162, allocations: 11.44 kB / 446.6 MB, free: 7.219 MB / 350.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3162, allocations: 4 kB / 446.7 MB, free: 7.215 MB / 350.1 MB Notification: Performance of Templates: time 0.005372/0.3215, allocations: 2.504 MB / 449.2 MB, free: 4.719 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.518455132842064]