Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001269/0.001269, allocations: 110.5 kB / 21.18 MB, free: 0.7617 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.001401/0.001401, allocations: 219.9 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.417/1.417, allocations: 230.4 MB / 258.1 MB, free: 8.145 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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER") translateModel(Modelica.Electrical.Digital.Examples.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER") [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.002794/0.002794, allocations: 75.83 kB / 378.7 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2292, allocations: 53.32 MB / 432.1 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.002677/0.2319, allocations: 1.526 MB / 433.6 MB, free: 5.816 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002022/0.2339, allocations: 0.8849 MB / 434.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.308e-05/0.234, allocations: 0 / 434.5 MB, free: 4.926 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 9.586e-05/0.234, allocations: 19.8 kB / 434.5 MB, free: 4.906 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.183e-05/0.2341, allocations: 23.84 kB / 434.5 MB, free: 4.883 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002483/0.2344, allocations: 47.89 kB / 434.6 MB, free: 4.836 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002025/0.2346, allocations: 127.8 kB / 434.7 MB, free: 4.711 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.377e-05/0.2347, allocations: 16.22 kB / 434.7 MB, free: 4.691 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006629/0.2353, allocations: 0.5732 MB / 435.3 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.2355, allocations: 79.69 kB / 435.4 MB, free: 4.039 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.851e-05/0.2355, allocations: 12 kB / 435.4 MB, free: 4.027 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.748e-05/0.2356, allocations: 11.94 kB / 435.4 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001009/0.2357, allocations: 67.75 kB / 435.4 MB, free: 3.949 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.2358, allocations: 115.1 kB / 435.6 MB, free: 3.836 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004065/0.2362, allocations: 372 kB / 435.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.2362, allocations: 4 kB / 435.9 MB, free: 3.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.2362, allocations: 4 kB / 435.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.471e-06/0.2362, allocations: 0 / 435.9 MB, free: 3.465 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.0008427/0.237, allocations: 0.7305 MB / 436.7 MB, free: 2.66 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.55e-05/0.2371, allocations: 8.031 kB / 436.7 MB, free: 2.652 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.651e-05/0.2372, allocations: 40.7 kB / 436.7 MB, free: 2.613 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000356/0.2375, allocations: 278.6 kB / 437 MB, free: 2.301 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.2375, allocations: 4.375 kB / 437 MB, free: 2.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.2376, allocations: 12.31 kB / 437 MB, free: 2.285 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003035/0.2379, allocations: 129.9 kB / 437.1 MB, free: 2.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.2379, allocations: 11.97 kB / 437.1 MB, free: 2.141 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.897e-05/0.2379, allocations: 11.98 kB / 437.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.2379, allocations: 0 / 437.1 MB, free: 2.129 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.2381, allocations: 59.97 kB / 437.2 MB, free: 2.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007275/0.2388, allocations: 452.5 kB / 437.6 MB, free: 1.578 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.239, allocations: 78.53 kB / 437.7 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.2391, allocations: 64.89 kB / 437.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.621e-06/0.2391, allocations: 0 / 437.8 MB, free: 1.426 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000359/0.2395, allocations: 206.8 kB / 438 MB, free: 1.199 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.323e-06/0.2395, allocations: 0 / 438 MB, free: 1.199 MB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.0008452/0.2403, allocations: 480.1 kB / 438.5 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.765e-05/0.2404, allocations: 166.2 kB / 438.6 MB, free: 0.5 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006836/0.2411, allocations: 0.5131 MB / 439.1 MB, free: 15.97 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.2411, allocations: 33.7 kB / 439.2 MB, free: 15.93 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.037e-05/0.2412, allocations: 105.1 kB / 439.3 MB, free: 15.82 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.431e-05/0.2413, allocations: 31.72 kB / 439.3 MB, free: 15.79 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001206/0.2414, allocations: 85.55 kB / 439.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.2415, allocations: 326.8 kB / 439.7 MB, free: 15.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.2417, allocations: 55.97 kB / 439.8 MB, free: 15.32 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000143/0.2418, allocations: 76.47 kB / 439.8 MB, free: 15.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003787/0.2422, allocations: 350 kB / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.2422, allocations: 0 / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000573/0.2428, allocations: 396.2 kB / 440.6 MB, free: 14.43 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.866e-05/0.2429, allocations: 122.8 kB / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2429, allocations: 0 / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.2429, allocations: 0 / 440.7 MB, free: 14.29 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.758e-05/0.2429, allocations: 4 kB / 440.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.2429, allocations: 0 / 440.7 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001294/0.243, allocations: 11.98 kB / 440.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.646e-05/0.2431, allocations: 67.91 kB / 440.8 MB, free: 14.2 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.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.0003769/0.2435, allocations: 370.9 kB / 441.1 MB, free: 13.81 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.668e-05/0.2436, allocations: 39.77 kB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.2437, allocations: 63.14 kB / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2437, allocations: 0 / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2437, allocations: 0 / 441.2 MB, free: 13.71 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/0.244, allocations: 244.6 kB / 441.5 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.991e-05/0.2441, allocations: 12 kB / 441.5 MB, free: 13.44 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001127/0.2442, allocations: 19.92 kB / 441.5 MB, free: 13.42 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.718e-05/0.2443, allocations: 23.98 kB / 441.5 MB, free: 13.39 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007762/0.2451, allocations: 0.7005 MB / 442.2 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007367/0.2458, allocations: 0.6219 MB / 442.8 MB, free: 11.96 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001599/0.246, allocations: 71.97 kB / 442.9 MB, free: 11.89 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000485/0.2464, allocations: 390.9 kB / 443.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of Backend: time 4.01e-07/0.2464, allocations: 0 / 443.3 MB, free: 11.51 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006703/0.2471, allocations: 390.6 kB / 443.7 MB, free: 11.07 MB / 350.1 MB Notification: Performance of SimCode: time 0.001464/0.2486, allocations: 1.313 MB / 445 MB, free: 9.664 MB / 350.1 MB Notification: Performance of Templates: time 0.00786/0.2564, allocations: 4.156 MB / 449.1 MB, free: 5.438 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Digital.Examples.NRXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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_4.1.0-beta.om_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.1719656540080905]