Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.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.0021/0.0021, 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.002427/0.002427, allocations: 213.4 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.586/1.586, allocations: 230.6 MB / 258.3 MB, free: 7.816 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.Mechanics.Rotational.Examples.LossyGearDemo2.mo", OpenModelica.Scripting.instantiateModel(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2)) writeFile("Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.mo", OpenModelica.Scripting.instantiateModel(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2)) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 55.92 kB / 378.5 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2877/0.2896, allocations: 53.37 MB / 431.9 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.004444/0.294, allocations: 2.681 MB / 434.5 MB, free: 3.988 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002492/0.2965, allocations: 1.221 MB / 435.8 MB, free: 2.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001884/0.2967, allocations: 19.88 kB / 435.8 MB, free: 2.742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003287/0.297, allocations: 91.2 kB / 435.9 MB, free: 2.652 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006262/0.2976, allocations: 228.4 kB / 436.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006084/0.2982, allocations: 275.4 kB / 436.4 MB, free: 2.16 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007602/0.299, allocations: 0.7133 MB / 437.1 MB, free: 1.445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002302/0.2992, allocations: 85.88 kB / 437.2 MB, free: 1.355 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005799/0.2998, allocations: 371 kB / 437.5 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005115/0.3003, allocations: 330.9 kB / 437.8 MB, free: 0.668 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.943e-05/0.3004, allocations: 52 kB / 437.9 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.3006, allocations: 72 kB / 438 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001815/0.3008, allocations: 143.5 kB / 438.1 MB, free: 416 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001804/0.3026, allocations: 1.268 MB / 439.4 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007303/0.3033, allocations: 0.5952 MB / 440 MB, free: 14.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3033, allocations: 0 / 440 MB, free: 14.55 MB / 350.1 MB Notification: Performance of runFrontEnd: time 7.72e-07/0.3033, allocations: 0 / 440 MB, free: 14.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00159/0.00159, allocations: 51.92 kB / 440 MB, free: 14.5 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1191, allocations: 53.36 MB / 493.4 MB, free: 9.043 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.LossyGearDemo2): time 0.004251/0.1234, allocations: 2.682 MB / 496.1 MB, free: 6.344 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002292/0.1257, allocations: 1.228 MB / 497.3 MB, free: 5.105 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.1258, allocations: 19.81 kB / 497.3 MB, free: 5.086 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002091/0.126, allocations: 95.27 kB / 497.4 MB, free: 4.992 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004787/0.1265, allocations: 215.6 kB / 497.6 MB, free: 4.781 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005341/0.127, allocations: 271.5 kB / 497.9 MB, free: 4.516 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006757/0.1277, allocations: 0.7133 MB / 498.6 MB, free: 3.801 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.1279, allocations: 87.86 kB / 498.7 MB, free: 3.711 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004714/0.1283, allocations: 375 kB / 499 MB, free: 3.344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004247/0.1288, allocations: 330.9 kB / 499.4 MB, free: 3.02 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 8.62e-05/0.1288, allocations: 48 kB / 499.4 MB, free: 2.973 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001503/0.129, allocations: 72 kB / 499.5 MB, free: 2.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00014/0.1291, allocations: 139.5 kB / 499.6 MB, free: 2.766 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001582/0.1307, allocations: 1.266 MB / 0.4891 GB, free: 1.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006277/0.1313, allocations: 0.5993 MB / 0.4897 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.1313, allocations: 4 kB / 0.4897 GB, free: 0.9062 MB / 398.1 MB Notification: Performance of runFrontEnd: time 7.81e-07/0.1313, allocations: 0 / 0.4897 GB, free: 0.9062 MB / 398.1 MB " [Timeout remaining time 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.sim & /usr/bin/julia Modelica.Mechanics.Rotational.Examples.LossyGearDemo2_test.jl > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.LossyGearDemo2.pipe 2>&1) [Timeout 504.0] [Calling os._exit(0), Time elapsed: 31.911438597831875] Failed to read output from testmodel.py, exit status != 0: ['time', 'Inertia2.phi', 'Inertia2.w', 'bearingFriction.mode', 'bearingFriction.startBackward', 'bearingFriction.startForward', 'gear.mode'] 0.4433945110067725 -1.0 -1.0 Calling exit ...