Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sphericalSpherical.frame_b.r_0.1.|sphericalSpherical.frame_b.r_0.2.|sphericalSpherical.frame_b.r_0.3.|sphericalSpherical.frame_b.f.1.|sphericalSpherical.frame_b.f.2.|sphericalSpherical.frame_b.f.3.|sphericalSpherical.frame_b.t.1.|sphericalSpherical.frame_b.t.2.|sphericalSpherical.frame_b.t.3.|Prismatic1.frame_b.r_0.1.|Prismatic1.frame_b.r_0.2.|Prismatic1.frame_b.r_0.3.|Prismatic1.frame_b.f.1.|Prismatic1.frame_b.f.2.|Prismatic1.frame_b.f.3.|Prismatic1.frame_b.t.1.|Prismatic1.frame_b.t.2.|Prismatic1.frame_b.t.3.|Fixed1.frame_b.r_0.1.|Fixed1.frame_b.r_0.2.|Fixed1.frame_b.r_0.3.|Fixed1.frame_b.f.1.|Fixed1.frame_b.f.2.|Fixed1.frame_b.f.3.|Fixed1.frame_b.t.1.|Fixed1.frame_b.t.2.|Fixed1.frame_b.t.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004031/0.004036, allocations: 367.4 kB / 15.96 MB, free: 6.18 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 4.009/4.009, allocations: 388.9 MB / 405.6 MB, free: 9.57 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.003539/0.003539, allocations: 220 kB / 451 MB, free: 144.9 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.5094/0.5094, allocations: 80.03 MB / 0.5627 GB, free: 19.74 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007024/0.0007026, allocations: 15.98 kB / 0.6265 GB, free: 96.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1023, allocations: 54.88 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01865/0.121, allocations: 15.61 MB / 0.6954 GB, free: 25.96 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.009699/0.1308, allocations: 3.597 MB / 0.6989 GB, free: 22.36 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002659/0.1335, allocations: 63.88 kB / 0.6989 GB, free: 22.3 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002428/0.136, allocations: 0.696 MB / 0.6996 GB, free: 21.6 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00741/0.1434, allocations: 2.35 MB / 0.7019 GB, free: 19.24 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001422/0.1449, allocations: 259.4 kB / 0.7021 GB, free: 18.98 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.001467/0.1464, allocations: 0.9268 MB / 0.7031 GB, free: 18.05 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001875/0.1483, allocations: 1.051 MB / 0.7041 GB, free: 16.97 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004312/0.1488, allocations: 286.7 kB / 0.7044 GB, free: 16.69 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009916/0.1498, allocations: 0.6116 MB / 0.705 GB, free: 16.08 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001949/0.15, allocations: 60 kB / 0.705 GB, free: 16.02 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009439/0.1509, allocations: 399.4 kB / 0.7054 GB, free: 15.63 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000479/0.1514, allocations: 434.9 kB / 0.7058 GB, free: 15.2 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002476/0.1517, allocations: 213.1 kB / 0.706 GB, free: 14.99 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001582/0.1533, allocations: 1.325 MB / 0.7073 GB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.1533, allocations: 4 kB / 0.7073 GB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.785e-06/0.1534, allocations: 0 / 0.7073 GB, free: 13.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.357e-05/0.1534, allocations: 0 / 0.7073 GB, free: 13.66 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: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.004469/0.1579, allocations: 1.442 MB / 0.7087 GB, free: 12.17 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/0.1579, allocations: 8.562 kB / 0.7087 GB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001185/0.1591, allocations: 162.3 kB / 0.7089 GB, free: 12 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001453/0.1606, allocations: 0.6073 MB / 0.7095 GB, free: 11.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.761e-05/0.1607, allocations: 57.97 kB / 0.7095 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002738/0.161, allocations: 91.91 kB / 0.7096 GB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008084/0.1691, allocations: 2.703 MB / 0.7123 GB, free: 8.359 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.711e-05/0.1692, allocations: 7.938 kB / 0.7123 GB, free: 8.352 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001316/0.1693, allocations: 35.97 kB / 0.7123 GB, free: 8.316 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006755/0.17, allocations: 377.7 kB / 0.7127 GB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008918/0.1789, allocations: 2.408 MB / 0.715 GB, free: 5.539 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3143/0.4933, allocations: 8.162 MB / 0.723 GB, free: 42.46 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006906/0.5003, allocations: 0.9859 MB / 0.7239 GB, free: 42.43 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/0.501, allocations: 259.4 kB / 0.7242 GB, free: 42.43 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00202/0.503, allocations: 1.727 MB / 0.7259 GB, free: 41 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.5031, allocations: 43.02 kB / 0.7259 GB, free: 40.96 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 4.489e-06/0.5032, allocations: 0 / 0.7259 GB, free: 40.96 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.02095/0.5241, allocations: 2.993 MB / 0.7288 GB, free: 40.49 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.5242, allocations: 57.25 kB / 0.7289 GB, free: 40.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001658/0.5259, allocations: 0.8714 MB / 0.7297 GB, free: 40.07 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.169e-05/0.526, allocations: 36.08 kB / 0.7298 GB, free: 40.03 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000564/0.5266, allocations: 0.6564 MB / 0.7304 GB, free: 39.53 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/0.5268, allocations: 211.1 kB / 0.7306 GB, free: 39.37 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.782e-05/0.5269, allocations: 21.03 kB / 0.7306 GB, free: 39.36 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.5271, allocations: 399.1 kB / 0.731 GB, free: 39.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000954/0.5281, allocations: 366.8 kB / 0.7314 GB, free: 38.89 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001259/0.5293, allocations: 0.9628 MB / 0.7323 GB, free: 37.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001324/0.5307, allocations: 0.5659 MB / 0.7329 GB, free: 37.79 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-05/0.5307, allocations: 7.375 kB / 0.7329 GB, free: 37.79 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003378/0.5341, allocations: 1.362 MB / 0.7342 GB, free: 37.25 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.986e-05/0.5342, allocations: 19.17 kB / 0.7342 GB, free: 37.25 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-05/0.5343, allocations: 21.97 kB / 0.7342 GB, free: 37.25 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.875e-05/0.5344, allocations: 32.5 kB / 0.7343 GB, free: 37.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002323/0.5367, allocations: 315.6 kB / 0.7346 GB, free: 37.21 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001165/0.5379, allocations: 1.356 MB / 0.7359 GB, free: 35.85 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.5393, allocations: 54.58 kB / 0.7359 GB, free: 35.82 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001574/0.5395, allocations: 65.44 kB / 0.736 GB, free: 35.81 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 24 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (154): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001249/0.5408, allocations: 492.7 kB / 0.7365 GB, free: 35.54 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000256/0.5411, allocations: 86.41 kB / 0.7366 GB, free: 35.49 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003088/0.5414, allocations: 117.5 kB / 0.7367 GB, free: 35.41 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/0.5414, allocations: 4.016 kB / 0.7367 GB, free: 35.41 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.5414, allocations: 0.6562 kB / 0.7367 GB, free: 35.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006084/0.542, allocations: 206.2 kB / 0.7369 GB, free: 35.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002602/0.5423, allocations: 7.766 kB / 0.7369 GB, free: 35.25 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007899/0.5431, allocations: 20.66 kB / 0.7369 GB, free: 35.23 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001411/0.5433, allocations: 29.94 kB / 0.7369 GB, free: 35.23 MB / 346.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003264/0.5466, allocations: 0.7327 MB / 0.7376 GB, free: 34.91 MB / 346.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003774/0.5504, allocations: 1.165 MB / 0.7388 GB, free: 34.32 MB / 346.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001079/0.5516, allocations: 287.4 kB / 0.7391 GB, free: 34.21 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00185/0.5534, allocations: 0.5662 MB / 0.7396 GB, free: 33.98 MB / 346.7 MB Notification: Performance of Backend: time 1.603e-06/0.5535, allocations: 0 / 0.7396 GB, free: 33.98 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004264/0.5578, allocations: 0.7981 MB / 0.7404 GB, free: 33.68 MB / 346.7 MB Notification: Performance of SimCode: time 0.007159/0.565, allocations: 2.653 MB / 0.743 GB, free: 31.99 MB / 346.7 MB Notification: Performance of Templates: time 0.08181/0.6469, allocations: 9.493 MB / 0.7523 GB, free: 25.27 MB / 346.7 MB