Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.00183/0.00183, allocations: 99.59 kB / 21.2 MB, free: 0.6406 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.002523/0.002523, allocations: 220.4 kB / 24.5 MB, free: 3.926 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.491/1.491, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.NRXFER,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|nRXFERGATE.y",fileNamePrefix="Modelica_4.1.0_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_Modelica.Electrical.Digital.Examples.NRXFER") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.754e-05/2.754e-05, allocations: 2.281 kB / 378.9 MB, free: 2.496 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.NRXFER): time 0.00299/0.003017, allocations: 1.476 MB / 380.4 MB, free: 1.012 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002209/0.005226, allocations: 0.8421 MB / 381.2 MB, free: 168 kB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.171e-05/0.005298, allocations: 4 kB / 381.2 MB, free: 164 kB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.737e-05/0.005396, allocations: 7.875 kB / 381.3 MB, free: 156 kB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 9.407e-05/0.00549, allocations: 19.86 kB / 381.3 MB, free: 136 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003013/0.005791, allocations: 47.88 kB / 381.3 MB, free: 88 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1975/0.2033, allocations: 147.8 kB / 381.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001497/0.2034, allocations: 18.36 kB / 381.5 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001054/0.2045, allocations: 0.5708 MB / 382.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002342/0.2047, allocations: 78.44 kB / 382.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.267e-05/0.2048, allocations: 10.22 kB / 382.1 MB, free: 13.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.355e-05/0.2048, allocations: 9 kB / 382.2 MB, free: 13.17 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0002574/0.2051, allocations: 201 kB / 382.3 MB, free: 13.09 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 7.764e-05/0.2051, allocations: 108.6 kB / 382.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 6.6e-05/0.2052, allocations: 12.66 kB / 382.5 MB, free: 13.03 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.309e-05/0.2052, allocations: 6.188 kB / 382.5 MB, free: 13.03 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.0007979/0.206, allocations: 0.6048 MB / 383.1 MB, free: 12.66 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 9.92e-05/0.2061, allocations: 65.62 kB / 383.1 MB, free: 12.63 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.0004243/0.2066, allocations: 388.2 kB / 383.5 MB, free: 12.57 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.000189/0.2068, allocations: 157.4 kB / 383.7 MB, free: 12.47 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.000744/0.2075, allocations: 439.3 kB / 384.1 MB, free: 12.29 MB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0001871/0.2077, allocations: 146.3 kB / 384.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0001233/0.2078, allocations: 120 kB / 384.4 MB, free: 12.13 MB / 302.1 MB Notification: Performance of [SIM] Detect States: time 0.0002555/0.2081, allocations: 195 kB / 384.6 MB, free: 12.01 MB / 302.1 MB Notification: Performance of [SIM] Events: time 0.000212/0.2083, allocations: 129.9 kB / 384.7 MB, free: 12 MB / 302.1 MB Notification: Performance of [SIM] Partitioning: time 0.0003441/0.2086, allocations: 252.7 kB / 384.9 MB, free: 11.96 MB / 302.1 MB Notification: Performance of [SIM] Causalize: time 0.0003911/0.209, allocations: 255.1 kB / 385.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000409/0.2094, allocations: 415.2 kB / 385.6 MB, free: 11.85 MB / 302.1 MB Notification: Performance of [INI] Simplify: time 0.000394/0.2098, allocations: 326 kB / 385.9 MB, free: 11.61 MB / 302.1 MB Notification: Performance of [INI] Inline: time 0.000608/0.2104, allocations: 0.6158 MB / 386.5 MB, free: 11.32 MB / 302.1 MB Notification: Performance of [INI] Partitioning: time 1.816e-05/0.2104, allocations: 18.17 kB / 386.5 MB, free: 11.3 MB / 302.1 MB Notification: Performance of [INI] Cleanup: time 0.000332/0.2108, allocations: 279 kB / 386.8 MB, free: 11.16 MB / 302.1 MB Notification: Performance of [INI] Causalize: time 0.001118/0.2119, allocations: 0.6915 MB / 387.5 MB, free: 11.05 MB / 302.1 MB Notification: Performance of [INI] Tearing: time 2.164e-05/0.2119, allocations: 9.094 kB / 387.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of [SIM] Initialization: time 5.31e-07/0.2119, allocations: 0 / 387.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.468e-06/0.2119, allocations: 1.938 kB / 387.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of [SIM] Tearing: time 3.817e-06/0.2119, allocations: 4.375 kB / 387.5 MB, free: 11.04 MB / 302.1 MB Notification: Performance of [SIM] Categorize: time 1.118e-05/0.2119, allocations: 1.062 kB / 387.5 MB, free: 11.04 MB / 302.1 MB Error: Internal error NFExpression.makeZero failed for: enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') Error: Internal error NBSolve.solveStrongComponent failed with status = Solve.UNSOLVABLE while trying to solve following strong component: BLOCK: Multi Strong Component (status = Solve.UNPROCESSED, size = 15) ----------------------------------------------------------------------- ### Variables: [DISC] (1) protected enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') nRXFERGATE.inertialDelaySensitive.y (fixed = true, start = Modelica.Electrical.Digital.Interfaces.Logic.'U') [PRE-] (1) enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') $PRE.nRXFERGATE.inertialDelaySensitive.y [DISC] (1) Boolean $SEV_8 [DISC] (1) Boolean $SEV_7 [DISC] (1) protected Real nRXFERGATE.inertialDelaySensitive.delayTime [DISC] (1) protected enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') nRXFERGATE.inertialDelaySensitive.y_old (fixed = true, start = nRXFERGATE.inertialDelaySensitive.y0) [DISC] (1) Boolean $SEV_6 [DISC] (1) protected enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') nRXFERGATE.inertialDelaySensitive.y_auxiliary (fixed = true, start = nRXFERGATE.inertialDelaySensitive.y0) [DISC] (1) Boolean $SEV_5 [DISC] (1) Boolean $SEV_4 [DISC] (1) protected Integer nRXFERGATE.inertialDelaySensitive.lh [DISC] (1) Boolean $SEV_3 [DISC] (1) Boolean $SEV_2 [DISC] (1) protected discrete Real nRXFERGATE.inertialDelaySensitive.t_next [DISC] (1) enumeration Modelica.Electrical.Digital.Interfaces.Logic('U', 'X', '0', '1', 'Z', 'W', 'L', 'H', '-') $TEV_0 ### Equation: [ALGO] (15) ($RES_SIM_1) [----] $SEV_7 := time >= nRXFERGATE.inertialDelaySensitive.t_next; [----] $SEV_6 := nRXFERGATE.inertialDelaySensitive.lh == 0 or abs(nRXFERGATE.inertialDelaySensitive.delayTime) < 2.2250738585072014e-308; [----] $SEV_5 := nRXFERGATE.inertialDelaySensitive.lh < 0; [----] $SEV_4 := nRXFERGATE.inertialDelaySensitive.lh > 0; [----] $TEV_0 := $PRE.nRXFERGATE.inertialDelaySensitive.y; [----] $SEV_3 := true; [----] nRXFERGATE.inertialDelaySensitive.y_old := if $SEV_3 then nRXFERGATE.inertialDelaySensitive.y0 else $TEV_0; [----] nRXFERGATE.inertialDelaySensitive.lh := ({{0, 0, -1, 1, 0, 0, -1, 1, 0}, {0, 0, -1, 1, 0, 0, -1, 1, 0}, {1, 1, 0, 1, 1, 1, 0, 1, 1}, {-1, -1, -1, 0, -1, -1, -1, 0, -1}, {0, 0, -1, 1, 0, 0, -1, 1, 0}, {0, 0, -1, 1, 0, 0, -1, 1, 0}, {1, 1, 0, 1, 1, 1, 0, 1, 1}, {-1, -1, -1, 0, -1, -1, -1, 0, -1}, {0, 0, -1, 1, 0, 0, -1, 1, 0}})[nRXFERGATE.inertialDelaySensitive.y_old, nRXFERGATE.yy]; [----] nRXFERGATE.inertialDelaySensitive.delayTime := if $SEV_4 then nRXFERGATE.inertialDelaySensitive.tLH else if $SEV_5 then nRXFERGATE.inertialDelaySensitive.tHL else 0.0; [----] nRXFERGATE.inertialDelaySensitive.t_next := time + nRXFERGATE.inertialDelaySensitive.delayTime; [----] if $SEV_6 then [----] nRXFERGATE.inertialDelaySensitive.y_auxiliary := nRXFERGATE.yy; [----] end if; [----] $SEV_8 := nRXFERGATE.inertialDelaySensitive.tLH > 0.0 or nRXFERGATE.inertialDelaySensitive.tHL > 0.0; [----] nRXFERGATE.inertialDelaySensitive.y := if $SEV_8 then nRXFERGATE.inertialDelaySensitive.y_auxiliary else nRXFERGATE.yy; [----] $PRE.nRXFERGATE.yy := nRXFERGATE.yy; [----] $SEV_2 := false; " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.498764636926353] Failed to read output from testmodel.py, exit status != 0: ['time', 'nRXFERGATE.y'] 0.2207923410460353 0.23241998700000002 0.024579773000000003 Calling exit ...