Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.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.001339/0.001339, allocations: 107 kB / 21.24 MB, free: 0.6055 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.001473/0.001473, allocations: 220.9 kB / 24.53 MB, free: 3.902 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.563/1.563, allocations: 230.6 MB / 258.3 MB, free: 7.793 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.Blocks.Examples.TotalHarmonicDistortion.mo", OpenModelica.Scripting.instantiateModel(Modelica.Blocks.Examples.TotalHarmonicDistortion)) writeFile("Modelica.Blocks.Examples.TotalHarmonicDistortion.mo", OpenModelica.Scripting.instantiateModel(Modelica.Blocks.Examples.TotalHarmonicDistortion)) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 43.92 kB / 378.5 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4491/0.4505, allocations: 53.37 MB / 431.9 MB, free: 6.633 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005523/0.4561, allocations: 3.412 MB / 435.3 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00307/0.4591, allocations: 1.352 MB / 436.6 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004509/0.4596, allocations: 75.25 kB / 436.7 MB, free: 1.777 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.4598, allocations: 86.92 kB / 436.8 MB, free: 1.691 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004853/0.4603, allocations: 158.6 kB / 436.9 MB, free: 1.535 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001106/0.4614, allocations: 490.2 kB / 437.4 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009798/0.4624, allocations: 0.9117 MB / 438.3 MB, free: 148 kB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005058/0.4629, allocations: 270.2 kB / 438.6 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005912/0.4635, allocations: 418.3 kB / 439 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003952/0.4639, allocations: 310.4 kB / 439.3 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.464, allocations: 72 kB / 439.4 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001108/0.4641, allocations: 72 kB / 439.4 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001717/0.4643, allocations: 171.4 kB / 439.6 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002155/0.4664, allocations: 1.589 MB / 441.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001225/0.4677, allocations: 0.9201 MB / 442.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.4677, allocations: 0 / 442.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of runFrontEnd: time 1.543e-06/0.4677, allocations: 0 / 442.1 MB, free: 12.33 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001722/0.001722, allocations: 47.92 kB / 442.2 MB, free: 12.28 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1428/0.1445, allocations: 53.36 MB / 495.5 MB, free: 6.828 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.TotalHarmonicDistortion): time 0.005124/0.1497, allocations: 3.418 MB / 498.9 MB, free: 3.391 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002419/0.1521, allocations: 1.348 MB / 0.4886 GB, free: 2.039 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002914/0.1524, allocations: 75.25 kB / 0.4886 GB, free: 1.965 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001527/0.1525, allocations: 86.92 kB / 0.4887 GB, free: 1.879 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003221/0.1528, allocations: 146.7 kB / 0.4889 GB, free: 1.734 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007764/0.1536, allocations: 491.3 kB / 0.4893 GB, free: 1.254 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000833/0.1544, allocations: 0.9 MB / 0.4902 GB, free: 360 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003904/0.1548, allocations: 270.4 kB / 0.4905 GB, free: 68 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005562/0.1554, allocations: 422.5 kB / 0.4909 GB, free: 15.65 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003235/0.1557, allocations: 310.3 kB / 0.4912 GB, free: 15.34 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 9.952e-05/0.1558, allocations: 72 kB / 0.4912 GB, free: 15.27 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1559, allocations: 72 kB / 0.4913 GB, free: 15.2 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.1561, allocations: 171.4 kB / 0.4915 GB, free: 15.04 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001877/0.158, allocations: 1.579 MB / 0.493 GB, free: 13.45 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001152/0.1591, allocations: 0.9141 MB / 0.4939 GB, free: 12.54 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1591, allocations: 0 / 0.4939 GB, free: 12.54 MB / 414.1 MB Notification: Performance of runFrontEnd: time 1.423e-06/0.1591, allocations: 11.94 kB / 0.4939 GB, free: 12.52 MB / 414.1 MB " [Timeout remaining time 659] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.sim & /usr/bin/julia Modelica.Blocks.Examples.TotalHarmonicDistortion_test.jl > Modelica_4.1.0_Modelica.Blocks.Examples.TotalHarmonicDistortion.pipe 2>&1) [Timeout 504.0] [Calling os._exit(0), Time elapsed: 30.28671747073531] Failed to read output from testmodel.py, exit status != 0: ['time', 'thd1.harmonic.mean1.x', 'thd1.harmonic.mean2.x', 'thd1.rootMeanSquare.mean.x', 'thdRMS.harmonic.mean1.x', 'thdRMS.harmonic.mean2.x', 'thdRMS.rootMeanSquare.mean.x'] 0.6339440601877868 -1.0 -1.0 Calling exit ...