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.001311/0.001311, allocations: 86.22 kB / 21.44 MB, free: 296 kB / 14.72 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.001404/0.001404, allocations: 161.3 kB / 24.7 MB, free: 3.551 MB / 14.72 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 1.359/1.359, allocations: 158.6 MB / 186.5 MB, free: 6.414 MB / 174.1 MB " [Timeout remaining time 178] 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 1.393e-06/1.393e-06, allocations: 3.938 kB / 299 MB, free: 8.73 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.516e-05/2.655e-05, allocations: 2.281 kB / 299 MB, free: 8.727 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002639/0.002666, allocations: 1.455 MB / 300.4 MB, free: 7.258 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002178/0.004844, allocations: 0.8475 MB / 301.3 MB, free: 6.402 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.938e-05/0.004903, allocations: 0 / 301.3 MB, free: 6.402 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.005021, allocations: 7.922 kB / 301.3 MB, free: 6.395 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.005123, allocations: 27.73 kB / 301.3 MB, free: 6.367 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002962/0.00542, allocations: 55.81 kB / 301.3 MB, free: 6.312 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002218/0.005641, allocations: 131.7 kB / 301.5 MB, free: 6.184 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001234/0.005765, allocations: 16.2 kB / 301.5 MB, free: 6.164 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007596/0.006524, allocations: 0.5966 MB / 302.1 MB, free: 5.566 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001453/0.00667, allocations: 63.81 kB / 302.1 MB, free: 5.504 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.404e-05/0.006724, allocations: 12 kB / 302.2 MB, free: 5.492 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.393e-05/0.006778, allocations: 8 kB / 302.2 MB, free: 5.484 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.723e-05/0.006875, allocations: 63.72 kB / 302.2 MB, free: 5.422 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001075/0.006982, allocations: 59.72 kB / 302.3 MB, free: 5.363 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004536/0.007436, allocations: 370.8 kB / 302.6 MB, free: 5 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.007442, allocations: 4 kB / 302.7 MB, free: 4.996 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.007444, allocations: 0 / 302.7 MB, free: 4.996 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.664e-06/0.007452, allocations: 4 kB / 302.7 MB, free: 4.992 MB / 286.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.0008122/0.008264, allocations: 0.659 MB / 303.3 MB, free: 4.277 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.008299, allocations: 15.92 kB / 303.3 MB, free: 4.262 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.997e-05/0.008379, allocations: 40.7 kB / 303.4 MB, free: 4.223 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.008677, allocations: 216.1 kB / 303.6 MB, free: 3.984 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.008697, allocations: 4.375 kB / 303.6 MB, free: 3.98 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.008727, allocations: 12.38 kB / 303.6 MB, free: 3.969 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004062/0.009133, allocations: 248.9 kB / 303.8 MB, free: 3.695 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.009143, allocations: 192 / 303.8 MB, free: 3.695 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.488e-05/0.009168, allocations: 4.375 kB / 303.8 MB, free: 3.691 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.009175, allocations: 7.938 kB / 303.9 MB, free: 3.684 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.009426, allocations: 178.8 kB / 304 MB, free: 3.484 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006815/0.01011, allocations: 392.2 kB / 304.4 MB, free: 3.07 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/0.01039, allocations: 193.3 kB / 304.6 MB, free: 2.848 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002428/0.01064, allocations: 183.7 kB / 304.8 MB, free: 2.641 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.01065, allocations: 3.938 kB / 304.8 MB, free: 2.637 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005331/0.01118, allocations: 329.5 kB / 305.1 MB, free: 2.266 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.543e-06/0.01118, allocations: 0 / 305.1 MB, free: 2.266 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001045/0.01223, allocations: 0.7087 MB / 305.8 MB, free: 1.477 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001205/0.01235, allocations: 170.2 kB / 306 MB, free: 1.273 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007612/0.01311, allocations: 0.513 MB / 306.5 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.67e-05/0.01314, allocations: 29.7 kB / 306.5 MB, free: 0.7188 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.913e-05/0.01322, allocations: 101.1 kB / 306.6 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.405e-05/0.01328, allocations: 27.84 kB / 306.6 MB, free: 0.5898 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/0.0134, allocations: 81.62 kB / 306.7 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.01356, allocations: 326.8 kB / 307 MB, free: 180 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.01382, allocations: 178.7 kB / 307.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.01405, allocations: 192.5 kB / 307.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.01448, allocations: 355.7 kB / 307.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.01449, allocations: 4 kB / 307.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007342/0.01522, allocations: 0.5186 MB / 308.3 MB, free: 14.78 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001106/0.01533, allocations: 122.8 kB / 308.4 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.01534, allocations: 7.984 kB / 308.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.01535, allocations: 0 / 308.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.148e-05/0.01537, allocations: 0 / 308.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.601e-06/0.01538, allocations: 0 / 308.4 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.01552, allocations: 15.98 kB / 308.4 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.591e-05/0.01559, allocations: 55.94 kB / 308.5 MB, free: 14.55 MB / 302.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.0004037/0.016, allocations: 362.6 kB / 308.8 MB, free: 14.16 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.01606, allocations: 47.69 kB / 308.9 MB, free: 14.12 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001075/0.01617, allocations: 67.08 kB / 308.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.01617, allocations: 4 kB / 308.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.01618, allocations: 0 / 308.9 MB, free: 14.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.01618, allocations: 3.938 kB / 309 MB, free: 14.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001108/0.01729, allocations: 0.8666 MB / 309.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.01729, allocations: 0 / 309.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-06/0.0173, allocations: 3.984 kB / 309.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.0173, allocations: 0 / 309.8 MB, free: 13.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.249e-05/0.01733, allocations: 12 kB / 309.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.01733, allocations: 4 kB / 309.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01734, allocations: 192 / 309.8 MB, free: 13.07 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008434/0.01818, allocations: 0.6726 MB / 310.5 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003785/0.01856, allocations: 205.4 kB / 310.7 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.244e-05/0.01862, allocations: 12 kB / 310.7 MB, free: 12.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001522/0.01877, allocations: 11.98 kB / 310.7 MB, free: 12.11 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.01889, allocations: 31.91 kB / 310.8 MB, free: 12.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.133e-05/0.01896, allocations: 59.92 kB / 310.8 MB, free: 12.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006109/0.01957, allocations: 390.9 kB / 311.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.01957, allocations: 0 / 311.2 MB, free: 11.64 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002966/0.01987, allocations: 44 kB / 311.2 MB, free: 11.6 MB / 302.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.0001604/0.02003, allocations: 110.2 kB / 311.4 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007249/0.02076, allocations: 0.6124 MB / 312 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.02076, allocations: 0 / 312 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003952/0.02115, allocations: 424.4 kB / 312.4 MB, free: 10.29 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006364/0.02179, allocations: 125.3 kB / 312.5 MB, free: 10.16 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001278/0.02307, allocations: 0.7686 MB / 313.3 MB, free: 9.344 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.02333, allocations: 201.6 kB / 313.5 MB, free: 9.125 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.004e-05/0.02337, allocations: 8.719 kB / 313.5 MB, free: 9.113 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.465e-05/0.02339, allocations: 12.5 kB / 313.5 MB, free: 9.102 MB / 302.1 MB Notification: Performance of SimCode: time 6.41e-07/0.02339, allocations: 0 / 313.5 MB, free: 9.102 MB / 302.1 MB Notification: Performance of Templates: time 0.00906/0.03245, allocations: 5.007 MB / 318.5 MB, free: 3.992 MB / 302.1 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 4.2190129198133945]