Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSR.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.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.2_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002742/0.002742, allocations: 359.2 kB / 15.95 MB, free: 6.207 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.179/4.179, allocations: 388.9 MB / 405.6 MB, free: 9.574 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.003454/0.003454, allocations: 229 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.5537/0.5537, allocations: 80.02 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006536/0.0006539, allocations: 12 kB / 0.6265 GB, free: 96.5 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1187, allocations: 54.87 MB / 0.6801 GB, free: 41.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6137/0.7325, allocations: 101 MB / 0.7787 GB, free: 0.4961 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/0.7329, allocations: 80.7 kB / 0.7788 GB, free: 464 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3632/1.096, allocations: 75.39 MB / 0.8524 GB, free: 12.69 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.196e-06/1.096, allocations: 0 / 0.8524 GB, free: 12.69 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002037/1.096, allocations: 75.98 kB / 0.8525 GB, free: 12.61 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: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01654/1.113, allocations: 3.811 MB / 0.8562 GB, free: 8.738 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.113, allocations: 12.03 kB / 0.8562 GB, free: 8.727 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006018/1.119, allocations: 0.666 MB / 0.8569 GB, free: 8.055 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008378/1.127, allocations: 2.236 MB / 0.859 GB, free: 5.781 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000438/1.128, allocations: 291.7 kB / 0.8593 GB, free: 5.496 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001996/1.13, allocations: 387.8 kB / 0.8597 GB, free: 5.117 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03418/1.164, allocations: 9.002 MB / 0.8685 GB, free: 11.73 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001485/1.164, allocations: 15.81 kB / 0.8685 GB, free: 11.72 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001254/1.166, allocations: 175.9 kB / 0.8687 GB, free: 11.55 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002876/1.169, allocations: 0.8349 MB / 0.8695 GB, free: 10.71 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03395/1.203, allocations: 7.404 MB / 0.8767 GB, free: 3.293 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4217/1.624, allocations: 29.08 MB / 0.9051 GB, free: 103.7 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02002/1.644, allocations: 2.334 MB / 0.9074 GB, free: 103.6 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003772/1.648, allocations: 1.087 MB / 0.9085 GB, free: 103.6 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02297/1.671, allocations: 7.587 MB / 0.9159 GB, free: 99.96 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/1.671, allocations: 45.69 kB / 0.9159 GB, free: 99.93 MB / 474.7 MB Notification: Performance of pre-optimization done (n=81): time 5.921e-06/1.671, allocations: 0 / 0.9159 GB, free: 99.93 MB / 474.7 MB Notification: Performance of matching and sorting (n=97): time 0.06659/1.738, allocations: 7.145 MB / 0.9229 GB, free: 97.96 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.164e-05/1.738, allocations: 142.8 kB / 0.923 GB, free: 97.81 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00761/1.746, allocations: 2.611 MB / 0.9256 GB, free: 97.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003001/1.746, allocations: 40.95 kB / 0.9256 GB, free: 97.49 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003025/1.749, allocations: 2.419 MB / 0.928 GB, free: 96.24 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007816/1.75, allocations: 394.1 kB / 0.9283 GB, free: 96.03 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005004/1.751, allocations: 79.94 kB / 0.9284 GB, free: 96.03 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003308/1.751, allocations: 466.5 kB / 0.9289 GB, free: 95.72 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003771/1.755, allocations: 1.071 MB / 0.9299 GB, free: 95.71 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005842/1.761, allocations: 3.456 MB / 0.9333 GB, free: 92.63 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005798/1.766, allocations: 1.843 MB / 0.9351 GB, free: 92.62 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001039/1.767, allocations: 28.44 kB / 0.9351 GB, free: 92.62 MB / 474.7 MB Notification: Performance of matching and sorting (n=497) (initialization): time 0.01265/1.779, allocations: 4.402 MB / 0.9394 GB, free: 92.37 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.183e-05/1.779, allocations: 45.75 kB / 0.9395 GB, free: 92.37 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001294/1.78, allocations: 83 kB / 0.9395 GB, free: 92.37 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/1.78, allocations: 125.2 kB / 0.9397 GB, free: 92.37 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006108/1.786, allocations: 0.9495 MB / 0.9406 GB, free: 92.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001786/1.786, allocations: 166.8 kB / 0.9407 GB, free: 92.25 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004466/1.791, allocations: 195.3 kB / 0.9409 GB, free: 92.25 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000966/1.792, allocations: 237.4 kB / 0.9412 GB, free: 92.25 MB / 474.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.004762/1.796, allocations: 1.594 MB / 0.9427 GB, free: 91.99 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007349/1.797, allocations: 232.1 kB / 0.9429 GB, free: 91.87 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003645/1.801, allocations: 1.38 MB / 0.9443 GB, free: 91.71 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/1.801, allocations: 12.91 kB / 0.9443 GB, free: 91.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.879e-06/1.801, allocations: 0 / 0.9443 GB, free: 91.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.599e-05/1.801, allocations: 3.609 kB / 0.9443 GB, free: 91.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01605/1.817, allocations: 6.176 MB / 0.9503 GB, free: 88.67 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-05/1.817, allocations: 18.56 kB / 0.9503 GB, free: 88.67 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001618/1.819, allocations: 240.6 kB / 0.9506 GB, free: 88.64 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.211e-05/1.819, allocations: 25.91 kB / 0.9506 GB, free: 88.64 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/1.819, allocations: 48.88 kB / 0.9506 GB, free: 88.62 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-05/1.819, allocations: 36.8 kB / 0.9507 GB, free: 88.62 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.767e-05/1.819, allocations: 26 kB / 0.9507 GB, free: 88.61 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003233/1.822, allocations: 1.917 MB / 0.9526 GB, free: 87.25 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009737/1.823, allocations: 328.7 kB / 0.9529 GB, free: 87.01 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006169/1.824, allocations: 47.48 kB / 0.9529 GB, free: 87 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0018/1.826, allocations: 55.58 kB / 0.953 GB, free: 86.98 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003109/1.826, allocations: 131.8 kB / 0.9531 GB, free: 86.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001121/1.826, allocations: 60.02 kB / 0.9532 GB, free: 86.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004002/1.83, allocations: 1.663 MB / 0.9548 GB, free: 86.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.192e-06/1.83, allocations: 3.312 kB / 0.9548 GB, free: 86.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.005591/1.836, allocations: 0.6867 MB / 0.9555 GB, free: 86.23 MB / 474.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.0007955/1.837, allocations: 209 kB / 0.9557 GB, free: 86.08 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006094/1.843, allocations: 2.52 MB / 0.9581 GB, free: 85.2 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.138e-05/1.843, allocations: 3.75 kB / 0.9581 GB, free: 85.2 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001549/1.844, allocations: 0.6134 MB / 0.9587 GB, free: 84.98 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003088/1.848, allocations: 317 kB / 0.959 GB, free: 84.84 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/1.867, allocations: 8.235 MB / 0.9671 GB, free: 79.97 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006222/1.873, allocations: 2.812 MB / 0.9698 GB, free: 78.79 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005568/1.879, allocations: 1.045 MB / 0.9708 GB, free: 78.68 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009816/1.88, allocations: 177.4 kB / 0.971 GB, free: 78.67 MB / 474.7 MB Notification: Performance of SimCode: time 2.063e-06/1.88, allocations: 0 / 0.971 GB, free: 78.67 MB / 474.7 MB Notification: Performance of Templates: time 0.06761/1.947, allocations: 20.36 MB / 0.9909 GB, free: 71.7 MB / 474.7 MB