Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001905/0.001905, allocations: 106 kB / 21.18 MB, free: 0.6992 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.001802/0.001802, allocations: 181.2 kB / 24.46 MB, free: 4.062 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.813/1.813, allocations: 207.6 MB / 235.2 MB, free: 10.03 MB / 190.1 MB
"
[Timeout remaining time 178]
Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S")
translateModel(Modelica.Electrical.Digital.Examples.BUF3S,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|bUF3S.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S") [Timeout 660]
"Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed.
Notification: Performance of FrontEnd - loaded program: time 0.001869/0.001869, allocations: 55.92 kB / 347.7 MB, free: 9.578 MB / 286.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3972/0.3991, allocations: 49.16 MB / 396.8 MB, free: 9.516 MB / 318.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.BUF3S): time 0.002916/0.402, allocations: 1.521 MB / 398.3 MB, free: 8.453 MB / 318.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002003/0.404, allocations: 0.901 MB / 399.2 MB, free: 7.848 MB / 318.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.904e-05/0.4041, allocations: 5.438 kB / 399.2 MB, free: 7.844 MB / 318.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.4042, allocations: 7.172 kB / 399.2 MB, free: 7.84 MB / 318.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.748e-05/0.4043, allocations: 28.83 kB / 399.3 MB, free: 7.82 MB / 318.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.4046, allocations: 51.42 kB / 399.3 MB, free: 7.789 MB / 318.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002356/0.4048, allocations: 136.4 kB / 399.5 MB, free: 7.723 MB / 318.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.4049, allocations: 15.86 kB / 399.5 MB, free: 7.715 MB / 318.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005953/0.4055, allocations: 392.5 kB / 399.9 MB, free: 7.668 MB / 318.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.4057, allocations: 70.44 kB / 399.9 MB, free: 7.637 MB / 318.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.903e-05/0.4057, allocations: 9.188 kB / 399.9 MB, free: 7.637 MB / 318.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 3.225e-05/0.4057, allocations: 10.62 kB / 399.9 MB, free: 7.637 MB / 318.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.615e-05/0.4058, allocations: 62.75 kB / 400 MB, free: 7.617 MB / 318.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.4059, allocations: 118.5 kB / 400.1 MB, free: 7.527 MB / 318.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004578/0.4064, allocations: 359.9 kB / 400.5 MB, free: 7.41 MB / 318.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.4064, allocations: 1.531 kB / 400.5 MB, free: 7.41 MB / 318.1 MB
Notification: Performance of FrontEnd: time 1.312e-06/0.4064, allocations: 0 / 400.5 MB, free: 7.41 MB / 318.1 MB
Notification: Performance of Transformations before backend: time 1.066e-05/0.4064, allocations: 0 / 400.5 MB, free: 7.41 MB / 318.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.0008383/0.4073, allocations: 0.6585 MB / 401.1 MB, free: 6.828 MB / 318.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.4073, allocations: 13.08 kB / 401.1 MB, free: 6.824 MB / 318.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.82e-05/0.4074, allocations: 39.8 kB / 401.2 MB, free: 6.805 MB / 318.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002542/0.4076, allocations: 210.6 kB / 401.4 MB, free: 6.613 MB / 318.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.4076, allocations: 4.594 kB / 401.4 MB, free: 6.613 MB / 318.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.308e-05/0.4077, allocations: 19.17 kB / 401.4 MB, free: 6.602 MB / 318.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003052/0.408, allocations: 125.1 kB / 401.5 MB, free: 6.543 MB / 318.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.408, allocations: 1.031 kB / 401.5 MB, free: 6.543 MB / 318.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.271e-05/0.408, allocations: 3.812 kB / 401.5 MB, free: 6.543 MB / 318.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.408, allocations: 5.344 kB / 401.5 MB, free: 6.539 MB / 318.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001369/0.4082, allocations: 55.83 kB / 401.6 MB, free: 6.523 MB / 318.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006756/0.4088, allocations: 432.8 kB / 402 MB, free: 6.195 MB / 318.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001809/0.409, allocations: 74.75 kB / 402.1 MB, free: 6.152 MB / 318.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001362/0.4092, allocations: 64.12 kB / 402.2 MB, free: 6.125 MB / 318.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.339e-05/0.4092, allocations: 1.062 kB / 402.2 MB, free: 6.125 MB / 318.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002947/0.4095, allocations: 201.2 kB / 402.4 MB, free: 5.988 MB / 318.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.503e-06/0.4095, allocations: 3.938 kB / 402.4 MB, free: 5.984 MB / 318.1 MB
Notification: Performance of matching and sorting (n=13): time 0.0007767/0.4102, allocations: 464.4 kB / 402.8 MB, free: 5.73 MB / 318.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.76e-05/0.4103, allocations: 166.8 kB / 403 MB, free: 5.539 MB / 318.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006505/0.411, allocations: 0.5194 MB / 403.5 MB, free: 5.25 MB / 318.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.506e-05/0.411, allocations: 33.33 kB / 403.5 MB, free: 5.215 MB / 318.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.411, allocations: 96.41 kB / 403.6 MB, free: 5.125 MB / 318.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.4111, allocations: 33.91 kB / 403.7 MB, free: 5.102 MB / 318.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001031/0.4112, allocations: 74.28 kB / 403.7 MB, free: 5.059 MB / 318.1 MB
Notification: Performance of setup shared object (initialization): time 7.247e-05/0.4113, allocations: 331.3 kB / 404.1 MB, free: 4.734 MB / 318.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.4114, allocations: 52.03 kB / 404.1 MB, free: 4.719 MB / 318.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.4115, allocations: 75.64 kB / 404.2 MB, free: 4.68 MB / 318.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003066/0.4118, allocations: 335.9 kB / 404.5 MB, free: 4.371 MB / 318.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4118, allocations: 0 / 404.5 MB, free: 4.371 MB / 318.1 MB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.000535/0.4123, allocations: 372.4 kB / 404.9 MB, free: 4.148 MB / 318.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.993e-05/0.4124, allocations: 127.2 kB / 405 MB, free: 4.016 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.4124, allocations: 1.531 kB / 405 MB, free: 4.016 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.4124, allocations: 0 / 405 MB, free: 4.016 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.975e-05/0.4125, allocations: 2.094 kB / 405 MB, free: 4.016 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.4125, allocations: 6.359 kB / 405 MB, free: 4.012 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.4126, allocations: 10.38 kB / 405 MB, free: 4.012 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.913e-05/0.4127, allocations: 37.53 kB / 405 MB, free: 4.012 MB / 318.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.0003259/0.413, allocations: 372.2 kB / 405.4 MB, free: 3.699 MB / 318.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.415e-05/0.413, allocations: 39.33 kB / 405.4 MB, free: 3.68 MB / 318.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000119/0.4132, allocations: 65.8 kB / 405.5 MB, free: 3.641 MB / 318.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.4132, allocations: 0 / 405.5 MB, free: 3.641 MB / 318.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.4132, allocations: 1.156 kB / 405.5 MB, free: 3.641 MB / 318.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.4132, allocations: 4.844 kB / 405.5 MB, free: 3.637 MB / 318.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009794/0.4142, allocations: 0.7914 MB / 406.3 MB, free: 3.078 MB / 318.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.4142, allocations: 0 / 406.3 MB, free: 3.078 MB / 318.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.001e-06/0.4142, allocations: 2.562 kB / 406.3 MB, free: 3.078 MB / 318.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.4142, allocations: 0 / 406.3 MB, free: 3.078 MB / 318.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.4142, allocations: 11.58 kB / 406.3 MB, free: 3.078 MB / 318.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.4142, allocations: 0.6094 kB / 406.3 MB, free: 3.078 MB / 318.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.4142, allocations: 7.875 kB / 406.3 MB, free: 3.07 MB / 318.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006649/0.4149, allocations: 0.5247 MB / 406.9 MB, free: 2.719 MB / 318.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.000362/0.4152, allocations: 205.3 kB / 407.1 MB, free: 2.602 MB / 318.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.794e-05/0.4153, allocations: 12.02 kB / 407.1 MB, free: 2.598 MB / 318.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001305/0.4154, allocations: 14.08 kB / 407.1 MB, free: 2.594 MB / 318.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001206/0.4155, allocations: 28.45 kB / 407.1 MB, free: 2.582 MB / 318.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.666e-05/0.4156, allocations: 50.78 kB / 407.2 MB, free: 2.57 MB / 318.1 MB
Notification: Performance of sorting global known variables: time 0.0005108/0.4161, allocations: 383.3 kB / 407.5 MB, free: 2.367 MB / 318.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4161, allocations: 1.312 kB / 407.5 MB, free: 2.367 MB / 318.1 MB
Notification: Performance of remove unused functions: time 0.0002894/0.4164, allocations: 41.12 kB / 407.6 MB, free: 2.367 MB / 318.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.0001214/0.4165, allocations: 116.3 kB / 407.7 MB, free: 2.27 MB / 318.1 MB
Notification: Performance of simCode: created initialization part: time 0.0004384/0.4169, allocations: 371.4 kB / 408.1 MB, free: 1.969 MB / 318.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.4169, allocations: 0 / 408.1 MB, free: 1.969 MB / 318.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.4172, allocations: 308.7 kB / 408.4 MB, free: 1.684 MB / 318.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006251/0.4178, allocations: 126.4 kB / 408.5 MB, free: 1.645 MB / 318.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.4189, allocations: 0.6573 MB / 409.1 MB, free: 1.254 MB / 318.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004084/0.4193, allocations: 0.8055 MB / 409.9 MB, free: 0.5195 MB / 318.1 MB
Notification: Performance of simCode: alias equations: time 5.561e-05/0.4194, allocations: 4.922 kB / 409.9 MB, free: 0.5156 MB / 318.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.893e-05/0.4194, allocations: 16.88 kB / 410 MB, free: 0.5039 MB / 318.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.4194, allocations: 0 / 410 MB, free: 0.5039 MB / 318.1 MB
Notification: Performance of Templates: time 0.009972/0.4294, allocations: 4.415 MB / 414.4 MB, free: 14.69 MB / 334.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.makefile [Timeout 660]
(rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.BUF3S_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/BUF3S/BUF3S.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 5.37349462416023]