Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.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.001778/0.001778, allocations: 107.5 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.002178/0.002178, allocations: 218.4 kB / 24.54 MB, free: 3.898 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.481/1.481, 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.Mechanics.Rotational.Examples.SimpleGearShift.mo", OpenModelica.Scripting.instantiateModel(Modelica.Mechanics.Rotational.Examples.SimpleGearShift)) writeFile("Modelica.Mechanics.Rotational.Examples.SimpleGearShift.mo", OpenModelica.Scripting.instantiateModel(Modelica.Mechanics.Rotational.Examples.SimpleGearShift)) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001605/0.001605, allocations: 51.92 kB / 378.5 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2676/0.2692, allocations: 53.35 MB / 431.8 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.004399/0.2736, allocations: 2.786 MB / 434.6 MB, free: 3.895 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001849/0.2754, allocations: 1.017 MB / 435.6 MB, free: 2.871 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001791/0.2756, allocations: 19.81 kB / 435.7 MB, free: 2.852 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002864/0.2759, allocations: 75.31 kB / 435.7 MB, free: 2.777 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003808/0.2763, allocations: 166.9 kB / 435.9 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003658/0.2766, allocations: 191.7 kB / 436.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000601/0.2772, allocations: 0.5969 MB / 436.7 MB, free: 1.824 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000199/0.2774, allocations: 88.94 kB / 436.8 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003896/0.2778, allocations: 295.1 kB / 437.1 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003135/0.2781, allocations: 259 kB / 437.3 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.734e-05/0.2782, allocations: 40 kB / 437.4 MB, free: 1.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.2783, allocations: 67.98 kB / 437.4 MB, free: 1.09 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000156/0.2785, allocations: 111.7 kB / 437.5 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001517/0.28, allocations: 1.103 MB / 438.6 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006194/0.2806, allocations: 0.5253 MB / 439.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.2806, allocations: 0 / 439.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of runFrontEnd: time 7.31e-07/0.2806, allocations: 0 / 439.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 55.89 kB / 439.2 MB, free: 15.3 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1044, allocations: 53.35 MB / 492.6 MB, free: 9.852 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.SimpleGearShift): time 0.004816/0.1092, allocations: 2.783 MB / 495.3 MB, free: 7.055 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.1113, allocations: 1.021 MB / 496.4 MB, free: 6.027 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001598/0.1115, allocations: 23.75 kB / 496.4 MB, free: 6.004 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.1117, allocations: 67.38 kB / 496.5 MB, free: 5.938 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003211/0.112, allocations: 162.9 kB / 496.6 MB, free: 5.777 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003287/0.1123, allocations: 195.7 kB / 496.8 MB, free: 5.586 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006404/0.113, allocations: 0.6008 MB / 497.4 MB, free: 4.984 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001529/0.1131, allocations: 82.92 kB / 497.5 MB, free: 4.898 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003697/0.1135, allocations: 303.1 kB / 497.8 MB, free: 4.602 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003014/0.1138, allocations: 255 kB / 498 MB, free: 4.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.827e-05/0.1139, allocations: 40 kB / 498.1 MB, free: 4.312 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.114, allocations: 60 kB / 498.1 MB, free: 4.254 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001519/0.1142, allocations: 115.6 kB / 498.2 MB, free: 4.141 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001726/0.1159, allocations: 1.106 MB / 499.3 MB, free: 3.043 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000736/0.1166, allocations: 0.5175 MB / 499.9 MB, free: 2.523 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.1166, allocations: 0 / 499.9 MB, free: 2.523 MB / 398.1 MB Notification: Performance of runFrontEnd: time 1.072e-06/0.1166, allocations: 0 / 499.9 MB, free: 2.523 MB / 398.1 MB " [Timeout remaining time 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.sim & /usr/bin/julia Modelica.Mechanics.Rotational.Examples.SimpleGearShift_test.jl > Modelica_4.1.0_Modelica.Mechanics.Rotational.Examples.SimpleGearShift.pipe 2>&1) [Timeout 504.0] [Calling os._exit(0), Time elapsed: 32.49662486417219] Failed to read output from testmodel.py, exit status != 0: ['time', 'clutch.phi_rel', 'clutch.w_rel', 'engine.phi', 'engine.w', 'load.phi', 'load.w', 'brake.mode', 'brake.startBackward', 'brake.startForward', 'clutch.mode', 'clutch.startBackward', 'clutch.startForward'] 0.4062671549618244 -1.0 -1.0 Calling exit ...