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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00182/0.00182, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 181.5 kB / 23.71 MB, free: 4.695 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 225.6 MB / 252.5 MB, free: 12.99 MB / 206.1 MB
"
[Timeout remaining time 178]
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=5014,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=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001552/0.001552, allocations: 51.92 kB / 370.9 MB, free: 9.316 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3179/0.3194, allocations: 52.19 MB / 423.1 MB, free: 14.65 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002898/0.3223, allocations: 1.529 MB / 424.6 MB, free: 13.11 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001885/0.3242, allocations: 0.8615 MB / 425.5 MB, free: 12.24 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.3242, allocations: 4 kB / 425.5 MB, free: 12.24 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 8.738e-05/0.3243, allocations: 7.875 kB / 425.5 MB, free: 12.23 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 8.792e-05/0.3244, allocations: 15.86 kB / 425.5 MB, free: 12.21 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000274/0.3247, allocations: 58.88 kB / 425.6 MB, free: 12.16 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002238/0.3249, allocations: 139.7 kB / 425.7 MB, free: 12.02 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.826e-05/0.325, allocations: 19.98 kB / 425.7 MB, free: 12 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004579/0.3255, allocations: 391.2 kB / 426.1 MB, free: 11.62 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000128/0.3256, allocations: 63.77 kB / 426.2 MB, free: 11.56 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.212e-05/0.3256, allocations: 8 kB / 426.2 MB, free: 11.55 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 3.443e-05/0.3257, allocations: 12 kB / 426.2 MB, free: 11.54 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.287e-05/0.3258, allocations: 67.64 kB / 426.3 MB, free: 11.47 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.3259, allocations: 107.2 kB / 426.4 MB, free: 11.37 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003863/0.3263, allocations: 363.7 kB / 426.7 MB, free: 11.02 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.3263, allocations: 0 / 426.7 MB, free: 11.02 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.583e-06/0.3263, allocations: 0 / 426.7 MB, free: 11.02 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.301e-06/0.3263, allocations: 0 / 426.7 MB, free: 11.02 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.0008388/0.3271, allocations: 0.663 MB / 427.4 MB, free: 10.3 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.3272, allocations: 8.031 kB / 427.4 MB, free: 10.29 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.077e-05/0.3273, allocations: 44.64 kB / 427.5 MB, free: 10.25 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.3276, allocations: 216.8 kB / 427.7 MB, free: 10.01 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.3276, allocations: 8.375 kB / 427.7 MB, free: 10 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.715e-05/0.3276, allocations: 4.375 kB / 427.7 MB, free: 9.996 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003361/0.328, allocations: 129.9 kB / 427.8 MB, free: 9.863 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.328, allocations: 0 / 427.8 MB, free: 9.863 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.071e-05/0.328, allocations: 11.98 kB / 427.8 MB, free: 9.852 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.328, allocations: 4 kB / 427.8 MB, free: 9.848 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001462/0.3282, allocations: 55.91 kB / 427.9 MB, free: 9.793 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007157/0.3289, allocations: 427.6 kB / 428.3 MB, free: 9.332 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000174/0.329, allocations: 74.48 kB / 428.4 MB, free: 9.25 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.3292, allocations: 64.88 kB / 428.4 MB, free: 9.184 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.388e-05/0.3292, allocations: 7.938 kB / 428.4 MB, free: 9.176 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/0.3296, allocations: 194.7 kB / 428.6 MB, free: 8.961 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.292e-06/0.3296, allocations: 0 / 428.6 MB, free: 8.961 MB / 334.1 MB
Notification: Performance of matching and sorting (n=13): time 0.0008108/0.3304, allocations: 456.1 kB / 429.1 MB, free: 8.484 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001067/0.3305, allocations: 174.1 kB / 429.2 MB, free: 8.277 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006398/0.3311, allocations: 0.5169 MB / 429.8 MB, free: 7.75 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.246e-05/0.3311, allocations: 29.7 kB / 429.8 MB, free: 7.715 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.759e-05/0.3312, allocations: 101.1 kB / 429.9 MB, free: 7.613 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.063e-05/0.3313, allocations: 27.8 kB / 429.9 MB, free: 7.586 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001111/0.3314, allocations: 85.55 kB / 430 MB, free: 7.496 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001364/0.3315, allocations: 326.8 kB / 430.3 MB, free: 7.168 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001237/0.3316, allocations: 51.97 kB / 430.4 MB, free: 7.117 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000129/0.3318, allocations: 69.69 kB / 430.4 MB, free: 7.043 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003545/0.3321, allocations: 346.9 kB / 430.8 MB, free: 6.652 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.3321, allocations: 4.172 kB / 430.8 MB, free: 6.648 MB / 334.1 MB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006101/0.3327, allocations: 384.2 kB / 431.2 MB, free: 6.242 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 9.67e-05/0.3328, allocations: 126.8 kB / 431.3 MB, free: 6.094 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.3328, allocations: 0 / 431.3 MB, free: 6.094 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.3328, allocations: 0 / 431.3 MB, free: 6.094 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.965e-05/0.3329, allocations: 0 / 431.3 MB, free: 6.094 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.3329, allocations: 4 kB / 431.3 MB, free: 6.09 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001411/0.333, allocations: 8 kB / 431.3 MB, free: 6.082 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/0.3331, allocations: 47.92 kB / 431.3 MB, free: 6.035 MB / 334.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.0003773/0.3335, allocations: 358.3 kB / 431.7 MB, free: 5.652 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.046e-05/0.3335, allocations: 43.77 kB / 431.7 MB, free: 5.609 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.3336, allocations: 59.09 kB / 431.8 MB, free: 5.547 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3336, allocations: 4 kB / 431.8 MB, free: 5.543 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3336, allocations: 0 / 431.8 MB, free: 5.543 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.3336, allocations: 0 / 431.8 MB, free: 5.543 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.3348, allocations: 0.7851 MB / 432.6 MB, free: 4.684 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.3348, allocations: 0 / 432.6 MB, free: 4.684 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-06/0.3348, allocations: 4 kB / 432.6 MB, free: 4.68 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.3348, allocations: 0 / 432.6 MB, free: 4.68 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.922e-05/0.3348, allocations: 15.98 kB / 432.6 MB, free: 4.664 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.3348, allocations: 0 / 432.6 MB, free: 4.664 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.3348, allocations: 7.938 kB / 432.6 MB, free: 4.656 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006704/0.3355, allocations: 0.5215 MB / 433.1 MB, free: 4.094 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.00039/0.3359, allocations: 205.3 kB / 433.3 MB, free: 3.895 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.667e-05/0.3359, allocations: 12 kB / 433.3 MB, free: 3.883 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.3361, allocations: 19.92 kB / 433.4 MB, free: 3.863 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.3362, allocations: 23.92 kB / 433.4 MB, free: 3.84 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6e-05/0.3362, allocations: 47.92 kB / 433.4 MB, free: 3.793 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.000502/0.3367, allocations: 390.8 kB / 433.8 MB, free: 3.41 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.3367, allocations: 0 / 433.8 MB, free: 3.41 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002844/0.337, allocations: 40 kB / 433.8 MB, free: 3.371 MB / 334.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.0001485/0.3372, allocations: 123.2 kB / 434 MB, free: 3.242 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005424/0.3377, allocations: 373.5 kB / 434.3 MB, free: 2.828 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3377, allocations: 0 / 434.3 MB, free: 2.828 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.338, allocations: 301.5 kB / 434.6 MB, free: 2.484 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006536/0.3387, allocations: 125 kB / 434.7 MB, free: 2.375 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001137/0.3398, allocations: 0.6532 MB / 435.4 MB, free: 1.695 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005639/0.3404, allocations: 0.8098 MB / 436.2 MB, free: 0.8594 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 4.025e-05/0.3404, allocations: 12.72 kB / 436.2 MB, free: 0.8438 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.445e-05/0.3404, allocations: 11.44 kB / 436.2 MB, free: 0.832 MB / 334.1 MB
Notification: Performance of SimCode: time 5.21e-07/0.3404, allocations: 0 / 436.2 MB, free: 0.832 MB / 334.1 MB
Notification: Performance of Templates: time 0.008582/0.349, allocations: 4.414 MB / 440.6 MB, free: 12.45 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660]
(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) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.615187278948724]