Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.FreeMotion,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_3.2.1_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002606/0.002606, allocations: 354.7 kB / 15.95 MB, free: 6.215 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.25/3.25, allocations: 341.5 MB / 358.2 MB, free: 28.76 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003605/0.003605, allocations: 216.7 kB / 397.9 MB, free: 6.164 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5134/0.5134, allocations: 76.11 MB / 0.5014 GB, free: 0.8242 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007256/0.0007259, allocations: 12 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1177/0.1185, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.05625/0.1748, allocations: 25.74 MB / 0.6319 GB, free: 1.727 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02536/0.2003, allocations: 6.273 MB / 0.638 GB, free: 11.43 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00581/0.2061, allocations: 111.8 kB / 0.6381 GB, free: 11.32 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006211/0.2124, allocations: 1.283 MB / 0.6394 GB, free: 10.04 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02242/0.2349, allocations: 4.604 MB / 0.6439 GB, free: 5.414 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003623/0.2386, allocations: 431.3 kB / 0.6443 GB, free: 4.992 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01149/0.2501, allocations: 4.393 MB / 0.6486 GB, free: 0.5938 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.3631/0.6133, allocations: 2.196 MB / 0.6507 GB, free: 13.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002807/0.6162, allocations: 1.056 MB / 0.6517 GB, free: 13.09 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00438/0.6206, allocations: 1.751 MB / 0.6535 GB, free: 13.09 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001114/0.6218, allocations: 132.7 kB / 0.6536 GB, free: 13.09 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/0.6253, allocations: 0.8894 MB / 0.6544 GB, free: 13.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003064/0.6284, allocations: 1.568 MB / 0.656 GB, free: 13.09 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001346/0.6298, allocations: 0.7667 MB / 0.6567 GB, free: 13.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007875/0.6377, allocations: 4.884 MB / 0.6615 GB, free: 12.73 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.6377, allocations: 6.578 kB / 0.6615 GB, free: 12.72 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.6377, allocations: 1.281 kB / 0.6615 GB, free: 12.72 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002391/0.638, allocations: 0 / 0.6615 GB, free: 12.72 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1557 * Number of variables: 1557 Notification: Performance of Generate backend data structure: time 0.01163/0.6496, allocations: 3.644 MB / 0.6651 GB, free: 10.82 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.298e-05/0.6497, allocations: 13.44 kB / 0.6651 GB, free: 10.82 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02388/0.6736, allocations: 3.815 MB / 0.6688 GB, free: 9.137 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006814/0.6805, allocations: 2.121 MB / 0.6709 GB, free: 8.414 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002305/0.6807, allocations: 188.5 kB / 0.6711 GB, free: 8.406 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002518/0.6833, allocations: 338.5 kB / 0.6714 GB, free: 8.379 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0271/0.7104, allocations: 10.84 MB / 0.682 GB, free: 4.152 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001454/0.7106, allocations: 28.66 kB / 0.682 GB, free: 4.137 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001396/0.712, allocations: 122.5 kB / 0.6821 GB, free: 4.102 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006994/0.719, allocations: 2.556 MB / 0.6846 GB, free: 1.984 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03222/0.7513, allocations: 10.32 MB / 0.6947 GB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08334/0.8347, allocations: 35.74 MB / 0.7296 GB, free: 7.191 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01434/0.8491, allocations: 4.423 MB / 0.7339 GB, free: 2.547 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006012/0.8552, allocations: 2.195 MB / 0.736 GB, free: 364 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001942/0.8572, allocations: 1.318 MB / 0.7373 GB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.913e-05/0.8573, allocations: 56.55 kB / 0.7374 GB, free: 14.77 MB / 378.7 MB Notification: Performance of pre-optimization done (n=245): time 7.484e-06/0.8573, allocations: 0 / 0.7374 GB, free: 14.77 MB / 378.7 MB Notification: Performance of matching and sorting (n=255): time 0.07354/0.9308, allocations: 16.56 MB / 0.7536 GB, free: 14.11 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.9309, allocations: 73.41 kB / 0.7536 GB, free: 14.03 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006093/0.937, allocations: 2.732 MB / 0.7563 GB, free: 11.28 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007044/0.9378, allocations: 56.05 kB / 0.7563 GB, free: 11.22 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002947/0.9408, allocations: 2.725 MB / 0.759 GB, free: 8.508 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001839/0.9427, allocations: 0.9346 MB / 0.7599 GB, free: 7.582 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007105/0.9434, allocations: 112 kB / 0.76 GB, free: 7.473 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0005738/0.944, allocations: 0.5536 MB / 0.7606 GB, free: 6.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006823/0.9508, allocations: 2.334 MB / 0.7628 GB, free: 4.57 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009966/0.9608, allocations: 5.361 MB / 0.7681 GB, free: 13.79 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009251/0.9702, allocations: 3.539 MB / 0.7715 GB, free: 10.34 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001024/0.9703, allocations: 32 kB / 0.7716 GB, free: 10.31 MB / 410.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.03025/1.001, allocations: 8.689 MB / 0.7801 GB, free: 1.703 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.001, allocations: 49.64 kB / 0.7801 GB, free: 1.656 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01522/1.016, allocations: 3.798 MB / 0.7838 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.008986/1.025, allocations: 1.33 MB / 0.7851 GB, free: 12.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008669/1.034, allocations: 1.287 MB / 0.7864 GB, free: 11.21 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007723/1.042, allocations: 4.391 MB / 0.7907 GB, free: 6.555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006031/1.048, allocations: 343.7 kB / 0.791 GB, free: 6.219 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001543/1.049, allocations: 318.6 kB / 0.7913 GB, free: 5.91 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 478 * Number of states: 0 () * Number of discrete variables: 21 (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.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 (692): * Single equations (assignments): 682 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.006598/1.056, allocations: 2.095 MB / 0.7933 GB, free: 3.801 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007928/1.057, allocations: 276.4 kB / 0.7936 GB, free: 3.527 MB / 426.7 MB 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 254 equation(s) and 248 variable(s). [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Mechanics/MultiBody/Visualizers.mo:2640:7-2640:47: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.007022/1.064, allocations: 2.417 MB / 0.796 GB, free: 1.094 MB / 426.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.