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.001819/0.001819, allocations: 112.9 kB / 19.17 MB, free: 3.891 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.002246/0.002246, allocations: 210.5 kB / 22.13 MB, free: 0.9375 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.455/1.455, allocations: 230.2 MB / 255.2 MB, free: 15.38 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: 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 0.001931/0.001931, allocations: 67.89 kB / 374.5 MB, free: 9.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1055, allocations: 53.32 MB / 427.8 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002752/0.1082, allocations: 1.523 MB / 429.4 MB, free: 2.961 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002048/0.1103, allocations: 0.8848 MB / 430.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.614e-05/0.1103, allocations: 4 kB / 430.2 MB, free: 2.066 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 9.097e-05/0.1104, allocations: 7.922 kB / 430.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 9.752e-05/0.1105, allocations: 23.8 kB / 430.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.1108, allocations: 47.94 kB / 430.3 MB, free: 1.988 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.111, allocations: 127.7 kB / 430.4 MB, free: 1.863 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001068/0.1111, allocations: 16.22 kB / 430.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000693/0.1118, allocations: 0.5809 MB / 431 MB, free: 1.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.1119, allocations: 79.73 kB / 431.1 MB, free: 1.184 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.298e-05/0.112, allocations: 12 kB / 431.1 MB, free: 1.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.623e-05/0.112, allocations: 8 kB / 431.1 MB, free: 1.164 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.1121, allocations: 67.7 kB / 431.2 MB, free: 1.098 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001384/0.1123, allocations: 111.2 kB / 431.3 MB, free: 0.9883 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004068/0.1127, allocations: 370.4 kB / 431.7 MB, free: 0.625 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/0.1127, allocations: 4 kB / 431.7 MB, free: 0.6211 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1127, allocations: 3.938 kB / 431.7 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1127, allocations: 0 / 431.7 MB, free: 0.6172 MB / 350.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.0008946/0.1136, allocations: 0.7344 MB / 432.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.029e-05/0.1136, allocations: 8.031 kB / 432.4 MB, free: 15.8 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.679e-05/0.1137, allocations: 40.7 kB / 432.5 MB, free: 15.76 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003315/0.114, allocations: 278.7 kB / 432.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.066e-05/0.1141, allocations: 4.375 kB / 432.7 MB, free: 15.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.1141, allocations: 8.375 kB / 432.8 MB, free: 15.44 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003252/0.1144, allocations: 129.9 kB / 432.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.1144, allocations: 0 / 432.9 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.1145, allocations: 15.94 kB / 432.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.468e-06/0.1145, allocations: 0 / 432.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001493/0.1146, allocations: 59.97 kB / 433 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007042/0.1153, allocations: 464.5 kB / 433.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.1155, allocations: 78.48 kB / 433.5 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001529/0.1157, allocations: 64.94 kB / 433.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.494e-06/0.1157, allocations: 0 / 433.5 MB, free: 14.57 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003873/0.1161, allocations: 210.7 kB / 433.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 1.513e-06/0.1161, allocations: 0 / 433.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.000889/0.117, allocations: 487.2 kB / 434.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/0.1171, allocations: 166.2 kB / 434.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000692/0.1178, allocations: 0.513 MB / 434.9 MB, free: 13.12 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.166e-05/0.1178, allocations: 29.7 kB / 434.9 MB, free: 13.08 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.1179, allocations: 101.1 kB / 435 MB, free: 12.98 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.491e-05/0.1179, allocations: 31.84 kB / 435.1 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.118, allocations: 81.56 kB / 435.1 MB, free: 12.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001472/0.1182, allocations: 326.8 kB / 435.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001365/0.1183, allocations: 55.97 kB / 435.5 MB, free: 12.48 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000153/0.1185, allocations: 77.62 kB / 435.6 MB, free: 12.4 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003811/0.1188, allocations: 343.3 kB / 435.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.1189, allocations: 0 / 435.9 MB, free: 12.01 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006074/0.1195, allocations: 396.3 kB / 436.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001016/0.1196, allocations: 122.8 kB / 436.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.1196, allocations: 0 / 436.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.1196, allocations: 0 / 436.4 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.278e-05/0.1196, allocations: 7.984 kB / 436.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1196, allocations: 0 / 436.4 MB, free: 11.44 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.1198, allocations: 8 kB / 436.5 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.598e-05/0.1198, allocations: 63.92 kB / 436.5 MB, free: 11.37 MB / 366.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.0003994/0.1202, allocations: 374.8 kB / 436.9 MB, free: 10.97 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.108e-05/0.1203, allocations: 39.77 kB / 436.9 MB, free: 10.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.1204, allocations: 63.14 kB / 437 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1204, allocations: 3.938 kB / 437 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1204, allocations: 0 / 437 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1204, allocations: 0 / 437 MB, free: 10.86 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001161/0.1216, allocations: 0.8213 MB / 437.8 MB, free: 9.957 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1216, allocations: 4 kB / 437.8 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.458e-06/0.1216, allocations: 3.938 kB / 437.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.1216, allocations: 0 / 437.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.622e-05/0.1216, allocations: 23.98 kB / 437.8 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1216, allocations: 0 / 437.8 MB, free: 9.926 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.1216, allocations: 3.938 kB / 437.8 MB, free: 9.922 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007362/0.1224, allocations: 0.5399 MB / 438.4 MB, free: 9.344 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.1227, allocations: 244.6 kB / 438.6 MB, free: 9.086 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.576e-05/0.1227, allocations: 12 kB / 438.6 MB, free: 9.074 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000133/0.1229, allocations: 7.984 kB / 438.6 MB, free: 9.066 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.123, allocations: 31.92 kB / 438.7 MB, free: 9.035 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.708e-05/0.1231, allocations: 59.92 kB / 438.7 MB, free: 8.977 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004824/0.1235, allocations: 386.9 kB / 439.1 MB, free: 8.602 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1235, allocations: 0 / 439.1 MB, free: 8.602 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.1238, allocations: 44 kB / 439.1 MB, free: 8.559 MB / 366.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.0001917/0.124, allocations: 109.9 kB / 439.3 MB, free: 8.445 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005514/0.1246, allocations: 377.5 kB / 439.6 MB, free: 8.027 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.1246, allocations: 4.062 kB / 439.6 MB, free: 8.023 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003479/0.1249, allocations: 309.5 kB / 439.9 MB, free: 7.672 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006639/0.1256, allocations: 124 kB / 440.1 MB, free: 7.562 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.127, allocations: 0.6939 MB / 440.7 MB, free: 6.832 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006073/0.1276, allocations: 0.7944 MB / 441.5 MB, free: 6.012 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.533e-05/0.1276, allocations: 15.44 kB / 441.6 MB, free: 5.996 MB / 366.1 MB Notification: Performance of SimCode: time 5.71e-07/0.1276, allocations: 4 kB / 441.6 MB, free: 5.992 MB / 366.1 MB Notification: Performance of Templates: time 0.005501/0.1331, allocations: 2.7 MB / 444.3 MB, free: 3.234 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_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: 7.527694490039721]