Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.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.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bodyOfConstraint.body.w_a.1.|bodyOfConstraint.body.w_a.2.|bodyOfConstraint.body.w_a.3.|joint.phi_a|joint.phi_b|joint.w_a|joint.w_b",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001272/0.001272, allocations: 107.3 kB / 18.4 MB, free: 4.68 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.001213/0.001213, allocations: 191.3 kB / 19.34 MB, free: 3.754 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.247/1.247, 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.001183/0.001183, allocations: 51.92 kB / 329.2 MB, free: 3.309 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06827/0.06946, allocations: 46.62 MB / 375.8 MB, free: 4.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.1584/0.2279, allocations: 21.33 MB / 397.1 MB, free: 156 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0129/0.2408, allocations: 6.628 MB / 403.8 MB, free: 11.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002666/0.2436, allocations: 163.3 kB / 403.9 MB, free: 11.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01184/0.2554, allocations: 7.083 MB / 411 MB, free: 7.984 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006367/0.2618, allocations: 2.811 MB / 413.8 MB, free: 5.93 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004765/0.2666, allocations: 2.555 MB / 416.4 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.007853/0.2744, allocations: 7.259 MB / 423.6 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009742/0.2842, allocations: 9.091 MB / 432.7 MB, free: 6.48 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004495/0.2887, allocations: 3.21 MB / 435.9 MB, free: 3.262 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004589/0.2933, allocations: 4.046 MB / 440 MB, free: 15.2 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001545/0.2949, allocations: 0.7383 MB / 440.7 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003385/0.2983, allocations: 1.955 MB / 442.7 MB, free: 12.5 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003085/0.3014, allocations: 3.827 MB / 446.5 MB, free: 8.668 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003863/0.3052, allocations: 4.32 MB / 450.8 MB, free: 4.324 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01215/0.3174, allocations: 13.65 MB / 464.5 MB, free: 6.629 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3174, allocations: 0 / 464.5 MB, free: 6.629 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.446e-06/0.3175, allocations: 0 / 464.5 MB, free: 6.629 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002676/0.3177, allocations: 3.938 kB / 464.5 MB, free: 6.625 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: 2676 * Number of variables: 2676 Notification: Performance of Generate backend data structure: time 0.01785/0.3356, allocations: 9.299 MB / 473.8 MB, free: 13.23 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.3356, allocations: 12.02 kB / 473.8 MB, free: 13.22 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007709/0.3434, allocations: 2.354 MB / 476.1 MB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007919/0.3513, allocations: 4.733 MB / 480.9 MB, free: 6.039 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000316/0.3516, allocations: 0.4894 MB / 481.4 MB, free: 5.547 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001288/0.3529, allocations: 0.6557 MB / 482 MB, free: 4.891 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03208/0.385, allocations: 18.79 MB / 0.4891 GB, free: 1.098 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001872/0.3852, allocations: 67.36 kB / 0.4891 GB, free: 1.031 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007305/0.386, allocations: 303.8 kB / 0.4894 GB, free: 0.7344 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004591/0.3906, allocations: 3 MB / 0.4924 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02974/0.4203, allocations: 16.18 MB / 0.5082 GB, free: 13.54 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.3694/0.7898, allocations: 70.29 MB / 0.5768 GB, free: 106.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02432/0.8141, allocations: 8.91 MB / 0.5855 GB, free: 105.7 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004918/0.8191, allocations: 5.054 MB / 0.5904 GB, free: 103.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03079/0.8499, allocations: 20.36 MB / 0.6103 GB, free: 93.29 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.4e-05/0.8499, allocations: 76.28 kB / 0.6104 GB, free: 93.22 MB / 478.1 MB Notification: Performance of pre-optimization done (n=322): time 6.012e-06/0.85, allocations: 0 / 0.6104 GB, free: 93.22 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: freeMotionScalarInit.initAngle.R_rel.T[3,1] = sin(freeMotionScalarInit.derd[2].u) [/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.Constraints.UniversalConstraint could not be translated