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.001283/0.001283, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.001574/0.001574, allocations: 211.3 kB / 23.73 MB, free: 4.523 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.487/1.487, allocations: 230.6 MB / 257.5 MB, free: 7.805 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.001581/0.001581, allocations: 55.86 kB / 378.2 MB, free: 2.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3594/0.361, allocations: 53.37 MB / 431.6 MB, free: 6.73 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.004535/0.3655, allocations: 1.491 MB / 433.1 MB, free: 5.234 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003228/0.3687, allocations: 0.842 MB / 433.9 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.822e-05/0.3688, allocations: 4 kB / 433.9 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000135/0.369, allocations: 7.922 kB / 433.9 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.3691, allocations: 19.8 kB / 433.9 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004012/0.3695, allocations: 55.88 kB / 434 MB, free: 4.301 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003413/0.3698, allocations: 131.8 kB / 434.1 MB, free: 4.172 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.37, allocations: 19.92 kB / 434.1 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007234/0.3707, allocations: 387.3 kB / 434.5 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001934/0.3709, allocations: 79.67 kB / 434.6 MB, free: 3.695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.07e-05/0.3709, allocations: 8 kB / 434.6 MB, free: 3.688 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.816e-05/0.371, allocations: 12 kB / 434.6 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.3711, allocations: 63.7 kB / 434.7 MB, free: 3.613 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001591/0.3713, allocations: 79.36 kB / 434.8 MB, free: 3.535 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005988/0.3719, allocations: 363.7 kB / 435.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3719, allocations: 0 / 435.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.3719, allocations: 0 / 435.1 MB, free: 3.184 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.535e-06/0.3719, allocations: 0 / 435.1 MB, free: 3.184 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.001082/0.373, allocations: 0.6514 MB / 435.8 MB, free: 2.477 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.373, allocations: 12.03 kB / 435.8 MB, free: 2.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.955e-05/0.3731, allocations: 40.7 kB / 435.8 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.3735, allocations: 220.7 kB / 436 MB, free: 2.184 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3e-05/0.3736, allocations: 12.38 kB / 436 MB, free: 2.172 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/0.3736, allocations: 4.375 kB / 436 MB, free: 2.168 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005296/0.3741, allocations: 244.7 kB / 436.3 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.292e-05/0.3741, allocations: 0 / 436.3 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.186e-05/0.3742, allocations: 4 kB / 436.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.3742, allocations: 0 / 436.3 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003127/0.3745, allocations: 174.8 kB / 436.5 MB, free: 1.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008964/0.3754, allocations: 400.1 kB / 436.9 MB, free: 1.277 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003398/0.3757, allocations: 193.3 kB / 437 MB, free: 1.055 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003024/0.376, allocations: 175.7 kB / 437.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.376, allocations: 0 / 437.2 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006328/0.3767, allocations: 325.4 kB / 437.5 MB, free: 500 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.684e-06/0.3767, allocations: 0 / 437.5 MB, free: 500 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001362/0.378, allocations: 0.6923 MB / 438.2 MB, free: 15.72 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001406/0.3782, allocations: 170.2 kB / 438.4 MB, free: 15.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009571/0.3791, allocations: 0.513 MB / 438.9 MB, free: 14.99 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.126e-05/0.3792, allocations: 33.7 kB / 438.9 MB, free: 14.95 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.3793, allocations: 105 kB / 439 MB, free: 14.85 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.353e-05/0.3793, allocations: 23.86 kB / 439.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001617/0.3795, allocations: 85.5 kB / 439.1 MB, free: 14.73 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001917/0.3797, allocations: 326.8 kB / 439.5 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002763/0.38, allocations: 170.8 kB / 439.6 MB, free: 14.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00029/0.3803, allocations: 195.7 kB / 439.8 MB, free: 14 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/0.3808, allocations: 351.2 kB / 440.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3808, allocations: 0 / 440.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0008839/0.3817, allocations: 499.2 kB / 440.6 MB, free: 13.05 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001361/0.3818, allocations: 130.8 kB / 440.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3818, allocations: 0 / 440.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3818, allocations: 0 / 440.8 MB, free: 12.9 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.607e-05/0.3818, allocations: 7.938 kB / 440.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.3818, allocations: 0 / 440.8 MB, free: 12.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/0.382, allocations: 11.95 kB / 440.8 MB, free: 12.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.563e-05/0.3821, allocations: 39.98 kB / 440.8 MB, free: 12.84 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.0005429/0.3827, allocations: 366.4 kB / 441.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.676e-05/0.3827, allocations: 43.8 kB / 441.2 MB, free: 12.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001576/0.3829, allocations: 71.11 kB / 441.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.616e-06/0.3829, allocations: 0 / 441.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/0.3829, allocations: 0 / 441.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.3829, allocations: 0 / 441.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001525/0.3844, allocations: 0.8618 MB / 442.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.3844, allocations: 0 / 442.2 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-06/0.3844, allocations: 7.875 kB / 442.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.796e-06/0.3844, allocations: 0 / 442.2 MB, free: 11.38 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.562e-05/0.3845, allocations: 12 kB / 442.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.3845, allocations: 3.984 kB / 442.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.3845, allocations: 0 / 442.2 MB, free: 11.37 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.3855, allocations: 0.6453 MB / 442.8 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006534/0.3862, allocations: 209.3 kB / 443 MB, free: 10.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.287e-05/0.3863, allocations: 12 kB / 443.1 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000215/0.3865, allocations: 8 kB / 443.1 MB, free: 10.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.3867, allocations: 23.97 kB / 443.1 MB, free: 10.41 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.096e-05/0.3867, allocations: 43.92 kB / 443.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0007541/0.3875, allocations: 390.9 kB / 443.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3875, allocations: 4 kB / 443.5 MB, free: 9.984 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004764/0.388, allocations: 47.94 kB / 443.6 MB, free: 9.938 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.0001874/0.3882, allocations: 115 kB / 443.7 MB, free: 9.816 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.3893, allocations: 0.6046 MB / 444.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.3893, allocations: 0 / 444.3 MB, free: 9.113 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007724/0.3901, allocations: 428.3 kB / 444.7 MB, free: 8.621 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009201/0.391, allocations: 122.1 kB / 444.8 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001727/0.3927, allocations: 0.7771 MB / 445.6 MB, free: 7.684 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000378/0.3931, allocations: 194.4 kB / 445.8 MB, free: 7.473 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.825e-05/0.3932, allocations: 8.656 kB / 445.8 MB, free: 7.461 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.231e-05/0.3932, allocations: 15.44 kB / 445.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3932, allocations: 0 / 445.8 MB, free: 7.445 MB / 350.1 MB Notification: Performance of Templates: time 0.01341/0.4066, allocations: 4.838 MB / 450.6 MB, free: 2.676 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins/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: 4.917103933170438]