Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.FreeMotion.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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.2_ModelicaTest.MultiBody.Joints.FreeMotion") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002683/0.002682, allocations: 363.5 kB / 15.96 MB, free: 6.199 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 3.977/3.977, allocations: 388.9 MB / 405.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003561/0.003559, allocations: 236.2 kB / 451 MB, free: 145.1 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.5452/0.5452, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004612/0.0004614, allocations: 12 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09655/0.09704, allocations: 54.87 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.FreeMotion): time 0.03026/0.1274, allocations: 25.75 MB / 0.7053 GB, free: 15.82 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01664/0.1441, allocations: 6.301 MB / 0.7114 GB, free: 9.492 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005413/0.1495, allocations: 111.8 kB / 0.7115 GB, free: 9.383 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004588/0.1542, allocations: 1.287 MB / 0.7128 GB, free: 8.09 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01426/0.1685, allocations: 4.606 MB / 0.7173 GB, free: 3.469 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00254/0.1711, allocations: 419.3 kB / 0.7177 GB, free: 3.059 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.3184/0.4895, allocations: 4.378 MB / 0.7219 GB, free: 14.19 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006679/0.4963, allocations: 2.207 MB / 0.7241 GB, free: 13.92 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003465/0.4998, allocations: 1.052 MB / 0.7251 GB, free: 13.92 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005282/0.5051, allocations: 1.742 MB / 0.7268 GB, free: 13.91 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001291/0.5065, allocations: 134.5 kB / 0.727 GB, free: 13.91 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004162/0.5107, allocations: 0.9094 MB / 0.7278 GB, free: 13.91 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003662/0.5144, allocations: 1.567 MB / 0.7294 GB, free: 13.91 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001814/0.5163, allocations: 0.7649 MB / 0.7301 GB, free: 13.88 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01091/0.5272, allocations: 4.904 MB / 0.7349 GB, free: 13.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.5273, allocations: 0 / 0.7349 GB, free: 13.56 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.5273, allocations: 0 / 0.7349 GB, free: 13.56 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002492/0.5276, allocations: 4 kB / 0.7349 GB, free: 13.55 MB / 346.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.0146/0.5422, allocations: 3.637 MB / 0.7385 GB, free: 11.48 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.061e-05/0.5423, allocations: 12.81 kB / 0.7385 GB, free: 11.48 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03204/0.5743, allocations: 3.837 MB / 0.7422 GB, free: 9.785 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007211/0.5816, allocations: 2.129 MB / 0.7443 GB, free: 9.066 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003135/0.582, allocations: 186.3 kB / 0.7445 GB, free: 9.059 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002603/0.5846, allocations: 342.1 kB / 0.7448 GB, free: 9.027 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03564/0.6203, allocations: 10.84 MB / 0.7554 GB, free: 5.312 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002344/0.6206, allocations: 37.09 kB / 0.7554 GB, free: 5.289 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002306/0.6229, allocations: 119.4 kB / 0.7555 GB, free: 5.258 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01046/0.6334, allocations: 2.561 MB / 0.758 GB, free: 3.137 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04837/0.6819, allocations: 10.32 MB / 0.7681 GB, free: 11.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1363/0.8183, allocations: 35.75 MB / 0.803 GB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02057/0.8389, allocations: 4.428 MB / 0.8074 GB, free: 2.602 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008113/0.8471, allocations: 2.197 MB / 0.8095 GB, free: 420 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00265/0.8498, allocations: 1.317 MB / 0.8108 GB, free: 14.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.825e-05/0.85, allocations: 52.56 kB / 0.8108 GB, free: 14.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=245): time 1.023e-05/0.85, allocations: 4 kB / 0.8108 GB, free: 14.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=255): time 0.1066/0.9566, allocations: 16.55 MB / 0.827 GB, free: 14.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.682e-05/0.9567, allocations: 73.41 kB / 0.8271 GB, free: 14.08 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006649/0.9634, allocations: 2.733 MB / 0.8297 GB, free: 11.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000713/0.9642, allocations: 61.7 kB / 0.8298 GB, free: 11.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003212/0.9674, allocations: 2.72 MB / 0.8325 GB, free: 8.555 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00183/0.9693, allocations: 0.927 MB / 0.8334 GB, free: 7.633 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007718/0.9701, allocations: 117.5 kB / 0.8335 GB, free: 7.523 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0005872/0.9707, allocations: 0.5497 MB / 0.834 GB, free: 6.965 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007389/0.9781, allocations: 2.357 MB / 0.8363 GB, free: 4.602 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0111/0.9893, allocations: 5.385 MB / 0.8416 GB, free: 13.74 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009766/0.9991, allocations: 3.563 MB / 0.845 GB, free: 10.19 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001043/0.9993, allocations: 28 kB / 0.8451 GB, free: 10.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=750) (initialization): time 0.04255/1.042, allocations: 9.583 MB / 0.8544 GB, free: 0.5586 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/1.042, allocations: 56.2 kB / 0.8545 GB, free: 0.5039 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02649/1.068, allocations: 4.682 MB / 0.8591 GB, free: 11.81 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02299/1.092, allocations: 2.394 MB / 0.8614 GB, free: 9.398 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008866/1.1, allocations: 1.283 MB / 0.8626 GB, free: 8.113 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0154/1.116, allocations: 5.84 MB / 0.8683 GB, free: 2.008 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006054/1.122, allocations: 351.7 kB / 0.8687 GB, free: 1.664 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001404/1.123, allocations: 314.8 kB / 0.869 GB, free: 1.359 MB / 458.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.006614/1.13, allocations: 2.098 MB / 0.871 GB, free: 15.25 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007702/1.131, allocations: 276.4 kB / 0.8713 GB, free: 14.98 MB / 474.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.2+maint.om/Mechanics/MultiBody/Visualizers.mo:2634:7-2634: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.007712/1.139, allocations: 2.419 MB / 0.8737 GB, free: 12.55 MB / 474.7 MB Error: post-optimization module wrapFunctionCalls (simulation) failed.