Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUPS.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.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.1_ModelicaTest.MultiBody.Joints.JointUPS") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.003542/0.003542, allocations: 346.8 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.701/3.701, allocations: 341.5 MB / 358.2 MB, free: 12.61 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.003575/0.003575, allocations: 218.1 kB / 397.9 MB, free: 4.961 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.5266/0.5266, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.0004652, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09093/0.09141, allocations: 48.71 MB / 0.6067 GB, free: 4.633 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4214/0.5128, allocations: 85.59 MB / 0.6903 GB, free: 27.1 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003573/0.5133, allocations: 75.97 kB / 0.6904 GB, free: 27.03 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1501/0.6634, allocations: 34.4 MB / 0.724 GB, free: 8.867 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.298e-06/0.6635, allocations: 8 kB / 0.724 GB, free: 8.859 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.962e-05/0.6636, allocations: 35.98 kB / 0.724 GB, free: 8.824 MB / 378.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.008187/0.6718, allocations: 2.189 MB / 0.7262 GB, free: 6.582 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.822e-05/0.6718, allocations: 17.09 kB / 0.7262 GB, free: 6.566 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003411/0.6753, allocations: 382.4 kB / 0.7266 GB, free: 6.191 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004251/0.6796, allocations: 1.139 MB / 0.7277 GB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/0.6799, allocations: 151.8 kB / 0.7278 GB, free: 4.859 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001046/0.6809, allocations: 188 kB / 0.728 GB, free: 4.676 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01629/0.6972, allocations: 4.765 MB / 0.7327 GB, free: 15.65 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.771e-05/0.6973, allocations: 7.938 kB / 0.7327 GB, free: 15.64 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003957/0.6977, allocations: 91.94 kB / 0.7327 GB, free: 15.55 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001649/0.6994, allocations: 0.5228 MB / 0.7333 GB, free: 15.03 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01422/0.7137, allocations: 3.78 MB / 0.737 GB, free: 11.24 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03509/0.7488, allocations: 16.57 MB / 0.7531 GB, free: 10.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007601/0.7565, allocations: 1.27 MB / 0.7544 GB, free: 8.938 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001668/0.7582, allocations: 0.7105 MB / 0.7551 GB, free: 8.219 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008761/0.767, allocations: 4.023 MB / 0.759 GB, free: 3.938 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.136e-05/0.7671, allocations: 42.31 kB / 0.759 GB, free: 3.887 MB / 410.7 MB Notification: Performance of pre-optimization done (n=41): time 3.126e-06/0.7671, allocations: 4 kB / 0.759 GB, free: 3.883 MB / 410.7 MB Notification: Performance of matching and sorting (n=41): time 0.01115/0.7782, allocations: 1.783 MB / 0.7608 GB, free: 2.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.965e-05/0.7784, allocations: 110.8 kB / 0.7609 GB, free: 1.957 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003384/0.7817, allocations: 1.563 MB / 0.7624 GB, free: 392 kB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.7819, allocations: 33.95 kB / 0.7624 GB, free: 352 kB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2748/1.057, allocations: 1.393 MB / 0.7638 GB, free: 107.8 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002885/1.057, allocations: 179.4 kB / 0.764 GB, free: 107.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/1.057, allocations: 46.44 kB / 0.764 GB, free: 107.8 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0003224/1.058, allocations: 451.9 kB / 0.7644 GB, free: 107.5 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00138/1.059, allocations: 0.4999 MB / 0.7649 GB, free: 107.5 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002384/1.061, allocations: 2.031 MB / 0.7669 GB, free: 105.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/1.064, allocations: 0.9609 MB / 0.7679 GB, free: 105.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001115/1.064, allocations: 15.75 kB / 0.7679 GB, free: 105.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=292) (initialization): time 0.007749/1.072, allocations: 2.41 MB / 0.7702 GB, free: 105.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.618e-05/1.072, allocations: 28.22 kB / 0.7703 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001083/1.072, allocations: 60.31 kB / 0.7703 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001348/1.072, allocations: 82.97 kB / 0.7704 GB, free: 105.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003235/1.076, allocations: 0.5345 MB / 0.7709 GB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001497/1.076, allocations: 110.6 kB / 0.771 GB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00259/1.078, allocations: 329.2 kB / 0.7713 GB, free: 105.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004842/1.079, allocations: 143.7 kB / 0.7715 GB, free: 105.1 MB / 410.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.002392/1.081, allocations: 0.8614 MB / 0.7723 GB, free: 104.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000361/1.082, allocations: 134 kB / 0.7724 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004123/1.082, allocations: 152.3 kB / 0.7726 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.082, allocations: 4.219 kB / 0.7726 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.026e-05/1.082, allocations: 9.266 kB / 0.7726 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.668e-06/1.082, allocations: 2.828 kB / 0.7726 GB, free: 104.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007125/1.089, allocations: 3.222 MB / 0.7757 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.845e-05/1.089, allocations: 11.62 kB / 0.7758 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005989/1.09, allocations: 95.42 kB / 0.7758 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.7e-05/1.09, allocations: 27.42 kB / 0.7759 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.88e-05/1.09, allocations: 23.88 kB / 0.7759 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.518e-05/1.09, allocations: 24.77 kB / 0.7759 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.681e-05/1.09, allocations: 17.06 kB / 0.7759 GB, free: 103.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001321/1.091, allocations: 0.8499 MB / 0.7768 GB, free: 103.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000448/1.092, allocations: 226.7 kB / 0.777 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002197/1.092, allocations: 30.06 kB / 0.777 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007686/1.093, allocations: 24.23 kB / 0.777 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/1.093, allocations: 66.25 kB / 0.7771 GB, free: 103 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.787e-05/1.093, allocations: 30.16 kB / 0.7771 GB, free: 103 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002176/1.095, allocations: 0.9604 MB / 0.7781 GB, free: 102.9 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.32e-07/1.095, allocations: 3.5 kB / 0.7781 GB, free: 102.9 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003368/1.099, allocations: 488.3 kB / 0.7785 GB, free: 102.8 MB / 410.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.0003096/1.099, allocations: 141.1 kB / 0.7787 GB, free: 102.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003472/1.103, allocations: 1.236 MB / 0.7799 GB, free: 102.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.087e-05/1.103, allocations: 2.688 kB / 0.7799 GB, free: 102.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006166/1.103, allocations: 224.2 kB / 0.7801 GB, free: 102.5 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001658/1.105, allocations: 173.5 kB / 0.7803 GB, free: 102.5 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/1.119, allocations: 4.264 MB / 0.7844 GB, free: 100.2 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004214/1.123, allocations: 1.736 MB / 0.7861 GB, free: 99.48 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003854/1.127, allocations: 0.606 MB / 0.7867 GB, free: 99.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003374/1.127, allocations: 94.81 kB / 0.7868 GB, free: 99.41 MB / 410.7 MB Notification: Performance of SimCode: time 1.183e-06/1.127, allocations: 0 / 0.7868 GB, free: 99.41 MB / 410.7 MB Notification: Performance of Templates: time 0.03549/1.163, allocations: 9.675 MB / 0.7962 GB, free: 98.92 MB / 410.7 MB