Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 110.8 kB / 21.19 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 209.3 kB / 24.48 MB, free: 3.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.503/1.503, allocations: 230.6 MB / 258.3 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2532/0.2532, allocations: 46.98 MB / 361.6 MB, free: 4.012 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion") translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|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.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.MultiBody.Joints.FreeMotion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002019/0.002019, allocations: 67.91 kB / 0.4973 GB, free: 7.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3883/0.3903, allocations: 66.05 MB / 0.5618 GB, free: 4.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01419/0.4045, allocations: 10.24 MB / 0.5718 GB, free: 9.852 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.009837/0.4143, allocations: 3.746 MB / 0.5755 GB, free: 6.094 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002445/0.4168, allocations: 67.75 kB / 0.5755 GB, free: 6.027 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002687/0.4195, allocations: 1.175 MB / 0.5767 GB, free: 4.848 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004687/0.4241, allocations: 1.783 MB / 0.5784 GB, free: 3.059 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001365/0.4255, allocations: 495 kB / 0.5789 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005861/0.4314, allocations: 4.059 MB / 0.5829 GB, free: 14.51 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002674/0.434, allocations: 1.7 MB / 0.5845 GB, free: 12.79 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00235/0.4364, allocations: 1.183 MB / 0.5857 GB, free: 11.6 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002701/0.4391, allocations: 1.845 MB / 0.5875 GB, free: 9.746 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000501/0.4396, allocations: 216 kB / 0.5877 GB, free: 9.535 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002282/0.4419, allocations: 0.9867 MB / 0.5887 GB, free: 8.547 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001765/0.4436, allocations: 1.616 MB / 0.5902 GB, free: 6.926 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0018/0.4454, allocations: 1.311 MB / 0.5915 GB, free: 5.605 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008335/0.4538, allocations: 6.133 MB / 0.5975 GB, free: 15.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.014e-06/0.4538, allocations: 0 / 0.5975 GB, free: 15.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.534e-06/0.4538, allocations: 3.938 kB / 0.5975 GB, free: 15.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001844/0.454, allocations: 0 / 0.5975 GB, free: 15.45 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1483 * Number of variables: 1483 Notification: Performance of Generate backend data structure: time 0.008443/0.4624, allocations: 4.138 MB / 0.6016 GB, free: 11.25 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.4625, allocations: 8.031 kB / 0.6016 GB, free: 11.24 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.4743, allocations: 3.207 MB / 0.6047 GB, free: 8.027 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005889/0.4802, allocations: 1.985 MB / 0.6066 GB, free: 6.016 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002302/0.4804, allocations: 180.8 kB / 0.6068 GB, free: 5.836 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001358/0.4818, allocations: 323.7 kB / 0.6071 GB, free: 5.52 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01921/0.501, allocations: 10.3 MB / 0.6172 GB, free: 10.77 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001336/0.5011, allocations: 35.69 kB / 0.6172 GB, free: 10.73 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005264/0.5017, allocations: 111.8 kB / 0.6173 GB, free: 10.62 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004116/0.5058, allocations: 2.428 MB / 0.6197 GB, free: 8.191 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02028/0.5261, allocations: 9.823 MB / 0.6293 GB, free: 14.35 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0573/0.5834, allocations: 31.9 MB / 0.6604 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008012/0.5914, allocations: 3.246 MB / 0.6636 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003164/0.5945, allocations: 2.027 MB / 0.6656 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009397/0.5955, allocations: 437.4 kB / 0.666 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.682e-05/0.5955, allocations: 55.38 kB / 0.666 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=236): time 5.771e-06/0.5955, allocations: 0 / 0.666 GB, free: 7.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=246): time 0.03839/0.6339, allocations: 15.96 MB / 0.6816 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.844e-05/0.634, allocations: 73.41 kB / 0.6817 GB, free: 7.777 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003806/0.6378, allocations: 2.711 MB / 0.6843 GB, free: 5.039 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0003817/0.6382, allocations: 57.69 kB / 0.6844 GB, free: 4.977 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002356/0.6406, allocations: 2.733 MB / 0.6871 GB, free: 2.215 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001338/0.6419, allocations: 0.9418 MB / 0.688 GB, free: 1.266 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001716/0.6436, allocations: 1.088 MB / 0.6891 GB, free: 172 kB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6438, allocations: 309.1 kB / 0.6893 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003686/0.6475, allocations: 2.314 MB / 0.6916 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006452/0.6539, allocations: 5.244 MB / 0.6967 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01122/0.6651, allocations: 8.231 MB / 0.7048 GB, free: 13.21 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.538e-05/0.6652, allocations: 28 kB / 0.7048 GB, free: 13.19 MB / 0.545 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.02246/0.6877, allocations: 9.475 MB / 0.714 GB, free: 3.691 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 8.9e-05/0.6878, allocations: 48.22 kB / 0.7141 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01366/0.7014, allocations: 4.677 MB / 0.7187 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01172/0.7132, allocations: 2.46 MB / 0.7211 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0044/0.7176, allocations: 1.24 MB / 0.7223 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009922/0.7275, allocations: 6.067 MB / 0.7282 GB, free: 4.945 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003753/0.7312, allocations: 327.7 kB / 0.7285 GB, free: 4.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006788/0.7319, allocations: 316 kB / 0.7288 GB, free: 4.316 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 462 * Number of states: 0 () * Number of discrete variables: 26 (freeMotion.arrow.twoHeadedArrow,freeMotion.arrow.headAtOrigin,frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (667): * Single equations (assignments): 657 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00353/0.7354, allocations: 2.016 MB / 0.7308 GB, free: 2.289 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005245/0.736, allocations: 270.2 kB / 0.731 GB, free: 2.023 MB / 0.5606 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 244 equation(s) and 238 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/Mechanics/MultiBody/Visualizers/Internal/Lines.mo:37:3-37:43:writable] Error: {{frame_a.y_label.R_lines[1,1], frame_a.y_label.R_lines[1,2], frame_a.y_label.R_lines[1,3]}, {frame_a.y_label.R_lines[2,1], frame_a.y_label.R_lines[2,2], frame_a.y_label.R_lines[2,3]}, {frame_a.y_label.R_lines[3,1], frame_a.y_label.R_lines[3,2], frame_a.y_label.R_lines[3,3]}} = Modelica.Mechanics.MultiBody.Frames.TransformationMatrices.from_nxy({0.0, 1.0, 0.0}, {-1.0, 0.0, 0.0}) has size 9 but 3 variables (frame_a.x_label.R_lines[1,2], frame_a.x_label.R_lines[2,2], frame_a.x_label.cylinders[2].lengthDirection[2]) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2897/1.026, allocations: 2.351 MB / 0.7333 GB, free: 154.3 MB / 0.5606 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. Error: Internal error SimCode DAEmode: The model ModelicaTest.MultiBody.Joints.FreeMotion could not be translated " [Timeout remaining time 659] [Calling sys.exit(0), Time elapsed: 3.822202383998956] Failed to read output from testmodel.py, exit status != 0: ['time', '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]'] 1.0360201160001452 1.047644724 0.5912216619999999 Calling exit ...