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.002686/0.00269, allocations: 363.5 kB / 15.96 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 4.083/4.083, allocations: 388.9 MB / 405.6 MB, free: 10.25 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.003699/0.003698, allocations: 233.5 kB / 451 MB, free: 145.1 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.5388/0.5388, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004554/0.0004556, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09841/0.09893, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUPS): time 0.02686/0.1259, allocations: 23.05 MB / 0.7026 GB, free: 18.54 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01259/0.1385, allocations: 4.861 MB / 0.7074 GB, free: 13.66 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004035/0.1426, allocations: 95.81 kB / 0.7074 GB, free: 13.56 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003466/0.1461, allocations: 1.058 MB / 0.7085 GB, free: 12.5 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01087/0.1571, allocations: 3.532 MB / 0.7119 GB, free: 8.953 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002027/0.1591, allocations: 343.4 kB / 0.7123 GB, free: 8.617 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.002678/0.1619, allocations: 1.586 MB / 0.7138 GB, free: 7.027 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003197/0.1651, allocations: 1.69 MB / 0.7155 GB, free: 5.297 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007988/0.166, allocations: 493.9 kB / 0.7159 GB, free: 4.812 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001382/0.1674, allocations: 0.7787 MB / 0.7167 GB, free: 4.031 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003/0.1677, allocations: 64 kB / 0.7167 GB, free: 3.969 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001203/0.1689, allocations: 439.3 kB / 0.7172 GB, free: 3.539 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009091/0.1699, allocations: 0.7168 MB / 0.7179 GB, free: 2.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000418/0.1703, allocations: 364.5 kB / 0.7182 GB, free: 2.457 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.3188/0.4891, allocations: 2.126 MB / 0.7203 GB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.895e-06/0.4892, allocations: 0.9375 kB / 0.7203 GB, free: 15.43 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.216e-06/0.4892, allocations: 0 / 0.7203 GB, free: 15.43 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.564e-05/0.4893, allocations: 0 / 0.7203 GB, free: 15.43 MB / 346.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.007238/0.4966, allocations: 2.116 MB / 0.7224 GB, free: 14.45 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.815e-05/0.4966, allocations: 10.05 kB / 0.7224 GB, free: 14.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002109/0.4988, allocations: 265.2 kB / 0.7226 GB, free: 14.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/0.5014, allocations: 0.8468 MB / 0.7234 GB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001276/0.5016, allocations: 111.9 kB / 0.7236 GB, free: 13.99 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006283/0.5023, allocations: 144.2 kB / 0.7237 GB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01558/0.5178, allocations: 4.995 MB / 0.7286 GB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.624e-05/0.518, allocations: 11.75 kB / 0.7286 GB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002545/0.5182, allocations: 71.27 kB / 0.7286 GB, free: 13.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002947/0.5212, allocations: 0.9932 MB / 0.7296 GB, free: 13.27 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01488/0.5361, allocations: 3.894 MB / 0.7334 GB, free: 13.25 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03346/0.5696, allocations: 16.47 MB / 0.7495 GB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007808/0.5775, allocations: 1.275 MB / 0.7507 GB, free: 5.629 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001938/0.5795, allocations: 0.7936 MB / 0.7515 GB, free: 5.52 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009542/0.5891, allocations: 4.277 MB / 0.7557 GB, free: 3.125 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.5892, allocations: 43.61 kB / 0.7557 GB, free: 3.082 MB / 346.7 MB Notification: Performance of pre-optimization done (n=44): time 4.308e-06/0.5892, allocations: 1.469 kB / 0.7557 GB, free: 3.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=44): time 0.0118/0.601, allocations: 1.957 MB / 0.7577 GB, free: 2.527 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.6011, allocations: 110.4 kB / 0.7578 GB, free: 2.398 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003316/0.6044, allocations: 1.569 MB / 0.7593 GB, free: 1.914 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001575/0.6047, allocations: 35.77 kB / 0.7593 GB, free: 1.883 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.6059, allocations: 1.375 MB / 0.7607 GB, free: 0.8984 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003339/0.6063, allocations: 190 kB / 0.7609 GB, free: 0.7812 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.6065, allocations: 44.81 kB / 0.7609 GB, free: 0.7812 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002488/0.6067, allocations: 453.6 kB / 0.7613 GB, free: 436 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.6081, allocations: 0.5627 MB / 0.7619 GB, free: 252 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002824/0.611, allocations: 2.059 MB / 0.7639 GB, free: 13.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002756/0.6138, allocations: 1.012 MB / 0.7649 GB, free: 12.83 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.792e-05/0.6139, allocations: 19.95 kB / 0.7649 GB, free: 12.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007499/0.6214, allocations: 2.519 MB / 0.7674 GB, free: 10.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.632e-05/0.6216, allocations: 34.88 kB / 0.7674 GB, free: 10.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.943e-05/0.6217, allocations: 56 kB / 0.7674 GB, free: 10.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001201/0.6218, allocations: 76 kB / 0.7675 GB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003304/0.6251, allocations: 0.5459 MB / 0.768 GB, free: 9.953 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001269/0.6253, allocations: 106.1 kB / 0.7681 GB, free: 9.871 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002639/0.6279, allocations: 328.2 kB / 0.7685 GB, free: 9.555 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003565/0.6283, allocations: 136 kB / 0.7686 GB, free: 9.422 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 244 * 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 (295): * Single equations (assignments): 295 * 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.002103/0.6304, allocations: 0.8634 MB / 0.7694 GB, free: 8.602 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003771/0.6308, allocations: 138.2 kB / 0.7696 GB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003953/0.6312, allocations: 153.2 kB / 0.7697 GB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.6313, allocations: 0 / 0.7697 GB, free: 8.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/0.6313, allocations: 4 kB / 0.7697 GB, free: 8.305 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004962/0.6318, allocations: 207.3 kB / 0.7699 GB, free: 8.082 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002633/0.6321, allocations: 16.86 kB / 0.7699 GB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009051/0.633, allocations: 19.98 kB / 0.7699 GB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.01e-05/0.6331, allocations: 23.97 kB / 0.77 GB, free: 8.023 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001699/0.6348, allocations: 0.7623 MB / 0.7707 GB, free: 7.266 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001711/0.6365, allocations: 0.9266 MB / 0.7716 GB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005794/0.6371, allocations: 251.8 kB / 0.7719 GB, free: 6.078 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002378/0.6395, allocations: 0.9581 MB / 0.7728 GB, free: 5.121 MB / 362.7 MB Notification: Performance of Backend: time 1.223e-06/0.6396, allocations: 4 kB / 0.7728 GB, free: 5.117 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00477/0.6444, allocations: 1.285 MB / 0.7741 GB, free: 3.988 MB / 362.7 MB Notification: Performance of SimCode: time 0.01047/0.6549, allocations: 4.428 MB / 0.7784 GB, free: 15.52 MB / 378.7 MB Notification: Performance of Templates: time 0.04817/0.7031, allocations: 13.2 MB / 0.7913 GB, free: 2.445 MB / 378.7 MB