Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr HanserModelica_HanserModelica.Magnetic.Coupling.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.001596/0.001596, allocations: 104.3 kB / 19.77 MB, free: 2.051 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.487/1.487, allocations: 230.7 MB / 253.5 MB, free: 14.41 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.001535/0.001535, allocations: 215.8 kB / 310.1 MB, free: 3.016 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.0.1/package.mo): time 0.03904/0.03904, allocations: 8.919 MB / 375.4 MB, free: 6.539 MB / 302.1 MB " [Timeout remaining time 180] Using package HanserModelica with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HanserModelica 2.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(HanserModelica.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") translateModel(HanserModelica.Magnetic.Coupling,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="HanserModelica_HanserModelica.Magnetic.Coupling") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.749e-05/1.749e-05, allocations: 2.281 kB / 0.4904 GB, free: 44.29 MB / 350.1 MB Notification: Performance of NFInst.instantiate(HanserModelica.Magnetic.Coupling): time 0.003054/0.003071, allocations: 2.414 MB / 0.4928 GB, free: 41.86 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009172/0.003988, allocations: 0.5999 MB / 0.4934 GB, free: 41.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.004105, allocations: 4 kB / 0.4934 GB, free: 41.25 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.00425, allocations: 43.58 kB / 0.4934 GB, free: 41.21 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.004375, allocations: 51.48 kB / 0.4934 GB, free: 41.16 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.004623, allocations: 79.84 kB / 0.4935 GB, free: 41.08 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002464/0.004869, allocations: 286.9 kB / 0.4938 GB, free: 40.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001753/0.005044, allocations: 71.28 kB / 0.4939 GB, free: 40.73 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.18e-05/0.005136, allocations: 99.7 kB / 0.494 GB, free: 40.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001278/0.005264, allocations: 103.5 kB / 0.4941 GB, free: 40.53 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.508e-05/0.005299, allocations: 24 kB / 0.4941 GB, free: 40.51 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.639e-05/0.005336, allocations: 20 kB / 0.4941 GB, free: 40.49 MB / 350.1 MB Notification: Performance of combineBinaries: time 0.0002571/0.005593, allocations: 463.3 kB / 0.4945 GB, free: 40.03 MB / 350.1 MB Notification: Performance of replaceArrayConstructors: time 8.893e-05/0.005682, allocations: 284.2 kB / 0.4948 GB, free: 39.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.341e-05/0.005715, allocations: 24 kB / 0.4948 GB, free: 39.73 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.188e-05/0.005747, allocations: 4 kB / 0.4948 GB, free: 39.72 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 (57) * Number of variables: 57 (57) Notification: Performance of [SIM] Bindings: time 0.0008677/0.006615, allocations: 1.151 MB / 0.496 GB, free: 38.45 MB / 350.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001319/0.006746, allocations: 147.8 kB / 0.4961 GB, free: 38.29 MB / 350.1 MB Notification: Performance of [SIM] Early Inline: time 0.000358/0.007105, allocations: 0.5859 MB / 0.4967 GB, free: 37.68 MB / 350.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0001628/0.007267, allocations: 157.8 kB / 0.4968 GB, free: 37.47 MB / 350.1 MB Notification: Performance of [SIM] Alias: time 0.001302/0.008569, allocations: 1.221 MB / 0.498 GB, free: 36.1 MB / 350.1 MB Notification: Performance of [SIM] Simplify 2: time 8.84e-05/0.008657, allocations: 118.9 kB / 0.4981 GB, free: 35.94 MB / 350.1 MB Notification: Performance of [SIM] Remove Stream: time 4.729e-05/0.008705, allocations: 72.28 kB / 0.4982 GB, free: 35.84 MB / 350.1 MB Notification: Performance of [SIM] Detect States: time 0.000163/0.008868, allocations: 144.8 kB / 0.4983 GB, free: 35.65 MB / 350.1 MB Notification: Performance of [SIM] Events: time 8.544e-05/0.008953, allocations: 43.78 kB / 0.4984 GB, free: 35.61 MB / 350.1 MB Notification: Performance of [SIM] Partitioning: time 0.000187/0.00914, allocations: 196.3 kB / 0.4986 GB, free: 35.38 MB / 350.1 MB Notification: Performance of [SIM] Causalize: time 0.0004242/0.009564, allocations: 422.2 kB / 0.499 GB, free: 34.95 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0001543/0.009719, allocations: 287.6 kB / 0.4992 GB, free: 34.66 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.0003438/0.01006, allocations: 284.1 kB / 0.4995 GB, free: 34.32 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.0002701/0.01033, allocations: 437 kB / 0.4999 GB, free: 33.89 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 2.415e-05/0.01036, allocations: 26.67 kB / 0.5 GB, free: 33.85 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 4.41e-05/0.0104, allocations: 75.92 kB / 0.5 GB, free: 33.78 MB / 350.1 MB Notification: Performance of [INI] Causalize: time 0.000576/0.01098, allocations: 0.5709 MB / 0.5006 GB, free: 33.2 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 1.767e-05/0.01099, allocations: 24 kB / 0.5006 GB, free: 33.17 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 3.4e-07/0.01099, allocations: 0 / 0.5006 GB, free: 33.17 MB / 350.1 MB Notification: Performance of [SIM] DAE-Mode: time 0.0001319/0.01113, allocations: 148.2 kB / 0.5008 GB, free: 33 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.821e-06/0.01113, allocations: 0 / 0.5008 GB, free: 33 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 1.042e-05/0.01114, allocations: 27.94 kB / 0.5008 GB, free: 32.97 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 8.125e-06/0.01115, allocations: 4 kB / 0.5008 GB, free: 32.96 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.0004613/0.01161, allocations: 458.8 kB / 0.5012 GB, free: 32.52 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.0003996/0.01201, allocations: 0.8203 MB / 0.502 GB, free: 31.56 MB / 350.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 1 * 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: ............................. 1 (1) {fluxSensor.Phi} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {switch.off, $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: ........... 27 (scalar:27, 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: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 37 (scalar:37, 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: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 4.223e-05/0.01205, allocations: 39.02 kB / 0.5021 GB, free: 31.53 MB / 350.1 MB Notification: Performance of SimCode: time 0.0007509/0.0128, allocations: 0.8362 MB / 0.5029 GB, free: 30.64 MB / 350.1 MB Notification: Performance of Templates: time 0.004344/0.01715, allocations: 1.814 MB / 0.5046 GB, free: 28.83 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f HanserModelica_HanserModelica.Magnetic.Coupling.makefile [Timeout 660] (rm -f HanserModelica_HanserModelica.Magnetic.Coupling.pipe ; mkfifo HanserModelica_HanserModelica.Magnetic.Coupling.pipe ; head -c 1048576 < HanserModelica_HanserModelica.Magnetic.Coupling.pipe >> ../files/HanserModelica_HanserModelica.Magnetic.Coupling.sim & ./HanserModelica_HanserModelica.Magnetic.Coupling -abortSlowSimulation -alarm=480 -lv LOG_STATS > HanserModelica_HanserModelica.Magnetic.Coupling.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.605966132017784] Failed to read output from testmodel.py, exit status != 0: 0.02319724200060591 0.033306267 0.025487475000000002 Calling exit ...