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.002683/0.002686, allocations: 351.5 kB / 15.94 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.65/3.65, allocations: 341.5 MB / 358.2 MB, free: 12.62 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.003524/0.003524, allocations: 214.2 kB / 397.8 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.4798/0.4798, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005529/0.0005531, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09403/0.09461, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4013/0.4959, allocations: 93.65 MB / 0.6982 GB, free: 19.05 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.4963, allocations: 83.95 kB / 0.6983 GB, free: 18.96 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5636/1.06, allocations: 73.96 MB / 0.7705 GB, free: 91.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.895e-06/1.06, allocations: 0 / 0.7705 GB, free: 91.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.000208/1.06, allocations: 68.72 kB / 0.7706 GB, free: 91.12 MB / 410.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.01509/1.075, allocations: 3.636 MB / 0.7741 GB, free: 89.59 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/1.075, allocations: 11.64 kB / 0.7741 GB, free: 89.59 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00621/1.082, allocations: 0.6711 MB / 0.7748 GB, free: 89.36 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008024/1.09, allocations: 2.197 MB / 0.7769 GB, free: 88.89 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003903/1.09, allocations: 300.4 kB / 0.7772 GB, free: 88.88 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001884/1.092, allocations: 384.3 kB / 0.7776 GB, free: 88.88 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02942/1.121, allocations: 8.443 MB / 0.7858 GB, free: 87.8 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001774/1.122, allocations: 19.72 kB / 0.7859 GB, free: 87.8 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001337/1.123, allocations: 173.6 kB / 0.786 GB, free: 87.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002548/1.126, allocations: 0.784 MB / 0.7868 GB, free: 87.79 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02403/1.15, allocations: 6.632 MB / 0.7933 GB, free: 87.75 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05218/1.202, allocations: 27.68 MB / 0.8203 GB, free: 70.84 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01027/1.212, allocations: 1.928 MB / 0.8222 GB, free: 70.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00187/1.214, allocations: 0.8329 MB / 0.823 GB, free: 69.9 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01076/1.225, allocations: 6.283 MB / 0.8291 GB, free: 65.46 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.577e-05/1.225, allocations: 42.97 kB / 0.8292 GB, free: 65.42 MB / 410.7 MB Notification: Performance of pre-optimization done (n=77): time 3.587e-06/1.225, allocations: 4 kB / 0.8292 GB, free: 65.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=96): time 0.02508/1.25, allocations: 6.216 MB / 0.8352 GB, free: 62.54 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/1.25, allocations: 144.8 kB / 0.8354 GB, free: 62.38 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004305/1.255, allocations: 2.46 MB / 0.8378 GB, free: 61.41 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002196/1.255, allocations: 41.14 kB / 0.8378 GB, free: 61.37 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001777/1.257, allocations: 2.401 MB / 0.8402 GB, free: 59.53 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004703/1.257, allocations: 379.1 kB / 0.8405 GB, free: 59.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003189/1.257, allocations: 82.03 kB / 0.8406 GB, free: 59.2 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002286/1.258, allocations: 462.7 kB / 0.8411 GB, free: 58.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002516/1.26, allocations: 0.9387 MB / 0.842 GB, free: 58.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003861/1.264, allocations: 3.245 MB / 0.8451 GB, free: 55.01 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003758/1.268, allocations: 1.68 MB / 0.8468 GB, free: 54.27 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.425e-05/1.268, allocations: 23.22 kB / 0.8468 GB, free: 54.27 MB / 410.7 MB Notification: Performance of matching and sorting (n=481) (initialization): time 0.01507/1.283, allocations: 4.06 MB / 0.8508 GB, free: 51.35 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001344/1.283, allocations: 43.94 kB / 0.8508 GB, free: 51.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001425/1.283, allocations: 80 kB / 0.8509 GB, free: 51.23 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002268/1.284, allocations: 124 kB / 0.851 GB, free: 51.11 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007627/1.291, allocations: 0.8883 MB / 0.8519 GB, free: 50.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001956/1.292, allocations: 162.9 kB / 0.852 GB, free: 50.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005538/1.297, allocations: 169.4 kB / 0.8522 GB, free: 50.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006335/1.298, allocations: 224 kB / 0.8524 GB, free: 49.8 MB / 410.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.00494/1.303, allocations: 1.586 MB / 0.8539 GB, free: 48.38 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007218/1.304, allocations: 216.9 kB / 0.8542 GB, free: 48.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004175/1.308, allocations: 1.137 MB / 0.8553 GB, free: 47.17 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/1.308, allocations: 8 kB / 0.8553 GB, free: 47.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.32e-05/1.308, allocations: 0 / 0.8553 GB, free: 47.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.17e-05/1.308, allocations: 7.188 kB / 0.8553 GB, free: 47.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0192/1.327, allocations: 6.17 MB / 0.8613 GB, free: 41.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.44e-05/1.327, allocations: 26.5 kB / 0.8613 GB, free: 41.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002388/1.33, allocations: 242.5 kB / 0.8616 GB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.273e-05/1.33, allocations: 35.89 kB / 0.8616 GB, free: 41.31 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/1.33, allocations: 51.38 kB / 0.8616 GB, free: 41.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-05/1.33, allocations: 39.11 kB / 0.8617 GB, free: 41.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.137e-05/1.33, allocations: 27.88 kB / 0.8617 GB, free: 41.2 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00433/1.334, allocations: 1.923 MB / 0.8636 GB, free: 39.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009884/1.335, allocations: 326.7 kB / 0.8639 GB, free: 38.79 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006334/1.336, allocations: 55.23 kB / 0.8639 GB, free: 38.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002234/1.338, allocations: 51.23 kB / 0.864 GB, free: 38.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002858/1.339, allocations: 154.6 kB / 0.8641 GB, free: 38.57 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/1.339, allocations: 56 kB / 0.8642 GB, free: 38.52 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004981/1.344, allocations: 1.598 MB / 0.8658 GB, free: 37.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.62e-07/1.344, allocations: 0 / 0.8658 GB, free: 37.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00436/1.348, allocations: 0.6523 MB / 0.8664 GB, free: 36.53 MB / 410.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.0005116/1.349, allocations: 207.7 kB / 0.8666 GB, free: 36.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00516/1.354, allocations: 2.295 MB / 0.8688 GB, free: 34.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.892e-05/1.354, allocations: 5 kB / 0.8688 GB, free: 34.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001261/1.355, allocations: 0.5775 MB / 0.8694 GB, free: 33.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002764/1.358, allocations: 327.1 kB / 0.8697 GB, free: 33.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01654/1.375, allocations: 8.265 MB / 0.8778 GB, free: 25.52 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004797/1.379, allocations: 2.815 MB / 0.8805 GB, free: 23.36 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.004835/1.384, allocations: 0.9998 MB / 0.8815 GB, free: 22.51 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007412/1.385, allocations: 171.4 kB / 0.8817 GB, free: 22.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.813e-06/1.385, allocations: 7.938 kB / 0.8817 GB, free: 22.34 MB / 410.7 MB Notification: Performance of Templates: time 0.0619/1.447, allocations: 18.78 MB / 0.9 GB, free: 4.082 MB / 410.7 MB