Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 114.5 kB / 18.41 MB, free: 4.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 182.2 kB / 19.34 MB, free: 3.766 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.366/1.366, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001149/0.001149, allocations: 51.92 kB / 329.2 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07192/0.07308, allocations: 46.61 MB / 375.8 MB, free: 4.555 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.1609/0.234, allocations: 18.91 MB / 394.8 MB, free: 1.863 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01066/0.2447, allocations: 5.672 MB / 400.4 MB, free: 14.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002917/0.2476, allocations: 137.5 kB / 400.6 MB, free: 14.06 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009949/0.2576, allocations: 5.433 MB / 406 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007808/0.2654, allocations: 3.503 MB / 409.5 MB, free: 9.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003108/0.2685, allocations: 1.609 MB / 411.1 MB, free: 8.098 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01223/0.2808, allocations: 10.31 MB / 421.4 MB, free: 1.867 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008001/0.2888, allocations: 6.532 MB / 427.9 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00516/0.294, allocations: 3.458 MB / 431.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005939/0.2999, allocations: 4.631 MB / 436 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001332/0.3013, allocations: 0.6875 MB / 436.7 MB, free: 2.492 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002969/0.3043, allocations: 1.541 MB / 438.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003841/0.3081, allocations: 4.349 MB / 442.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005037/0.3132, allocations: 4.646 MB / 447.3 MB, free: 7.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01431/0.3275, allocations: 15.16 MB / 462.4 MB, free: 8.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3275, allocations: 0 / 462.4 MB, free: 8.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3275, allocations: 0 / 462.4 MB, free: 8.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003281/0.3279, allocations: 0 / 462.4 MB, free: 8.707 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2937 * Number of variables: 2937 Notification: Performance of Generate backend data structure: time 0.01884/0.3467, allocations: 9.851 MB / 472.3 MB, free: 14.77 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.262e-05/0.3468, allocations: 8.031 kB / 472.3 MB, free: 14.76 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0179/0.3647, allocations: 3.382 MB / 475.7 MB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0127/0.3774, allocations: 6.742 MB / 482.4 MB, free: 4.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003439/0.3778, allocations: 459.7 kB / 482.8 MB, free: 4.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002248/0.38, allocations: 0.7996 MB / 483.6 MB, free: 3.289 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04848/0.4285, allocations: 23.23 MB / 0.495 GB, free: 10.62 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002757/0.4288, allocations: 118.9 kB / 0.4951 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000809/0.4296, allocations: 299.7 kB / 0.4954 GB, free: 10.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005754/0.4354, allocations: 3.987 MB / 0.4993 GB, free: 6.223 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0487/0.4841, allocations: 22.41 MB / 0.5212 GB, free: 15.77 MB / 462.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.389/0.8732, allocations: 94.54 MB / 0.6135 GB, free: 79.97 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05671/0.9299, allocations: 14.34 MB / 0.6275 GB, free: 75.07 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007617/0.9376, allocations: 7.757 MB / 0.6351 GB, free: 69.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003741/0.9379, allocations: 386.3 kB / 0.6354 GB, free: 68.88 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.938, allocations: 67.84 kB / 0.6355 GB, free: 68.81 MB / 478.1 MB Notification: Performance of pre-optimization done (n=284): time 5.53e-06/0.938, allocations: 0 / 0.6355 GB, free: 68.81 MB / 478.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: referenceSystem.pointMass3.v_0[3] = $DER.referenceSystem.fixedTranslation5.frame_a.r_0[3] + referenceSystem.fixedTranslation5.frame_b.R.T[3,3] * referenceSystem.pointMass6.w_a[1] - referenceSystem.fixedTranslation5.frame_b.R.T[1,3] * referenceSystem.pointMass6.w_a[3] [/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:8011:5-8011: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