Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,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.|jointUSP.frame_b.r_0.1.|jointUSP.frame_b.r_0.2.|jointUSP.frame_b.r_0.3.|jointUSP.frame_b.f.1.|jointUSP.frame_b.f.2.|jointUSP.frame_b.f.3.|jointUSP.frame_b.t.1.|jointUSP.frame_b.t.2.|jointUSP.frame_b.t.3.|jointUSP.frame_ia.r_0.1.|jointUSP.frame_ia.r_0.2.|jointUSP.frame_ia.r_0.3.|jointUSP.frame_ia.f.1.|jointUSP.frame_ia.f.2.|jointUSP.frame_ia.f.3.|jointUSP.frame_ia.t.1.|jointUSP.frame_ia.t.2.|jointUSP.frame_ia.t.3.|jointUSP.frame_im.r_0.1.|jointUSP.frame_im.r_0.1.|jointUSP.frame_im.r_0.2.|jointUSP.frame_im.r_0.2.|jointUSP.frame_im.r_0.3.|jointUSP.frame_im.r_0.3.|jointUSP.frame_im.f.1.|jointUSP.frame_im.f.1.|jointUSP.frame_im.f.2.|jointUSP.frame_im.f.2.|jointUSP.frame_im.f.3.|jointUSP.frame_im.f.3.|jointUSP.frame_im.t.1.|jointUSP.frame_im.t.1.|jointUSP.frame_im.t.2.|jointUSP.frame_im.t.2.|jointUSP.frame_im.t.3.|jointUSP.frame_im.t.3.|jointUSP.prismatic.frame_b.r_0.1.|jointUSP.prismatic.frame_b.r_0.2.|jointUSP.prismatic.frame_b.r_0.3.|jointUSP.prismatic.frame_b.f.1.|jointUSP.prismatic.frame_b.f.2.|jointUSP.prismatic.frame_b.f.3.|jointUSP.prismatic.frame_b.t.1.|jointUSP.prismatic.frame_b.t.2.|jointUSP.prismatic.frame_b.t.3.|jointUSP.rod1.frame_b.r_0.1.|jointUSP.rod1.frame_b.r_0.2.|jointUSP.rod1.frame_b.r_0.3.|jointUSP.rod1.frame_b.f.1.|jointUSP.rod1.frame_b.f.2.|jointUSP.rod1.frame_b.f.3.|jointUSP.rod1.frame_b.t.1.|jointUSP.rod1.frame_b.t.2.|jointUSP.rod1.frame_b.t.3.|jointUSP.rod1.frame_ia.r_0.1.|jointUSP.rod1.frame_ia.r_0.2.|jointUSP.rod1.frame_ia.r_0.3.|jointUSP.rod1.frame_ia.f.1.|jointUSP.rod1.frame_ia.f.2.|jointUSP.rod1.frame_ia.f.3.|jointUSP.rod1.frame_ia.t.1.|jointUSP.rod1.frame_ia.t.2.|jointUSP.rod1.frame_ia.t.3.|jointUSP.rod2.frame_b.r_0.1.|jointUSP.rod2.frame_b.r_0.2.|jointUSP.rod2.frame_b.r_0.3.|jointUSP.rod2.frame_b.f.1.|jointUSP.rod2.frame_b.f.2.|jointUSP.rod2.frame_b.f.3.|jointUSP.rod2.frame_b.t.1.|jointUSP.rod2.frame_b.t.2.|jointUSP.rod2.frame_b.t.3.|jointUSP.relativePosition.frame_b.r_0.1.|jointUSP.relativePosition.frame_b.r_0.2.|jointUSP.relativePosition.frame_b.r_0.3.|jointUSP.relativePosition.frame_b.f.1.|jointUSP.relativePosition.frame_b.f.2.|jointUSP.relativePosition.frame_b.f.3.|jointUSP.relativePosition.frame_b.t.1.|jointUSP.relativePosition.frame_b.t.2.|jointUSP.relativePosition.frame_b.t.3.|jointUSP.relativePosition.relativePosition.frame_b.r_0.1.|jointUSP.relativePosition.relativePosition.frame_b.r_0.2.|jointUSP.relativePosition.relativePosition.frame_b.r_0.3.|jointUSP.relativePosition.relativePosition.frame_b.f.1.|jointUSP.relativePosition.relativePosition.frame_b.f.2.|jointUSP.relativePosition.relativePosition.frame_b.f.3.|jointUSP.relativePosition.relativePosition.frame_b.t.1.|jointUSP.relativePosition.relativePosition.frame_b.t.2.|jointUSP.relativePosition.relativePosition.frame_b.t.3.|jointUSP.position_b.1..y|jointUSP.position_b.2..y|jointUSP.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002627/0.002632, allocations: 348.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.788/3.788, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.003578/0.003578, allocations: 229.1 kB / 397.9 MB, free: 4.965 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.4738/0.4738, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006659/0.0006662, allocations: 16 kB / 0.5592 GB, free: 53.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.116/0.1167, allocations: 48.7 MB / 0.6068 GB, free: 4.621 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.4336/0.5504, allocations: 41.28 MB / 0.6471 GB, free: 65.88 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0337/0.5842, allocations: 8.313 MB / 0.6552 GB, free: 60.26 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0123/0.5965, allocations: 182.4 kB / 0.6554 GB, free: 60.24 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01031/0.6069, allocations: 1.96 MB / 0.6573 GB, free: 59.59 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03008/0.6371, allocations: 6.416 MB / 0.6635 GB, free: 54.61 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.005577/0.6427, allocations: 0.5233 MB / 0.664 GB, free: 54.09 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.006929/0.6498, allocations: 3.041 MB / 0.667 GB, free: 51.04 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01249/0.6623, allocations: 5.192 MB / 0.6721 GB, free: 45.92 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002519/0.6649, allocations: 0.9104 MB / 0.673 GB, free: 45 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003767/0.6687, allocations: 1.433 MB / 0.6744 GB, free: 43.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008938/0.6696, allocations: 128 kB / 0.6745 GB, free: 43.44 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002603/0.6723, allocations: 0.5618 MB / 0.675 GB, free: 42.88 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002585/0.6749, allocations: 1.356 MB / 0.6764 GB, free: 41.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001273/0.6762, allocations: 0.6948 MB / 0.677 GB, free: 40.82 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008349/0.6846, allocations: 4.906 MB / 0.6818 GB, free: 35.9 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.327e-06/0.6847, allocations: 0 / 0.6818 GB, free: 35.9 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.6847, allocations: 3.938 kB / 0.6818 GB, free: 35.89 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002157/0.6849, allocations: 0 / 0.6818 GB, free: 35.89 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: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.01378/0.6987, allocations: 3.541 MB / 0.6853 GB, free: 32.29 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/0.6988, allocations: 11.97 kB / 0.6853 GB, free: 32.28 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004387/0.7032, allocations: 0.5076 MB / 0.6858 GB, free: 31.77 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006223/0.7095, allocations: 1.696 MB / 0.6875 GB, free: 30.03 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/0.7099, allocations: 238.1 kB / 0.6877 GB, free: 29.8 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001509/0.7114, allocations: 315.9 kB / 0.688 GB, free: 29.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03314/0.7446, allocations: 8.819 MB / 0.6966 GB, free: 20.32 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001301/0.7447, allocations: 19.83 kB / 0.6966 GB, free: 20.3 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008347/0.7456, allocations: 147.9 kB / 0.6968 GB, free: 20.16 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005464/0.7511, allocations: 1.565 MB / 0.6983 GB, free: 18.59 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03124/0.7824, allocations: 6.838 MB / 0.705 GB, free: 11.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07397/0.8564, allocations: 26.89 MB / 0.7312 GB, free: 236 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01784/0.8743, allocations: 2.096 MB / 0.7333 GB, free: 14.1 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004528/0.8789, allocations: 1.049 MB / 0.7343 GB, free: 13.04 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02231/0.9013, allocations: 6.843 MB / 0.741 GB, free: 5.66 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.651e-05/0.9014, allocations: 47.16 kB / 0.741 GB, free: 5.605 MB / 394.7 MB Notification: Performance of pre-optimization done (n=84): time 6.102e-06/0.9014, allocations: 0 / 0.741 GB, free: 5.605 MB / 394.7 MB Notification: Performance of matching and sorting (n=106): time 0.04162/0.943, allocations: 6.836 MB / 0.7477 GB, free: 14.71 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/0.9432, allocations: 141.5 kB / 0.7478 GB, free: 14.54 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005713/0.9489, allocations: 2.519 MB / 0.7503 GB, free: 12 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002656/0.9493, allocations: 41.7 kB / 0.7503 GB, free: 11.95 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002526/0.9518, allocations: 2.345 MB / 0.7526 GB, free: 9.574 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006714/0.9525, allocations: 422.7 kB / 0.753 GB, free: 9.156 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003379/0.9529, allocations: 80 kB / 0.7531 GB, free: 9.078 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.000335/0.9532, allocations: 466.3 kB / 0.7535 GB, free: 8.617 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003574/0.9568, allocations: 1.124 MB / 0.7546 GB, free: 7.492 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005816/0.9627, allocations: 3.357 MB / 0.7579 GB, free: 3.035 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005465/0.9682, allocations: 1.849 MB / 0.7597 GB, free: 1.184 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.823e-05/0.9683, allocations: 24 kB / 0.7598 GB, free: 1.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=492) (initialization): time 0.324/1.292, allocations: 4.408 MB / 0.7641 GB, free: 120.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.711e-05/1.292, allocations: 40.39 kB / 0.7641 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001411/1.293, allocations: 82.19 kB / 0.7642 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002018/1.293, allocations: 120.9 kB / 0.7643 GB, free: 120.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006115/1.299, allocations: 0.9219 MB / 0.7652 GB, free: 120 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002618/1.299, allocations: 154 kB / 0.7653 GB, free: 120 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003942/1.303, allocations: 185 kB / 0.7655 GB, free: 120 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007416/1.304, allocations: 231.7 kB / 0.7657 GB, free: 120 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 359 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (492): * Single equations (assignments): 492 * 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.004292/1.308, allocations: 1.579 MB / 0.7673 GB, free: 119.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005592/1.309, allocations: 221.6 kB / 0.7675 GB, free: 119.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004619/1.314, allocations: 1.31 MB / 0.7688 GB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.114e-05/1.314, allocations: 8.484 kB / 0.7688 GB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/1.314, allocations: 1.031 kB / 0.7688 GB, free: 119.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/1.315, allocations: 289.7 kB / 0.7691 GB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001227/1.316, allocations: 20.12 kB / 0.7691 GB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003228/1.319, allocations: 50.52 kB / 0.7691 GB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004523/1.32, allocations: 66.11 kB / 0.7692 GB, free: 119.6 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00678/1.327, allocations: 1.675 MB / 0.7708 GB, free: 118.8 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004302/1.331, allocations: 1.85 MB / 0.7726 GB, free: 117.9 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001696/1.333, allocations: 0.6201 MB / 0.7732 GB, free: 117.7 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003848/1.337, allocations: 1.556 MB / 0.7748 GB, free: 117.1 MB / 410.7 MB Notification: Performance of Backend: time 1.352e-06/1.337, allocations: 2 kB / 0.7748 GB, free: 117.1 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.007901/1.345, allocations: 2.264 MB / 0.777 GB, free: 116.3 MB / 410.7 MB Notification: Performance of SimCode: time 0.01756/1.362, allocations: 7.989 MB / 0.7848 GB, free: 111.8 MB / 410.7 MB Notification: Performance of Templates: time 0.07791/1.44, allocations: 24.69 MB / 0.8089 GB, free: 96.79 MB / 410.7 MB