Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.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.001629/0.001629, 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.002021/0.002021, allocations: 205.2 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.445/1.445, allocations: 230.6 MB / 258.3 MB, free: 7.801 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.NonLinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|fundamentalWavePermabilitySensor.harmonicFlux.mean1.x|fundamentalWavePermabilitySensor.harmonicFlux.mean2.x|fundamentalWavePermabilitySensor.harmonicPotential.mean1.x|fundamentalWavePermabilitySensor.harmonicPotential.mean2.x|r_mLeak.port_p.Phi|rootMeanSquare.mean1.x|rootMeanSquare.mean2.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|coil.Phi|coil.i|fundamentalWavePermabilitySensor.harmonicFlux.mean1.x|fundamentalWavePermabilitySensor.harmonicFlux.mean2.x|fundamentalWavePermabilitySensor.harmonicPotential.mean1.x|fundamentalWavePermabilitySensor.harmonicPotential.mean2.x|r_mLeak.port_p.Phi|rootMeanSquare.mean1.x|rootMeanSquare.mean2.x|sourceQS.pin_p.reference.gamma",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.742e-05/2.742e-05, allocations: 6.219 kB / 378.9 MB, free: 2.523 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor): time 0.1947/0.1948, allocations: 7.008 MB / 385.9 MB, free: 11.19 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006549/0.2013, allocations: 3.018 MB / 389 MB, free: 9.527 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.2025, allocations: 32.38 kB / 389 MB, free: 9.52 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003172/0.2056, allocations: 1.241 MB / 390.2 MB, free: 8.82 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002163/0.2078, allocations: 0.632 MB / 390.9 MB, free: 8.395 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002953/0.2107, allocations: 1.44 MB / 392.3 MB, free: 7.543 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002601/0.2133, allocations: 2.098 MB / 394.4 MB, free: 6.484 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001638/0.215, allocations: 1.084 MB / 395.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001125/0.2161, allocations: 0.7667 MB / 396.2 MB, free: 5.438 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008105/0.2169, allocations: 0.8271 MB / 397.1 MB, free: 4.98 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002427/0.2172, allocations: 166.3 kB / 397.2 MB, free: 4.98 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001246/0.2184, allocations: 0.4932 MB / 397.7 MB, free: 4.867 MB / 302.1 MB Notification: Performance of combineBinaries: time 0.002032/0.2204, allocations: 3.316 MB / 401 MB, free: 2.555 MB / 302.1 MB Notification: Performance of replaceArrayConstructors: time 0.001187/0.2216, allocations: 2.162 MB / 403.2 MB, free: 1.02 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003441/0.222, allocations: 123.2 kB / 403.3 MB, free: 1.02 MB / 302.1 MB Notification: Performance of FrontEnd: time 0.0003149/0.2223, allocations: 54 kB / 403.4 MB, free: 1 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: 371 (332) * Number of variables: 371 (365) Notification: Performance of [SIM] Bindings: time 0.008693/0.231, allocations: 8.698 MB / 412.1 MB, free: 10.99 MB / 318.1 MB Notification: Performance of [SIM] FunctionAlias: time 0.001535/0.2325, allocations: 1.227 MB / 413.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of [SIM] Early Inline: time 0.007466/0.24, allocations: 6.735 MB / 420 MB, free: 3.844 MB / 318.1 MB Notification: Performance of [SIM] Simplify 1: time 0.00169/0.2417, allocations: 0.963 MB / 421 MB, free: 2.777 MB / 318.1 MB Notification: Performance of [SIM] Alias: time 0.008326/0.25, allocations: 5.658 MB / 426.7 MB, free: 12.53 MB / 334.1 MB Notification: Performance of [SIM] Simplify 2: time 0.001341/0.2513, allocations: 0.8121 MB / 427.5 MB, free: 11.61 MB / 334.1 MB Notification: Performance of [SIM] Remove Stream: time 0.0006366/0.252, allocations: 496.8 kB / 428 MB, free: 11.06 MB / 334.1 MB Notification: Performance of [SIM] Detect States: time 0.00154/0.2535, allocations: 1.27 MB / 429.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of [SIM] Events: time 0.0007717/0.2543, allocations: 0.4965 MB / 429.7 MB, free: 9.223 MB / 334.1 MB Notification: Performance of [SIM] Partitioning: time 0.002541/0.2568, allocations: 2.094 MB / 431.8 MB, free: 7.016 MB / 334.1 MB Notification: Performance of [SIM] Causalize: time 0.01332/0.2701, allocations: 8.376 MB / 440.2 MB, free: 14.39 MB / 350.1 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.004157/0.2743, allocations: 3.931 MB / 444.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of [INI] Simplify: time 0.003838/0.2781, allocations: 2.097 MB / 446.2 MB, free: 8.145 MB / 350.1 MB Notification: Performance of [INI] Inline: time 0.006494/0.2846, allocations: 6.805 MB / 453 MB, free: 1.316 MB / 350.1 MB Notification: Performance of [INI] Partitioning: time 0.0003159/0.2849, allocations: 119.8 kB / 453.1 MB, free: 1.176 MB / 350.1 MB Notification: Performance of [INI] Cleanup: time 0.001134/0.2861, allocations: 1.034 MB / 454.2 MB, free: 144 kB / 350.1 MB Notification: Performance of [INI] Causalize: time 0.01784/0.3039, allocations: 11.28 MB / 465.5 MB, free: 4.641 MB / 366.1 MB Notification: Performance of [INI] Tearing: time 0.0006781/0.3046, allocations: 0.5191 MB / 466 MB, free: 4.121 MB / 366.1 MB Notification: Performance of [SIM] Initialization: time 1.543e-06/0.3046, allocations: 0 / 466 MB, free: 4.121 MB / 366.1 MB Notification: Performance of [SIM] Remove Dummies: time 5.558e-05/0.3047, allocations: 9.75 kB / 466 MB, free: 4.113 MB / 366.1 MB Notification: Performance of [SIM] Tearing: time 0.0006131/0.3053, allocations: 499.5 kB / 466.5 MB, free: 3.625 MB / 366.1 MB Notification: Performance of [SIM] Categorize: time 6.386e-05/0.3053, allocations: 15.94 kB / 466.5 MB, free: 3.609 MB / 366.1 MB Notification: Performance of [SIM] Solve: time 0.005055/0.3104, allocations: 3.094 MB / 469.6 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of [SIM] Jacobian: time 0.00515/0.3155, allocations: 3.473 MB / 473.1 MB, free: 12.83 MB / 382.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: ......... 9 * 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: ............................. 8 (8) {sourceQS.pin_p.reference.gamma, coil.Phi, fundamentalWavePermabilitySensor.harmonicPotential.mean1.x, fundamentalWavePermabilitySensor.harmonicPotential.mean2.x, fundamentalWavePermabilitySensor.harmonicFlux.mean1.x, fundamentalWavePermabilitySensor.harmonicFlux.mean2.x, rootMeanSquare.mean1.x, rootMeanSquare.mean2.x} * Number of discrete states: .................... 6 (6) {rootMeanSquare.mean2.y_last, rootMeanSquare.mean1.y_last, fundamentalWavePermabilitySensor.harmonicFlux.mean2.y_last, fundamentalWavePermabilitySensor.harmonicFlux.mean1.y_last, fundamentalWavePermabilitySensor.harmonicPotential.mean2.y_last, fundamentalWavePermabilitySensor.harmonicPotential.mean1.y_last} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 21 (21) {$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: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 235 (scalar:235, array:0, record:0) * Number of multi strong components: ............ 6 (algorithm:0, when:6, 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: ........... 315 (scalar:315, 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.0001713/0.3157, allocations: 115.7 kB / 473.2 MB, free: 12.72 MB / 382.1 MB Notification: Performance of SimCode: time 0.01315/0.3289, allocations: 8.439 MB / 481.6 MB, free: 4.051 MB / 382.1 MB Notification: Performance of Templates: time 0.04059/0.3695, allocations: 22.62 MB / 0.4924 GB, free: 13.56 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.NonLinearInductor.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.638485232833773] Failed to read output from testmodel.py, exit status != 0: ['time', 'coil.Phi', 'coil.i', 'fundamentalWavePermabilitySensor.harmonicFlux.mean1.x', 'fundamentalWavePermabilitySensor.harmonicFlux.mean2.x', 'fundamentalWavePermabilitySensor.harmonicPotential.mean1.x', 'fundamentalWavePermabilitySensor.harmonicPotential.mean2.x', 'r_mLeak.port_p.Phi', 'rootMeanSquare.mean1.x', 'rootMeanSquare.mean2.x', 'sourceQS.pin_p.reference.gamma'] 0.3781054960563779 0.39257295699999994 0.16720711099999994 Calling exit ...