Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.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.00131/0.00131, 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.001407/0.001407, 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.421/1.421, 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.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3338,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|referenceSystem.pointMass1.w_a.1.|referenceSystem.pointMass1.w_a.2.|referenceSystem.pointMass1.w_a.3.|referenceSystem.pointMass3.v_0.1.|referenceSystem.pointMass6.frame_a.r_0.1.|referenceSystem.pointMass6.frame_a.r_0.2.|referenceSystem.pointMass6.frame_a.r_0.3.|referenceSystem.pointMass6.v_0.2.|referenceSystem.pointMass6.v_0.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2")
translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3338,variableFilter="time|freeMotion.r_rel_a.1.|freeMotion.r_rel_a.2.|freeMotion.r_rel_a.3.|freeMotion.v_rel_a.1.|freeMotion.v_rel_a.2.|freeMotion.v_rel_a.3.|referenceSystem.pointMass1.w_a.1.|referenceSystem.pointMass1.w_a.2.|referenceSystem.pointMass1.w_a.3.|referenceSystem.pointMass3.v_0.1.|referenceSystem.pointMass6.frame_a.r_0.1.|referenceSystem.pointMass6.frame_a.r_0.2.|referenceSystem.pointMass6.frame_a.r_0.3.|referenceSystem.pointMass6.v_0.2.|referenceSystem.pointMass6.v_0.3.",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") [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.002026/0.002026, allocations: 67.89 kB / 379.4 MB, free: 2.871 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2149/0.217, allocations: 53.36 MB / 432.8 MB, free: 7.039 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.02022/0.2372, allocations: 18.32 MB / 451.1 MB, free: 4.645 MB / 350.1 MB
Notification: Performance of NFInst.instExpressions: time 0.0109/0.2481, allocations: 5.587 MB / 456.7 MB, free: 15.04 MB / 366.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.002274/0.2504, allocations: 171.1 kB / 456.8 MB, free: 14.88 MB / 366.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0102/0.2606, allocations: 5.49 MB / 462.3 MB, free: 9.367 MB / 366.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.007238/0.2678, allocations: 3.366 MB / 465.7 MB, free: 5.988 MB / 366.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.003057/0.2709, allocations: 1.619 MB / 467.3 MB, free: 4.367 MB / 366.1 MB
Notification: Performance of NFFlatten.flatten: time 0.01359/0.2845, allocations: 10.47 MB / 477.8 MB, free: 9.883 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.006746/0.2912, allocations: 4.816 MB / 482.6 MB, free: 5 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.005064/0.2963, allocations: 3.447 MB / 486 MB, free: 1.543 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.006523/0.3028, allocations: 4.899 MB / 490.9 MB, free: 12.63 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.001306/0.3041, allocations: 0.668 MB / 491.6 MB, free: 11.96 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002662/0.3068, allocations: 1.432 MB / 493 MB, free: 10.53 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.004114/0.3109, allocations: 4.293 MB / 497.3 MB, free: 6.223 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.005026/0.3159, allocations: 4.513 MB / 0.4901 GB, free: 1.684 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.01595/0.3318, allocations: 14.72 MB / 0.5045 GB, free: 2.906 MB / 414.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3319, allocations: 4 kB / 0.5045 GB, free: 2.902 MB / 414.1 MB
Notification: Performance of FrontEnd: time 1.413e-06/0.3319, allocations: 0 / 0.5045 GB, free: 2.902 MB / 414.1 MB
Notification: Performance of Transformations before backend: time 0.0002848/0.3321, allocations: 0 / 0.5045 GB, free: 2.902 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: 2860
 * Number of variables: 2860
Notification: Performance of Generate backend data structure: time 0.01881/0.3509, allocations: 9.773 MB / 0.514 GB, free: 9.043 MB / 430.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.693e-05/0.351, allocations: 8.031 kB / 0.514 GB, free: 9.035 MB / 430.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01766/0.3687, allocations: 3.439 MB / 0.5174 GB, free: 5.586 MB / 430.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.01269/0.3813, allocations: 6.091 MB / 0.5233 GB, free: 15.41 MB / 446.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003451/0.3817, allocations: 455.4 kB / 0.5238 GB, free: 14.96 MB / 446.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.001699/0.3834, allocations: 0.7881 MB / 0.5245 GB, free: 14.18 MB / 446.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.3843/0.7677, allocations: 22.75 MB / 0.5467 GB, free: 84.85 MB / 446.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 0.0002462/0.7679, allocations: 111.3 kB / 0.5469 GB, free: 84.8 MB / 446.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006661/0.7686, allocations: 293 kB / 0.5471 GB, free: 84.68 MB / 446.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004521/0.7731, allocations: 3.869 MB / 0.5509 GB, free: 83.91 MB / 446.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04253/0.8157, allocations: 22.1 MB / 0.5725 GB, free: 68.96 MB / 446.1 MB
Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts.
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0891/0.9048, allocations: 93.1 MB / 0.6634 GB, free: 6.719 MB / 478.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.06351/0.9683, allocations: 13.47 MB / 0.6766 GB, free: 9.199 MB / 494.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0112/0.9795, allocations: 7.517 MB / 0.6839 GB, free: 1.668 MB / 494.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004403/0.9799, allocations: 149.7 kB / 0.684 GB, free: 1.523 MB / 494.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.901e-05/0.98, allocations: 64.5 kB / 0.6841 GB, free: 1.449 MB / 494.1 MB
Notification: Performance of pre-optimization done (n=275): time 5.059e-06/0.98, allocations: 0 / 0.6841 GB, free: 1.449 MB / 494.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:
  fixedTranslation5.frame_b.R.T[2,1] = 2.0 * (freeMotion.Q[2] * freeMotion.Q[1] - freeMotion.Q[3] * freeMotion.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.Elementary.PointGravityWithPointMasses2 could not be translated
"
[Timeout remaining time 659]
[Calling sys.exit(0), Time elapsed: 3.582382855936885]
Failed to read output from testmodel.py, exit status != 0:
['time', 'freeMotion.r_rel_a[1]', 'freeMotion.r_rel_a[2]', 'freeMotion.r_rel_a[3]', 'freeMotion.v_rel_a[1]', 'freeMotion.v_rel_a[2]', 'freeMotion.v_rel_a[3]', 'referenceSystem.pointMass1.w_a[1]', 'referenceSystem.pointMass1.w_a[2]', 'referenceSystem.pointMass1.w_a[3]', 'referenceSystem.pointMass3.v_0[1]', 'referenceSystem.pointMass6.frame_a.r_0[1]', 'referenceSystem.pointMass6.frame_a.r_0[2]', 'referenceSystem.pointMass6.frame_a.r_0[3]', 'referenceSystem.pointMass6.v_0[2]', 'referenceSystem.pointMass6.v_0[3]']
1.4978366172872484 1.515439732 1.1799361419999999
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f552d7c1810>