Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.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.JointUSR,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.|jointUSR.frame_b.r_0.1.|jointUSR.frame_b.r_0.2.|jointUSR.frame_b.r_0.3.|jointUSR.frame_b.f.1.|jointUSR.frame_b.f.2.|jointUSR.frame_b.f.3.|jointUSR.frame_b.t.1.|jointUSR.frame_b.t.2.|jointUSR.frame_b.t.3.|jointUSR.frame_ia.r_0.1.|jointUSR.frame_ia.r_0.2.|jointUSR.frame_ia.r_0.3.|jointUSR.frame_ia.f.1.|jointUSR.frame_ia.f.2.|jointUSR.frame_ia.f.3.|jointUSR.frame_ia.t.1.|jointUSR.frame_ia.t.2.|jointUSR.frame_ia.t.3.|jointUSR.frame_im.r_0.1.|jointUSR.frame_im.r_0.1.|jointUSR.frame_im.r_0.2.|jointUSR.frame_im.r_0.2.|jointUSR.frame_im.r_0.3.|jointUSR.frame_im.r_0.3.|jointUSR.frame_im.f.1.|jointUSR.frame_im.f.1.|jointUSR.frame_im.f.2.|jointUSR.frame_im.f.2.|jointUSR.frame_im.f.3.|jointUSR.frame_im.f.3.|jointUSR.frame_im.t.1.|jointUSR.frame_im.t.1.|jointUSR.frame_im.t.2.|jointUSR.frame_im.t.2.|jointUSR.frame_im.t.3.|jointUSR.frame_im.t.3.|jointUSR.revolute.frame_b.r_0.1.|jointUSR.revolute.frame_b.r_0.2.|jointUSR.revolute.frame_b.r_0.3.|jointUSR.revolute.frame_b.f.1.|jointUSR.revolute.frame_b.f.2.|jointUSR.revolute.frame_b.f.3.|jointUSR.revolute.frame_b.t.1.|jointUSR.revolute.frame_b.t.2.|jointUSR.revolute.frame_b.t.3.|jointUSR.rod1.frame_b.r_0.1.|jointUSR.rod1.frame_b.r_0.2.|jointUSR.rod1.frame_b.r_0.3.|jointUSR.rod1.frame_b.f.1.|jointUSR.rod1.frame_b.f.2.|jointUSR.rod1.frame_b.f.3.|jointUSR.rod1.frame_b.t.1.|jointUSR.rod1.frame_b.t.2.|jointUSR.rod1.frame_b.t.3.|jointUSR.rod1.frame_ia.r_0.1.|jointUSR.rod1.frame_ia.r_0.2.|jointUSR.rod1.frame_ia.r_0.3.|jointUSR.rod1.frame_ia.f.1.|jointUSR.rod1.frame_ia.f.2.|jointUSR.rod1.frame_ia.f.3.|jointUSR.rod1.frame_ia.t.1.|jointUSR.rod1.frame_ia.t.2.|jointUSR.rod1.frame_ia.t.3.|jointUSR.rod2.frame_b.r_0.1.|jointUSR.rod2.frame_b.r_0.2.|jointUSR.rod2.frame_b.r_0.3.|jointUSR.rod2.frame_b.f.1.|jointUSR.rod2.frame_b.f.2.|jointUSR.rod2.frame_b.f.3.|jointUSR.rod2.frame_b.t.1.|jointUSR.rod2.frame_b.t.2.|jointUSR.rod2.frame_b.t.3.|jointUSR.relativePosition.frame_b.r_0.1.|jointUSR.relativePosition.frame_b.r_0.2.|jointUSR.relativePosition.frame_b.r_0.3.|jointUSR.relativePosition.frame_b.f.1.|jointUSR.relativePosition.frame_b.f.2.|jointUSR.relativePosition.frame_b.f.3.|jointUSR.relativePosition.frame_b.t.1.|jointUSR.relativePosition.frame_b.t.2.|jointUSR.relativePosition.frame_b.t.3.|jointUSR.relativePosition.relativePosition.frame_b.r_0.1.|jointUSR.relativePosition.relativePosition.frame_b.r_0.2.|jointUSR.relativePosition.relativePosition.frame_b.r_0.3.|jointUSR.relativePosition.relativePosition.frame_b.f.1.|jointUSR.relativePosition.relativePosition.frame_b.f.2.|jointUSR.relativePosition.relativePosition.frame_b.f.3.|jointUSR.relativePosition.relativePosition.frame_b.t.1.|jointUSR.relativePosition.relativePosition.frame_b.t.2.|jointUSR.relativePosition.relativePosition.frame_b.t.3.|jointUSR.position_b.1..y|jointUSR.position_b.2..y|jointUSR.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002825/0.002825, allocations: 349.8 kB / 15.94 MB, free: 6.219 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.19/3.19, allocations: 341.5 MB / 358.2 MB, free: 28.63 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.00362/0.00362, allocations: 213.8 kB / 397.8 MB, free: 6.012 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.4789/0.4789, allocations: 76.1 MB / 0.5014 GB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004486/0.0004488, allocations: 12 kB / 0.5592 GB, free: 60.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1056, allocations: 48.71 MB / 0.6067 GB, free: 11.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4564/0.562, allocations: 94.46 MB / 0.699 GB, free: 9.297 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002863/0.5623, allocations: 79.53 kB / 0.6991 GB, free: 9.258 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3483/0.9107, allocations: 75.4 MB / 0.7727 GB, free: 4.734 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.597e-06/0.9107, allocations: 0 / 0.7727 GB, free: 4.734 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002311/0.911, allocations: 72 kB / 0.7728 GB, free: 4.664 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.02499/0.936, allocations: 3.811 MB / 0.7765 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.825e-05/0.9361, allocations: 8.031 kB / 0.7765 GB, free: 0.7812 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009426/0.9455, allocations: 0.6776 MB / 0.7772 GB, free: 100 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01221/0.9578, allocations: 2.232 MB / 0.7793 GB, free: 13.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005564/0.9584, allocations: 291.7 kB / 0.7796 GB, free: 13.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002518/0.9609, allocations: 383.9 kB / 0.78 GB, free: 13.16 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04866/1.01, allocations: 9.004 MB / 0.7888 GB, free: 3.781 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001429/1.01, allocations: 15.81 kB / 0.7888 GB, free: 3.766 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00125/1.011, allocations: 175.9 kB / 0.789 GB, free: 3.594 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002849/1.014, allocations: 0.8427 MB / 0.7898 GB, free: 2.746 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02872/1.043, allocations: 7.397 MB / 0.797 GB, free: 11.34 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.376/1.419, allocations: 29.09 MB / 0.8254 GB, free: 88.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01368/1.433, allocations: 2.333 MB / 0.8277 GB, free: 88.29 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002401/1.435, allocations: 1.081 MB / 0.8287 GB, free: 88.26 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01595/1.451, allocations: 7.586 MB / 0.8362 GB, free: 84.63 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.225e-05/1.451, allocations: 51.11 kB / 0.8362 GB, free: 84.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=81): time 3.757e-06/1.451, allocations: 1.125 kB / 0.8362 GB, free: 84.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=97): time 0.03272/1.484, allocations: 7.138 MB / 0.8432 GB, free: 82.63 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.446e-05/1.484, allocations: 141.4 kB / 0.8433 GB, free: 82.47 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005005/1.489, allocations: 2.616 MB / 0.8459 GB, free: 82.19 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00026/1.489, allocations: 45.02 kB / 0.8459 GB, free: 82.16 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002027/1.491, allocations: 2.41 MB / 0.8483 GB, free: 80.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005811/1.492, allocations: 398.5 kB / 0.8486 GB, free: 80.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003806/1.492, allocations: 80.72 kB / 0.8487 GB, free: 80.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000232/1.493, allocations: 466.6 kB / 0.8492 GB, free: 80.38 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002535/1.495, allocations: 1.063 MB / 0.8502 GB, free: 80.37 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00434/1.5, allocations: 3.469 MB / 0.8536 GB, free: 77.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004538/1.504, allocations: 1.835 MB / 0.8554 GB, free: 77.27 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.261e-05/1.504, allocations: 26.38 kB / 0.8554 GB, free: 77.27 MB / 426.7 MB Notification: Performance of matching and sorting (n=497) (initialization): time 0.01116/1.515, allocations: 4.403 MB / 0.8597 GB, free: 76.96 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001003/1.516, allocations: 47.91 kB / 0.8597 GB, free: 76.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001097/1.516, allocations: 85.41 kB / 0.8598 GB, free: 76.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001344/1.516, allocations: 123.5 kB / 0.8599 GB, free: 76.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00567/1.522, allocations: 0.9405 MB / 0.8609 GB, free: 76.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001636/1.522, allocations: 173.9 kB / 0.861 GB, free: 76.84 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003976/1.526, allocations: 193.1 kB / 0.8612 GB, free: 76.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009232/1.527, allocations: 237.8 kB / 0.8614 GB, free: 76.83 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 388 * Number of states: 0 () * Number of discrete variables: 40 (jointUSR.revolute.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],jointUSR.rod1Color[3],jointUSR.rod1Color[2],jointUSR.rod1Color[1],jointUSR.cylinderColor[3],jointUSR.cylinderColor[2],jointUSR.cylinderColor[1],jointUSR.sphereColor[3],jointUSR.sphereColor[2],jointUSR.sphereColor[1],jointUSR.revoluteColor[3],jointUSR.revoluteColor[2],jointUSR.revoluteColor[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 (497): * Single equations (assignments): 497 * 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.004054/1.531, allocations: 1.595 MB / 0.863 GB, free: 76.16 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005767/1.531, allocations: 224.4 kB / 0.8632 GB, free: 76.04 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003621/1.535, allocations: 1.376 MB / 0.8646 GB, free: 75.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-05/1.535, allocations: 12.58 kB / 0.8646 GB, free: 75.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/1.535, allocations: 3.5 kB / 0.8646 GB, free: 75.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.947e-05/1.535, allocations: 10.42 kB / 0.8646 GB, free: 75.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01548/1.551, allocations: 6.169 MB / 0.8706 GB, free: 72.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.757e-05/1.551, allocations: 14.56 kB / 0.8706 GB, free: 72.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001672/1.552, allocations: 243.9 kB / 0.8709 GB, free: 72.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.502e-05/1.552, allocations: 30.33 kB / 0.8709 GB, free: 72.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000152/1.553, allocations: 45.25 kB / 0.8709 GB, free: 72.35 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.009e-05/1.553, allocations: 37.33 kB / 0.871 GB, free: 72.34 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.929e-05/1.553, allocations: 34.77 kB / 0.871 GB, free: 72.34 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003167/1.556, allocations: 1.92 MB / 0.8729 GB, free: 70.97 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008634/1.557, allocations: 321.9 kB / 0.8732 GB, free: 70.73 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005299/1.557, allocations: 53.72 kB / 0.8732 GB, free: 70.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001552/1.559, allocations: 54.11 kB / 0.8733 GB, free: 70.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002372/1.559, allocations: 134.9 kB / 0.8734 GB, free: 70.64 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001098/1.559, allocations: 59.72 kB / 0.8735 GB, free: 70.64 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003655/1.563, allocations: 1.663 MB / 0.8751 GB, free: 70.03 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.41e-07/1.563, allocations: 0 / 0.8751 GB, free: 70.03 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004916/1.568, allocations: 0.6799 MB / 0.8758 GB, free: 69.94 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 77 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (130): * Single equations (assignments): 130 * 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 Backend phase and start with SimCode phase: time 0.000655/1.569, allocations: 209.2 kB / 0.876 GB, free: 69.8 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005766/1.574, allocations: 2.522 MB / 0.8784 GB, free: 68.89 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.943e-05/1.574, allocations: 6.969 kB / 0.8784 GB, free: 68.89 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001416/1.576, allocations: 0.6138 MB / 0.879 GB, free: 68.66 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003119/1.579, allocations: 329.6 kB / 0.8793 GB, free: 68.52 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01838/1.598, allocations: 8.232 MB / 0.8874 GB, free: 63.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005515/1.603, allocations: 2.806 MB / 0.8901 GB, free: 62.41 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004908/1.608, allocations: 1.043 MB / 0.8911 GB, free: 62.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006585/1.609, allocations: 173.6 kB / 0.8913 GB, free: 62.29 MB / 426.7 MB Notification: Performance of SimCode: time 1.482e-06/1.609, allocations: 0 / 0.8913 GB, free: 62.29 MB / 426.7 MB Notification: Performance of Templates: time 0.09345/1.702, allocations: 20.37 MB / 0.9112 GB, free: 50.01 MB / 426.7 MB