Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.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.0009348/0.0009348, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002952/0.003886, allocations: 449.7 kB / 10.37 MB, free: 324 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.0009167/0.0009167, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001173/0.00209, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 0.9626/0.9626, allocations: 177.4 MB / 189.9 MB, free: 4.836 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08325/1.046, allocations: 53.87 MB / 243.7 MB, free: 14.9 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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218e-05/1.356e-05, allocations: 2.312 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.00169/0.001704, allocations: 1.574 MB / 246.6 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001305/0.003009, allocations: 0.909 MB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.176e-05/0.003061, allocations: 0 / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 6.751e-05/0.003128, allocations: 15.86 kB / 247.5 MB, free: 11.12 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 8.426e-05/0.003212, allocations: 19.81 kB / 247.5 MB, free: 11.11 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001678/0.00338, allocations: 51.81 kB / 247.6 MB, free: 11.05 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001562/0.003536, allocations: 127.7 kB / 247.7 MB, free: 10.93 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.306e-05/0.003609, allocations: 16.2 kB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004084/0.004018, allocations: 0.5537 MB / 248.3 MB, free: 10.36 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.004121, allocations: 67.83 kB / 248.3 MB, free: 10.29 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.779e-05/0.004148, allocations: 8 kB / 248.3 MB, free: 10.28 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.896e-05/0.004167, allocations: 8 kB / 248.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.626e-05/0.004224, allocations: 63.72 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001192/0.004343, allocations: 43.81 kB / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002003/0.004543, allocations: 275 kB / 248.7 MB, free: 9.898 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.202e-05/0.004555, allocations: 3.984 kB / 248.7 MB, free: 9.895 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.12e-07/0.004556, allocations: 0 / 248.7 MB, free: 9.895 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.198e-05/0.004568, allocations: 0 / 248.7 MB, free: 9.895 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.0004925/0.00506, allocations: 0.6613 MB / 249.4 MB, free: 9.184 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.742e-05/0.005088, allocations: 8.625 kB / 249.4 MB, free: 9.176 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.949e-05/0.005137, allocations: 36.91 kB / 249.4 MB, free: 9.141 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001609/0.005298, allocations: 208.1 kB / 249.6 MB, free: 8.91 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.674e-05/0.005315, allocations: 8.375 kB / 249.7 MB, free: 8.902 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.535e-05/0.00533, allocations: 8.375 kB / 249.7 MB, free: 8.895 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.005601, allocations: 233.7 kB / 249.9 MB, free: 8.633 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.005607, allocations: 192 / 249.9 MB, free: 8.633 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.005619, allocations: 4.312 kB / 249.9 MB, free: 8.629 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.005625, allocations: 7.938 kB / 249.9 MB, free: 8.621 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.324e-05/0.005708, allocations: 150.8 kB / 250 MB, free: 8.449 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002519/0.00596, allocations: 220.2 kB / 250.3 MB, free: 8.219 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.006068, allocations: 173.3 kB / 250.4 MB, free: 8.016 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.771e-05/0.006145, allocations: 155.7 kB / 250.6 MB, free: 7.836 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.789e-06/0.00615, allocations: 4 kB / 250.6 MB, free: 7.832 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001722/0.006322, allocations: 309.5 kB / 250.9 MB, free: 7.48 MB / 250.7 MB Notification: Performance of pre-optimization done (n=13): time 1.553e-06/0.006324, allocations: 3.938 kB / 250.9 MB, free: 7.477 MB / 250.7 MB Notification: Performance of matching and sorting (n=13): time 0.0003133/0.006637, allocations: 0.5331 MB / 251.4 MB, free: 6.867 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/0.006675, allocations: 85.11 kB / 251.5 MB, free: 6.766 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.006937, allocations: 363.2 kB / 251.9 MB, free: 6.398 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.006956, allocations: 33.7 kB / 251.9 MB, free: 6.359 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.00699, allocations: 97.06 kB / 252 MB, free: 6.262 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.519e-05/0.007015, allocations: 31.7 kB / 252 MB, free: 6.23 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.461e-05/0.007079, allocations: 77.5 kB / 252.1 MB, free: 6.148 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.847e-05/0.007148, allocations: 318.8 kB / 252.4 MB, free: 5.828 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.57e-05/0.007224, allocations: 154.8 kB / 252.6 MB, free: 5.652 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.917e-05/0.007313, allocations: 172.5 kB / 252.7 MB, free: 5.453 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001594/0.007472, allocations: 323.2 kB / 253 MB, free: 5.082 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.007474, allocations: 4 kB / 253.1 MB, free: 5.078 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002051/0.007679, allocations: 359.2 kB / 253.4 MB, free: 4.672 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.237e-05/0.007772, allocations: 134.7 kB / 253.5 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.007776, allocations: 0 / 253.5 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.513e-06/0.007783, allocations: 0 / 253.5 MB, free: 4.516 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.726e-05/0.0078, allocations: 4 kB / 253.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.494e-06/0.007802, allocations: 0 / 253.5 MB, free: 4.512 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.349e-05/0.007876, allocations: 11.98 kB / 253.5 MB, free: 4.5 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.893e-05/0.007915, allocations: 51.94 kB / 253.6 MB, free: 4.449 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.nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.x,$PRE.nXFERGATE.inertialDelaySensitive.x,nXFERGATE.yy,nXFERGATE.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.0002024/0.008117, allocations: 349.4 kB / 253.9 MB, free: 4.074 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.008149, allocations: 35.91 kB / 254 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.895e-05/0.008218, allocations: 55.08 kB / 254 MB, free: 3.988 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.008225, allocations: 4 kB / 254 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.883e-06/0.008227, allocations: 0 / 254 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.00823, allocations: 0 / 254 MB, free: 3.984 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004337/0.008664, allocations: 0.6017 MB / 254.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.008665, allocations: 0 / 254.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.96e-06/0.00867, allocations: 0 / 254.6 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.008829, allocations: 139.4 kB / 254.8 MB, free: 3.172 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.466e-06/0.008832, allocations: 8 kB / 254.8 MB, free: 3.164 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.225e-05/0.008844, allocations: 4 kB / 254.8 MB, free: 3.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.008845, allocations: 0 / 254.8 MB, free: 3.16 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.008847, allocations: 0 / 254.8 MB, free: 3.16 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002355/0.009082, allocations: 0.5009 MB / 255.3 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.929e-05/0.009112, allocations: 12.12 kB / 255.3 MB, free: 2.582 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.794e-05/0.00918, allocations: 15.98 kB / 255.3 MB, free: 2.566 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.009246, allocations: 19.98 kB / 255.3 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.009279, allocations: 51.92 kB / 255.4 MB, free: 2.496 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0001279/0.009407, allocations: 160.6 kB / 255.5 MB, free: 2.336 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009407, allocations: 4 kB / 255.5 MB, free: 2.332 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000166/0.009573, allocations: 40 kB / 255.6 MB, free: 2.293 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,nXFERGATE.nextstate,nXFERGATE.yy,nXFERGATE.inertialDelaySensitive.x,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.y_old,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.t_next) * Number of discrete states: 13 (e_table.y,x_table.y,nXFERGATE.yy,nXFERGATE.nextstate,nXFERGATE.inertialDelaySensitive.y,nXFERGATE.inertialDelaySensitive.y_auxiliary,nXFERGATE.inertialDelaySensitive.t_next,nXFERGATE.inertialDelaySensitive.delayTime,nXFERGATE.inertialDelaySensitive.lh,nXFERGATE.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,nXFERGATE.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 7.605e-05/0.009649, allocations: 92.17 kB / 255.7 MB, free: 2.195 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0004073/0.01006, allocations: 0.5664 MB / 256.2 MB, free: 1.527 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.01006, allocations: 4 kB / 256.2 MB, free: 1.523 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.01023, allocations: 419.9 kB / 256.7 MB, free: 1.039 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.01051, allocations: 139.2 kB / 256.8 MB, free: 0.9141 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007925/0.01131, allocations: 0.7574 MB / 257.5 MB, free: 104 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.066e-05/0.01138, allocations: 100.7 kB / 257.6 MB, free: 15.98 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.481e-05/0.0114, allocations: 8.719 kB / 257.7 MB, free: 15.97 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002269/0.01163, allocations: 167.2 kB / 257.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of SimCode: time 7.72e-07/0.01163, allocations: 0 / 257.8 MB, free: 15.81 MB / 266.7 MB Notification: Performance of Templates: time 0.005321/0.01695, allocations: 4.643 MB / 262.5 MB, free: 11.12 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.485497461631894]