Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001284/0.001284, allocations: 114.3 kB / 21.18 MB, free: 0.6289 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001399/0.001399, allocations: 210.9 kB / 24.48 MB, free: 4.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.393/1.393, allocations: 230.2 MB / 257.8 MB, free: 8.492 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2245/0.2245, allocations: 46.89 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_ModelicaTest.MultiBody.Joints.FreeMotion") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002268/0.002268, allocations: 79.88 kB / 0.4968 GB, free: 7.801 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3061, allocations: 65.98 MB / 0.5612 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.01356/0.3197, allocations: 11.81 MB / 0.5727 GB, free: 9.145 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008218/0.3279, allocations: 3.976 MB / 0.5766 GB, free: 5.152 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001817/0.3297, allocations: 59.88 kB / 0.5767 GB, free: 5.094 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00267/0.3324, allocations: 1.202 MB / 0.5779 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004407/0.3368, allocations: 1.767 MB / 0.5796 GB, free: 2.113 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001287/0.3381, allocations: 495 kB / 0.5801 GB, free: 1.629 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005421/0.3435, allocations: 4.056 MB / 0.584 GB, free: 13.57 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002258/0.3458, allocations: 1.478 MB / 0.5855 GB, free: 12.07 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002125/0.3479, allocations: 1.164 MB / 0.5866 GB, free: 10.9 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002834/0.3507, allocations: 1.845 MB / 0.5884 GB, free: 9.047 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006037/0.3513, allocations: 216 kB / 0.5886 GB, free: 8.836 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.3534, allocations: 1.115 MB / 0.5897 GB, free: 7.719 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001622/0.355, allocations: 1.612 MB / 0.5913 GB, free: 6.102 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00213/0.3572, allocations: 1.836 MB / 0.5931 GB, free: 4.254 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007247/0.3644, allocations: 6.111 MB / 0.599 GB, free: 14.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.3644, allocations: 0 / 0.599 GB, free: 14.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3644, allocations: 3.938 kB / 0.599 GB, free: 14.11 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001278/0.3645, allocations: 0 / 0.599 GB, free: 14.11 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.007352/0.3719, allocations: 4.217 MB / 0.6031 GB, free: 9.82 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.3719, allocations: 8.031 kB / 0.6032 GB, free: 9.812 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01159/0.3835, allocations: 3.204 MB / 0.6063 GB, free: 6.602 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005075/0.3886, allocations: 2.026 MB / 0.6083 GB, free: 4.531 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001531/0.3888, allocations: 176.8 kB / 0.6084 GB, free: 4.355 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008924/0.3896, allocations: 339.7 kB / 0.6088 GB, free: 4.023 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0146/0.4042, allocations: 10.29 MB / 0.6188 GB, free: 9.273 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-05/0.4043, allocations: 27.77 kB / 0.6188 GB, free: 9.246 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003537/0.4047, allocations: 115.8 kB / 0.6189 GB, free: 9.133 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003955/0.4086, allocations: 2.432 MB / 0.6213 GB, free: 6.695 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01985/0.4285, allocations: 9.855 MB / 0.6309 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05234/0.4808, allocations: 34.48 MB / 0.6646 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007746/0.4886, allocations: 4.152 MB / 0.6687 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002862/0.4914, allocations: 2.029 MB / 0.6706 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001317/0.4927, allocations: 1.318 MB / 0.6719 GB, free: 1.551 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.289e-05/0.4928, allocations: 48.56 kB / 0.672 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=236): time 4.749e-06/0.4928, allocations: 0 / 0.672 GB, free: 1.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=246): time 0.03837/0.5312, allocations: 16.29 MB / 0.6879 GB, free: 1.098 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.64e-05/0.5312, allocations: 73.41 kB / 0.688 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003683/0.5349, allocations: 2.68 MB / 0.6906 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0003201/0.5352, allocations: 53.7 kB / 0.6906 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002051/0.5373, allocations: 2.714 MB / 0.6933 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.00105/0.5383, allocations: 0.9417 MB / 0.6942 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001517/0.5398, allocations: 1.1 MB / 0.6953 GB, free: 9.453 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001328/0.54, allocations: 305.1 kB / 0.6956 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003487/0.5435, allocations: 2.314 MB / 0.6978 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005925/0.5494, allocations: 5.244 MB / 0.7029 GB, free: 164 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/0.5597, allocations: 8.227 MB / 0.711 GB, free: 6.512 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.333e-05/0.5598, allocations: 28 kB / 0.711 GB, free: 6.484 MB / 0.545 GB Notification: Performance of matching and sorting (n=725) (initialization): time 0.02237/0.5822, allocations: 9.49 MB / 0.7203 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.15e-05/0.5822, allocations: 48 kB / 0.7203 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01393/0.5962, allocations: 4.674 MB / 0.7249 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01198/0.6081, allocations: 2.46 MB / 0.7273 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00441/0.6126, allocations: 1.24 MB / 0.7285 GB, free: 4.508 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2557/0.8683, allocations: 6.382 MB / 0.7347 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003849/0.8721, allocations: 333.1 kB / 0.735 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006353/0.8727, allocations: 306 kB / 0.7353 GB, free: 149.9 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.003437/0.8762, allocations: 2.022 MB / 0.7373 GB, free: 149.6 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005114/0.8767, allocations: 282.1 kB / 0.7376 GB, free: 149.6 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 trunk/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.002921/0.8796, allocations: 2.352 MB / 0.7399 GB, free: 148.7 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.4265908510424197] 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]'] 0.8878621170297265 0.896984258 0.530203571 Calling exit ...