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.001642/0.001642, allocations: 113 kB / 21.18 MB, free: 0.5898 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.001817/0.001817, allocations: 209.7 kB / 24.47 MB, free: 3.996 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.5/1.5, allocations: 230.4 MB / 258.1 MB, free: 8.148 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.002022/0.002022, allocations: 63.91 kB / 378.7 MB, free: 2.992 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2909, allocations: 53.31 MB / 432 MB, free: 7.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003539/0.2944, allocations: 1.534 MB / 433.6 MB, free: 5.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.2966, allocations: 0.8887 MB / 434.5 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.821e-05/0.2966, allocations: 0 / 434.5 MB, free: 4.977 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.859e-05/0.2967, allocations: 11.86 kB / 434.5 MB, free: 4.965 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.621e-05/0.2968, allocations: 27.78 kB / 434.5 MB, free: 4.938 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000285/0.2971, allocations: 47.94 kB / 434.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.2974, allocations: 127.8 kB / 434.7 MB, free: 4.766 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001117/0.2975, allocations: 12.23 kB / 434.7 MB, free: 4.75 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007146/0.2982, allocations: 0.5809 MB / 435.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001603/0.2984, allocations: 71.75 kB / 435.3 MB, free: 4.098 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.752e-05/0.2984, allocations: 8 kB / 435.3 MB, free: 4.09 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.88e-05/0.2984, allocations: 11.94 kB / 435.4 MB, free: 4.078 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.2985, allocations: 71.69 kB / 435.4 MB, free: 4.008 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.2987, allocations: 119.2 kB / 435.5 MB, free: 3.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004386/0.2991, allocations: 376.4 kB / 435.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2991, allocations: 0 / 435.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2991, allocations: 0 / 435.9 MB, free: 3.523 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.233e-05/0.2991, allocations: 0 / 435.9 MB, free: 3.523 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.0009284/0.3001, allocations: 0.7344 MB / 436.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.3001, allocations: 8.031 kB / 436.7 MB, free: 2.707 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.756e-05/0.3002, allocations: 40.7 kB / 436.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003527/0.3005, allocations: 270.7 kB / 437 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.872e-05/0.3006, allocations: 16.36 kB / 437 MB, free: 2.348 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.458e-05/0.3006, allocations: 8.375 kB / 437 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003393/0.3009, allocations: 129.9 kB / 437.1 MB, free: 2.207 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.3009, allocations: 3.938 kB / 437.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.454e-05/0.301, allocations: 7.984 kB / 437.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/0.301, allocations: 7.938 kB / 437.1 MB, free: 2.188 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000158/0.3011, allocations: 55.97 kB / 437.2 MB, free: 2.133 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007873/0.3019, allocations: 460.5 kB / 437.6 MB, free: 1.633 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001936/0.3021, allocations: 82.47 kB / 437.7 MB, free: 1.543 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000136/0.3023, allocations: 60.89 kB / 437.8 MB, free: 1.48 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.445e-05/0.3023, allocations: 4 kB / 437.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004083/0.3027, allocations: 206.8 kB / 438 MB, free: 1.25 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.442e-06/0.3027, allocations: 0 / 438 MB, free: 1.25 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.000886/0.3036, allocations: 480.1 kB / 438.4 MB, free: 0.75 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001312/0.3037, allocations: 174.2 kB / 438.6 MB, free: 0.543 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006633/0.3044, allocations: 0.5091 MB / 439.1 MB, free: 20 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.642e-05/0.3044, allocations: 33.7 kB / 439.2 MB, free: 15.98 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.3045, allocations: 101.1 kB / 439.3 MB, free: 15.88 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.249e-05/0.3045, allocations: 27.8 kB / 439.3 MB, free: 15.85 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001208/0.3047, allocations: 81.55 kB / 439.4 MB, free: 15.77 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.3048, allocations: 330.8 kB / 439.7 MB, free: 15.43 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.305, allocations: 55.97 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.3051, allocations: 77.73 kB / 439.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003957/0.3055, allocations: 345.7 kB / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.3055, allocations: 64 / 440.2 MB, free: 14.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005936/0.3061, allocations: 400.2 kB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.3062, allocations: 126.8 kB / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.3062, allocations: 0 / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.3062, allocations: 0 / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.935e-05/0.3063, allocations: 0 / 440.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.587e-06/0.3063, allocations: 8.031 kB / 440.7 MB, free: 14.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.3064, allocations: 11.98 kB / 440.7 MB, free: 14.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.88e-05/0.3065, allocations: 55.94 kB / 440.7 MB, free: 14.26 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.0003795/0.3069, allocations: 362.8 kB / 441.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.3069, allocations: 35.77 kB / 441.1 MB, free: 13.84 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001174/0.307, allocations: 75.12 kB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.307, allocations: 0 / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.307, allocations: 0 / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.307, allocations: 4 kB / 441.2 MB, free: 13.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001048/0.3081, allocations: 0.8212 MB / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.3081, allocations: 0 / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.556e-06/0.3081, allocations: 0 / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.3081, allocations: 0 / 442 MB, free: 12.86 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.131e-05/0.3081, allocations: 15.98 kB / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.3081, allocations: 0 / 442 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3081, allocations: 7.875 kB / 442.1 MB, free: 12.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007117/0.3088, allocations: 0.5371 MB / 442.6 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003572/0.3092, allocations: 248.6 kB / 442.8 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.394e-05/0.3093, allocations: 12 kB / 442.8 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000123/0.3094, allocations: 8 kB / 442.9 MB, free: 11.98 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001184/0.3095, allocations: 32.09 kB / 442.9 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.581e-05/0.3096, allocations: 63.94 kB / 442.9 MB, free: 11.88 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004928/0.3101, allocations: 390.9 kB / 443.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.3101, allocations: 0 / 443.3 MB, free: 11.5 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002754/0.3103, allocations: 40 kB / 443.4 MB, free: 11.46 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.0001784/0.3105, allocations: 125.8 kB / 443.5 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005598/0.3111, allocations: 380.8 kB / 443.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3111, allocations: 0 / 443.9 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003306/0.3114, allocations: 305.6 kB / 444.2 MB, free: 10.57 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000646/0.312, allocations: 112.7 kB / 444.3 MB, free: 10.47 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001263/0.3133, allocations: 0.7134 MB / 445 MB, free: 9.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005736/0.3139, allocations: 0.7983 MB / 445.8 MB, free: 8.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.3139, allocations: 11.44 kB / 445.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of SimCode: time 5.51e-07/0.3139, allocations: 0 / 445.8 MB, free: 8.887 MB / 350.1 MB Notification: Performance of Templates: time 0.005684/0.3196, allocations: 2.703 MB / 448.5 MB, free: 6.129 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.6089987978339195]