Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001036/0.001036, allocations: 75.75 kB / 21.97 MB, free: 2.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 169.3 kB / 25.33 MB, free: 8.543 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9704/0.9704, allocations: 158.6 MB / 187.2 MB, free: 2.949 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.355e-06/2.355e-06, allocations: 0 / 251 MB, free: 7.512 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.109e-05/4.344e-05, allocations: 2.312 kB / 251 MB, free: 7.508 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.003193/0.003236, allocations: 1.511 MB / 252.6 MB, free: 5.984 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.002548/0.005784, allocations: 0.8701 MB / 253.4 MB, free: 5.102 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.005885, allocations: 4 kB / 253.4 MB, free: 5.098 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001347/0.00602, allocations: 7.875 kB / 253.4 MB, free: 5.09 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.006138, allocations: 23.86 kB / 253.5 MB, free: 5.066 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.006531, allocations: 47.88 kB / 253.5 MB, free: 5.02 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002605/0.006791, allocations: 131.7 kB / 253.6 MB, free: 4.891 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.006932, allocations: 16.22 kB / 253.7 MB, free: 4.871 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008471/0.007779, allocations: 0.5966 MB / 254.2 MB, free: 4.273 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002153/0.007995, allocations: 67.8 kB / 254.3 MB, free: 4.207 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.008043, allocations: 8 kB / 254.3 MB, free: 4.199 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.934e-05/0.008083, allocations: 12 kB / 254.3 MB, free: 4.188 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003183/0.008401, allocations: 67.66 kB / 254.4 MB, free: 4.121 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001191/0.00852, allocations: 55.8 kB / 254.5 MB, free: 4.066 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004192/0.008939, allocations: 290.9 kB / 254.7 MB, free: 3.781 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.008943, allocations: 0 / 254.7 MB, free: 3.781 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.008944, allocations: 0 / 254.7 MB, free: 3.781 MB / 234.7 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.008953, allocations: 0 / 254.7 MB, free: 3.781 MB / 234.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.001046/0.009999, allocations: 0.7785 MB / 255.5 MB, free: 2.941 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.55e-05/0.01005, allocations: 15.98 kB / 255.5 MB, free: 2.926 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.01018, allocations: 44.7 kB / 255.6 MB, free: 2.883 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003236/0.0105, allocations: 222.9 kB / 255.8 MB, free: 2.637 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.516e-05/0.01054, allocations: 8.375 kB / 255.8 MB, free: 2.629 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.611e-05/0.01057, allocations: 8.375 kB / 255.8 MB, free: 2.621 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004418/0.01102, allocations: 253.6 kB / 256.1 MB, free: 2.34 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.01103, allocations: 192 / 256.1 MB, free: 2.34 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.532e-05/0.01106, allocations: 8.375 kB / 256.1 MB, free: 2.332 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.987e-05/0.01108, allocations: 3.938 kB / 256.1 MB, free: 2.328 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001789/0.01126, allocations: 162.8 kB / 256.2 MB, free: 2.145 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009063/0.01216, allocations: 499.3 kB / 256.7 MB, free: 1.621 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002409/0.0124, allocations: 193.8 kB / 256.9 MB, free: 1.395 MB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.01257, allocations: 178.5 kB / 257.1 MB, free: 1.191 MB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.307e-05/0.01258, allocations: 11.94 kB / 257.1 MB, free: 1.18 MB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003604/0.01294, allocations: 323.1 kB / 257.4 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 2.365e-06/0.01295, allocations: 0 / 257.4 MB, free: 0.8125 MB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0009631/0.01391, allocations: 0.6843 MB / 258.1 MB, free: 52 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/0.01403, allocations: 170.2 kB / 258.3 MB, free: 15.85 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009171/0.01494, allocations: 0.6232 MB / 258.9 MB, free: 15.21 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.01498, allocations: 29.7 kB / 258.9 MB, free: 15.17 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/0.0151, allocations: 151.8 kB / 259.1 MB, free: 15.02 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.127e-05/0.01515, allocations: 27.84 kB / 259.1 MB, free: 14.99 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001503/0.0153, allocations: 87.17 kB / 259.2 MB, free: 14.9 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001981/0.0155, allocations: 0.5001 MB / 259.7 MB, free: 14.39 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.01569, allocations: 166.8 kB / 259.8 MB, free: 14.2 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001875/0.01588, allocations: 186.1 kB / 260 MB, free: 13.98 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003486/0.01623, allocations: 340.9 kB / 260.3 MB, free: 13.59 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.01623, allocations: 0 / 260.3 MB, free: 13.59 MB / 250.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000606/0.01684, allocations: 499 kB / 260.8 MB, free: 13.05 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.01695, allocations: 122.8 kB / 261 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.914e-06/0.01696, allocations: 0 / 261 MB, free: 12.91 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.926e-05/0.01698, allocations: 8.031 kB / 261 MB, free: 12.9 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.845e-05/0.01702, allocations: 3.984 kB / 261 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.01703, allocations: 0 / 261 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001583/0.01719, allocations: 8 kB / 261 MB, free: 12.89 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.273e-05/0.01727, allocations: 59.94 kB / 261 MB, free: 12.83 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.0006487/0.01792, allocations: 385.3 kB / 261.4 MB, free: 12.41 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.391e-05/0.01801, allocations: 59.64 kB / 261.5 MB, free: 12.36 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001206/0.01813, allocations: 55.08 kB / 261.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.01813, allocations: 3.984 kB / 261.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.01814, allocations: 0 / 261.5 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.01814, allocations: 4 kB / 261.5 MB, free: 12.29 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.01928, allocations: 0.9632 MB / 262.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.01928, allocations: 0 / 262.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.005e-06/0.01929, allocations: 0 / 262.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.6e-06/0.0193, allocations: 0 / 262.5 MB, free: 11.24 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.938e-05/0.01933, allocations: 15.94 kB / 262.5 MB, free: 11.23 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.01933, allocations: 3.984 kB / 262.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.01933, allocations: 0 / 262.5 MB, free: 11.22 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007719/0.02011, allocations: 0.7042 MB / 263.2 MB, free: 10.45 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003664/0.02047, allocations: 181.6 kB / 263.4 MB, free: 10.27 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.003e-05/0.02053, allocations: 16 kB / 263.4 MB, free: 10.26 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001396/0.02067, allocations: 11.98 kB / 263.4 MB, free: 10.25 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.02082, allocations: 31.95 kB / 263.5 MB, free: 10.21 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.768e-05/0.02088, allocations: 55.94 kB / 263.5 MB, free: 10.16 MB / 250.7 MB Notification: Performance of sorting global known variables: time 0.0005374/0.02142, allocations: 430.7 kB / 263.9 MB, free: 9.742 MB / 250.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02142, allocations: 0 / 263.9 MB, free: 9.742 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003515/0.02177, allocations: 44 kB / 264 MB, free: 9.699 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.0001649/0.02194, allocations: 114.2 kB / 264.1 MB, free: 9.578 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0006047/0.02254, allocations: 0.6003 MB / 264.7 MB, free: 8.875 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.02255, allocations: 0 / 264.7 MB, free: 8.875 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003206/0.02287, allocations: 420.1 kB / 265.1 MB, free: 8.387 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006819/0.02355, allocations: 134.5 kB / 265.2 MB, free: 8.262 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.02481, allocations: 0.7478 MB / 266 MB, free: 7.465 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000116/0.02492, allocations: 99.25 kB / 266.1 MB, free: 7.348 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.101e-05/0.02498, allocations: 8.719 kB / 266.1 MB, free: 7.34 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.783e-05/0.02502, allocations: 16.44 kB / 266.1 MB, free: 7.324 MB / 250.7 MB Notification: Performance of SimCode: time 1.232e-06/0.02502, allocations: 4.062 kB / 266.1 MB, free: 7.32 MB / 250.7 MB Notification: Performance of Templates: time 0.01015/0.03518, allocations: 5.013 MB / 271.1 MB, free: 2.223 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/NRXFER/NRXFER.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: 3.1452239439822733]