Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.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.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.2_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002889/0.002888, allocations: 362.5 kB / 15.95 MB, free: 6.203 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.852/3.852, allocations: 388.9 MB / 405.6 MB, free: 9.66 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.003517/0.003517, allocations: 238.5 kB / 451 MB, free: 145 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.5461/0.5461, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004681/0.0004684, allocations: 15.98 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09646/0.09695, allocations: 54.87 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4757/0.5727, allocations: 100.2 MB / 0.7779 GB, free: 1.398 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002939/0.573, allocations: 82.08 kB / 0.778 GB, free: 1.355 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3133/0.8864, allocations: 73.97 MB / 0.8502 GB, free: 14.98 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.725e-06/0.8864, allocations: 0 / 0.8502 GB, free: 14.98 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002162/0.8866, allocations: 72 kB / 0.8503 GB, free: 14.91 MB / 442.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.01524/0.9019, allocations: 3.627 MB / 0.8538 GB, free: 11.22 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.902, allocations: 8.031 kB / 0.8538 GB, free: 11.21 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006184/0.9082, allocations: 0.6738 MB / 0.8545 GB, free: 10.54 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00793/0.9162, allocations: 2.2 MB / 0.8566 GB, free: 8.297 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000454/0.9167, allocations: 295.8 kB / 0.8569 GB, free: 8.008 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001969/0.9187, allocations: 383.9 kB / 0.8573 GB, free: 7.633 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03126/0.95, allocations: 8.454 MB / 0.8656 GB, free: 14.79 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000143/0.9502, allocations: 15.81 kB / 0.8656 GB, free: 14.77 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00119/0.9514, allocations: 171.9 kB / 0.8657 GB, free: 14.61 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002706/0.9541, allocations: 0.7953 MB / 0.8665 GB, free: 13.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02532/0.9794, allocations: 6.633 MB / 0.873 GB, free: 7.16 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4727/1.452, allocations: 27.65 MB / 0.9 GB, free: 104.6 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01696/1.469, allocations: 1.932 MB / 0.9019 GB, free: 104.5 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003137/1.472, allocations: 0.8266 MB / 0.9027 GB, free: 104.5 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01814/1.491, allocations: 6.305 MB / 0.9088 GB, free: 101.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.983e-05/1.491, allocations: 42.38 kB / 0.9089 GB, free: 101.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=77): time 5.36e-06/1.491, allocations: 0 / 0.9089 GB, free: 101.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=96): time 0.04483/1.536, allocations: 6.219 MB / 0.9149 GB, free: 99.21 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.849e-05/1.536, allocations: 142.3 kB / 0.9151 GB, free: 99.05 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006131/1.542, allocations: 2.468 MB / 0.9175 GB, free: 98.77 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002299/1.542, allocations: 42.42 kB / 0.9175 GB, free: 98.74 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002113/1.544, allocations: 2.389 MB / 0.9199 GB, free: 97.49 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005984/1.545, allocations: 392.9 kB / 0.9202 GB, free: 97.28 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003918/1.545, allocations: 74.12 kB / 0.9203 GB, free: 97.28 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002692/1.546, allocations: 467 kB / 0.9208 GB, free: 96.97 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002583/1.548, allocations: 0.9338 MB / 0.9217 GB, free: 96.96 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004106/1.552, allocations: 3.241 MB / 0.9248 GB, free: 94 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00396/1.556, allocations: 1.684 MB / 0.9265 GB, free: 93.98 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.493e-05/1.556, allocations: 23.12 kB / 0.9265 GB, free: 93.98 MB / 474.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.01075/1.567, allocations: 4.066 MB / 0.9305 GB, free: 93.8 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.341e-05/1.567, allocations: 41.12 kB / 0.9305 GB, free: 93.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001319/1.568, allocations: 81.72 kB / 0.9306 GB, free: 93.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001411/1.568, allocations: 122.8 kB / 0.9307 GB, free: 93.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005355/1.573, allocations: 0.8866 MB / 0.9316 GB, free: 93.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001682/1.573, allocations: 162.6 kB / 0.9317 GB, free: 93.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004107/1.577, allocations: 166.2 kB / 0.9319 GB, free: 93.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001203/1.579, allocations: 230.3 kB / 0.9321 GB, free: 93.73 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 373 * 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 (481): * Single equations (assignments): 481 * 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.005753/1.584, allocations: 1.576 MB / 0.9336 GB, free: 93.48 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009336/1.585, allocations: 222.4 kB / 0.9339 GB, free: 93.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004275/1.59, allocations: 1.134 MB / 0.935 GB, free: 93.27 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/1.59, allocations: 10.41 kB / 0.935 GB, free: 93.27 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/1.59, allocations: 0 / 0.935 GB, free: 93.27 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-05/1.59, allocations: 3.844 kB / 0.935 GB, free: 93.27 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02448/1.614, allocations: 6.172 MB / 0.941 GB, free: 91.68 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.411e-05/1.614, allocations: 21.19 kB / 0.941 GB, free: 91.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001974/1.616, allocations: 253.4 kB / 0.9413 GB, free: 91.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.064e-05/1.617, allocations: 29.31 kB / 0.9413 GB, free: 91.66 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001798/1.617, allocations: 48.81 kB / 0.9413 GB, free: 91.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.074e-05/1.617, allocations: 44.14 kB / 0.9414 GB, free: 91.65 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-05/1.617, allocations: 30.69 kB / 0.9414 GB, free: 91.64 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004455/1.621, allocations: 1.922 MB / 0.9433 GB, free: 90.52 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/1.623, allocations: 332 kB / 0.9436 GB, free: 90.27 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/1.624, allocations: 46.69 kB / 0.9436 GB, free: 90.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002835/1.627, allocations: 46.38 kB / 0.9437 GB, free: 90.24 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000456/1.627, allocations: 150.8 kB / 0.9438 GB, free: 90.19 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001703/1.627, allocations: 55.56 kB / 0.9439 GB, free: 90.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005549/1.633, allocations: 1.603 MB / 0.9455 GB, free: 89.59 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.52e-07/1.633, allocations: 0 / 0.9455 GB, free: 89.59 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007365/1.64, allocations: 0.6463 MB / 0.9461 GB, free: 89.51 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * 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 (134): * Single equations (assignments): 134 * 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.0007512/1.641, allocations: 220.1 kB / 0.9463 GB, free: 89.36 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.00713/1.648, allocations: 2.297 MB / 0.9485 GB, free: 88.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.393e-05/1.648, allocations: 3.531 kB / 0.9485 GB, free: 88.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001848/1.65, allocations: 0.5727 MB / 0.9491 GB, free: 88.38 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004336/1.655, allocations: 328.5 kB / 0.9494 GB, free: 88.23 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02375/1.679, allocations: 8.265 MB / 0.9575 GB, free: 83.32 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007683/1.686, allocations: 2.814 MB / 0.9602 GB, free: 82.15 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006695/1.693, allocations: 1.009 MB / 0.9612 GB, free: 82.05 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00103/1.694, allocations: 170.4 kB / 0.9614 GB, free: 82.04 MB / 474.7 MB Notification: Performance of SimCode: time 1.503e-06/1.694, allocations: 0 / 0.9614 GB, free: 82.04 MB / 474.7 MB Notification: Performance of Templates: time 0.08162/1.776, allocations: 18.79 MB / 0.9797 GB, free: 77.81 MB / 474.7 MB