Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSR.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.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.1_ModelicaTest.MultiBody.Joints.JointUSR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002655/0.002655, allocations: 349.8 kB / 15.95 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.359/3.359, allocations: 341.5 MB / 358.2 MB, free: 12.65 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.005079/0.005079, allocations: 221.1 kB / 397.9 MB, free: 4.98 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.4981/0.4981, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006501/0.0006502, allocations: 8 kB / 0.5592 GB, free: 53.46 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09453/0.09521, allocations: 48.71 MB / 0.6068 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSR): time 0.3282/0.4235, allocations: 41.33 MB / 0.6471 GB, free: 65.73 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.02446/0.448, allocations: 8.478 MB / 0.6554 GB, free: 60.01 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01217/0.4603, allocations: 182.7 kB / 0.6556 GB, free: 59.98 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01089/0.4712, allocations: 1.965 MB / 0.6575 GB, free: 59.33 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02239/0.4937, allocations: 6.412 MB / 0.6637 GB, free: 54.43 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004358/0.4981, allocations: 0.6474 MB / 0.6644 GB, free: 53.78 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.005019/0.5032, allocations: 3.101 MB / 0.6674 GB, free: 50.68 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009546/0.5128, allocations: 5.222 MB / 0.6725 GB, free: 45.52 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00227/0.5151, allocations: 0.9416 MB / 0.6734 GB, free: 44.58 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003005/0.5182, allocations: 1.452 MB / 0.6748 GB, free: 43.12 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007224/0.5189, allocations: 132 kB / 0.675 GB, free: 42.99 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00249/0.5214, allocations: 0.7217 MB / 0.6757 GB, free: 42.27 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002207/0.5237, allocations: 1.363 MB / 0.677 GB, free: 40.9 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.5251, allocations: 0.7026 MB / 0.6777 GB, free: 40.19 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0068/0.5319, allocations: 5.026 MB / 0.6826 GB, free: 35.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.532, allocations: 0 / 0.6826 GB, free: 35.15 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.557e-06/0.532, allocations: 0 / 0.6826 GB, free: 35.15 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002118/0.5323, allocations: 3.281 kB / 0.6826 GB, free: 35.15 MB / 362.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.01568/0.5479, allocations: 3.783 MB / 0.6863 GB, free: 31.3 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.194e-05/0.548, allocations: 8.031 kB / 0.6863 GB, free: 31.3 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003661/0.5517, allocations: 0.5138 MB / 0.6868 GB, free: 30.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005187/0.5569, allocations: 1.731 MB / 0.6885 GB, free: 29 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000226/0.5572, allocations: 242.1 kB / 0.6887 GB, free: 28.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001333/0.5585, allocations: 315.7 kB / 0.689 GB, free: 28.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03908/0.5977, allocations: 9.414 MB / 0.6982 GB, free: 18.68 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001466/0.5979, allocations: 11.88 kB / 0.6982 GB, free: 18.67 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001365/0.5993, allocations: 143.8 kB / 0.6984 GB, free: 18.53 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006667/0.606, allocations: 1.592 MB / 0.6999 GB, free: 16.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04082/0.6469, allocations: 7.653 MB / 0.7074 GB, free: 9.277 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08717/0.7341, allocations: 28.52 MB / 0.7353 GB, free: 12.11 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03303/0.7672, allocations: 2.49 MB / 0.7377 GB, free: 9.586 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004687/0.772, allocations: 1.31 MB / 0.739 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02457/0.7966, allocations: 8.231 MB / 0.747 GB, free: 15.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.637e-05/0.7967, allocations: 43.22 kB / 0.747 GB, free: 15.4 MB / 410.7 MB Notification: Performance of pre-optimization done (n=88): time 1.857e-05/0.7968, allocations: 0 / 0.747 GB, free: 15.4 MB / 410.7 MB Notification: Performance of matching and sorting (n=107): time 0.04514/0.8419, allocations: 7.887 MB / 0.7547 GB, free: 7.469 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.988e-05/0.8421, allocations: 145.5 kB / 0.7549 GB, free: 7.297 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006372/0.8484, allocations: 2.673 MB / 0.7575 GB, free: 4.605 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003095/0.8488, allocations: 41.7 kB / 0.7575 GB, free: 4.559 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002734/0.8515, allocations: 2.359 MB / 0.7598 GB, free: 2.168 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000793/0.8524, allocations: 426.7 kB / 0.7602 GB, free: 1.746 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004601/0.8529, allocations: 84.06 kB / 0.7603 GB, free: 1.664 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0004299/0.8533, allocations: 470.5 kB / 0.7608 GB, free: 1.199 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2943/1.148, allocations: 1.282 MB / 0.762 GB, free: 123.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007461/1.155, allocations: 3.61 MB / 0.7656 GB, free: 120.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00561/1.161, allocations: 2.035 MB / 0.7675 GB, free: 120 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001346/1.161, allocations: 23.38 kB / 0.7676 GB, free: 120 MB / 410.7 MB Notification: Performance of matching and sorting (n=508) (initialization): time 0.01459/1.176, allocations: 4.812 MB / 0.7723 GB, free: 118.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001096/1.176, allocations: 40.66 kB / 0.7723 GB, free: 118.7 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001444/1.176, allocations: 82.88 kB / 0.7724 GB, free: 118.7 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001929/1.176, allocations: 124.5 kB / 0.7725 GB, free: 118.7 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006679/1.183, allocations: 0.9777 MB / 0.7735 GB, free: 118.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000238/1.183, allocations: 157.7 kB / 0.7736 GB, free: 118.6 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004508/1.188, allocations: 210.5 kB / 0.7738 GB, free: 118.5 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008791/1.189, allocations: 246 kB / 0.774 GB, free: 118.5 MB / 410.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.004734/1.193, allocations: 1.602 MB / 0.7756 GB, free: 117.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006839/1.194, allocations: 231.5 kB / 0.7758 GB, free: 117.7 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004515/1.199, allocations: 1.625 MB / 0.7774 GB, free: 117 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.344e-05/1.199, allocations: 6.391 kB / 0.7774 GB, free: 117 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.186e-06/1.199, allocations: 5 kB / 0.7774 GB, free: 117 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007732/1.2, allocations: 298.3 kB / 0.7777 GB, free: 116.9 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009238/1.2, allocations: 25.3 kB / 0.7777 GB, free: 116.9 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002356/1.203, allocations: 64.05 kB / 0.7778 GB, free: 116.9 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003029/1.203, allocations: 59.86 kB / 0.7779 GB, free: 116.9 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005907/1.209, allocations: 1.987 MB / 0.7798 GB, free: 115.9 MB / 410.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004862/1.214, allocations: 2.137 MB / 0.7819 GB, free: 114.9 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002001/1.216, allocations: 0.7822 MB / 0.7826 GB, free: 114.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00384/1.22, allocations: 1.659 MB / 0.7843 GB, free: 114 MB / 410.7 MB Notification: Performance of Backend: time 9.81e-07/1.22, allocations: 4.109 kB / 0.7843 GB, free: 114 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.00832/1.228, allocations: 2.499 MB / 0.7867 GB, free: 113 MB / 410.7 MB Notification: Performance of SimCode: time 0.01721/1.246, allocations: 8.033 MB / 0.7946 GB, free: 108.5 MB / 410.7 MB Notification: Performance of Templates: time 0.07933/1.325, allocations: 28.03 MB / 0.8219 GB, free: 86.38 MB / 410.7 MB