Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/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.2_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2") Notification: Performance of loadModel(Modelica): time 1.885/1.885, allocations: 194.8 MB / 212.3 MB, free: 3.012 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003803/0.0003805, allocations: 8 kB / 264.5 MB, free: 13.62 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1009/0.1013, allocations: 44.5 MB / 309 MB, free: 1.043 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.PointGravityWithPointMasses2): time 0.4688/0.5701, allocations: 90.04 MB / 399 MB, free: 7.008 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04931/0.6195, allocations: 20.05 MB / 419.1 MB, free: 2.793 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02072/0.6403, allocations: 461.3 kB / 419.5 MB, free: 2.723 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01516/0.6555, allocations: 4.637 MB / 424.2 MB, free: 15.39 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04885/0.7044, allocations: 12.85 MB / 437 MB, free: 7.434 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008297/0.7127, allocations: 1.436 MB / 438.5 MB, free: 5.996 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01418/0.727, allocations: 5.62 MB / 444.1 MB, free: 380 kB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01562/0.7427, allocations: 7.549 MB / 451.6 MB, free: 8.75 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005995/0.7487, allocations: 2.43 MB / 454.1 MB, free: 6.312 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006663/0.7554, allocations: 3.124 MB / 457.2 MB, free: 3.18 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001718/0.7572, allocations: 300 kB / 457.5 MB, free: 2.887 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004028/0.7612, allocations: 1.022 MB / 458.5 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006049/0.7673, allocations: 3.515 MB / 462 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003168/0.7706, allocations: 1.711 MB / 463.7 MB, free: 12.62 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02025/0.7908, allocations: 11.94 MB / 475.7 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.7909, allocations: 0 / 475.7 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.616e-06/0.7909, allocations: 0 / 475.7 MB, free: 0.6484 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0005328/0.7915, allocations: 0 / 475.7 MB, free: 0.6484 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2934 * Number of variables: 2934 Notification: Performance of Generate backend data structure: time 0.02858/0.8201, allocations: 8.284 MB / 484 MB, free: 8.273 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.8201, allocations: 8.031 kB / 484 MB, free: 8.266 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03362/0.8538, allocations: 3.857 MB / 487.8 MB, free: 4.391 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02018/0.874, allocations: 7.309 MB / 495.1 MB, free: 13.01 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007586/0.8748, allocations: 483.7 kB / 495.6 MB, free: 12.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004859/0.8797, allocations: 0.7957 MB / 496.4 MB, free: 11.74 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1183/0.9981, allocations: 29.35 MB / 0.5134 GB, free: 12.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005507/0.9987, allocations: 122.9 kB / 0.5135 GB, free: 12.83 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002918/1.002, allocations: 295.7 kB / 0.5138 GB, free: 12.54 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01268/1.014, allocations: 4.143 MB / 0.5179 GB, free: 8.391 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.7023/1.717, allocations: 30.44 MB / 0.5476 GB, free: 142.8 MB / 426.8 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.1739/1.891, allocations: 103 MB / 0.6481 GB, free: 42.74 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1266/2.017, allocations: 20.06 MB / 0.6677 GB, free: 22.51 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009158/2.018, allocations: 384.7 kB / 0.6681 GB, free: 22.09 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.97e-05/2.018, allocations: 72.81 kB / 0.6682 GB, free: 22.02 MB / 426.8 MB Notification: Performance of pre-optimization done (n=314): time 7.624e-06/2.018, allocations: 0 / 0.6682 GB, free: 22.02 MB / 426.8 MB [/var/lib/jenkins/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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:346:7-346:90:writable] Error: Internal error function analyseStrongComponentBlock failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:196:5-196:89:writable] Error: Internal error function analyseStrongComponentScalar failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAETransform.mo:107:7-107:113:writable] Error: Internal error function strongComponentsScalar failed (sorting strong components) [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/BackEnd/BackendDAEUtil.mo:7904:5-7904:89:writable] Error: Internal error Transformation module sort components failed