Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 104.5 kB / 21.24 MB, free: 0.5703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002297/0.002297, allocations: 193.5 kB / 24.52 MB, free: 3.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.686e-05/2.686e-05, allocations: 2.281 kB / 371.7 MB, free: 9.168 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor): time 0.009014/0.009041, allocations: 5.807 MB / 377.5 MB, free: 3.328 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005789/0.01483, allocations: 2.383 MB / 379.9 MB, free: 0.9375 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.01588, allocations: 24 kB / 379.9 MB, free: 0.9141 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2515/0.2674, allocations: 1.174 MB / 381.1 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003406/0.2708, allocations: 0.6655 MB / 381.7 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003114/0.2739, allocations: 1.045 MB / 382.8 MB, free: 13.08 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.003254/0.2772, allocations: 1.287 MB / 384.1 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001798/0.279, allocations: 0.7159 MB / 384.8 MB, free: 12.99 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009534/0.2799, allocations: 477.8 kB / 385.2 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006678/0.2806, allocations: 0.5011 MB / 385.7 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000161/0.2808, allocations: 97.22 kB / 385.8 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001281/0.282, allocations: 397.3 kB / 386.2 MB, free: 12.75 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.001587/0.2836, allocations: 2.258 MB / 388.5 MB, free: 11.55 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.0008441/0.2845, allocations: 1.496 MB / 390 MB, free: 10.53 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002286/0.2847, allocations: 89.38 kB / 390.1 MB, free: 10.53 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.000194/0.2849, allocations: 21.84 kB / 390.1 MB, free: 10.53 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.005668/0.2906, allocations: 6.243 MB / 396.3 MB, free: 6.492 MB / 302.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001164/0.2917, allocations: 0.9286 MB / 397.3 MB, free: 5.957 MB / 302.1 MB Notification: Performance of [SIM] Early Inline: time 0.005894/0.2976, allocations: 5.207 MB / 402.5 MB, free: 3.074 MB / 302.1 MB Notification: Performance of [SIM] Simplify 1: time 0.0012/0.2988, allocations: 0.6109 MB / 403.1 MB, free: 2.781 MB / 302.1 MB Notification: Performance of [SIM] Alias: time 0.004547/0.3034, allocations: 3.501 MB / 406.6 MB, free: 484 kB / 302.1 MB Notification: Performance of [SIM] Simplify 2: time 0.0008466/0.3042, allocations: 0.5219 MB / 407.1 MB, free: 160 kB / 302.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0004555/0.3047, allocations: 355.5 kB / 407.5 MB, free: 15.86 MB / 318.1 MB Notification: Performance of [SIM] Detect States: time 0.001178/0.3058, allocations: 0.8552 MB / 408.3 MB, free: 15.09 MB / 318.1 MB Notification: Performance of [SIM] Events: time 0.0003579/0.3062, allocations: 166.6 kB / 408.5 MB, free: 14.99 MB / 318.1 MB Notification: Performance of [SIM] Partitioning: time 0.002006/0.3082, allocations: 1.536 MB / 410 MB, free: 14.01 MB / 318.1 MB Notification: Performance of [SIM] Causalize: time 0.01115/0.3194, allocations: 6.992 MB / 417 MB, free: 8.277 MB / 318.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.003305/0.3227, allocations: 2.843 MB / 419.8 MB, free: 5.457 MB / 318.1 MB Notification: Performance of [INI] Simplify: time 0.002964/0.3256, allocations: 1.347 MB / 421.2 MB, free: 3.938 MB / 318.1 MB Notification: Performance of [INI] Inline: time 0.005174/0.3308, allocations: 5.014 MB / 426.2 MB, free: 14.95 MB / 334.1 MB Notification: Performance of [INI] Partitioning: time 0.0002402/0.331, allocations: 92.75 kB / 426.3 MB, free: 14.83 MB / 334.1 MB Notification: Performance of [INI] Cleanup: time 0.0008077/0.3318, allocations: 0.7411 MB / 427 MB, free: 14.1 MB / 334.1 MB Notification: Performance of [INI] Causalize: time 0.01232/0.3442, allocations: 8.013 MB / 435 MB, free: 5.922 MB / 334.1 MB Notification: Performance of [INI] Tearing: time 0.0005191/0.3447, allocations: 405.7 kB / 435.4 MB, free: 5.535 MB / 334.1 MB Notification: Performance of [SIM] Initialization: time 3.436e-06/0.3447, allocations: 3.984 kB / 435.4 MB, free: 5.531 MB / 334.1 MB Notification: Performance of [SIM] Remove Dummies: time 4.841e-05/0.3447, allocations: 6.25 kB / 435.5 MB, free: 5.523 MB / 334.1 MB Notification: Performance of [SIM] Tearing: time 0.0005352/0.3453, allocations: 395.2 kB / 435.8 MB, free: 5.152 MB / 334.1 MB Notification: Performance of [SIM] Categorize: time 5.058e-05/0.3453, allocations: 8 kB / 435.8 MB, free: 5.145 MB / 334.1 MB Notification: Performance of [SIM] Solve: time 0.003452/0.3488, allocations: 2.107 MB / 438 MB, free: 3.047 MB / 334.1 MB Notification: Performance of [SIM] Jacobian: time 0.005874/0.3547, allocations: 4.144 MB / 442.1 MB, free: 14.71 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: ........... 189 (scalar:189, 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: ........... 219 (scalar:219, 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.0001622/0.3548, allocations: 95.11 kB / 442.2 MB, free: 14.63 MB / 350.1 MB Notification: Performance of SimCode: time 0.008847/0.3637, allocations: 6.252 MB / 448.4 MB, free: 8.289 MB / 350.1 MB Notification: Performance of Templates: time 0.03231/0.396, allocations: 17 MB / 465.4 MB, free: 7.41 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.LinearInductor.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.435340255033225] 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.40482787508517504 0.41948099600000005 0.131519734 Calling exit ...