Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.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.001399/0.001399, allocations: 107 kB / 21.23 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.001582/0.001582, allocations: 214 kB / 24.53 MB, free: 3.941 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.5/1.5, allocations: 230.6 MB / 258.3 MB, free: 7.797 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: writeFile("Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.mo", OpenModelica.Scripting.instantiateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening)) writeFile("Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.mo", OpenModelica.Scripting.instantiateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening)) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 55.91 kB / 378.5 MB, free: 3.039 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2455/0.2472, allocations: 53.36 MB / 431.9 MB, free: 6.645 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening): time 0.02713/0.2743, allocations: 21.28 MB / 453.2 MB, free: 1.273 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01769/0.292, allocations: 7.548 MB / 460.7 MB, free: 9.699 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005973/0.298, allocations: 333.6 kB / 461 MB, free: 9.371 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01443/0.3124, allocations: 5.337 MB / 466.4 MB, free: 4.02 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009679/0.3221, allocations: 3.204 MB / 469.6 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006269/0.3283, allocations: 2.161 MB / 471.7 MB, free: 14.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01165/0.34, allocations: 8.698 MB / 480.4 MB, free: 5.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01566/0.3557, allocations: 9.678 MB / 490.1 MB, free: 12.14 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006691/0.3623, allocations: 4.469 MB / 494.6 MB, free: 7.66 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007034/0.3694, allocations: 4.43 MB / 499 MB, free: 3.215 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002677/0.3721, allocations: 1.176 MB / 0.4885 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00365/0.3757, allocations: 1.332 MB / 0.4898 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002854/0.3786, allocations: 2.307 MB / 0.492 GB, free: 14.39 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00931/0.3879, allocations: 5.762 MB / 0.4977 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.422e-06/0.3879, allocations: 0 / 0.4977 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.074e-06/0.3879, allocations: 0 / 0.4977 GB, free: 8.613 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.3879, allocations: 15.91 kB / 0.4977 GB, free: 8.598 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.243e-06/0.3879, allocations: 0 / 0.4977 GB, free: 8.598 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 5.41e-07/0.3879, allocations: 0 / 0.4977 GB, free: 8.598 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 3.722e-05/0.3879, allocations: 27.92 kB / 0.4977 GB, free: 8.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.382e-06/0.3879, allocations: 0 / 0.4977 GB, free: 8.57 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.41e-07/0.3879, allocations: 0 / 0.4977 GB, free: 8.57 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.029e-05/0.388, allocations: 11.97 kB / 0.4977 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.152e-06/0.388, allocations: 0 / 0.4977 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.61e-07/0.388, allocations: 0 / 0.4977 GB, free: 8.559 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.63e-05/0.388, allocations: 27.84 kB / 0.4977 GB, free: 8.531 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.112e-06/0.388, allocations: 0 / 0.4977 GB, free: 8.531 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.31e-07/0.388, allocations: 0 / 0.4977 GB, free: 8.531 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.244e-05/0.388, allocations: 15.97 kB / 0.4977 GB, free: 8.516 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 3.246e-06/0.388, allocations: 3.938 kB / 0.4978 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.8e-07/0.388, allocations: 0 / 0.4978 GB, free: 8.512 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.388, allocations: 11.98 kB / 0.4978 GB, free: 8.5 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.172e-06/0.388, allocations: 4 kB / 0.4978 GB, free: 8.496 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.01e-07/0.388, allocations: 0 / 0.4978 GB, free: 8.496 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 2.47e-05/0.3881, allocations: 19.91 kB / 0.4978 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.142e-06/0.3881, allocations: 0 / 0.4978 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.11e-07/0.3881, allocations: 0 / 0.4978 GB, free: 8.477 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 1.733e-05/0.3881, allocations: 7.984 kB / 0.4978 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 1.052e-06/0.3881, allocations: 0 / 0.4978 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.01e-07/0.3881, allocations: 0 / 0.4978 GB, free: 8.469 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02779/0.4159, allocations: 19.44 MB / 0.5168 GB, free: 5.176 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01944/0.4353, allocations: 15.45 MB / 0.5319 GB, free: 5.68 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.125e-06/0.4353, allocations: 4 kB / 0.5319 GB, free: 5.676 MB / 446.1 MB Notification: Performance of runFrontEnd: time 1.744e-06/0.4353, allocations: 0 / 0.5319 GB, free: 5.676 MB / 446.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001661/0.001661, allocations: 55.91 kB / 0.5319 GB, free: 5.621 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2884, allocations: 53.33 MB / 0.584 GB, free: 118.5 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening): time 0.02062/0.309, allocations: 21.29 MB / 0.6048 GB, free: 97.11 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01688/0.3259, allocations: 7.548 MB / 0.6122 GB, free: 89.54 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006135/0.332, allocations: 333.6 kB / 0.6125 GB, free: 89.21 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01277/0.3448, allocations: 5.344 MB / 0.6177 GB, free: 83.85 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009626/0.3544, allocations: 3.197 MB / 0.6208 GB, free: 80.65 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006162/0.3606, allocations: 2.159 MB / 0.6229 GB, free: 78.5 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.01118/0.3718, allocations: 8.69 MB / 0.6314 GB, free: 69.79 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0179/0.3897, allocations: 9.685 MB / 0.6409 GB, free: 59.98 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007711/0.3974, allocations: 4.469 MB / 0.6452 GB, free: 55.5 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007754/0.4051, allocations: 4.426 MB / 0.6496 GB, free: 51.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003494/0.4086, allocations: 1.176 MB / 0.6507 GB, free: 49.88 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005017/0.4136, allocations: 1.336 MB / 0.652 GB, free: 48.55 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004165/0.4178, allocations: 2.303 MB / 0.6543 GB, free: 46.24 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01256/0.4304, allocations: 5.77 MB / 0.6599 GB, free: 40.45 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.414e-06/0.4304, allocations: 0 / 0.6599 GB, free: 40.45 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.146e-06/0.4304, allocations: 3.938 kB / 0.6599 GB, free: 40.45 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.4304, allocations: 15.91 kB / 0.6599 GB, free: 40.43 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.092e-06/0.4304, allocations: 4 kB / 0.6599 GB, free: 40.43 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.31e-07/0.4304, allocations: 0 / 0.6599 GB, free: 40.43 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.518e-05/0.4304, allocations: 19.98 kB / 0.6599 GB, free: 40.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.774e-06/0.4304, allocations: 3.938 kB / 0.6599 GB, free: 40.4 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.51e-07/0.4304, allocations: 0 / 0.6599 GB, free: 40.4 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.513e-05/0.4304, allocations: 19.97 kB / 0.66 GB, free: 40.38 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.92e-07/0.4304, allocations: 0 / 0.66 GB, free: 40.38 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.01e-07/0.4304, allocations: 0 / 0.66 GB, free: 40.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.713e-05/0.4305, allocations: 15.91 kB / 0.66 GB, free: 40.37 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 2.104e-06/0.4305, allocations: 0 / 0.66 GB, free: 40.37 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.372e-06/0.4305, allocations: 0 / 0.66 GB, free: 40.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.941e-05/0.4305, allocations: 7.984 kB / 0.66 GB, free: 40.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.082e-06/0.4305, allocations: 0 / 0.66 GB, free: 40.36 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.3e-07/0.4305, allocations: 4 kB / 0.66 GB, free: 40.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.546e-05/0.4305, allocations: 23.91 kB / 0.66 GB, free: 40.33 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.012e-06/0.4305, allocations: 0 / 0.66 GB, free: 40.33 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.11e-07/0.4305, allocations: 0 / 0.66 GB, free: 40.33 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.607e-05/0.4305, allocations: 17.33 kB / 0.66 GB, free: 40.32 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.92e-07/0.4305, allocations: 0 / 0.66 GB, free: 40.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.9e-07/0.4305, allocations: 0 / 0.66 GB, free: 40.32 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.352e-05/0.4305, allocations: 15.92 kB / 0.66 GB, free: 40.3 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 9.82e-07/0.4305, allocations: 4 kB / 0.6601 GB, free: 40.3 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.71e-07/0.4305, allocations: 0 / 0.6601 GB, free: 40.3 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.02811/0.4586, allocations: 19.42 MB / 0.679 GB, free: 21.04 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02109/0.4797, allocations: 15.45 MB / 0.6941 GB, free: 5.547 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.4797, allocations: 0 / 0.6941 GB, free: 5.547 MB / 446.1 MB Notification: Performance of runFrontEnd: time 2.444e-06/0.4797, allocations: 3.938 kB / 0.6941 GB, free: 5.543 MB / 446.1 MB " [Timeout remaining time 659] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.sim & /usr/bin/julia Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening_test.jl > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_FieldWeakening.pipe 2>&1) [Timeout 504.0] [Calling os._exit(0), Time elapsed: 36.57403501216322] Failed to read output from testmodel.py, exit status != 0: ['time', 'fieldWeakeningController.vs', 'fieldWeakeningController.is', 'fieldWeakeningController.id', 'fieldWeakeningController.iq'] 0.9245622670277953 -1.0 -1.0 Calling exit ...