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.0007532/0.0007532, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001109/0.001863, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.001029/0.001029, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001155/0.002185, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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.043/1.043, allocations: 177.5 MB / 190 MB, free: 4.785 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09244/1.136, allocations: 53.87 MB / 243.9 MB, free: 14.85 MB / 250.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.315e-06/2.315e-06, allocations: 0 / 245.2 MB, free: 13.56 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.598e-05/2.829e-05, allocations: 2.312 kB / 245.2 MB, free: 13.55 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002932/0.00296, allocations: 1.577 MB / 246.8 MB, free: 11.96 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002017/0.004977, allocations: 0.905 MB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.339e-05/0.00504, allocations: 0 / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.413e-05/0.005134, allocations: 19.86 kB / 247.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.632e-05/0.005211, allocations: 19.8 kB / 247.7 MB, free: 11.02 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002517/0.005462, allocations: 55.81 kB / 247.8 MB, free: 10.96 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.005689, allocations: 127.7 kB / 247.9 MB, free: 10.84 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.856e-05/0.005788, allocations: 16.2 kB / 247.9 MB, free: 10.82 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006416/0.006429, allocations: 0.5498 MB / 248.5 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001485/0.006578, allocations: 59.81 kB / 248.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.128e-05/0.006619, allocations: 12 kB / 248.5 MB, free: 10.2 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.29e-05/0.006652, allocations: 8 kB / 248.6 MB, free: 10.19 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 8.383e-05/0.006736, allocations: 63.73 kB / 248.6 MB, free: 10.12 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.09e-05/0.006817, allocations: 51.81 kB / 248.7 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003162/0.007133, allocations: 275 kB / 248.9 MB, free: 9.805 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.379e-05/0.007147, allocations: 0 / 248.9 MB, free: 9.805 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.007148, allocations: 0 / 248.9 MB, free: 9.805 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.201e-05/0.00716, allocations: 0 / 248.9 MB, free: 9.805 MB / 250.7 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.0007338/0.007894, allocations: 0.6613 MB / 249.6 MB, free: 9.094 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.007928, allocations: 8.625 kB / 249.6 MB, free: 9.086 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.007999, allocations: 28.91 kB / 249.6 MB, free: 9.059 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002221/0.008221, allocations: 216.1 kB / 249.8 MB, free: 8.82 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/0.008249, allocations: 4.375 kB / 249.9 MB, free: 8.816 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.925e-05/0.008278, allocations: 16.38 kB / 249.9 MB, free: 8.801 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003736/0.008652, allocations: 233.4 kB / 250.1 MB, free: 8.543 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.00866, allocations: 192 / 250.1 MB, free: 8.543 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.071e-05/0.008681, allocations: 4.375 kB / 250.1 MB, free: 8.539 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.657e-06/0.008689, allocations: 11.88 kB / 250.1 MB, free: 8.527 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001298/0.008819, allocations: 150.8 kB / 250.3 MB, free: 8.355 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003645/0.009184, allocations: 216.2 kB / 250.5 MB, free: 8.129 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001644/0.009348, allocations: 173.3 kB / 250.6 MB, free: 7.926 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000173/0.009521, allocations: 159.7 kB / 250.8 MB, free: 7.742 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.852e-06/0.009528, allocations: 4 kB / 250.8 MB, free: 7.738 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.009766, allocations: 305.4 kB / 251.1 MB, free: 7.391 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.793e-06/0.009768, allocations: 0 / 251.1 MB, free: 7.391 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.000441/0.01021, allocations: 0.5292 MB / 251.6 MB, free: 6.781 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.711e-05/0.01029, allocations: 178.3 kB / 251.8 MB, free: 6.57 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.01065, allocations: 367.1 kB / 252.2 MB, free: 6.199 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.758e-05/0.01068, allocations: 29.7 kB / 252.2 MB, free: 6.164 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.321e-05/0.01073, allocations: 93.08 kB / 252.3 MB, free: 6.07 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.294e-05/0.01077, allocations: 39.7 kB / 252.3 MB, free: 6.031 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.998e-05/0.01086, allocations: 73.5 kB / 252.4 MB, free: 5.953 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002147/0.01107, allocations: 322.8 kB / 252.7 MB, free: 5.629 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001307/0.0112, allocations: 150.8 kB / 252.9 MB, free: 5.457 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001259/0.01133, allocations: 172.5 kB / 253 MB, free: 5.258 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.01156, allocations: 323.4 kB / 253.3 MB, free: 4.887 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.01156, allocations: 0 / 253.3 MB, free: 4.887 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003329/0.01189, allocations: 367.2 kB / 253.7 MB, free: 4.473 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.471e-05/0.01199, allocations: 126.7 kB / 253.8 MB, free: 4.324 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.012, allocations: 4.031 kB / 253.8 MB, free: 4.32 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.01202, allocations: 4 kB / 253.8 MB, free: 4.316 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.055e-05/0.01204, allocations: 0 / 253.8 MB, free: 4.316 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.01204, allocations: 0 / 253.8 MB, free: 4.316 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001217/0.01216, allocations: 11.98 kB / 253.8 MB, free: 4.305 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.914e-05/0.01222, allocations: 51.94 kB / 253.9 MB, free: 4.254 MB / 250.7 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.0003011/0.01252, allocations: 353.3 kB / 254.2 MB, free: 3.875 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.489e-05/0.01258, allocations: 35.91 kB / 254.3 MB, free: 3.84 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.659e-05/0.01267, allocations: 55.08 kB / 254.3 MB, free: 3.789 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.01268, allocations: 0 / 254.3 MB, free: 3.789 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.204e-06/0.01268, allocations: 4 kB / 254.3 MB, free: 3.785 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.287e-06/0.01268, allocations: 0 / 254.3 MB, free: 3.785 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/0.01326, allocations: 0.6055 MB / 254.9 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.01326, allocations: 0 / 254.9 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.935e-06/0.01327, allocations: 0 / 254.9 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002616/0.01353, allocations: 143.6 kB / 255.1 MB, free: 2.969 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.01354, allocations: 0 / 255.1 MB, free: 2.969 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/0.01356, allocations: 15.98 kB / 255.1 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.01357, allocations: 0 / 255.1 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.01357, allocations: 0 / 255.1 MB, free: 2.953 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.01395, allocations: 0.4971 MB / 255.6 MB, free: 2.391 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.01401, allocations: 12 kB / 255.6 MB, free: 2.379 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.01413, allocations: 8 kB / 255.6 MB, free: 2.371 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.102e-05/0.01421, allocations: 23.95 kB / 255.6 MB, free: 2.348 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.568e-05/0.01427, allocations: 51.94 kB / 255.7 MB, free: 2.297 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0004794/0.01475, allocations: 164.5 kB / 255.8 MB, free: 2.133 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.01475, allocations: 0 / 255.8 MB, free: 2.133 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002769/0.01502, allocations: 40 kB / 255.9 MB, free: 2.094 MB / 250.7 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.0001202/0.01514, allocations: 95.41 kB / 256 MB, free: 1.992 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0003582/0.0155, allocations: 0.5703 MB / 256.5 MB, free: 1.32 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 6.111e-06/0.01551, allocations: 4 kB / 256.5 MB, free: 1.316 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001894/0.0157, allocations: 412.1 kB / 256.9 MB, free: 0.8359 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000397/0.01609, allocations: 353.8 kB / 257.3 MB, free: 464 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008662/0.01696, allocations: 0.7574 MB / 258.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.482e-05/0.01703, allocations: 95.27 kB / 258.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 3.441e-05/0.01706, allocations: 0.8281 kB / 258.1 MB, free: 15.53 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002485/0.01731, allocations: 171.2 kB / 258.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of SimCode: time 8.01e-07/0.01731, allocations: 0 / 258.3 MB, free: 15.36 MB / 266.7 MB Notification: Performance of Templates: time 0.005533/0.02284, allocations: 4.656 MB / 263 MB, free: 10.66 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (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 & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6130815064534545]