Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP.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.JointSSP,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.|jointSSP.frame_b.r_0.1.|jointSSP.frame_b.r_0.2.|jointSSP.frame_b.r_0.3.|jointSSP.frame_b.f.1.|jointSSP.frame_b.f.2.|jointSSP.frame_b.f.3.|jointSSP.frame_b.t.1.|jointSSP.frame_b.t.2.|jointSSP.frame_b.t.3.|jointSSP.frame_im.r_0.1.|jointSSP.frame_im.r_0.1.|jointSSP.frame_im.r_0.2.|jointSSP.frame_im.r_0.2.|jointSSP.frame_im.r_0.3.|jointSSP.frame_im.r_0.3.|jointSSP.frame_im.f.1.|jointSSP.frame_im.f.1.|jointSSP.frame_im.f.2.|jointSSP.frame_im.f.2.|jointSSP.frame_im.f.3.|jointSSP.frame_im.f.3.|jointSSP.frame_im.t.1.|jointSSP.frame_im.t.1.|jointSSP.frame_im.t.2.|jointSSP.frame_im.t.2.|jointSSP.frame_im.t.3.|jointSSP.frame_im.t.3.|jointSSP.prismatic.frame_b.r_0.1.|jointSSP.prismatic.frame_b.r_0.2.|jointSSP.prismatic.frame_b.r_0.3.|jointSSP.prismatic.frame_b.f.1.|jointSSP.prismatic.frame_b.f.2.|jointSSP.prismatic.frame_b.f.3.|jointSSP.prismatic.frame_b.t.1.|jointSSP.prismatic.frame_b.t.2.|jointSSP.prismatic.frame_b.t.3.|jointSSP.rod1.frame_b.r_0.1.|jointSSP.rod1.frame_b.r_0.2.|jointSSP.rod1.frame_b.r_0.3.|jointSSP.rod1.frame_b.f.1.|jointSSP.rod1.frame_b.f.2.|jointSSP.rod1.frame_b.f.3.|jointSSP.rod1.frame_b.t.1.|jointSSP.rod1.frame_b.t.2.|jointSSP.rod1.frame_b.t.3.|jointSSP.rod2.frame_b.r_0.1.|jointSSP.rod2.frame_b.r_0.2.|jointSSP.rod2.frame_b.r_0.3.|jointSSP.rod2.frame_b.f.1.|jointSSP.rod2.frame_b.f.2.|jointSSP.rod2.frame_b.f.3.|jointSSP.rod2.frame_b.t.1.|jointSSP.rod2.frame_b.t.2.|jointSSP.rod2.frame_b.t.3.|jointSSP.relativePosition.frame_b.r_0.1.|jointSSP.relativePosition.frame_b.r_0.2.|jointSSP.relativePosition.frame_b.r_0.3.|jointSSP.relativePosition.frame_b.f.1.|jointSSP.relativePosition.frame_b.f.2.|jointSSP.relativePosition.frame_b.f.3.|jointSSP.relativePosition.frame_b.t.1.|jointSSP.relativePosition.frame_b.t.2.|jointSSP.relativePosition.frame_b.t.3.|jointSSP.relativePosition.relativePosition.frame_b.r_0.1.|jointSSP.relativePosition.relativePosition.frame_b.r_0.2.|jointSSP.relativePosition.relativePosition.frame_b.r_0.3.|jointSSP.relativePosition.relativePosition.frame_b.f.1.|jointSSP.relativePosition.relativePosition.frame_b.f.2.|jointSSP.relativePosition.relativePosition.frame_b.f.3.|jointSSP.relativePosition.relativePosition.frame_b.t.1.|jointSSP.relativePosition.relativePosition.frame_b.t.2.|jointSSP.relativePosition.relativePosition.frame_b.t.3.|jointSSP.position_b.1..y|jointSSP.position_b.2..y|jointSSP.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSP") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004269/0.004269, allocations: 366.6 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.678/4.678, allocations: 388.9 MB / 405.6 MB, free: 9.629 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.006729/0.006729, allocations: 228.7 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.5657/0.5657, allocations: 80.03 MB / 0.5627 GB, free: 19.75 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006292/0.0006294, allocations: 15.98 kB / 0.6265 GB, free: 96.49 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.102/0.1027, allocations: 54.87 MB / 0.6801 GB, free: 41.62 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointSSP): time 0.03572/0.1385, allocations: 30.15 MB / 0.7095 GB, free: 11.38 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01683/0.1554, allocations: 6.425 MB / 0.7158 GB, free: 4.938 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005785/0.1612, allocations: 131.8 kB / 0.7159 GB, free: 4.809 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004817/0.1661, allocations: 1.423 MB / 0.7173 GB, free: 3.379 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.352/0.5182, allocations: 4.648 MB / 0.7219 GB, free: 13.29 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.5222, allocations: 407.7 kB / 0.7223 GB, free: 13.27 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005756/0.528, allocations: 2.16 MB / 0.7244 GB, free: 13.27 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01122/0.5393, allocations: 4.042 MB / 0.7283 GB, free: 12.83 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002318/0.5417, allocations: 0.6626 MB / 0.729 GB, free: 12.83 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003237/0.545, allocations: 1.036 MB / 0.73 GB, free: 12.83 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006688/0.5457, allocations: 91.16 kB / 0.7301 GB, free: 12.83 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002404/0.5481, allocations: 0.5258 MB / 0.7306 GB, free: 12.82 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002389/0.5506, allocations: 0.9723 MB / 0.7315 GB, free: 12.82 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001202/0.5518, allocations: 0.5089 MB / 0.732 GB, free: 12.79 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008336/0.5602, allocations: 3.687 MB / 0.7356 GB, free: 12.23 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.5603, allocations: 0.6562 kB / 0.7356 GB, free: 12.23 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.409e-06/0.5603, allocations: 1.188 kB / 0.7356 GB, free: 12.23 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001463/0.5605, allocations: 0 / 0.7356 GB, free: 12.23 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: 894 * Number of variables: 894 Notification: Performance of Generate backend data structure: time 0.009592/0.5701, allocations: 2.43 MB / 0.738 GB, free: 10.67 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.264e-05/0.5702, allocations: 8.438 kB / 0.738 GB, free: 10.67 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003025/0.5732, allocations: 360.3 kB / 0.7383 GB, free: 10.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004229/0.5774, allocations: 1.231 MB / 0.7396 GB, free: 9.961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002236/0.5777, allocations: 175.4 kB / 0.7397 GB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000846/0.5786, allocations: 228 kB / 0.7399 GB, free: 9.953 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02534/0.6039, allocations: 6.119 MB / 0.7459 GB, free: 8.172 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001199/0.6041, allocations: 15.34 kB / 0.7459 GB, free: 8.172 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004928/0.6046, allocations: 99.92 kB / 0.746 GB, free: 8.172 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003517/0.6082, allocations: 0.9608 MB / 0.747 GB, free: 7.988 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03365/0.6418, allocations: 4.578 MB / 0.7514 GB, free: 7.109 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04743/0.6893, allocations: 18.58 MB / 0.7696 GB, free: 8.855 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01118/0.7006, allocations: 1.356 MB / 0.7709 GB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/0.7027, allocations: 420.3 kB / 0.7713 GB, free: 7.051 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003859/0.7066, allocations: 2.059 MB / 0.7733 GB, free: 4.668 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.909e-05/0.7067, allocations: 44.77 kB / 0.7733 GB, free: 4.617 MB / 362.7 MB Notification: Performance of pre-optimization done (n=69): time 5.59e-06/0.7067, allocations: 0 / 0.7733 GB, free: 4.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=117): time 0.05764/0.7644, allocations: 6.107 MB / 0.7793 GB, free: 14.52 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.329e-05/0.7645, allocations: 90.11 kB / 0.7794 GB, free: 14.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005844/0.7704, allocations: 1.804 MB / 0.7812 GB, free: 12.61 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002933/0.7708, allocations: 45.7 kB / 0.7812 GB, free: 12.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002424/0.7732, allocations: 1.625 MB / 0.7828 GB, free: 10.94 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008058/0.7741, allocations: 436.3 kB / 0.7832 GB, free: 10.52 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002825/0.7744, allocations: 56 kB / 0.7833 GB, free: 10.46 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003712/0.7748, allocations: 427.7 kB / 0.7837 GB, free: 10.04 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003278/0.778, allocations: 0.8058 MB / 0.7845 GB, free: 9.23 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007609/0.7857, allocations: 2.329 MB / 0.7867 GB, free: 6.156 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00929/0.7951, allocations: 1.342 MB / 0.788 GB, free: 4.812 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.589e-05/0.7952, allocations: 16 kB / 0.7881 GB, free: 4.797 MB / 378.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.008927/0.8041, allocations: 3.135 MB / 0.7911 GB, free: 1.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.685e-05/0.8042, allocations: 32.03 kB / 0.7911 GB, free: 1.629 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.39e-05/0.8043, allocations: 59.98 kB / 0.7912 GB, free: 1.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001225/0.8045, allocations: 80 kB / 0.7913 GB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004068/0.8085, allocations: 0.6356 MB / 0.7919 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001267/0.8087, allocations: 107.6 kB / 0.792 GB, free: 0.75 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002482/0.8112, allocations: 123.8 kB / 0.7921 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003431/0.8116, allocations: 164 kB / 0.7923 GB, free: 480 kB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 243 * Number of states: 0 () * Number of discrete variables: 31 (jointSSP.prismatic.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSP.rod1Color[3],jointSSP.rod1Color[2],jointSSP.rod1Color[1],jointSSP.rod1.massColor[3],jointSSP.rod1.massColor[2],jointSSP.rod1.massColor[1],jointSSP.sphereColor[3],jointSSP.sphereColor[2],jointSSP.sphereColor[1],jointSSP.boxColor[3],jointSSP.boxColor[2],jointSSP.boxColor[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 (359): * Single equations (assignments): 359 * 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.003175/0.8147, allocations: 1.187 MB / 0.7934 GB, free: 15.27 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004875/0.8152, allocations: 169.8 kB / 0.7936 GB, free: 15.1 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003777/0.819, allocations: 1.329 MB / 0.7949 GB, free: 13.76 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/0.8191, allocations: 7.969 kB / 0.7949 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.8191, allocations: 0 / 0.7949 GB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006473/0.8198, allocations: 238.8 kB / 0.7951 GB, free: 13.5 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003389/0.8201, allocations: 20 kB / 0.7952 GB, free: 13.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009692/0.8211, allocations: 27.92 kB / 0.7952 GB, free: 13.45 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.8213, allocations: 68.86 kB / 0.7952 GB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003894/0.8252, allocations: 1.379 MB / 0.7966 GB, free: 12.02 MB / 394.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0035/0.8287, allocations: 1.489 MB / 0.798 GB, free: 10.51 MB / 394.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001366/0.8302, allocations: 0.5427 MB / 0.7986 GB, free: 9.965 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.003045/0.8332, allocations: 1.139 MB / 0.7997 GB, free: 8.832 MB / 394.7 MB Notification: Performance of Backend: time 1.202e-06/0.8333, allocations: 0 / 0.7997 GB, free: 8.832 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00597/0.8393, allocations: 1.664 MB / 0.8013 GB, free: 7.18 MB / 394.7 MB Notification: Performance of SimCode: time 0.01479/0.8541, allocations: 5.999 MB / 0.8072 GB, free: 1.133 MB / 394.7 MB Notification: Performance of Templates: time 0.06712/0.9213, allocations: 18.77 MB / 0.8255 GB, free: 14.48 MB / 426.7 MB