Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.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.JointUPS,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rRod1_ia.1.|rRod1_ia.2.|rRod1_ia.3.|rRod2_ib.1.|rRod2_ib.2.|rRod2_ib.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.|jointUPS.frame_b.r_0.1.|jointUPS.frame_b.r_0.2.|jointUPS.frame_b.r_0.3.|jointUPS.frame_b.f.1.|jointUPS.frame_b.f.2.|jointUPS.frame_b.f.3.|jointUPS.frame_b.t.1.|jointUPS.frame_b.t.2.|jointUPS.frame_b.t.3.|jointUPS.frame_ia.r_0.1.|jointUPS.frame_ia.r_0.2.|jointUPS.frame_ia.r_0.3.|jointUPS.frame_ia.f.1.|jointUPS.frame_ia.f.2.|jointUPS.frame_ia.f.3.|jointUPS.frame_ia.t.1.|jointUPS.frame_ia.t.2.|jointUPS.frame_ia.t.3.",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003793/0.003799, allocations: 351.3 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.604/3.604, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.004373/0.004373, allocations: 221.1 kB / 397.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5167/0.5167, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004808/0.000481, allocations: 20 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09011/0.09062, allocations: 48.7 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.2958/0.3865, allocations: 23.04 MB / 0.6292 GB, free: 78.98 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01423/0.4007, allocations: 4.834 MB / 0.634 GB, free: 75.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005469/0.4063, allocations: 97.06 kB / 0.6341 GB, free: 75.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004704/0.411, allocations: 1.062 MB / 0.6351 GB, free: 75.38 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01282/0.4239, allocations: 3.537 MB / 0.6385 GB, free: 73.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00233/0.4263, allocations: 343.2 kB / 0.6389 GB, free: 73.77 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.003448/0.4298, allocations: 1.583 MB / 0.6404 GB, free: 73.18 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003661/0.4335, allocations: 1.692 MB / 0.6421 GB, free: 72.5 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009501/0.4345, allocations: 491.4 kB / 0.6425 GB, free: 72.25 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00161/0.4361, allocations: 0.7849 MB / 0.6433 GB, free: 71.83 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003312/0.4365, allocations: 65.81 kB / 0.6434 GB, free: 71.83 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.4378, allocations: 438.3 kB / 0.6438 GB, free: 71.64 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009397/0.4387, allocations: 0.7162 MB / 0.6445 GB, free: 71.25 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004799/0.4392, allocations: 362.9 kB / 0.6448 GB, free: 71 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003112/0.4424, allocations: 2.131 MB / 0.6469 GB, free: 69.55 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.4424, allocations: 0 / 0.6469 GB, free: 69.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4424, allocations: 0 / 0.6469 GB, free: 69.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001019/0.4426, allocations: 0 / 0.6469 GB, free: 69.55 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.007086/0.4496, allocations: 2.121 MB / 0.649 GB, free: 68.03 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.422e-05/0.4497, allocations: 9.312 kB / 0.649 GB, free: 68.03 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002016/0.4517, allocations: 268.4 kB / 0.6493 GB, free: 67.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002566/0.4543, allocations: 0.8516 MB / 0.6501 GB, free: 67.24 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001035/0.4545, allocations: 111.1 kB / 0.6502 GB, free: 67.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004403/0.4549, allocations: 144.2 kB / 0.6503 GB, free: 67.13 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01378/0.4687, allocations: 4.992 MB / 0.6552 GB, free: 62.88 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.773e-05/0.4689, allocations: 15.88 kB / 0.6552 GB, free: 62.86 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000235/0.4691, allocations: 63.94 kB / 0.6553 GB, free: 62.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002645/0.4718, allocations: 0.9989 MB / 0.6563 GB, free: 61.79 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01327/0.4851, allocations: 3.897 MB / 0.6601 GB, free: 57.89 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0279/0.513, allocations: 16.48 MB / 0.6762 GB, free: 41.03 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007036/0.5201, allocations: 1.263 MB / 0.6774 GB, free: 39.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.5217, allocations: 0.8007 MB / 0.6782 GB, free: 38.93 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008119/0.5298, allocations: 4.266 MB / 0.6823 GB, free: 34.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.211e-05/0.5299, allocations: 45.7 kB / 0.6824 GB, free: 34.36 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 4.128e-06/0.5299, allocations: 3.938 kB / 0.6824 GB, free: 34.36 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.011/0.5409, allocations: 1.962 MB / 0.6843 GB, free: 32.39 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/0.541, allocations: 122.9 kB / 0.6844 GB, free: 32.25 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002643/0.5437, allocations: 1.558 MB / 0.6859 GB, free: 30.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.92e-05/0.5438, allocations: 33.7 kB / 0.686 GB, free: 30.64 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009046/0.5447, allocations: 1.371 MB / 0.6873 GB, free: 29.24 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002244/0.545, allocations: 197.6 kB / 0.6875 GB, free: 29.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.5451, allocations: 48 kB / 0.6875 GB, free: 29 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001974/0.5453, allocations: 451.4 kB / 0.688 GB, free: 28.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001232/0.5466, allocations: 0.5628 MB / 0.6885 GB, free: 27.98 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001999/0.5486, allocations: 2.059 MB / 0.6905 GB, free: 25.16 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.5507, allocations: 1.011 MB / 0.6915 GB, free: 24.16 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-05/0.5507, allocations: 16 kB / 0.6915 GB, free: 24.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.005733/0.5565, allocations: 2.533 MB / 0.694 GB, free: 21.6 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.018e-05/0.5566, allocations: 28 kB / 0.694 GB, free: 21.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.316e-05/0.5566, allocations: 52 kB / 0.6941 GB, free: 21.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.749e-05/0.5567, allocations: 80 kB / 0.6942 GB, free: 21.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002877/0.5596, allocations: 0.538 MB / 0.6947 GB, free: 20.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.052e-05/0.5598, allocations: 107.6 kB / 0.6948 GB, free: 20.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/0.5622, allocations: 328.5 kB / 0.6951 GB, free: 20.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000304/0.5625, allocations: 148.2 kB / 0.6952 GB, free: 20.33 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * Number of states: 0 () * Number of discrete variables: 30 (rRod1.color[3],rRod1.color[2],rRod1.color[1],n2_ia.color[3],n2_ia.color[2],n2_ia.color[1],n1_a.color[3],n1_a.color[2],n1_a.color[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[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 (295): * Single equations (assignments): 295 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00168/0.5642, allocations: 0.8472 MB / 0.6961 GB, free: 19.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003268/0.5646, allocations: 138.2 kB / 0.6962 GB, free: 19.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003328/0.5649, allocations: 153.2 kB / 0.6964 GB, free: 19.19 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.386e-06/0.5649, allocations: 7.984 kB / 0.6964 GB, free: 19.18 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5649, allocations: 0 / 0.6964 GB, free: 19.18 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000413/0.5654, allocations: 211.2 kB / 0.6966 GB, free: 18.95 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/0.5656, allocations: 12 kB / 0.6966 GB, free: 18.94 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008022/0.5664, allocations: 19.98 kB / 0.6966 GB, free: 18.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.5666, allocations: 23.44 kB / 0.6966 GB, free: 18.9 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001398/0.568, allocations: 0.7582 MB / 0.6974 GB, free: 18.14 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001257/0.5693, allocations: 0.9345 MB / 0.6983 GB, free: 17.19 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0004626/0.5698, allocations: 247.7 kB / 0.6985 GB, free: 16.95 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001912/0.5717, allocations: 0.9659 MB / 0.6994 GB, free: 15.98 MB / 362.7 MB Notification: Performance of Backend: time 9.82e-07/0.5717, allocations: 0 / 0.6994 GB, free: 15.98 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00408/0.5758, allocations: 1.301 MB / 0.7007 GB, free: 14.69 MB / 362.7 MB Notification: Performance of SimCode: time 0.00889/0.5847, allocations: 4.42 MB / 0.705 GB, free: 10.21 MB / 362.7 MB Notification: Performance of Templates: time 0.04199/0.6268, allocations: 13.19 MB / 0.7179 GB, free: 13.4 MB / 378.7 MB