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.001429/0.001429, allocations: 103.6 kB / 21.25 MB, free: 0.5664 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.0016/0.0016, allocations: 210.3 kB / 24.55 MB, free: 3.824 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.635/1.635, allocations: 230.7 MB / 258.3 MB, free: 7.734 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 - Absyn->SCode: time 2.543e-05/2.543e-05, allocations: 2.281 kB / 379 MB, free: 2.434 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NXFER): time 0.003405/0.00343, allocations: 1.477 MB / 380.5 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002422/0.005853, allocations: 0.8381 MB / 381.4 MB, free: 108 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.111e-05/0.005924, allocations: 0 / 381.4 MB, free: 108 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000133/0.006057, allocations: 11.92 kB / 381.4 MB, free: 96 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001205/0.006177, allocations: 23.78 kB / 381.4 MB, free: 72 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000364/0.006541, allocations: 51.89 kB / 381.4 MB, free: 20 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2154/0.222, allocations: 134.3 kB / 381.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.2221, allocations: 12.45 kB / 381.6 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008585/0.2229, allocations: 0.5788 MB / 382.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001588/0.2231, allocations: 70.2 kB / 382.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.036e-05/0.2232, allocations: 10.67 kB / 382.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.044e-05/0.2232, allocations: 10.88 kB / 382.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002295/0.2234, allocations: 208 kB / 382.5 MB, free: 13.12 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 5.151e-05/0.2235, allocations: 105.6 kB / 382.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.266e-05/0.2235, allocations: 13 kB / 382.6 MB, free: 13.05 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.72e-05/0.2235, allocations: 8.906 kB / 382.6 MB, free: 13.05 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 (8) * Number of variables: 14 (14) Notification: Performance of [SIM] Bindings: time 0.0007133/0.2243, allocations: 0.6046 MB / 383.2 MB, free: 12.68 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 8.08e-05/0.2243, allocations: 58.14 kB / 383.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0003838/0.2247, allocations: 399.4 kB / 383.6 MB, free: 12.59 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001736/0.2249, allocations: 149.7 kB / 383.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.0007185/0.2256, allocations: 442.8 kB / 384.2 MB, free: 12.3 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.000158/0.2258, allocations: 138.9 kB / 384.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001226/0.2259, allocations: 116.2 kB / 384.5 MB, free: 12.14 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.000271/0.2262, allocations: 187.3 kB / 384.6 MB, free: 12.02 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.0002364/0.2264, allocations: 134.9 kB / 384.8 MB, free: 12 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003722/0.2268, allocations: 250.1 kB / 385 MB, free: 11.97 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003869/0.2272, allocations: 255.2 kB / 385.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004243/0.2276, allocations: 412.6 kB / 385.7 MB, free: 11.86 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.0004231/0.228, allocations: 309.6 kB / 386 MB, free: 11.63 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.0006455/0.2287, allocations: 0.6195 MB / 386.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.762e-05/0.2287, allocations: 14.16 kB / 386.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.0003186/0.229, allocations: 267.7 kB / 386.9 MB, free: 11.2 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.000908/0.2299, allocations: 0.6926 MB / 387.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 1.239e-05/0.2299, allocations: 6.125 kB / 387.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 4.81e-07/0.2299, allocations: 0 / 387.6 MB, free: 11.09 MB / 302.1 MB Notification: Performance of [SIM] DAE-Mode: time 2.025e-05/0.2299, allocations: 16.53 kB / 387.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.378e-06/0.2299, allocations: 6.062 kB / 387.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 2.093e-06/0.2299, allocations: 1.406 kB / 387.6 MB, free: 11.07 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 6.903e-06/0.2299, allocations: 4.906 kB / 387.6 MB, free: 11.06 MB / 302.1 MB Notification: Performance of [SIM] Solve: time 9.797e-05/0.23, allocations: 44.48 kB / 387.6 MB, free: 11.05 MB / 302.1 MB Notification: Performance of [SIM] Jacobian: time 8.465e-06/0.2301, allocations: 4.781 kB / 387.6 MB, free: 11.04 MB / 302.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 0 * Number of ODE event partitions: ............... 0 * Number of algebraic event partitions: ......... 1 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 0 (0) {} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 24 (21) {e_table.y, x_table.y, nXFERGATE.y, nXFERGATE.nextstate, nXFERGATE.yy, nXFERGATE.inertialDelaySensitive.y, nXFERGATE.inertialDelaySensitive.delayTime, nXFERGATE.inertialDelaySensitive.y_auxiliary, nXFERGATE.inertialDelaySensitive.y_old, nXFERGATE.inertialDelaySensitive.lh, nXFERGATE.inertialDelaySensitive.t_next, $SEV_8, $SEV_7, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0, $TEV_0} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 1 (scalar:1, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 4 (scalar:4, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:4, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.937e-05/0.2301, allocations: 32.33 kB / 387.7 MB, free: 11.02 MB / 302.1 MB Notification: Performance of SimCode: time 0.001406/0.2315, allocations: 1.216 MB / 388.9 MB, free: 10.43 MB / 302.1 MB Notification: Performance of Templates: time 0.005676/0.2372, allocations: 2.192 MB / 391.1 MB, free: 10.13 MB / 302.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] "" Variables in the reference:time,nXFERGATE.y Variables in the result:e_table.n,e_table.t[1],e_table.t[2],e_table.t[3],e_table.x[1],e_table.x[2],e_table.x[3],e_table.y0,nXFERGATE.inertialDelaySensitive.tHL,nXFERGATE.inertialDelaySensitive.tLH,nXFERGATE.inertialDelaySensitive.y0,nXFERGATE.tHL,nXFERGATE.tLH,nXFERGATE.y,time,x_table.n,x_table.t[1],x_table.t[2],x_table.x[1],x_table.x[2],x_table.y0 [Calling sys.exit(0), Time elapsed: 4.7492836019955575]