Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.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.001584/0.001584, 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.001568/0.001568, allocations: 218.1 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.43/1.43, allocations: 230.6 MB / 258.3 MB, free: 7.805 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.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|r_mLeak.port_p.Phi|rootMeanSquare.mean.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.624e-05/2.624e-05, allocations: 5.375 kB / 378.9 MB, free: 2.629 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.1943/0.1943, allocations: 5.843 MB / 384.8 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004665/0.199, allocations: 2.472 MB / 387.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005016/0.1995, allocations: 19.12 kB / 387.3 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003464/0.2029, allocations: 1.19 MB / 388.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002004/0.2049, allocations: 0.5284 MB / 389 MB, free: 9.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003235/0.2082, allocations: 1.179 MB / 390.2 MB, free: 9.066 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00234/0.2105, allocations: 1.306 MB / 391.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001496/0.212, allocations: 0.7395 MB / 392.2 MB, free: 7.977 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009172/0.2129, allocations: 496.6 kB / 392.7 MB, free: 7.73 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007861/0.2137, allocations: 0.5688 MB / 393.3 MB, free: 7.426 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.2139, allocations: 100.8 kB / 393.4 MB, free: 7.422 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.2155, allocations: 427.3 kB / 393.8 MB, free: 7.312 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001806/0.2173, allocations: 2.274 MB / 396 MB, free: 5.738 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008108/0.2182, allocations: 1.516 MB / 397.6 MB, free: 4.664 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002234/0.2184, allocations: 88.62 kB / 397.6 MB, free: 4.664 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0001874/0.2186, allocations: 22.17 kB / 397.7 MB, free: 4.66 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: 282 (243) * Number of variables: 282 (281) Notification: Performance of [SIM] Bindings: time 0.004819/0.2234, allocations: 6.283 MB / 404 MB, free: 328 kB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001058/0.2244, allocations: 0.9068 MB / 404.9 MB, free: 15.73 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.006084/0.2305, allocations: 5.195 MB / 410.1 MB, free: 12.24 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.001338/0.2319, allocations: 0.7353 MB / 410.8 MB, free: 11.72 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.005178/0.237, allocations: 3.565 MB / 414.4 MB, free: 8.871 MB / 318.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0009442/0.238, allocations: 0.626 MB / 415 MB, free: 8.445 MB / 318.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004736/0.2385, allocations: 363.3 kB / 415.3 MB, free: 8.117 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001068/0.2395, allocations: 0.879 MB / 416.2 MB, free: 7.18 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.000335/0.2399, allocations: 159.1 kB / 416.4 MB, free: 7.027 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.001881/0.2417, allocations: 1.542 MB / 417.9 MB, free: 5.426 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.01238/0.2541, allocations: 7.226 MB / 425.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003967/0.2581, allocations: 2.845 MB / 428 MB, free: 11.2 MB / 334.1 MB Notification: Performance of [INI] Simplify: time 0.004023/0.2621, allocations: 1.505 MB / 429.5 MB, free: 9.484 MB / 334.1 MB Notification: Performance of [INI] Inline: time 0.006845/0.269, allocations: 5.031 MB / 434.5 MB, free: 4.434 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0002934/0.2692, allocations: 104.6 kB / 434.6 MB, free: 4.301 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0008678/0.2701, allocations: 0.7493 MB / 435.4 MB, free: 3.551 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.01329/0.2834, allocations: 8.342 MB / 443.7 MB, free: 10.95 MB / 350.1 MB Notification: Performance of [INI] Tearing: time 0.0005929/0.284, allocations: 427.6 kB / 444.1 MB, free: 10.54 MB / 350.1 MB Notification: Performance of [SIM] Initialization: time 1.303e-06/0.284, allocations: 7.938 kB / 444.1 MB, free: 10.53 MB / 350.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.047e-05/0.284, allocations: 5.297 kB / 444.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of [SIM] Tearing: time 0.0005428/0.2846, allocations: 431.6 kB / 444.6 MB, free: 10.1 MB / 350.1 MB Notification: Performance of [SIM] Categorize: time 4.798e-05/0.2846, allocations: 8 kB / 444.6 MB, free: 10.09 MB / 350.1 MB Notification: Performance of [SIM] Solve: time 0.003622/0.2883, allocations: 2.226 MB / 446.8 MB, free: 7.852 MB / 350.1 MB Notification: Performance of [SIM] Jacobian: time 0.004298/0.2926, allocations: 3.069 MB / 449.9 MB, free: 4.594 MB / 350.1 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * Number of ODE event partitions: ............... 2 * Number of algebraic event partitions: ......... 3 * 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: ............................. 3 (3) {sourceQS.pin_p.reference.gamma, coil.Phi, rootMeanSquare.mean.x} * Number of discrete states: .................... 1 (1) {rootMeanSquare.mean.y_last} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 5 (5) {$SEV_1, $SEV_0, $TEV_2, $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: ........... 186 (scalar:186, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:0, when:1, if:0, tuple:2) * 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: ........... 217 (scalar:217, array:0, record:0) * Number of multi strong components: ............ 0 (algorithm:0, when:0, if:0, tuple:2) * 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.0001195/0.2927, allocations: 82.95 kB / 450 MB, free: 4.523 MB / 350.1 MB Notification: Performance of SimCode: time 0.008128/0.3008, allocations: 6.287 MB / 456.2 MB, free: 14.07 MB / 366.1 MB Notification: Performance of Templates: time 0.03053/0.3313, allocations: 17.92 MB / 474.2 MB, free: 12.24 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.362898811232299] Failed to read output from testmodel.py, exit status != 0: ['time', 'coil.Phi', 'coil.i', 'r_mLeak.port_p.Phi', 'rootMeanSquare.mean.x', 'sourceQS.pin_p.reference.gamma'] 0.33969370601698756 0.353627008 0.132081518 Calling exit ...