Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.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.001284/0.001284, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.001391/0.001391, allocations: 213.7 kB / 24.54 MB, free: 4.016 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.485/1.485, allocations: 230.6 MB / 258.3 MB, free: 8.078 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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER")
translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER") [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.001976/0.001976, allocations: 68.55 kB / 379 MB, free: 2.703 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2931, allocations: 53.38 MB / 432.4 MB, free: 6.996 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002781/0.2959, allocations: 1.532 MB / 433.9 MB, free: 5.461 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002032/0.2979, allocations: 0.9004 MB / 434.8 MB, free: 4.555 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.154e-05/0.298, allocations: 0 / 434.8 MB, free: 4.555 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 8.38e-05/0.2981, allocations: 11.92 kB / 434.8 MB, free: 4.543 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.48e-05/0.2982, allocations: 19.86 kB / 434.9 MB, free: 4.523 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002882/0.2985, allocations: 51.88 kB / 434.9 MB, free: 4.473 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002167/0.2987, allocations: 131.7 kB / 435 MB, free: 4.344 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.2988, allocations: 12.22 kB / 435.1 MB, free: 4.328 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006688/0.2994, allocations: 0.5771 MB / 435.6 MB, free: 3.75 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001398/0.2996, allocations: 83.67 kB / 435.7 MB, free: 3.668 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.026e-05/0.2996, allocations: 12 kB / 435.7 MB, free: 3.656 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 3.55e-05/0.2997, allocations: 8 kB / 435.7 MB, free: 3.648 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 8.713e-05/0.2997, allocations: 63.7 kB / 435.8 MB, free: 3.586 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.2999, allocations: 111.2 kB / 435.9 MB, free: 3.477 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004103/0.3003, allocations: 380.1 kB / 436.3 MB, free: 3.109 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3003, allocations: 0 / 436.3 MB, free: 3.109 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.443e-06/0.3003, allocations: 0 / 436.3 MB, free: 3.109 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 1.188e-05/0.3003, allocations: 0 / 436.3 MB, free: 3.109 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.0008068/0.3011, allocations: 0.6553 MB / 436.9 MB, free: 2.398 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.432e-05/0.3011, allocations: 8.031 kB / 436.9 MB, free: 2.391 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.173e-05/0.3012, allocations: 44.64 kB / 437 MB, free: 2.348 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002973/0.3015, allocations: 220.8 kB / 437.2 MB, free: 2.105 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.844e-05/0.3015, allocations: 16.36 kB / 437.2 MB, free: 2.09 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.103e-05/0.3016, allocations: 4.375 kB / 437.2 MB, free: 2.086 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003154/0.3019, allocations: 125.9 kB / 437.3 MB, free: 1.957 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.3019, allocations: 7.922 kB / 437.4 MB, free: 1.949 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.3019, allocations: 4 kB / 437.4 MB, free: 1.945 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.3019, allocations: 0 / 437.4 MB, free: 1.945 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000144/0.3021, allocations: 63.91 kB / 437.4 MB, free: 1.883 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006653/0.3027, allocations: 431.6 kB / 437.8 MB, free: 1.418 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002108/0.3029, allocations: 78.48 kB / 437.9 MB, free: 1.332 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.3031, allocations: 60.88 kB / 438 MB, free: 1.27 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.119e-05/0.3031, allocations: 0 / 438 MB, free: 1.27 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003669/0.3035, allocations: 214.8 kB / 438.2 MB, free: 1.035 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.262e-06/0.3035, allocations: 0 / 438.2 MB, free: 1.035 MB / 334.1 MB
Notification: Performance of matching and sorting (n=13): time 0.0008127/0.3043, allocations: 474.6 kB / 438.6 MB, free: 0.543 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001115/0.3044, allocations: 170.2 kB / 438.8 MB, free: 348 kB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000772/0.3051, allocations: 0.5052 MB / 439.3 MB, free: 15.82 MB / 350.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.969e-05/0.3052, allocations: 37.69 kB / 439.4 MB, free: 15.78 MB / 350.1 MB
Notification: Performance of collectInitialEqns (initialization): time 9.932e-05/0.3053, allocations: 97.09 kB / 439.5 MB, free: 15.68 MB / 350.1 MB
Notification: Performance of collectInitialBindings (initialization): time 4.634e-05/0.3053, allocations: 31.78 kB / 439.5 MB, free: 15.65 MB / 350.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/0.3055, allocations: 81.56 kB / 439.6 MB, free: 15.57 MB / 350.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002039/0.3057, allocations: 330.8 kB / 439.9 MB, free: 15.23 MB / 350.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001339/0.3058, allocations: 55.97 kB / 439.9 MB, free: 15.18 MB / 350.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.3059, allocations: 81.66 kB / 440 MB, free: 15.09 MB / 350.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003751/0.3063, allocations: 339.2 kB / 440.4 MB, free: 14.71 MB / 350.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3063, allocations: 0 / 440.4 MB, free: 14.71 MB / 350.1 MB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005634/0.3069, allocations: 392.3 kB / 440.7 MB, free: 14.29 MB / 350.1 MB
Notification: Performance of prepare postOptimizeDAE: time 9.535e-05/0.307, allocations: 126.8 kB / 440.9 MB, free: 14.14 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.307, allocations: 0 / 440.9 MB, free: 14.14 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.307, allocations: 0 / 440.9 MB, free: 14.14 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.231e-05/0.307, allocations: 8.094 kB / 440.9 MB, free: 14.14 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.307, allocations: 3.938 kB / 440.9 MB, free: 14.13 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.3072, allocations: 8.125 kB / 440.9 MB, free: 14.12 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.09e-05/0.3072, allocations: 59.94 kB / 440.9 MB, free: 14.07 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.nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.x,$PRE.nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.yy,nRXFERGATE.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.0003417/0.3076, allocations: 358.5 kB / 441.3 MB, free: 13.68 MB / 350.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.153e-05/0.3076, allocations: 47.75 kB / 441.3 MB, free: 13.64 MB / 350.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.3077, allocations: 67.08 kB / 441.4 MB, free: 13.57 MB / 350.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3077, allocations: 4 kB / 441.4 MB, free: 13.56 MB / 350.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3077, allocations: 0 / 441.4 MB, free: 13.56 MB / 350.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.3077, allocations: 0 / 441.4 MB, free: 13.56 MB / 350.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009906/0.3087, allocations: 0.7925 MB / 442.2 MB, free: 12.7 MB / 350.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3087, allocations: 0 / 442.2 MB, free: 12.7 MB / 350.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.907e-06/0.3087, allocations: 0 / 442.2 MB, free: 12.7 MB / 350.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3087, allocations: 0 / 442.2 MB, free: 12.7 MB / 350.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.905e-05/0.3088, allocations: 19.98 kB / 442.2 MB, free: 12.68 MB / 350.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.3088, allocations: 0 / 442.2 MB, free: 12.68 MB / 350.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3088, allocations: 7.875 kB / 442.2 MB, free: 12.67 MB / 350.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/0.3094, allocations: 0.5293 MB / 442.8 MB, free: 12.1 MB / 350.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.3098, allocations: 205.4 kB / 443 MB, free: 11.9 MB / 350.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.308e-05/0.3099, allocations: 12 kB / 443 MB, free: 11.89 MB / 350.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.31, allocations: 11.94 kB / 443 MB, free: 11.88 MB / 350.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/0.3101, allocations: 35.89 kB / 443 MB, free: 11.84 MB / 350.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.401e-05/0.3102, allocations: 63.98 kB / 443.1 MB, free: 11.78 MB / 350.1 MB
Notification: Performance of sorting global known variables: time 0.000488/0.3107, allocations: 382.9 kB / 443.4 MB, free: 11.41 MB / 350.1 MB
Notification: Performance of sort global known variables: time 7.1e-08/0.3107, allocations: 0 / 443.4 MB, free: 11.41 MB / 350.1 MB
Notification: Performance of remove unused functions: time 0.0002834/0.311, allocations: 47.94 kB / 443.5 MB, free: 11.36 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,nRXFERGATE.nextstate,nRXFERGATE.yy,nRXFERGATE.inertialDelaySensitive.x,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.y_old,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.t_next)
 * Number of discrete states: 13 (e_table.y,x_table.y,nRXFERGATE.yy,nRXFERGATE.nextstate,nRXFERGATE.inertialDelaySensitive.y,nRXFERGATE.inertialDelaySensitive.y_auxiliary,nRXFERGATE.inertialDelaySensitive.t_next,nRXFERGATE.inertialDelaySensitive.delayTime,nRXFERGATE.inertialDelaySensitive.lh,nRXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nRXFERGATE.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.0001332/0.3111, allocations: 118 kB / 443.6 MB, free: 11.24 MB / 350.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005044/0.3116, allocations: 373.5 kB / 444 MB, free: 10.83 MB / 350.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.3116, allocations: 0 / 444 MB, free: 10.83 MB / 350.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003805/0.312, allocations: 309.6 kB / 444.3 MB, free: 10.48 MB / 350.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005573/0.3125, allocations: 107.2 kB / 444.4 MB, free: 10.38 MB / 350.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.3136, allocations: 0.6571 MB / 445 MB, free: 9.695 MB / 350.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005221/0.3142, allocations: 0.7982 MB / 445.8 MB, free: 8.871 MB / 350.1 MB
Notification: Performance of simCode: alias equations: time 4.495e-05/0.3142, allocations: 12.64 kB / 445.8 MB, free: 8.859 MB / 350.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.422e-05/0.3142, allocations: 11.44 kB / 445.9 MB, free: 8.848 MB / 350.1 MB
Notification: Performance of SimCode: time 3.4e-07/0.3142, allocations: 4 kB / 445.9 MB, free: 8.844 MB / 350.1 MB
Notification: Performance of Templates: time 0.008688/0.3229, allocations: 4.714 MB / 450.6 MB, free: 4.07 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.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.536906469613314]