Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.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.001945/0.001945, allocations: 109 kB / 21.23 MB, free: 0.5117 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.00272/0.00272, allocations: 209.9 kB / 24.54 MB, free: 3.906 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.498/1.498, allocations: 230.6 MB / 258.3 MB, free: 8.234 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-beta.om/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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER")
translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 60.78 kB / 379 MB, free: 2.668 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3016, allocations: 53.37 MB / 432.4 MB, free: 6.938 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002712/0.3043, allocations: 1.525 MB / 433.9 MB, free: 5.41 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002022/0.3063, allocations: 0.9004 MB / 434.8 MB, free: 4.504 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.766e-05/0.3064, allocations: 0 / 434.8 MB, free: 4.504 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001022/0.3065, allocations: 15.8 kB / 434.8 MB, free: 4.488 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 8.549e-05/0.3066, allocations: 23.86 kB / 434.9 MB, free: 4.465 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.3069, allocations: 55.5 kB / 434.9 MB, free: 4.414 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002074/0.3071, allocations: 123.8 kB / 435 MB, free: 4.293 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.33e-05/0.3072, allocations: 12.23 kB / 435.1 MB, free: 4.277 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006376/0.3078, allocations: 0.5809 MB / 435.6 MB, free: 3.695 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001513/0.3079, allocations: 83.67 kB / 435.7 MB, free: 3.613 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 3.638e-05/0.308, allocations: 8 kB / 435.7 MB, free: 3.605 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 3.142e-05/0.308, allocations: 15.94 kB / 435.7 MB, free: 3.59 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.553e-05/0.3081, allocations: 63.7 kB / 435.8 MB, free: 3.527 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.3082, allocations: 111.2 kB / 435.9 MB, free: 3.418 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.3086, allocations: 380.1 kB / 436.3 MB, free: 3.051 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3086, allocations: 0 / 436.3 MB, free: 3.051 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.382e-06/0.3086, allocations: 0 / 436.3 MB, free: 3.051 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 6.813e-06/0.3086, allocations: 0 / 436.3 MB, free: 3.051 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.0009292/0.3096, allocations: 0.6552 MB / 436.9 MB, free: 2.34 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.3096, allocations: 12.03 kB / 436.9 MB, free: 2.328 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.222e-05/0.3097, allocations: 36.7 kB / 437 MB, free: 2.293 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.3101, allocations: 216.8 kB / 437.2 MB, free: 2.055 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.982e-05/0.3101, allocations: 8.375 kB / 437.2 MB, free: 2.047 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.3101, allocations: 16.36 kB / 437.2 MB, free: 2.031 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003574/0.3105, allocations: 133.8 kB / 437.3 MB, free: 1.895 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.3105, allocations: 0 / 437.3 MB, free: 1.895 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.3105, allocations: 8 kB / 437.4 MB, free: 1.887 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3105, allocations: 0 / 437.4 MB, free: 1.887 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001424/0.3107, allocations: 55.97 kB / 437.4 MB, free: 1.832 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007211/0.3114, allocations: 435.5 kB / 437.8 MB, free: 1.363 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.3116, allocations: 74.55 kB / 437.9 MB, free: 1.281 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001395/0.3117, allocations: 60.89 kB / 438 MB, free: 1.219 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.3117, allocations: 4 kB / 438 MB, free: 1.215 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003804/0.3121, allocations: 202.8 kB / 438.2 MB, free: 0.9922 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.352e-06/0.3121, allocations: 0 / 438.2 MB, free: 0.9922 MB / 334.1 MB
Notification: Performance of matching and sorting (n=13): time 0.0008561/0.313, allocations: 480.1 kB / 438.6 MB, free: 0.4922 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001384/0.3131, allocations: 170.2 kB / 438.8 MB, free: 296 kB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006912/0.3138, allocations: 0.5091 MB / 439.3 MB, free: 15.77 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.307e-05/0.3138, allocations: 33.7 kB / 439.3 MB, free: 15.73 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/0.3139, allocations: 101.1 kB / 439.4 MB, free: 15.63 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.217e-05/0.314, allocations: 31.73 kB / 439.5 MB, free: 15.6 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001205/0.3141, allocations: 81.55 kB / 439.6 MB, free: 15.51 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001669/0.3143, allocations: 326.8 kB / 439.9 MB, free: 15.18 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001304/0.3144, allocations: 59.97 kB / 439.9 MB, free: 15.12 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001345/0.3145, allocations: 73.8 kB / 440 MB, free: 15.05 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003587/0.3149, allocations: 343.2 kB / 440.3 MB, free: 14.66 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.3149, allocations: 0 / 440.3 MB, free: 14.66 MB / 350.1 MB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005393/0.3154, allocations: 394.5 kB / 440.7 MB, free: 14.24 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.0001033/0.3155, allocations: 126.8 kB / 440.9 MB, free: 14.09 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.969e-06/0.3155, allocations: 80 / 440.9 MB, free: 14.09 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3155, allocations: 0 / 440.9 MB, free: 14.09 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.948e-05/0.3156, allocations: 3.938 kB / 440.9 MB, free: 14.09 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.787e-06/0.3156, allocations: 12.02 kB / 440.9 MB, free: 14.08 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001224/0.3157, allocations: 11.98 kB / 440.9 MB, free: 14.07 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.215e-05/0.3158, allocations: 55.94 kB / 440.9 MB, free: 14.01 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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0003641/0.3161, allocations: 366.3 kB / 441.3 MB, free: 13.62 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.625e-05/0.3162, allocations: 39.77 kB / 441.3 MB, free: 13.58 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001132/0.3163, allocations: 67.08 kB / 441.4 MB, free: 13.51 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.3163, allocations: 0 / 441.4 MB, free: 13.51 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3163, allocations: 4 kB / 441.4 MB, free: 13.51 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.3163, allocations: 4 kB / 441.4 MB, free: 13.5 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001024/0.3173, allocations: 0.7814 MB / 442.2 MB, free: 12.65 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3173, allocations: 8.062 kB / 442.2 MB, free: 12.64 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.987e-06/0.3173, allocations: 0 / 442.2 MB, free: 12.64 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.3173, allocations: 0 / 442.2 MB, free: 12.64 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.038e-05/0.3174, allocations: 16 kB / 442.2 MB, free: 12.62 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3174, allocations: 0 / 442.2 MB, free: 12.62 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3174, allocations: 3.938 kB / 442.2 MB, free: 12.62 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006614/0.318, allocations: 0.5371 MB / 442.7 MB, free: 12.04 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/0.3184, allocations: 205.4 kB / 442.9 MB, free: 11.84 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.069e-05/0.3185, allocations: 15.98 kB / 443 MB, free: 11.83 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001249/0.3186, allocations: 8 kB / 443 MB, free: 11.82 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.3187, allocations: 31.91 kB / 443 MB, free: 11.79 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.585e-05/0.3188, allocations: 55.98 kB / 443.1 MB, free: 11.73 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.0005085/0.3193, allocations: 390.9 kB / 443.4 MB, free: 11.36 MB / 350.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.3193, allocations: 0 / 443.4 MB, free: 11.36 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0002914/0.3196, allocations: 47.94 kB / 443.5 MB, free: 11.31 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next)
 * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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.0001524/0.3197, allocations: 122.9 kB / 443.6 MB, free: 11.18 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005159/0.3203, allocations: 373.5 kB / 444 MB, free: 10.77 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3203, allocations: 0 / 444 MB, free: 10.77 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003075/0.3206, allocations: 305.6 kB / 444.3 MB, free: 10.42 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000632/0.3212, allocations: 114.8 kB / 444.4 MB, free: 10.32 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001146/0.3223, allocations: 0.6493 MB / 445 MB, free: 9.641 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005371/0.3229, allocations: 0.8061 MB / 445.8 MB, free: 8.809 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 4.56e-05/0.3229, allocations: 4.672 kB / 445.8 MB, free: 8.805 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.032e-05/0.323, allocations: 11.44 kB / 445.9 MB, free: 8.793 MB / 350.1 MB
Notification: Performance of SimCode: time 4.81e-07/0.323, allocations: 3.938 kB / 445.9 MB, free: 8.789 MB / 350.1 MB
Notification: Performance of Templates: time 0.008976/0.3319, allocations: 4.725 MB / 450.6 MB, free: 4.008 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.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.625424914062023]