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.005651/0.005656, allocations: 364.4 kB / 15.96 MB, free: 6.199 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.006/4.006, allocations: 388.9 MB / 405.6 MB, free: 10.33 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.003572/0.003572, allocations: 235.6 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.5413/0.5413, allocations: 80.02 MB / 0.5627 GB, free: 19.86 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007422/0.0007425, allocations: 11.98 kB / 0.6265 GB, free: 96.55 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.114, allocations: 54.88 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.3751/0.4892, allocations: 41.32 MB / 0.7205 GB, free: 11.92 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0244/0.5137, allocations: 8.493 MB / 0.7288 GB, free: 11.72 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009552/0.5233, allocations: 185.5 kB / 0.7289 GB, free: 11.72 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007773/0.5311, allocations: 1.96 MB / 0.7309 GB, free: 11.41 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02375/0.5549, allocations: 6.414 MB / 0.7371 GB, free: 9.766 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004572/0.5595, allocations: 0.6441 MB / 0.7378 GB, free: 9.578 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.006218/0.5658, allocations: 3.106 MB / 0.7408 GB, free: 8.484 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01132/0.5772, allocations: 5.204 MB / 0.7459 GB, free: 6.918 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002647/0.5799, allocations: 0.9435 MB / 0.7468 GB, free: 6.582 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003626/0.5836, allocations: 1.466 MB / 0.7482 GB, free: 6.07 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001002/0.5846, allocations: 132.6 kB / 0.7483 GB, free: 6.07 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003339/0.588, allocations: 0.7225 MB / 0.749 GB, free: 5.891 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002864/0.5909, allocations: 1.362 MB / 0.7504 GB, free: 5.406 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001887/0.5929, allocations: 0.6958 MB / 0.7511 GB, free: 5.238 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008625/0.6015, allocations: 5.021 MB / 0.756 GB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.6016, allocations: 1.422 kB / 0.756 GB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.6016, allocations: 0 / 0.756 GB, free: 2.367 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002698/0.6019, allocations: 1.062 kB / 0.756 GB, free: 2.367 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: 1300 * Number of variables: 1300 Notification: Performance of Generate backend data structure: time 0.01618/0.6181, allocations: 3.787 MB / 0.7597 GB, free: 136 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.6182, allocations: 7.719 kB / 0.7597 GB, free: 136 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004467/0.6226, allocations: 0.4995 MB / 0.7602 GB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006651/0.6293, allocations: 1.739 MB / 0.7619 GB, free: 15.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003233/0.6297, allocations: 241.7 kB / 0.7621 GB, free: 14.89 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002038/0.6318, allocations: 318.1 kB / 0.7624 GB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03464/0.6665, allocations: 9.412 MB / 0.7716 GB, free: 7.25 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001046/0.6666, allocations: 11.88 kB / 0.7716 GB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001382/0.668, allocations: 142.6 kB / 0.7717 GB, free: 7.125 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005314/0.6734, allocations: 1.588 MB / 0.7733 GB, free: 5.543 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03151/0.7049, allocations: 7.654 MB / 0.7808 GB, free: 13.89 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06667/0.7717, allocations: 28.55 MB / 0.8086 GB, free: 0.7969 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01558/0.7873, allocations: 2.485 MB / 0.8111 GB, free: 14.27 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003671/0.791, allocations: 1.306 MB / 0.8123 GB, free: 12.95 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01883/0.8099, allocations: 8.234 MB / 0.8204 GB, free: 4.207 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.547e-05/0.81, allocations: 51.16 kB / 0.8204 GB, free: 4.148 MB / 410.7 MB Notification: Performance of pre-optimization done (n=88): time 3.887e-06/0.81, allocations: 1.75 kB / 0.8204 GB, free: 4.148 MB / 410.7 MB Notification: Performance of matching and sorting (n=107): time 0.04027/0.8503, allocations: 7.878 MB / 0.8281 GB, free: 12.24 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001016/0.8505, allocations: 145.5 kB / 0.8283 GB, free: 12.07 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006765/0.8572, allocations: 2.662 MB / 0.8309 GB, free: 9.391 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003573/0.8577, allocations: 53.7 kB / 0.8309 GB, free: 9.332 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002843/0.8605, allocations: 2.357 MB / 0.8332 GB, free: 6.984 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007819/0.8614, allocations: 427.4 kB / 0.8336 GB, free: 6.57 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005133/0.8619, allocations: 81.2 kB / 0.8337 GB, free: 6.492 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003606/0.8623, allocations: 470.5 kB / 0.8341 GB, free: 6.027 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004167/0.8665, allocations: 1.284 MB / 0.8354 GB, free: 4.742 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006647/0.8732, allocations: 3.614 MB / 0.8389 GB, free: 15.98 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005828/0.879, allocations: 2.032 MB / 0.8409 GB, free: 13.95 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.347e-05/0.8792, allocations: 24 kB / 0.8409 GB, free: 13.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.01483/0.894, allocations: 4.82 MB / 0.8456 GB, free: 9.098 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.534e-05/0.8942, allocations: 43.59 kB / 0.8457 GB, free: 9.059 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000134/0.8943, allocations: 80 kB / 0.8458 GB, free: 8.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001811/0.8945, allocations: 128 kB / 0.8459 GB, free: 8.855 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006676/0.9012, allocations: 0.9714 MB / 0.8468 GB, free: 7.883 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002334/0.9015, allocations: 169 kB / 0.847 GB, free: 7.719 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004704/0.9062, allocations: 207.8 kB / 0.8472 GB, free: 7.516 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008788/0.9071, allocations: 236 kB / 0.8474 GB, free: 7.285 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 374 * 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 (508): * Single equations (assignments): 508 * 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.005036/0.9122, allocations: 1.594 MB / 0.849 GB, free: 5.684 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006965/0.9129, allocations: 233 kB / 0.8492 GB, free: 5.453 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004608/0.9175, allocations: 1.623 MB / 0.8508 GB, free: 3.816 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.07e-05/0.9176, allocations: 7.969 kB / 0.8508 GB, free: 3.809 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.627e-06/0.9176, allocations: 4 kB / 0.8508 GB, free: 3.805 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/0.9186, allocations: 294.1 kB / 0.8511 GB, free: 3.496 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001023/0.9197, allocations: 24 kB / 0.8511 GB, free: 3.473 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002403/0.9221, allocations: 67.91 kB / 0.8512 GB, free: 3.406 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003045/0.9225, allocations: 56.92 kB / 0.8512 GB, free: 3.348 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006613/0.9291, allocations: 1.992 MB / 0.8532 GB, free: 1.367 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.005432/0.9346, allocations: 2.134 MB / 0.8552 GB, free: 15.2 MB / 458.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002136/0.9368, allocations: 0.7808 MB / 0.856 GB, free: 14.43 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004403/0.9412, allocations: 1.656 MB / 0.8576 GB, free: 12.76 MB / 458.7 MB Notification: Performance of Backend: time 1.112e-06/0.9413, allocations: 0 / 0.8576 GB, free: 12.76 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.009069/0.9504, allocations: 2.511 MB / 0.8601 GB, free: 10.27 MB / 458.7 MB Notification: Performance of SimCode: time 0.02071/0.9711, allocations: 8.032 MB / 0.8679 GB, free: 2.199 MB / 458.7 MB Notification: Performance of Templates: time 0.0954/1.067, allocations: 28.03 MB / 0.8953 GB, free: 6.289 MB / 490.7 MB