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.0016/0.0016, allocations: 116.8 kB / 19.18 MB, free: 3.762 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.002034/0.002034, allocations: 210.6 kB / 22.13 MB, free: 0.8125 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.498/1.498, allocations: 230.2 MB / 255.2 MB, free: 15.27 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.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 0.001838/0.001838, allocations: 63.89 kB / 374.5 MB, free: 9.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1044, allocations: 53.32 MB / 427.8 MB, free: 4.512 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002675/0.1071, allocations: 1.519 MB / 429.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.1091, allocations: 0.8887 MB / 430.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.504e-05/0.1091, allocations: 0 / 430.2 MB, free: 2.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 6.449e-05/0.1092, allocations: 7.922 kB / 430.3 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 7.902e-05/0.1092, allocations: 23.8 kB / 430.3 MB, free: 2.059 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000208/0.1095, allocations: 47.94 kB / 430.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001896/0.1096, allocations: 127.7 kB / 430.4 MB, free: 1.887 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.988e-05/0.1097, allocations: 16.22 kB / 430.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006889/0.1104, allocations: 0.5771 MB / 431 MB, free: 1.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001734/0.1106, allocations: 79.69 kB / 431.1 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 4.346e-05/0.1106, allocations: 8 kB / 431.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.765e-05/0.1107, allocations: 8 kB / 431.1 MB, free: 1.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.897e-05/0.1108, allocations: 67.7 kB / 431.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001262/0.1109, allocations: 115.2 kB / 431.3 MB, free: 1.016 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003917/0.1113, allocations: 378.4 kB / 431.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.726e-06/0.1113, allocations: 0 / 431.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of FrontEnd: time 8.01e-07/0.1113, allocations: 0 / 431.7 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1113, allocations: 3.938 kB / 431.7 MB, free: 0.6406 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.0007625/0.112, allocations: 0.7332 MB / 432.4 MB, free: 15.84 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.695e-05/0.1121, allocations: 16.03 kB / 432.4 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001002/0.1122, allocations: 36.7 kB / 432.5 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.1125, allocations: 274.7 kB / 432.7 MB, free: 15.48 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.866e-05/0.1125, allocations: 12.38 kB / 432.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.1125, allocations: 8.375 kB / 432.8 MB, free: 15.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002721/0.1128, allocations: 129.9 kB / 432.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.561e-06/0.1128, allocations: 0 / 432.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.061e-05/0.1128, allocations: 4 kB / 432.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.255e-06/0.1128, allocations: 0 / 432.9 MB, free: 15.32 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.113, allocations: 63.91 kB / 433 MB, free: 15.26 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006897/0.1137, allocations: 472.5 kB / 433.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001816/0.1139, allocations: 74.48 kB / 433.5 MB, free: 14.66 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001515/0.114, allocations: 61 kB / 433.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/0.114, allocations: 7.938 kB / 433.6 MB, free: 14.59 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003515/0.1144, allocations: 210.7 kB / 433.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of pre-optimization done (n=13): time 3.366e-06/0.1144, allocations: 7.984 kB / 433.8 MB, free: 14.36 MB / 366.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009421/0.1153, allocations: 480.2 kB / 434.2 MB, free: 13.86 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.1154, allocations: 166.2 kB / 434.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006646/0.1161, allocations: 0.513 MB / 434.9 MB, free: 13.13 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.967e-05/0.1161, allocations: 29.7 kB / 434.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.319e-05/0.1162, allocations: 97.09 kB / 435 MB, free: 13 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.1162, allocations: 27.84 kB / 435.1 MB, free: 12.97 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.1164, allocations: 89.56 kB / 435.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1165, allocations: 326.8 kB / 435.5 MB, free: 12.55 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001418/0.1166, allocations: 51.97 kB / 435.5 MB, free: 12.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.1168, allocations: 77.67 kB / 435.6 MB, free: 12.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.1172, allocations: 346.4 kB / 435.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1172, allocations: 0 / 435.9 MB, free: 12.03 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006047/0.1178, allocations: 400.3 kB / 436.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.31e-05/0.1179, allocations: 122.8 kB / 436.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/0.1179, allocations: 4 kB / 436.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.118, allocations: 0 / 436.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.676e-05/0.118, allocations: 0 / 436.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.378e-06/0.118, allocations: 0 / 436.4 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.1181, allocations: 11.98 kB / 436.5 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.925e-05/0.1182, allocations: 59.94 kB / 436.5 MB, free: 11.39 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.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.0003629/0.1185, allocations: 358.8 kB / 436.9 MB, free: 11 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.647e-05/0.1186, allocations: 43.8 kB / 436.9 MB, free: 10.96 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.1187, allocations: 67.14 kB / 437 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1187, allocations: 0 / 437 MB, free: 10.89 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1187, allocations: 7.938 kB / 437 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.1187, allocations: 128 / 437 MB, free: 10.88 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.1198, allocations: 0.825 MB / 437.8 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1198, allocations: 0 / 437.8 MB, free: 9.977 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.828e-06/0.1198, allocations: 7.984 kB / 437.8 MB, free: 9.969 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1198, allocations: 3.938 kB / 437.8 MB, free: 9.965 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/0.1199, allocations: 12 kB / 437.8 MB, free: 9.953 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1199, allocations: 4 kB / 437.8 MB, free: 9.949 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.1199, allocations: 3.938 kB / 437.8 MB, free: 9.945 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007091/0.1206, allocations: 0.5371 MB / 438.4 MB, free: 9.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003269/0.1209, allocations: 248.6 kB / 438.6 MB, free: 9.105 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.49e-05/0.121, allocations: 8 kB / 438.6 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.1211, allocations: 15.98 kB / 438.6 MB, free: 9.082 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001019/0.1212, allocations: 27.91 kB / 438.7 MB, free: 9.055 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.05e-05/0.1213, allocations: 63.94 kB / 438.7 MB, free: 8.992 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005494/0.1218, allocations: 382.9 kB / 439.1 MB, free: 8.621 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1218, allocations: 4 kB / 439.1 MB, free: 8.617 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003018/0.1221, allocations: 40 kB / 439.2 MB, free: 8.578 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,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 0.000138/0.1223, allocations: 111.2 kB / 439.3 MB, free: 8.461 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005371/0.1228, allocations: 381.5 kB / 439.6 MB, free: 8.039 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1228, allocations: 0 / 439.6 MB, free: 8.039 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003041/0.1231, allocations: 301.6 kB / 439.9 MB, free: 7.695 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006283/0.1237, allocations: 121.7 kB / 440 MB, free: 7.59 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.1249, allocations: 0.6904 MB / 440.7 MB, free: 6.863 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004878/0.1254, allocations: 0.8061 MB / 441.5 MB, free: 6.031 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.212e-05/0.1255, allocations: 11.44 kB / 441.6 MB, free: 6.02 MB / 366.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1255, allocations: 0 / 441.6 MB, free: 6.02 MB / 366.1 MB Notification: Performance of Templates: time 0.005579/0.131, allocations: 2.698 MB / 444.3 MB, free: 3.262 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.NXFER.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.53450078307651]