Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.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.001872/0.001872, 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.002086/0.002086, allocations: 183.7 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.561/1.561, allocations: 225.6 MB / 252.5 MB, free: 13 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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.0.0_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.0.0_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 47.91 kB / 370.9 MB, free: 9.355 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3029/0.3045, allocations: 52.18 MB / 423.1 MB, free: 14.69 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002798/0.3073, allocations: 1.528 MB / 424.6 MB, free: 13.16 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00197/0.3093, allocations: 0.8655 MB / 425.5 MB, free: 12.29 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.445e-05/0.3093, allocations: 0 / 425.5 MB, free: 12.29 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001039/0.3094, allocations: 11.86 kB / 425.5 MB, free: 12.27 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 8.968e-05/0.3095, allocations: 19.8 kB / 425.5 MB, free: 12.25 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002764/0.3098, allocations: 55.88 kB / 425.6 MB, free: 12.2 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0002147/0.31, allocations: 131.7 kB / 425.7 MB, free: 12.07 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 9.788e-05/0.3101, allocations: 8.234 kB / 425.7 MB, free: 12.06 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006586/0.3108, allocations: 0.5849 MB / 426.3 MB, free: 11.47 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001504/0.3109, allocations: 79.67 kB / 426.4 MB, free: 11.39 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 4.688e-05/0.311, allocations: 8 kB / 426.4 MB, free: 11.39 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 3.67e-05/0.311, allocations: 12 kB / 426.4 MB, free: 11.38 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 9.688e-05/0.3111, allocations: 59.77 kB / 426.5 MB, free: 11.32 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001353/0.3112, allocations: 115.1 kB / 426.6 MB, free: 11.2 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004609/0.3117, allocations: 383.7 kB / 427 MB, free: 10.83 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3117, allocations: 0 / 427 MB, free: 10.83 MB / 334.1 MB
Notification: Performance of FrontEnd: time 1.022e-06/0.3117, allocations: 0 / 427 MB, free: 10.83 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.835e-06/0.3117, allocations: 0 / 427 MB, free: 10.83 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.0009751/0.3127, allocations: 0.6552 MB / 427.6 MB, free: 10.12 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.3127, allocations: 12.03 kB / 427.6 MB, free: 10.11 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.105e-05/0.3128, allocations: 36.7 kB / 427.7 MB, free: 10.07 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.3131, allocations: 216.8 kB / 427.9 MB, free: 9.836 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.3132, allocations: 4.375 kB / 427.9 MB, free: 9.832 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.994e-05/0.3132, allocations: 8.375 kB / 427.9 MB, free: 9.824 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003454/0.3135, allocations: 129.9 kB / 428 MB, free: 9.691 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.3135, allocations: 0 / 428 MB, free: 9.691 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.853e-05/0.3136, allocations: 8 kB / 428 MB, free: 9.684 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.3136, allocations: 4 kB / 428 MB, free: 9.68 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001503/0.3137, allocations: 55.97 kB / 428.1 MB, free: 9.625 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007446/0.3145, allocations: 435.5 kB / 428.5 MB, free: 9.156 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.3147, allocations: 74.48 kB / 428.6 MB, free: 9.074 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001543/0.3148, allocations: 60.89 kB / 428.6 MB, free: 9.012 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.3148, allocations: 4 kB / 428.6 MB, free: 9.008 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004147/0.3153, allocations: 210.6 kB / 428.8 MB, free: 8.777 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=13): time 1.403e-06/0.3153, allocations: 0 / 428.8 MB, free: 8.777 MB / 334.1 MB
Notification: Performance of matching and sorting (n=13): time 0.0009162/0.3162, allocations: 476.3 kB / 429.3 MB, free: 8.281 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.3163, allocations: 170.2 kB / 429.5 MB, free: 8.078 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006833/0.317, allocations: 0.5168 MB / 430 MB, free: 7.551 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.317, allocations: 29.7 kB / 430 MB, free: 7.516 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.517e-05/0.3171, allocations: 105.1 kB / 430.1 MB, free: 7.41 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.313e-05/0.3171, allocations: 35.75 kB / 430.2 MB, free: 7.375 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.3173, allocations: 81.55 kB / 430.2 MB, free: 7.289 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001563/0.3174, allocations: 326.8 kB / 430.6 MB, free: 6.961 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000146/0.3176, allocations: 55.97 kB / 430.6 MB, free: 6.906 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001393/0.3177, allocations: 69.69 kB / 430.7 MB, free: 6.832 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003863/0.3181, allocations: 346.1 kB / 431 MB, free: 6.441 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-06/0.3181, allocations: 7.938 kB / 431 MB, free: 6.434 MB / 334.1 MB
Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005675/0.3187, allocations: 384.3 kB / 431.4 MB, free: 6.027 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 0.0001083/0.3188, allocations: 126.8 kB / 431.5 MB, free: 5.879 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.992e-06/0.3188, allocations: 0 / 431.5 MB, free: 5.879 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3188, allocations: 0 / 431.5 MB, free: 5.879 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.716e-05/0.3188, allocations: 7.922 kB / 431.5 MB, free: 5.871 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3188, allocations: 4 kB / 431.5 MB, free: 5.867 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001407/0.319, allocations: 11.98 kB / 431.5 MB, free: 5.855 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.146e-05/0.319, allocations: 60.06 kB / 431.6 MB, free: 5.797 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.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.0004165/0.3195, allocations: 370.5 kB / 432 MB, free: 5.402 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.713e-05/0.3195, allocations: 39.77 kB / 432 MB, free: 5.363 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.3196, allocations: 59.09 kB / 432.1 MB, free: 5.301 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3196, allocations: 0 / 432.1 MB, free: 5.301 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3196, allocations: 4 kB / 432.1 MB, free: 5.297 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.348e-06/0.3196, allocations: 3.984 kB / 432.1 MB, free: 5.293 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.3207, allocations: 0.7969 MB / 432.9 MB, free: 4.422 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.3207, allocations: 4 kB / 432.9 MB, free: 4.418 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.028e-06/0.3207, allocations: 0 / 432.9 MB, free: 4.418 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3207, allocations: 4 kB / 432.9 MB, free: 4.414 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.893e-05/0.3207, allocations: 12 kB / 432.9 MB, free: 4.402 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3207, allocations: 0 / 432.9 MB, free: 4.402 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.3207, allocations: 3.938 kB / 432.9 MB, free: 4.398 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007288/0.3214, allocations: 0.5332 MB / 433.4 MB, free: 3.824 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0004015/0.3218, allocations: 205.4 kB / 433.6 MB, free: 3.625 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.45e-05/0.3219, allocations: 12 kB / 433.6 MB, free: 3.613 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001352/0.322, allocations: 11.98 kB / 433.6 MB, free: 3.602 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001188/0.3221, allocations: 35.91 kB / 433.7 MB, free: 3.566 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.947e-05/0.3222, allocations: 59.92 kB / 433.7 MB, free: 3.508 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 0.0005657/0.3228, allocations: 394.8 kB / 434.1 MB, free: 3.121 MB / 334.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.3228, allocations: 0 / 434.1 MB, free: 3.121 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0002906/0.3231, allocations: 43.94 kB / 434.2 MB, free: 3.078 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,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.0002042/0.3233, allocations: 117.8 kB / 434.3 MB, free: 2.953 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005529/0.3238, allocations: 377.5 kB / 434.7 MB, free: 2.535 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.3238, allocations: 4.062 kB / 434.7 MB, free: 2.531 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003358/0.3242, allocations: 305.5 kB / 435 MB, free: 2.184 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006486/0.3248, allocations: 117.8 kB / 435.1 MB, free: 2.078 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.326, allocations: 0.6493 MB / 435.7 MB, free: 1.402 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000548/0.3265, allocations: 0.8059 MB / 436.5 MB, free: 0.5703 MB / 334.1 MB
Notification: Performance of simCode: alias equations: time 5.288e-05/0.3266, allocations: 4.672 kB / 436.5 MB, free: 0.5664 MB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.3266, allocations: 15.44 kB / 436.5 MB, free: 0.5508 MB / 334.1 MB
Notification: Performance of SimCode: time 4.21e-07/0.3266, allocations: 3.938 kB / 436.6 MB, free: 0.5469 MB / 334.1 MB
Notification: Performance of Templates: time 0.009441/0.3361, allocations: 4.709 MB / 441.3 MB, free: 11.78 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660]
(rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.763662926852703]