Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS.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.JointUPS,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.|jointUPS.frame_b.r_0.1.|jointUPS.frame_b.r_0.2.|jointUPS.frame_b.r_0.3.|jointUPS.frame_b.f.1.|jointUPS.frame_b.f.2.|jointUPS.frame_b.f.3.|jointUPS.frame_b.t.1.|jointUPS.frame_b.t.2.|jointUPS.frame_b.t.3.|jointUPS.frame_ia.r_0.1.|jointUPS.frame_ia.r_0.2.|jointUPS.frame_ia.r_0.3.|jointUPS.frame_ia.f.1.|jointUPS.frame_ia.f.2.|jointUPS.frame_ia.f.3.|jointUPS.frame_ia.t.1.|jointUPS.frame_ia.t.2.|jointUPS.frame_ia.t.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003652/0.003658, allocations: 361 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.385/4.385, allocations: 388.9 MB / 405.6 MB, free: 9.586 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.003554/0.003555, allocations: 229.8 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.5303/0.5303, allocations: 80.02 MB / 0.5627 GB, free: 19.76 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004626/0.0004628, allocations: 12 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09324/0.09373, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4874/0.5812, allocations: 92.11 MB / 0.77 GB, free: 9.355 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.5815, allocations: 78.91 kB / 0.7701 GB, free: 9.316 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.154/0.7355, allocations: 34.39 MB / 0.8037 GB, free: 11.24 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.7356, allocations: 0 / 0.8037 GB, free: 11.24 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001717/0.7358, allocations: 36 kB / 0.8037 GB, free: 11.2 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: 694 * Number of variables: 694 Notification: Performance of Generate backend data structure: time 0.01212/0.7479, allocations: 2.203 MB / 0.8059 GB, free: 9.102 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.52e-05/0.748, allocations: 8.031 kB / 0.8059 GB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005094/0.7531, allocations: 388.1 kB / 0.8063 GB, free: 8.715 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006148/0.7593, allocations: 1.13 MB / 0.8074 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002887/0.7597, allocations: 150.5 kB / 0.8075 GB, free: 7.645 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001215/0.7609, allocations: 187.8 kB / 0.8077 GB, free: 7.512 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02446/0.7854, allocations: 4.77 MB / 0.8124 GB, free: 3.691 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001168/0.7856, allocations: 11.88 kB / 0.8124 GB, free: 3.68 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008882/0.7865, allocations: 91.06 kB / 0.8125 GB, free: 3.641 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002706/0.7892, allocations: 0.5178 MB / 0.813 GB, free: 3.191 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02199/0.8113, allocations: 3.776 MB / 0.8166 GB, free: 448 kB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03727/0.8486, allocations: 16.58 MB / 0.8328 GB, free: 260 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007649/0.8563, allocations: 1.278 MB / 0.8341 GB, free: 14.95 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00161/0.858, allocations: 0.6988 MB / 0.8348 GB, free: 14.24 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008514/0.8665, allocations: 4.019 MB / 0.8387 GB, free: 9.965 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.173e-05/0.8666, allocations: 46.55 kB / 0.8387 GB, free: 9.91 MB / 426.7 MB Notification: Performance of pre-optimization done (n=41): time 3.346e-06/0.8666, allocations: 0 / 0.8387 GB, free: 9.91 MB / 426.7 MB Notification: Performance of matching and sorting (n=41): time 0.01127/0.8779, allocations: 1.785 MB / 0.8405 GB, free: 8.117 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/0.878, allocations: 114.8 kB / 0.8406 GB, free: 7.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003511/0.8816, allocations: 1.563 MB / 0.8421 GB, free: 6.406 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001033/0.8817, allocations: 41.7 kB / 0.8422 GB, free: 6.359 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001416/0.8832, allocations: 1.391 MB / 0.8435 GB, free: 4.945 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002844/0.8835, allocations: 178 kB / 0.8437 GB, free: 4.77 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.8836, allocations: 48 kB / 0.8437 GB, free: 4.723 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003792/0.884, allocations: 455.3 kB / 0.8442 GB, free: 4.27 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.8854, allocations: 0.4924 MB / 0.8446 GB, free: 3.773 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002527/0.8879, allocations: 2.036 MB / 0.8466 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002471/0.8904, allocations: 0.9557 MB / 0.8476 GB, free: 4 kB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-05/0.8905, allocations: 20.05 kB / 0.8476 GB, free: 15.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.007059/0.8976, allocations: 2.407 MB / 0.8499 GB, free: 13.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.919e-05/0.8977, allocations: 28 kB / 0.85 GB, free: 13.54 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-05/0.8978, allocations: 60.12 kB / 0.85 GB, free: 13.48 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001209/0.898, allocations: 76 kB / 0.8501 GB, free: 13.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003225/0.9012, allocations: 0.5458 MB / 0.8506 GB, free: 12.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001318/0.9014, allocations: 107.6 kB / 0.8507 GB, free: 12.76 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/0.9039, allocations: 332.4 kB / 0.851 GB, free: 12.43 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004201/0.9044, allocations: 144 kB / 0.8512 GB, free: 12.29 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 250 * Number of states: 0 () * Number of discrete variables: 30 (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],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[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 (292): * Single equations (assignments): 292 * 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.001954/0.9063, allocations: 0.8581 MB / 0.852 GB, free: 11.42 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003387/0.9067, allocations: 130.3 kB / 0.8521 GB, free: 11.29 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.9071, allocations: 153.3 kB / 0.8523 GB, free: 11.14 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.9071, allocations: 8 kB / 0.8523 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.367e-06/0.9071, allocations: 0 / 0.8523 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.453e-06/0.9071, allocations: 0 / 0.8523 GB, free: 11.13 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007375/0.9145, allocations: 3.241 MB / 0.8555 GB, free: 7.68 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.002e-05/0.9146, allocations: 12 kB / 0.8555 GB, free: 7.668 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005912/0.9152, allocations: 91.83 kB / 0.8556 GB, free: 7.578 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.372e-05/0.9152, allocations: 16 kB / 0.8556 GB, free: 7.562 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.902e-05/0.9153, allocations: 24 kB / 0.8556 GB, free: 7.539 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.457e-05/0.9153, allocations: 23.92 kB / 0.8556 GB, free: 7.516 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.898e-05/0.9153, allocations: 24.34 kB / 0.8557 GB, free: 7.492 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00146/0.9168, allocations: 0.8541 MB / 0.8565 GB, free: 6.453 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004739/0.9173, allocations: 219.3 kB / 0.8567 GB, free: 6.219 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002223/0.9176, allocations: 27.98 kB / 0.8567 GB, free: 6.191 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007655/0.9183, allocations: 23.98 kB / 0.8567 GB, free: 6.168 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001268/0.9185, allocations: 75.67 kB / 0.8568 GB, free: 6.094 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-05/0.9185, allocations: 27.94 kB / 0.8568 GB, free: 6.066 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002205/0.9208, allocations: 0.9664 MB / 0.8578 GB, free: 5.102 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.082e-06/0.9208, allocations: 0 / 0.8578 GB, free: 5.102 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004492/0.9253, allocations: 485.9 kB / 0.8582 GB, free: 4.625 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (50): * Single equations (assignments): 50 * 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.0005192/0.9259, allocations: 139 kB / 0.8584 GB, free: 4.48 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005076/0.931, allocations: 1.24 MB / 0.8596 GB, free: 3.25 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.678e-05/0.9311, allocations: 1.875 kB / 0.8596 GB, free: 3.25 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009776/0.9321, allocations: 228.6 kB / 0.8598 GB, free: 3.027 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002502/0.9346, allocations: 175.4 kB / 0.86 GB, free: 2.855 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00959/0.9442, allocations: 4.259 MB / 0.8641 GB, free: 14.41 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0024/0.9467, allocations: 1.737 MB / 0.8658 GB, free: 12.64 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002882/0.9496, allocations: 0.6019 MB / 0.8664 GB, free: 12.04 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003132/0.9499, allocations: 95.42 kB / 0.8665 GB, free: 11.94 MB / 458.7 MB Notification: Performance of SimCode: time 1.713e-06/0.95, allocations: 0 / 0.8665 GB, free: 11.94 MB / 458.7 MB Notification: Performance of Templates: time 0.03616/0.9861, allocations: 9.675 MB / 0.876 GB, free: 2.297 MB / 458.7 MB