Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.08505/0.08505, allocations: 12.37 MB / 32.03 MB, free: 6.406 MB / 26.18 MB " [Timeout remaining time 180] 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.001409/0.001409, allocations: 109 kB / 38.06 MB, free: 1.086 MB / 26.18 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 207.7 MB / 251.7 MB, free: 7.281 MB / 190.1 MB " [Timeout remaining time 178] 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.001862/0.001862, allocations: 216.3 kB / 307 MB, free: 284 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/package.mo): time 0.3093/0.3093, allocations: 79.72 MB / 441.8 MB, free: 12.25 MB / 318.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo) Running command: translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") translateModel(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_2.0.0_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.414e-05/2.414e-05, allocations: 5.797 kB / 0.5887 GB, free: 8.922 MB / 398.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.006959/0.006983, allocations: 5.523 MB / 0.5941 GB, free: 3.363 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004106/0.01109, allocations: 1.749 MB / 0.5958 GB, free: 1.605 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006195/0.01171, allocations: 12 kB / 0.5959 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005693/0.01228, allocations: 218.1 kB / 0.5961 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002001/0.01428, allocations: 0.777 MB / 0.5968 GB, free: 0.5977 MB / 398.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 2.0.0/Electrical/Machines/PSAT/Order4.mo:25:3-30:9:writable] Warning: In relation order4.xq <> order4.x1q, <> on Real numbers is only allowed inside functions. Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.01559, allocations: 0.5802 MB / 0.5974 GB, free: 24 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001962/0.01755, allocations: 1.659 MB / 0.599 GB, free: 14.36 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003947/0.01795, allocations: 164.5 kB / 0.5992 GB, free: 14.18 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009228/0.01887, allocations: 0.6457 MB / 0.5998 GB, free: 13.54 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000798/0.01967, allocations: 0.6957 MB / 0.6005 GB, free: 12.84 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001429/0.01981, allocations: 96 kB / 0.6006 GB, free: 12.74 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005139/0.02032, allocations: 235.9 kB / 0.6008 GB, free: 12.51 MB / 414.1 MB Notification: Performance of combineBinaries: time 0.002401/0.02272, allocations: 2.885 MB / 0.6036 GB, free: 9.598 MB / 414.1 MB Notification: Performance of replaceArrayConstructors: time 0.001399/0.02412, allocations: 1.774 MB / 0.6053 GB, free: 7.801 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001818/0.0243, allocations: 76 kB / 0.6054 GB, free: 7.727 MB / 414.1 MB Notification: Performance of FrontEnd: time 0.0001787/0.02448, allocations: 35.88 kB / 0.6055 GB, free: 7.691 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 (164) * Number of variables: 176 (176) Notification: Performance of [SIM] Bindings: time 0.00603/0.03051, allocations: 6.216 MB / 0.6115 GB, free: 1.25 MB / 414.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001007/0.03152, allocations: 0.7722 MB / 0.6123 GB, free: 456 kB / 414.1 MB Notification: Performance of [SIM] Early Inline: time 0.006321/0.03784, allocations: 6.102 MB / 0.6182 GB, free: 10.31 MB / 430.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00129/0.03913, allocations: 0.8427 MB / 0.6191 GB, free: 9.402 MB / 430.1 MB Warning: NBAlias.setStartFixed: Alias set with conflicting unfixed start values detected. Use -d=dumprepl for more information. Notification: Performance of [SIM] Alias: time 0.006841/0.04597, allocations: 5.251 MB / 0.6242 GB, free: 3.73 MB / 430.1 MB Notification: Performance of [SIM] Simplify 2: time 0.00107/0.04704, allocations: 0.767 MB / 0.6249 GB, free: 2.906 MB / 430.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0003829/0.04743, allocations: 356 kB / 0.6253 GB, free: 2.52 MB / 430.1 MB Notification: Performance of [SIM] Detect States: time 0.001026/0.04845, allocations: 0.9451 MB / 0.6262 GB, free: 1.52 MB / 430.1 MB Notification: Performance of [SIM] Events: time 0.0005758/0.04903, allocations: 410.7 kB / 0.6266 GB, free: 1.117 MB / 430.1 MB Notification: Performance of [SIM] Partitioning: time 0.001783/0.05081, allocations: 1.541 MB / 0.6281 GB, free: 15.55 MB / 446.1 MB Notification: Performance of [SIM] Causalize: time 0.003994/0.0548, allocations: 2.868 MB / 0.6309 GB, free: 12.64 MB / 446.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002935/0.05774, allocations: 3.04 MB / 0.6339 GB, free: 9.602 MB / 446.1 MB Notification: Performance of [INI] Simplify: time 0.004608/0.06235, allocations: 2.592 MB / 0.6364 GB, free: 6.848 MB / 446.1 MB Notification: Performance of [INI] Inline: time 0.006769/0.06912, allocations: 6.739 MB / 0.643 GB, free: 72 kB / 446.1 MB Notification: Performance of [INI] Partitioning: time 0.0002217/0.06934, allocations: 76.05 kB / 0.643 GB, free: 15.98 MB / 462.1 MB Notification: Performance of [INI] Cleanup: time 0.0009081/0.07025, allocations: 0.8701 MB / 0.6439 GB, free: 15.11 MB / 462.1 MB Warning: NBResolveSingularities.balanceInitialization reports an overdetermined initialization! Checking for consistency is not yet supported, following equations had to be removed: [SCAL] (1) aVRTypeII.vm = aVRTypeII.vm0 ($RES_SRT_336); [SCAL] (1) aVRTypeII.vr1 = aVRTypeII.vr10 ($RES_SRT_335); [SCAL] (1) aVRTypeII.vr2 = aVRTypeII.vr20 ($RES_SRT_334); [SCAL] (1) aVRTypeII.vr20 = -aVRTypeII.vf0 * aVRTypeII.Kf / aVRTypeII.Tf ($RES_BND_421); [SCAL] (1) aVRTypeII.vr10 = aVRTypeII.Ka * (aVRTypeII.vref0 - aVRTypeII.vr20 - aVRTypeII.vm0 - aVRTypeII.Kf * aVRTypeII.vf0 / aVRTypeII.Tf) ($RES_BND_420); [SCAL] (1) aVRTypeII.vm0 = aVRTypeII.v0 ($RES_BND_419); Notification: Performance of [INI] Causalize: time 0.01277/0.08302, allocations: 8.651 MB / 0.6523 GB, free: 6.242 MB / 462.1 MB Notification: Performance of [INI] Tearing: time 0.001846/0.08487, allocations: 1.398 MB / 0.6537 GB, free: 4.879 MB / 462.1 MB Notification: Performance of [SIM] Initialization: time 2.364e-06/0.08487, allocations: 0 / 0.6537 GB, free: 4.879 MB / 462.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.002503/0.08737, allocations: 1.673 MB / 0.6553 GB, free: 3.219 MB / 462.1 MB Notification: Performance of [SIM] Remove Dummies: time 1.443e-05/0.08739, allocations: 4.656 kB / 0.6553 GB, free: 3.215 MB / 462.1 MB Notification: Performance of [SIM] Tearing: time 0.001398/0.08878, allocations: 0.9696 MB / 0.6563 GB, free: 2.258 MB / 462.1 MB Notification: Performance of [SIM] Categorize: time 1.984e-05/0.0888, allocations: 4 kB / 0.6563 GB, free: 2.254 MB / 462.1 MB Notification: Performance of [SIM] Solve: time 0.2419/0.3307, allocations: 5.322 MB / 0.6615 GB, free: 57.89 MB / 462.1 MB Notification: Performance of [SIM] Jacobian: time 0.009042/0.3397, allocations: 9.045 MB / 0.6703 GB, free: 55.15 MB / 462.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: ............... 1 * Number of algebraic event partitions: ......... 0 * 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: ............................. 6 (6) {order2.delta, order2.w, order4.e1d, order4.delta, order4.w, order4.e1q} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 4 (4) {aVRTypeII.vf, aVRTypeII.vr2, aVRTypeII.vr1, aVRTypeII.vm} * Number of discrete variables: ................. 22 (22) {$SEV_2, $SEV_1, $SEV_0, $TEV_18, $TEV_17, $TEV_16, $TEV_15, $TEV_14, $TEV_13, $TEV_12, $TEV_11, $TEV_10, $TEV_9, $TEV_8, $TEV_7, $TEV_6, $TEV_5, $TEV_4, $TEV_3, $TEV_2, $TEV_1, $TEV_0} * Number of clocks: ............................. 1 (1) {periodicClock1.y} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 64 (scalar:64, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: ... 1 (linear: 1, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 183 (scalar:183, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, 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: ... 1 (linear: 1, nonlinear:0) Notification: Performance of backend: time 0.0001144/0.3398, allocations: 63.47 kB / 0.6704 GB, free: 55.12 MB / 462.1 MB Notification: Performance of SimCode: time 0.00607/0.3459, allocations: 5.536 MB / 0.6758 GB, free: 53.37 MB / 462.1 MB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/SimCode/SerializeModelInfo.mo:126:9-126:84:writable] Error: Internal error SerializeModelInfo.serialize failed " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.212494360981509] Failed to read output from testmodel.py, exit status != 0: 0.3795845879940316 0.38731226300000005 0.36082088500000004 Calling exit ...