Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.00161/0.00161, allocations: 116.7 kB / 20.43 MB, free: 1.457 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.001694/0.001694, allocations: 214 kB / 23.75 MB, free: 4.672 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.503/1.503, allocations: 230.5 MB / 257.4 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.NRXFER,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.89 kB / 377.8 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2867, allocations: 53.4 MB / 431.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003524/0.2902, allocations: 1.53 MB / 432.7 MB, free: 5.172 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002307/0.2925, allocations: 0.8965 MB / 433.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.847e-05/0.2926, allocations: 0 / 433.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.2927, allocations: 11.88 kB / 433.6 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.251e-05/0.2928, allocations: 23.84 kB / 433.6 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002984/0.2931, allocations: 47.89 kB / 433.7 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003958/0.2935, allocations: 135.7 kB / 433.8 MB, free: 4.055 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.2936, allocations: 16.22 kB / 433.8 MB, free: 4.035 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007995/0.2944, allocations: 0.581 MB / 434.4 MB, free: 3.453 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001705/0.2946, allocations: 71.7 kB / 434.5 MB, free: 3.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.433e-05/0.2946, allocations: 12 kB / 434.5 MB, free: 3.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.193e-05/0.2946, allocations: 8 kB / 434.5 MB, free: 3.363 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.2947, allocations: 71.69 kB / 434.6 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.2949, allocations: 111.2 kB / 434.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004012/0.2953, allocations: 370.8 kB / 435 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.2953, allocations: 0 / 435 MB, free: 2.824 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.165e-05/0.2953, allocations: 7.984 kB / 435.1 MB, free: 2.816 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.176e-05/0.2953, allocations: 4 kB / 435.1 MB, free: 2.812 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.0008797/0.2962, allocations: 0.6436 MB / 435.7 MB, free: 2.113 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2962, allocations: 11.97 kB / 435.7 MB, free: 2.102 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.984e-05/0.2963, allocations: 42.73 kB / 435.8 MB, free: 2.051 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.661e-05/0.2963, allocations: 40.7 kB / 435.8 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.2966, allocations: 220.8 kB / 436 MB, free: 1.77 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.2967, allocations: 4.375 kB / 436 MB, free: 1.766 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.345e-05/0.2967, allocations: 12.38 kB / 436 MB, free: 1.754 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003131/0.297, allocations: 137.3 kB / 436.2 MB, free: 1.617 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.297, allocations: 3.984 kB / 436.2 MB, free: 1.613 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.427e-05/0.297, allocations: 7.984 kB / 436.2 MB, free: 1.605 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.297, allocations: 3.938 kB / 436.2 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.2972, allocations: 63.95 kB / 436.2 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007532/0.2979, allocations: 427.5 kB / 436.7 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001802/0.2981, allocations: 74.55 kB / 436.7 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001487/0.2983, allocations: 64.89 kB / 436.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.2983, allocations: 0 / 436.8 MB, free: 0.9297 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004219/0.2987, allocations: 210.8 kB / 437 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.2987, allocations: 0 / 437 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009116/0.2996, allocations: 468.1 kB / 437.5 MB, free: 216 kB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.2997, allocations: 174.2 kB / 437.6 MB, free: 4 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006725/0.3004, allocations: 0.5169 MB / 438.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.3004, allocations: 29.7 kB / 438.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.296e-05/0.3005, allocations: 105.1 kB / 438.3 MB, free: 15.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.082e-05/0.3006, allocations: 27.78 kB / 438.3 MB, free: 15.31 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000116/0.3007, allocations: 85.55 kB / 438.4 MB, free: 15.22 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3008, allocations: 322.8 kB / 438.7 MB, free: 14.89 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.301, allocations: 55.97 kB / 438.8 MB, free: 14.84 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.3011, allocations: 73.69 kB / 438.8 MB, free: 14.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004139/0.3015, allocations: 347.2 kB / 439.2 MB, free: 14.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.709e-05/0.3015, allocations: 4 kB / 439.2 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006149/0.3021, allocations: 384.3 kB / 439.5 MB, free: 13.96 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.3022, allocations: 122.9 kB / 439.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3022, allocations: 3.938 kB / 439.7 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.3023, allocations: 4 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.945e-05/0.3023, allocations: 0 / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.3023, allocations: 3.938 kB / 439.7 MB, free: 13.8 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.3024, allocations: 20.02 kB / 439.7 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.148e-05/0.3025, allocations: 55.94 kB / 439.7 MB, free: 13.73 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.0003709/0.3029, allocations: 362.5 kB / 440.1 MB, free: 13.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.3029, allocations: 39.77 kB / 440.1 MB, free: 13.3 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001119/0.303, allocations: 67.08 kB / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.303, allocations: 0 / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.303, allocations: 0 / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.303, allocations: 0 / 440.2 MB, free: 13.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001134/0.3042, allocations: 0.7967 MB / 441 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.3042, allocations: 4 kB / 441 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.689e-06/0.3042, allocations: 3.938 kB / 441 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3042, allocations: 0 / 441 MB, free: 12.36 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.288e-05/0.3042, allocations: 16 kB / 441 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3042, allocations: 0 / 441 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.3042, allocations: 3.938 kB / 441 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006815/0.3049, allocations: 0.5332 MB / 441.6 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003883/0.3053, allocations: 217.3 kB / 441.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.89e-05/0.3054, allocations: 15.98 kB / 441.8 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.3055, allocations: 4 kB / 441.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.3056, allocations: 31.91 kB / 441.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.562e-05/0.3057, allocations: 52 kB / 441.9 MB, free: 11.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005648/0.3063, allocations: 390.9 kB / 442.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3063, allocations: 0 / 442.3 MB, free: 11.07 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002778/0.3065, allocations: 44 kB / 442.3 MB, free: 11.02 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.00104/0.3076, allocations: 1.092 MB / 443.4 MB, free: 9.883 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005097/0.3081, allocations: 377.5 kB / 443.8 MB, free: 9.465 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.3081, allocations: 3.938 kB / 443.8 MB, free: 9.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.3084, allocations: 297.6 kB / 444.1 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000686/0.3091, allocations: 136 kB / 444.2 MB, free: 9.008 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003597/0.3127, allocations: 2.745 MB / 446.9 MB, free: 6.152 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005959/0.3133, allocations: 0.7983 MB / 447.7 MB, free: 5.328 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.404e-05/0.3133, allocations: 8.656 kB / 447.7 MB, free: 5.32 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.264e-05/0.3134, allocations: 31.36 kB / 447.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3134, allocations: 0 / 447.8 MB, free: 5.289 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03501/0.3484, allocations: 6.212 MB / 454 MB, free: 15.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/11.59, allocations: 11.72 kB / 454 MB, free: 15.09 MB / 366.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER_fmu --startTime=0 --stopTime=12 --stepSize=0.0023933 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Digital_Examples_NRXFER.fmu > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 14.165329372975975]