Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001563/0.001563, allocations: 113.1 kB / 21.86 MB, free: 76 kB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001719/0.001719, allocations: 213.6 kB / 25.14 MB, free: 3.586 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.422/1.422, allocations: 230.4 MB / 258.7 MB, free: 7.91 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-beta.om/package.mo)
Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo)
Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo)
Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5079,variableFilter="time|bodyCylinder2.body.w_a.1.|bodyCylinder2.body.w_a.2.|bodyCylinder2.body.w_a.3.|bodyCylinder3.body.w_a.1.|bodyCylinder3.body.w_a.2.|bodyCylinder3.body.w_a.3.|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects")
translateModel(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5079,variableFilter="time|bodyCylinder2.body.w_a.1.|bodyCylinder2.body.w_a.2.|bodyCylinder2.body.w_a.3.|bodyCylinder3.body.w_a.1.|bodyCylinder3.body.w_a.2.|bodyCylinder3.body.w_a.3.|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 64.98 kB / 379.4 MB, free: 2.785 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2137/0.2157, allocations: 53.37 MB / 432.8 MB, free: 7.035 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects): time 0.01952/0.2352, allocations: 17.44 MB / 450.2 MB, free: 5.516 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.01189/0.2471, allocations: 5.779 MB / 456 MB, free: 15.72 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002424/0.2495, allocations: 179 kB / 456.2 MB, free: 15.55 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.009612/0.2591, allocations: 5.284 MB / 461.4 MB, free: 10.25 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.006753/0.2659, allocations: 3.195 MB / 464.6 MB, free: 7.039 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002579/0.2685, allocations: 1.416 MB / 466 MB, free: 5.621 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01401/0.2825, allocations: 11.11 MB / 477.2 MB, free: 10.5 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.005301/0.2878, allocations: 4.533 MB / 481.7 MB, free: 5.895 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.003816/0.2916, allocations: 3.104 MB / 484.8 MB, free: 2.781 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.005407/0.297, allocations: 4.373 MB / 489.2 MB, free: 14.39 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0009345/0.2979, allocations: 0.582 MB / 489.7 MB, free: 13.81 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.3009, allocations: 1.802 MB / 491.5 MB, free: 12.01 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.003531/0.3044, allocations: 3.829 MB / 495.4 MB, free: 8.168 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.004185/0.3086, allocations: 3.977 MB / 499.4 MB, free: 4.168 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01396/0.3226, allocations: 12.33 MB / 0.4997 GB, free: 7.785 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3226, allocations: 0 / 0.4997 GB, free: 7.785 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.252e-06/0.3226, allocations: 0 / 0.4997 GB, free: 7.785 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 0.0002382/0.3228, allocations: 3.938 kB / 0.4997 GB, free: 7.781 MB / 414.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 2276
 * Number of variables: 2276
Notification: Performance of Generate backend data structure: time 0.02505/0.3479, allocations: 9.649 MB / 0.5091 GB, free: 14.05 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.3479, allocations: 8.031 kB / 0.5091 GB, free: 14.04 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03466/0.3826, allocations: 9.679 MB / 0.5186 GB, free: 4.34 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01599/0.3986, allocations: 6.908 MB / 0.5253 GB, free: 13.36 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003065/0.3989, allocations: 385.8 kB / 0.5257 GB, free: 12.98 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001726/0.4006, allocations: 0.683 MB / 0.5264 GB, free: 12.29 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.3545/0.7551, allocations: 17.15 MB / 0.5431 GB, free: 89.01 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002006/0.7553, allocations: 85.22 kB / 0.5432 GB, free: 88.97 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005994/0.7559, allocations: 246.2 kB / 0.5434 GB, free: 88.86 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003605/0.7595, allocations: 2.775 MB / 0.5461 GB, free: 88.34 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.025/0.7845, allocations: 14.96 MB / 0.5607 GB, free: 82.86 MB / 446.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0591/0.8436, allocations: 67.75 MB / 0.6269 GB, free: 15.16 MB / 446.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.02505/0.8686, allocations: 8.563 MB / 0.6353 GB, free: 6.559 MB / 446.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.004324/0.8729, allocations: 4.583 MB / 0.6397 GB, free: 1.961 MB / 446.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0008859/0.8738, allocations: 383.3 kB / 0.6401 GB, free: 1.59 MB / 446.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.16e-05/0.8739, allocations: 60.5 kB / 0.6402 GB, free: 1.52 MB / 446.1 MB
Notification: Performance of pre-optimization done (n=268): time 4.559e-06/0.8739, allocations: 0 / 0.6402 GB, free: 1.52 MB / 446.1 MB
[/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:342:7-342:48:writable] Error: Internal error BackendDAETransform.analyseStrongComponentBlock failed
variables:
  
equations:
  spherical2.frame_b.R.T[3,1] = 2.0 * (bodyCylinder3.body.Q[3] * bodyCylinder3.body.Q[1] + bodyCylinder3.body.Q[2] * bodyCylinder3.body.Q[4])
[/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed
[/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed
[/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components)
[/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:8030:5-8030:89:writable] Error: Internal error Transformation module sort components failed
Error: Internal error SimCode DAEmode: The model Modelica.Mechanics.MultiBody.Examples.Rotational3DEffects.GyroscopicEffects could not be translated
"
[Timeout remaining time 659]
[Calling sys.exit(0), Time elapsed: 3.102142611052841]
Failed to read output from testmodel.py, exit status != 0:
['time', 'bodyCylinder2.body.w_a[1]', 'bodyCylinder2.body.w_a[2]', 'bodyCylinder2.body.w_a[3]', 'bodyCylinder3.body.w_a[1]', 'bodyCylinder3.body.w_a[2]', 'bodyCylinder3.body.w_a[3]', 'revolute.phi', 'revolute.w', 'rotor1D.phi', 'rotor1D.w']
1.0437765722163022 1.058123776 0.7323235619999999
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fb7cf439810>