Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr OpenIPSL_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete.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.001224/0.001224, allocations: 100.4 kB / 19.76 MB, free: 1.906 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.45/1.45, allocations: 230.7 MB / 253.5 MB, free: 14.26 MB / 206.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.001563/0.001563, allocations: 212.6 kB / 310.1 MB, free: 3.047 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4758/0.4758, allocations: 79.74 MB / 446.3 MB, free: 40.47 MB / 350.1 MB " [Timeout remaining time 179] Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 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(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete,tolerance=0.001,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="OpenIPSL_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_OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.606e-05/1.606e-05, allocations: 2.984 kB / 0.5942 GB, free: 38.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Examples.PSATSystems.Discretization.FourthOrder_AVRII_Discrete): time 0.00562/0.005636, allocations: 5.486 MB / 0.5995 GB, free: 35.77 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003237/0.008873, allocations: 1.811 MB / 0.6013 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003742/0.009247, allocations: 10.78 kB / 0.6013 GB, free: 34.54 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000426/0.009673, allocations: 218.1 kB / 0.6015 GB, free: 34.42 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001617/0.01129, allocations: 0.8008 MB / 0.6023 GB, free: 33.91 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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.001156/0.01245, allocations: 0.5758 MB / 0.6028 GB, free: 33.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.00133/0.01378, allocations: 1.65 MB / 0.6045 GB, free: 32.85 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003371/0.01411, allocations: 167.3 kB / 0.6046 GB, free: 32.76 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007485/0.01486, allocations: 0.6649 MB / 0.6053 GB, free: 32.43 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006271/0.01549, allocations: 0.6951 MB / 0.6059 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.01563, allocations: 94.72 kB / 0.606 GB, free: 32.12 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004611/0.0161, allocations: 247.2 kB / 0.6063 GB, free: 32.09 MB / 446.1 MB Notification: Performance of combineBinaries: time 0.001448/0.01754, allocations: 2.888 MB / 0.6091 GB, free: 30.16 MB / 446.1 MB Notification: Performance of replaceArrayConstructors: time 0.0006245/0.01817, allocations: 1.776 MB / 0.6108 GB, free: 28.9 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000136/0.0183, allocations: 78.69 kB / 0.6109 GB, free: 28.9 MB / 446.1 MB Notification: Performance of FrontEnd: time 0.000122/0.01843, allocations: 35.59 kB / 0.6109 GB, free: 28.89 MB / 446.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.003642/0.02207, allocations: 6.225 MB / 0.617 GB, free: 24.71 MB / 446.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006557/0.02272, allocations: 0.7598 MB / 0.6178 GB, free: 24.28 MB / 446.1 MB Notification: Performance of [SIM] Early Inline: time 0.003923/0.02665, allocations: 6.12 MB / 0.6237 GB, free: 21.15 MB / 446.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0009573/0.0276, allocations: 0.8394 MB / 0.6246 GB, free: 20.8 MB / 446.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.004611/0.03221, allocations: 5.255 MB / 0.6297 GB, free: 17.48 MB / 446.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0007997/0.03301, allocations: 0.7652 MB / 0.6304 GB, free: 17.19 MB / 446.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0002523/0.03327, allocations: 366.4 kB / 0.6308 GB, free: 16.95 MB / 446.1 MB Notification: Performance of [SIM] Detect States: time 0.0006375/0.0339, allocations: 0.928 MB / 0.6317 GB, free: 16.35 MB / 446.1 MB Notification: Performance of [SIM] Events: time 0.0004236/0.03433, allocations: 415.5 kB / 0.6321 GB, free: 16.15 MB / 446.1 MB Notification: Performance of [SIM] Partitioning: time 0.001374/0.0357, allocations: 1.521 MB / 0.6336 GB, free: 15.49 MB / 446.1 MB Notification: Performance of [SIM] Causalize: time 0.003054/0.03876, allocations: 2.864 MB / 0.6364 GB, free: 14.72 MB / 446.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001868/0.04062, allocations: 3.041 MB / 0.6393 GB, free: 13.11 MB / 446.1 MB Notification: Performance of [INI] Simplify: time 0.003732/0.04436, allocations: 2.623 MB / 0.6419 GB, free: 11.82 MB / 446.1 MB Notification: Performance of [INI] Inline: time 0.005564/0.04992, allocations: 6.757 MB / 0.6485 GB, free: 8.242 MB / 446.1 MB Notification: Performance of [INI] Partitioning: time 0.0002261/0.05015, allocations: 76.84 kB / 0.6486 GB, free: 8.199 MB / 446.1 MB Notification: Performance of [INI] Cleanup: time 0.0009726/0.05112, allocations: 0.8673 MB / 0.6494 GB, free: 7.719 MB / 446.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.01269/0.06381, allocations: 8.662 MB / 0.6579 GB, free: 5.457 MB / 446.1 MB Notification: Performance of [INI] Tearing: time 0.0015/0.06531, allocations: 1.387 MB / 0.6592 GB, free: 4.953 MB / 446.1 MB Notification: Performance of [SIM] Initialization: time 1.603e-06/0.06531, allocations: 0 / 0.6592 GB, free: 4.953 MB / 446.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.001955/0.06726, allocations: 1.683 MB / 0.6609 GB, free: 4.316 MB / 446.1 MB Notification: Performance of [SIM] Remove Dummies: time 9.829e-06/0.06727, allocations: 5.969 kB / 0.6609 GB, free: 4.312 MB / 446.1 MB Notification: Performance of [SIM] Tearing: time 0.0009494/0.06822, allocations: 0.9584 MB / 0.6618 GB, free: 3.848 MB / 446.1 MB Notification: Performance of [SIM] Categorize: time 1.597e-05/0.06824, allocations: 4.156 kB / 0.6618 GB, free: 3.848 MB / 446.1 MB Notification: Performance of [SIM] Solve: time 0.00562/0.07386, allocations: 5.353 MB / 0.667 GB, free: 14.54 MB / 462.1 MB Notification: Performance of [SIM] Jacobian: time 0.01204/0.0859, allocations: 9.026 MB / 0.6759 GB, free: 5.617 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.0001103/0.08601, allocations: 64.25 kB / 0.6759 GB, free: 5.562 MB / 462.1 MB Notification: Performance of SimCode: time 0.007307/0.09332, allocations: 5.563 MB / 0.6814 GB, free: 15.86 MB / 478.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.1372371980105527] Failed to read output from testmodel.py, exit status != 0: 0.13052825699560344 0.145659947 0.12421599500000001 Calling exit ...