Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001158/0.001158, allocations: 195.8 kB / 18.05 MB, free: 3.66 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.336/1.336, allocations: 226.5 MB / 245.3 MB, free: 8.172 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009026/0.0009032, allocations: 109.3 kB / 297.4 MB, free: 6.875 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002687/0.0002687, allocations: 8 kB / 357.4 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2202/0.2205, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.07785/0.2983, allocations: 99.4 MB / 0.4962 GB, free: 8.039 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.2795/0.5779, allocations: 19.88 MB / 0.5156 GB, free: 48 kB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02149/0.5995, allocations: 483.4 kB / 0.5161 GB, free: 48 kB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01651/0.616, allocations: 5.286 MB / 0.5212 GB, free: 15.97 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04544/0.6615, allocations: 15.53 MB / 0.5364 GB, free: 10.18 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01032/0.6718, allocations: 1.517 MB / 0.5379 GB, free: 9.766 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.02302/0.6949, allocations: 11.7 MB / 0.5493 GB, free: 5.953 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01977/0.7147, allocations: 8.064 MB / 0.5572 GB, free: 2.797 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009803/0.7246, allocations: 2.92 MB / 0.56 GB, free: 292 kB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009909/0.7345, allocations: 4.328 MB / 0.5642 GB, free: 12.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003367/0.7379, allocations: 292 kB / 0.5645 GB, free: 12.37 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006891/0.7449, allocations: 1.175 MB / 0.5657 GB, free: 11.38 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008539/0.7535, allocations: 3.727 MB / 0.5693 GB, free: 8.281 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01245/0.7659, allocations: 3.844 MB / 0.5731 GB, free: 5.582 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02176/0.7877, allocations: 11.64 MB / 0.5844 GB, free: 11.39 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.204e-05/0.7878, allocations: 0 / 0.5844 GB, free: 11.39 MB / 426.7 MB Notification: Performance of FrontEnd: time 5.26e-06/0.7879, allocations: 0 / 0.5844 GB, free: 11.39 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0008646/0.7887, allocations: 0 / 0.5844 GB, free: 11.39 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2889 * Number of variables: 2889 Notification: Performance of Generate backend data structure: time 0.03114/0.8199, allocations: 7.91 MB / 0.5922 GB, free: 4.059 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.25e-05/0.82, allocations: 8.031 kB / 0.5922 GB, free: 4.051 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0194/0.8394, allocations: 3.48 MB / 0.5956 GB, free: 0.6602 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01861/0.8581, allocations: 6.08 MB / 0.6015 GB, free: 12 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008439/0.859, allocations: 459 kB / 0.6019 GB, free: 11.76 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004847/0.8639, allocations: 0.7863 MB / 0.6027 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06457/0.9285, allocations: 22.98 MB / 0.6251 GB, free: 8.66 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000732/0.9292, allocations: 116.9 kB / 0.6253 GB, free: 8.551 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002787/0.932, allocations: 292.1 kB / 0.6255 GB, free: 8.465 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006504/0.9386, allocations: 3.928 MB / 0.6294 GB, free: 5.254 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05652/0.9951, allocations: 22.14 MB / 0.651 GB, free: 4.199 MB / 474.7 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.5011/1.496, allocations: 94.09 MB / 0.7429 GB, free: 138.5 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0658/1.562, allocations: 14.53 MB / 0.7571 GB, free: 127.6 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0079/1.57, allocations: 7.701 MB / 0.7646 GB, free: 119.9 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004763/1.571, allocations: 383.4 kB / 0.765 GB, free: 119.5 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.755e-05/1.571, allocations: 62.41 kB / 0.765 GB, free: 119.4 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=275): time 5.821e-06/1.571, allocations: 4 kB / 0.765 GB, free: 119.4 MB / 0.4949 GB [/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:7938:5-7938:89:writable] Error: Internal error Transformation module sort components failed