Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001551/0.001551, allocations: 114 kB / 21.18 MB, free: 0.7422 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.001646/0.001646, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.444/1.444, allocations: 230.4 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER") translateModel(Modelica.Electrical.Digital.Examples.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 67.84 kB / 378.7 MB, free: 2.883 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.228/0.23, allocations: 53.32 MB / 432.1 MB, free: 7.359 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002669/0.2327, allocations: 1.529 MB / 433.6 MB, free: 5.828 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001952/0.2346, allocations: 0.8926 MB / 434.5 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.648e-05/0.2347, allocations: 0 / 434.5 MB, free: 4.93 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 8.083e-05/0.2348, allocations: 11.92 kB / 434.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.053e-05/0.2348, allocations: 19.86 kB / 434.5 MB, free: 4.898 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.2351, allocations: 59.81 kB / 434.6 MB, free: 4.84 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000201/0.2353, allocations: 123.8 kB / 434.7 MB, free: 4.719 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.187e-05/0.2354, allocations: 8.234 kB / 434.7 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006585/0.236, allocations: 0.5771 MB / 435.3 MB, free: 4.129 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.2362, allocations: 83.67 kB / 435.4 MB, free: 4.047 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.768e-05/0.2362, allocations: 8 kB / 435.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.705e-05/0.2363, allocations: 12 kB / 435.4 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.13e-05/0.2363, allocations: 67.69 kB / 435.4 MB, free: 3.961 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001256/0.2365, allocations: 111.2 kB / 435.5 MB, free: 3.852 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004194/0.2369, allocations: 379.9 kB / 435.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.2369, allocations: 0 / 435.9 MB, free: 3.48 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.2369, allocations: 4 kB / 435.9 MB, free: 3.477 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.209e-06/0.2369, allocations: 0 / 435.9 MB, free: 3.477 MB / 334.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.000816/0.2377, allocations: 0.7305 MB / 436.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2378, allocations: 11.97 kB / 436.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.621e-05/0.2378, allocations: 40.7 kB / 436.7 MB, free: 2.621 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003262/0.2382, allocations: 278.6 kB / 437 MB, free: 2.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.978e-05/0.2382, allocations: 4.375 kB / 437 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.2382, allocations: 8.375 kB / 437 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003123/0.2385, allocations: 133.9 kB / 437.1 MB, free: 2.16 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.2385, allocations: 7.984 kB / 437.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.699e-05/0.2386, allocations: 8 kB / 437.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.2386, allocations: 0 / 437.1 MB, free: 2.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001499/0.2387, allocations: 59.91 kB / 437.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007412/0.2395, allocations: 456.5 kB / 437.6 MB, free: 1.59 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001775/0.2396, allocations: 78.53 kB / 437.7 MB, free: 1.504 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001492/0.2398, allocations: 68.83 kB / 437.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.01e-05/0.2398, allocations: 0 / 437.8 MB, free: 1.434 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003496/0.2401, allocations: 202.8 kB / 438 MB, free: 1.211 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.2401, allocations: 0 / 438 MB, free: 1.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008689/0.241, allocations: 486.9 kB / 438.5 MB, free: 0.707 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000109/0.2411, allocations: 170.1 kB / 438.6 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006811/0.2418, allocations: 0.517 MB / 439.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.506e-05/0.2418, allocations: 33.7 kB / 439.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.043e-05/0.2419, allocations: 105.1 kB / 439.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.795e-05/0.242, allocations: 23.8 kB / 439.3 MB, free: 15.8 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/0.2421, allocations: 85.55 kB / 439.4 MB, free: 15.71 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.2422, allocations: 326.8 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001382/0.2424, allocations: 59.95 kB / 439.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.2425, allocations: 73.69 kB / 439.8 MB, free: 15.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003928/0.2429, allocations: 343.2 kB / 440.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.2429, allocations: 4.109 kB / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0005881/0.2435, allocations: 396.2 kB / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001008/0.2436, allocations: 126.7 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.2436, allocations: 0 / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2436, allocations: 0 / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.959e-05/0.2436, allocations: 4 kB / 440.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2437, allocations: 0 / 440.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000136/0.2438, allocations: 16.02 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-05/0.2439, allocations: 59.94 kB / 440.8 MB, free: 14.21 MB / 350.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.0003747/0.2442, allocations: 362.8 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.843e-05/0.2443, allocations: 39.77 kB / 441.2 MB, free: 13.78 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00011/0.2444, allocations: 67.12 kB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.2444, allocations: 0 / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2444, allocations: 0 / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003615/0.2448, allocations: 244.6 kB / 441.5 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.112e-05/0.2448, allocations: 15.84 kB / 441.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000113/0.2449, allocations: 19.92 kB / 441.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.254e-05/0.245, allocations: 23.98 kB / 441.5 MB, free: 13.4 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007919/0.2458, allocations: 0.7031 MB / 442.2 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007663/0.2466, allocations: 0.6145 MB / 442.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001613/0.2468, allocations: 71.97 kB / 442.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0004929/0.2473, allocations: 390.9 kB / 443.3 MB, free: 11.52 MB / 350.1 MB Notification: Performance of Backend: time 6.51e-07/0.2473, allocations: 4 kB / 443.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006829/0.2479, allocations: 388.2 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of SimCode: time 0.001507/0.2494, allocations: 1.309 MB / 445 MB, free: 9.672 MB / 350.1 MB Notification: Performance of Templates: time 0.007766/0.2572, allocations: 4.159 MB / 449.1 MB, free: 5.445 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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: 4.169955500867218]