Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.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.001845/0.001845, allocations: 110.4 kB / 21.19 MB, free: 0.6641 MB / 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.002368/0.002368, allocations: 208.7 kB / 24.49 MB, free: 3.965 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.427/1.427, allocations: 230.6 MB / 258.3 MB, free: 7.797 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+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.NXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nXFERGATE.y",fileNamePrefix="Modelica_4.1.0_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_Modelica.Electrical.Digital.Examples.NXFER") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001584/0.001584, allocations: 47.92 kB / 379 MB, free: 2.504 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2317/0.2333, allocations: 53.37 MB / 432.3 MB, free: 6.742 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.002663/0.2359, allocations: 1.483 MB / 433.8 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001967/0.2379, allocations: 0.8458 MB / 434.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.816e-05/0.238, allocations: 0 / 434.7 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.94e-05/0.238, allocations: 7.922 kB / 434.7 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 8.009e-05/0.2381, allocations: 23.84 kB / 434.7 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002382/0.2384, allocations: 55.89 kB / 434.7 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002158/0.2386, allocations: 127.7 kB / 434.9 MB, free: 4.191 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.164e-05/0.2387, allocations: 12.22 kB / 434.9 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006457/0.2393, allocations: 0.5771 MB / 435.5 MB, free: 3.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001425/0.2395, allocations: 79.62 kB / 435.5 MB, free: 3.52 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.668e-05/0.2395, allocations: 12 kB / 435.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.494e-05/0.2395, allocations: 8 kB / 435.6 MB, free: 3.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.239e-05/0.2396, allocations: 63.7 kB / 435.6 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001047/0.2397, allocations: 83.36 kB / 435.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004058/0.2401, allocations: 381.1 kB / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.2401, allocations: 0 / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.2401, allocations: 0 / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.519e-06/0.2401, allocations: 0 / 436.1 MB, free: 2.988 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.0007952/0.2409, allocations: 0.663 MB / 436.7 MB, free: 2.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.241, allocations: 8.031 kB / 436.7 MB, free: 2.262 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.229e-05/0.241, allocations: 36.7 kB / 436.8 MB, free: 2.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000303/0.2413, allocations: 220.8 kB / 437 MB, free: 1.984 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.2414, allocations: 4.375 kB / 437 MB, free: 1.98 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.348e-05/0.2414, allocations: 8.375 kB / 437 MB, free: 1.973 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003943/0.2418, allocations: 252.7 kB / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.2418, allocations: 0 / 437.3 MB, free: 1.695 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.486e-05/0.2418, allocations: 4 kB / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.2418, allocations: 0 / 437.3 MB, free: 1.691 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002267/0.2421, allocations: 182.7 kB / 437.4 MB, free: 1.488 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006666/0.2427, allocations: 388.2 kB / 437.8 MB, free: 1.078 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.243, allocations: 197.3 kB / 438 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002209/0.2432, allocations: 179.7 kB / 438.2 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/0.2432, allocations: 4 kB / 438.2 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000414/0.2436, allocations: 321.5 kB / 438.5 MB, free: 288 kB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.2436, allocations: 0 / 438.5 MB, free: 288 kB / 334.1 MB Notification: Performance of matching and sorting (n=13): time 0.001035/0.2447, allocations: 0.712 MB / 439.2 MB, free: 15.49 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001081/0.2448, allocations: 170.2 kB / 439.4 MB, free: 15.29 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006838/0.2455, allocations: 0.5091 MB / 439.9 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.2455, allocations: 29.7 kB / 439.9 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.835e-05/0.2456, allocations: 109 kB / 440 MB, free: 14.62 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.298e-05/0.2456, allocations: 31.78 kB / 440.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.2457, allocations: 85.55 kB / 440.1 MB, free: 14.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.2459, allocations: 318.9 kB / 440.5 MB, free: 14.18 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002115/0.2461, allocations: 182.7 kB / 440.6 MB, free: 13.98 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002252/0.2463, allocations: 192.5 kB / 440.8 MB, free: 13.76 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.2467, allocations: 359.2 kB / 441.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2467, allocations: 0 / 441.2 MB, free: 13.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0006945/0.2474, allocations: 0.5069 MB / 441.7 MB, free: 12.79 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000102/0.2475, allocations: 126.8 kB / 441.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.2475, allocations: 0 / 441.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/0.2475, allocations: 3.984 kB / 441.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.88e-05/0.2476, allocations: 4 kB / 441.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.2476, allocations: 4.031 kB / 441.8 MB, free: 12.63 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.2477, allocations: 8 kB / 441.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.611e-05/0.2478, allocations: 60.05 kB / 441.9 MB, free: 12.57 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.0003918/0.2482, allocations: 362.5 kB / 442.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.71e-05/0.2482, allocations: 39.77 kB / 442.3 MB, free: 12.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001187/0.2483, allocations: 71.08 kB / 442.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.244e-06/0.2483, allocations: 0 / 442.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2483, allocations: 0 / 442.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004004/0.2487, allocations: 201.4 kB / 442.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/0.2488, allocations: 15.98 kB / 442.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001151/0.2489, allocations: 12 kB / 442.6 MB, free: 11.84 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.991e-05/0.249, allocations: 27.91 kB / 442.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009029/0.2499, allocations: 0.8242 MB / 443.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008456/0.2508, allocations: 0.7295 MB / 444.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002549/0.251, allocations: 206.7 kB / 444.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005128/0.2515, allocations: 390.9 kB / 444.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of Backend: time 1.4e-07/0.2515, allocations: 0 / 444.7 MB, free: 9.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0007604/0.2523, allocations: 0.4948 MB / 445.2 MB, free: 8.914 MB / 350.1 MB Notification: Performance of SimCode: time 0.001487/0.2538, allocations: 1.313 MB / 446.5 MB, free: 7.512 MB / 350.1 MB Notification: Performance of Templates: time 0.008062/0.2618, allocations: 4.469 MB / 451 MB, free: 2.988 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.NXFER_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/NXFER/NXFER.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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.286013142002048]