Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints.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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) 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(ModelicaTest.MultiBody.InitializationConversion.Joints,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actuatedPrismatic.s|actuatedPrismatic.v|actuatedRevolute.phi|actuatedRevolute.w|bodyBox8.body.Q.1.|bodyBox8.body.Q.2.|bodyBox8.body.Q.3.|bodyBox8.body.Q.4.|bodyBox8.body.frame_a.r_0.1.|bodyBox8.body.frame_a.r_0.2.|bodyBox8.body.frame_a.r_0.3.|bodyBox8.body.w_a.1.|bodyBox8.body.w_a.2.|bodyBox8.body.w_a.3.|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|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.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w|prismatic.s|prismatic.v|revolute.phi|revolute.w|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints") translateModel(ModelicaTest.MultiBody.InitializationConversion.Joints,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actuatedPrismatic.s|actuatedPrismatic.v|actuatedRevolute.phi|actuatedRevolute.w|bodyBox8.body.Q.1.|bodyBox8.body.Q.2.|bodyBox8.body.Q.3.|bodyBox8.body.Q.4.|bodyBox8.body.frame_a.r_0.1.|bodyBox8.body.frame_a.r_0.2.|bodyBox8.body.frame_a.r_0.3.|bodyBox8.body.w_a.1.|bodyBox8.body.w_a.2.|bodyBox8.body.w_a.3.|cylindrical.phi|cylindrical.s|cylindrical.v|cylindrical.w|freeMotion.Q.1.|freeMotion.Q.2.|freeMotion.Q.3.|freeMotion.Q.4.|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.|freeMotion.w_rel_b.1.|freeMotion.w_rel_b.2.|freeMotion.w_rel_b.3.|planar.phi|planar.s_x|planar.s_y|planar.v_x|planar.v_y|planar.w|prismatic.s|prismatic.v|revolute.phi|revolute.w|universal.phi_a|universal.phi_b|universal.w_a|universal.w_b",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.InitializationConversion.Joints") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001294/0.001294, allocations: 199.9 kB / 16.76 MB, free: 5.02 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.713/1.713, allocations: 226.5 MB / 244 MB, free: 6.504 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007694/0.0007696, allocations: 102.6 kB / 296.1 MB, free: 6.723 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3435/0.3435, allocations: 44.82 MB / 392.9 MB, free: 35.74 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004052/0.0004055, allocations: 8 kB / 465.9 MB, free: 12.7 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.534/0.5344, allocations: 62.96 MB / 0.5165 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.InitializationConversion.Joints): time 0.1463/0.6808, allocations: 168.4 MB / 0.681 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.4135/1.094, allocations: 33.28 MB / 0.7135 GB, free: 15.54 MB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04461/1.139, allocations: 0.8232 MB / 0.7143 GB, free: 15.54 MB / 0.4949 GB Notification: Performance of NFTyping.typeComponents: time 0.03333/1.172, allocations: 8.859 MB / 0.7229 GB, free: 11.65 MB / 0.4949 GB Notification: Performance of NFTyping.typeBindings: time 0.07746/1.25, allocations: 25.73 MB / 0.7481 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.01403/1.264, allocations: 2.389 MB / 0.7504 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.787/2.051, allocations: 270.9 MB / 1.015 GB, free: 71.65 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.03509/2.086, allocations: 18.39 MB / 1.033 GB, free: 58.36 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01258/2.099, allocations: 4.568 MB / 1.037 GB, free: 55.28 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0145/2.113, allocations: 7.24 MB / 1.044 GB, free: 50.07 MB / 0.6199 GB Notification: Performance of NFPackage.collectConstants: time 0.004261/2.118, allocations: 476 kB / 1.045 GB, free: 49.61 MB / 0.6199 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009376/2.127, allocations: 2.091 MB / 1.047 GB, free: 47.92 MB / 0.6199 GB Notification: Performance of NFScalarize.scalarize: time 0.01039/2.137, allocations: 6.043 MB / 1.053 GB, free: 43.44 MB / 0.6199 GB Notification: Performance of NFVerifyModel.verify: time 0.01513/2.153, allocations: 6.048 MB / 1.059 GB, free: 41.22 MB / 0.6199 GB Notification: Performance of NFConvertDAE.convert: time 0.02458/2.177, allocations: 17.76 MB / 1.076 GB, free: 25.82 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 9.457e-06/2.177, allocations: 0 / 1.076 GB, free: 25.82 MB / 0.6199 GB Notification: Performance of FrontEnd: time 2.795e-06/2.177, allocations: 4.594 kB / 1.076 GB, free: 25.82 MB / 0.6199 GB Notification: Performance of Transformations before backend: time 0.0008938/2.178, allocations: 0 / 1.076 GB, free: 25.82 MB / 0.6199 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.04835/2.227, allocations: 13.39 MB / 1.089 GB, free: 13.51 MB / 0.6199 GB Notification: Performance of prepare preOptimizeDAE: time 7.08e-05/2.227, allocations: 8.031 kB / 1.089 GB, free: 13.5 MB / 0.6199 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.13/2.357, allocations: 12.41 MB / 1.101 GB, free: 1.371 MB / 0.6199 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0385/2.395, allocations: 13.26 MB / 1.114 GB, free: 7.84 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000994/2.396, allocations: 0.7244 MB / 1.115 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00645/2.403, allocations: 1.186 MB / 1.116 GB, free: 6.629 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07891/2.482, allocations: 27.49 MB / 1.143 GB, free: 1.48 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008354/2.483, allocations: 157.2 kB / 1.143 GB, free: 1.379 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003317/2.486, allocations: 457.4 kB / 1.143 GB, free: 1.254 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01188/2.498, allocations: 4.455 MB / 1.148 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.5509/3.049, allocations: 23.46 MB / 1.171 GB, free: 288.7 MB / 0.6668 GB 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.1457/3.194, allocations: 112.7 MB / 1.281 GB, free: 211.9 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03289/3.227, allocations: 13.56 MB / 1.294 GB, free: 199.2 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.01071/3.238, allocations: 9.502 MB / 1.303 GB, free: 189.7 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009334/3.239, allocations: 416.9 kB / 1.304 GB, free: 189.3 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.979e-05/3.239, allocations: 90.33 kB / 1.304 GB, free: 189.2 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=540): time 1.135e-05/3.239, allocations: 0 / 1.304 GB, free: 189.2 MB / 0.6668 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: bodyBox1.body.frame_a.r_0[3] = actuatedRevolute.frame_a.R.T[1,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:7938:5-7938:89:writable] Error: Internal error Transformation module sort components failed