Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.001581/0.001581, allocations: 107.6 kB / 21.2 MB, free: 0.6641 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.001699/0.001699, allocations: 211.5 kB / 24.49 MB, free: 3.961 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.459/1.459, allocations: 230.6 MB / 258.3 MB, free: 7.809 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.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 3.066e-05/3.066e-05, allocations: 2.281 kB / 378.9 MB, free: 2.492 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.1798/0.1798, allocations: 4.565 MB / 383.5 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003203/0.1831, allocations: 2.006 MB / 385.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002639/0.1833, allocations: 17.25 kB / 385.5 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002841/0.1862, allocations: 1.306 MB / 386.8 MB, free: 11.05 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.1872, allocations: 416.4 kB / 387.2 MB, free: 10.84 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002078/0.1893, allocations: 1.141 MB / 388.4 MB, free: 10.2 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001022/0.1903, allocations: 0.9199 MB / 389.3 MB, free: 9.742 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007788/0.1911, allocations: 0.5318 MB / 389.8 MB, free: 9.43 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004563/0.1916, allocations: 376.1 kB / 390.2 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004167/0.192, allocations: 455.5 kB / 390.6 MB, free: 9.008 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.995e-05/0.1921, allocations: 72.03 kB / 390.7 MB, free: 9.004 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008903/0.193, allocations: 405 kB / 391.1 MB, free: 8.887 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.0009448/0.1939, allocations: 1.716 MB / 392.8 MB, free: 7.684 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0004955/0.1944, allocations: 1.162 MB / 394 MB, free: 6.852 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001037/0.1945, allocations: 64.06 kB / 394.1 MB, free: 6.848 MB / 302.1 MB Notification: Performance of FrontEnd: time 7.038e-05/0.1946, allocations: 10.72 kB / 394.1 MB, free: 6.848 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: 212 (165) * Number of variables: 212 (212) Notification: Performance of [SIM] Bindings: time 0.003678/0.1983, allocations: 5.123 MB / 399.2 MB, free: 3.273 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.0006049/0.1989, allocations: 0.6105 MB / 399.8 MB, free: 2.887 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.004201/0.2031, allocations: 4.441 MB / 404.2 MB, free: 380 kB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0007748/0.2039, allocations: 0.5857 MB / 404.8 MB, free: 36 kB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.002596/0.2064, allocations: 1.959 MB / 406.8 MB, free: 14.4 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0008489/0.2073, allocations: 0.5632 MB / 407.3 MB, free: 14 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.000405/0.2077, allocations: 320.8 kB / 407.7 MB, free: 13.72 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001091/0.2088, allocations: 0.7686 MB / 408.4 MB, free: 12.99 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0002435/0.209, allocations: 129.2 kB / 408.6 MB, free: 12.91 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001692/0.2107, allocations: 1.339 MB / 409.9 MB, free: 12.06 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.01036/0.2211, allocations: 6.934 MB / 416.8 MB, free: 6.738 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.002665/0.2238, allocations: 2.557 MB / 419.4 MB, free: 4.18 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.002231/0.226, allocations: 1.196 MB / 420.6 MB, free: 2.859 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.004468/0.2305, allocations: 4.524 MB / 425.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0001788/0.2306, allocations: 72.05 kB / 425.2 MB, free: 14.24 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0006712/0.2313, allocations: 0.6712 MB / 425.8 MB, free: 13.56 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.006699/0.238, allocations: 4.458 MB / 430.3 MB, free: 9.035 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.0003387/0.2383, allocations: 271.8 kB / 430.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 8.02e-07/0.2383, allocations: 0 / 430.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 2.724e-05/0.2384, allocations: 2 kB / 430.6 MB, free: 8.77 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.0003052/0.2387, allocations: 271.8 kB / 430.8 MB, free: 8.504 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 3.439e-05/0.2387, allocations: 11.98 kB / 430.8 MB, free: 8.492 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.003216/0.2419, allocations: 2.157 MB / 433 MB, free: 6.324 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.003004/0.2449, allocations: 2.195 MB / 435.2 MB, free: 3.984 MB / 334.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: ......... 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) {voltageSensor.pin_p.reference.gamma} * Number of discrete states: .................... 0 (0) {} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 4 (4) {$SEV_1, $SEV_0, $TEV_1, $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: ........... 185 (scalar:185, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:9) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 201 (scalar:201, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:9) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 2 (linear: 2, nonlinear:0) Notification: Performance of backend: time 0.0001174/0.245, allocations: 87.12 kB / 435.3 MB, free: 3.902 MB / 334.1 MB Notification: Performance of SimCode: time 0.006243/0.2513, allocations: 4.828 MB / 440.1 MB, free: 15 MB / 350.1 MB Notification: Performance of Templates: time 0.02422/0.2755, allocations: 14.63 MB / 454.7 MB, free: 468 kB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 4.978775279130787] Failed to read output from testmodel.py, exit status != 0: ['time', 'magFluxSensor.Phi.re', 'magFluxSensor.Phi.im', 'voltageSensor.v.re', 'voltageSensor.v.im'] 0.2846938050352037 0.307025089 0.108151644 Calling exit ...