Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.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.001484/0.001484, allocations: 103 kB / 21.23 MB, free: 0.6328 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.001715/0.001715, allocations: 212.2 kB / 24.53 MB, free: 3.93 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.478/1.478, 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: writeFile("Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.mo", OpenModelica.Scripting.instantiateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking)) writeFile("Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.mo", OpenModelica.Scripting.instantiateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking)) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002352/0.002352, allocations: 47.92 kB / 378.5 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.3425, allocations: 53.37 MB / 431.9 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking): time 0.01811/0.3606, allocations: 14.19 MB / 446.1 MB, free: 8.414 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01142/0.372, allocations: 5.155 MB / 451.2 MB, free: 3.238 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003866/0.3759, allocations: 254 kB / 451.5 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003985/0.3799, allocations: 1.079 MB / 452.5 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006041/0.3859, allocations: 1.457 MB / 454 MB, free: 448 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003502/0.3894, allocations: 1.077 MB / 455.1 MB, free: 15.36 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006595/0.396, allocations: 4.26 MB / 459.3 MB, free: 11.09 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003111/0.3991, allocations: 1.813 MB / 461.2 MB, free: 9.203 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003738/0.4029, allocations: 2.201 MB / 463.4 MB, free: 6.996 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003672/0.4065, allocations: 1.907 MB / 465.3 MB, free: 5.082 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007964/0.4073, allocations: 468 kB / 465.7 MB, free: 4.625 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.4086, allocations: 0.5155 MB / 466.2 MB, free: 4.109 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001019/0.4096, allocations: 1.079 MB / 467.3 MB, free: 3.027 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003257/0.4129, allocations: 2.202 MB / 469.5 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.373e-06/0.4129, allocations: 4 kB / 469.5 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.734e-06/0.4129, allocations: 0 / 469.5 MB, free: 0.8125 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 4.227e-05/0.4129, allocations: 15.91 kB / 469.5 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.293e-06/0.4129, allocations: 0 / 469.5 MB, free: 0.7969 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.21e-07/0.4129, allocations: 3.938 kB / 469.5 MB, free: 0.793 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.557e-05/0.413, allocations: 19.86 kB / 469.6 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.082e-06/0.413, allocations: 0 / 469.6 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.81e-07/0.413, allocations: 0 / 469.6 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.413, allocations: 11.98 kB / 469.6 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 1.022e-06/0.413, allocations: 0 / 469.6 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.61e-07/0.413, allocations: 0 / 469.6 MB, free: 0.7617 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01182/0.4248, allocations: 8.442 MB / 478 MB, free: 8.348 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007715/0.4325, allocations: 6.279 MB / 484.3 MB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4325, allocations: 0 / 484.3 MB, free: 2.047 MB / 382.1 MB Notification: Performance of runFrontEnd: time 1.473e-06/0.4325, allocations: 0 / 484.3 MB, free: 2.047 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 43.92 kB / 484.3 MB, free: 2 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1056, allocations: 53.35 MB / 0.5251 GB, free: 12.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking): time 0.2489/0.3545, allocations: 14.18 MB / 0.5389 GB, free: 93.72 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0107/0.3652, allocations: 5.17 MB / 0.544 GB, free: 93.49 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004273/0.3694, allocations: 252.4 kB / 0.5442 GB, free: 93.36 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003858/0.3733, allocations: 1.069 MB / 0.5453 GB, free: 92.86 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005538/0.3788, allocations: 1.457 MB / 0.5467 GB, free: 92.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003271/0.3821, allocations: 1.067 MB / 0.5477 GB, free: 91.65 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.006774/0.3889, allocations: 4.267 MB / 0.5519 GB, free: 89.56 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002968/0.3918, allocations: 1.808 MB / 0.5537 GB, free: 88.63 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004672/0.3965, allocations: 2.196 MB / 0.5558 GB, free: 87.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004058/0.4006, allocations: 1.908 MB / 0.5577 GB, free: 86.77 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001536/0.4021, allocations: 469.7 kB / 0.5581 GB, free: 86.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00246/0.4046, allocations: 0.5155 MB / 0.5586 GB, free: 86.75 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001422/0.406, allocations: 1.084 MB / 0.5597 GB, free: 86.08 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005631/0.4116, allocations: 2.198 MB / 0.5618 GB, free: 84.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.262e-06/0.4116, allocations: 1.062 kB / 0.5618 GB, free: 84.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.345e-06/0.4116, allocations: 0 / 0.5618 GB, free: 84.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.681e-05/0.4117, allocations: 13.12 kB / 0.5618 GB, free: 84.94 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.082e-06/0.4117, allocations: 1.219 kB / 0.5618 GB, free: 84.94 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.81e-07/0.4117, allocations: 0 / 0.5618 GB, free: 84.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.295e-05/0.4117, allocations: 20.75 kB / 0.5619 GB, free: 84.93 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.042e-06/0.4117, allocations: 1.219 kB / 0.5619 GB, free: 84.93 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.31e-07/0.4117, allocations: 4 kB / 0.5619 GB, free: 84.93 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.4117, allocations: 17.58 kB / 0.5619 GB, free: 84.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 1.012e-06/0.4117, allocations: 1.094 kB / 0.5619 GB, free: 84.92 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 3.41e-07/0.4117, allocations: 0 / 0.5619 GB, free: 84.92 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01909/0.4308, allocations: 8.442 MB / 0.5701 GB, free: 82.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007595/0.4384, allocations: 6.273 MB / 0.5763 GB, free: 78.19 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.4384, allocations: 0 / 0.5763 GB, free: 78.19 MB / 446.1 MB Notification: Performance of runFrontEnd: time 1.152e-06/0.4384, allocations: 0 / 0.5763 GB, free: 78.19 MB / 446.1 MB " [Timeout remaining time 659] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.sim & /usr/bin/julia Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking_test.jl > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_Braking.pipe 2>&1) [Timeout 504.0] [Calling os._exit(0), Time elapsed: 33.72009791480377] Failed to read output from testmodel.py, exit status != 0: ['time', 'inertiaLoad.phi', 'inertiaLoad.w', 'smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[1].Phi.re', 'smpm.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter[2].Phi.im', '// smpm.stator.zeroInductor.i0', 'smpm.is[1]', 'smpm.is[2]'] 0.8802453866228461 -1.0 -1.0 Calling exit ...