Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP.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.JointUSP,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.|jointUSP.frame_b.r_0.1.|jointUSP.frame_b.r_0.2.|jointUSP.frame_b.r_0.3.|jointUSP.frame_b.f.1.|jointUSP.frame_b.f.2.|jointUSP.frame_b.f.3.|jointUSP.frame_b.t.1.|jointUSP.frame_b.t.2.|jointUSP.frame_b.t.3.|jointUSP.frame_ia.r_0.1.|jointUSP.frame_ia.r_0.2.|jointUSP.frame_ia.r_0.3.|jointUSP.frame_ia.f.1.|jointUSP.frame_ia.f.2.|jointUSP.frame_ia.f.3.|jointUSP.frame_ia.t.1.|jointUSP.frame_ia.t.2.|jointUSP.frame_ia.t.3.|jointUSP.frame_im.r_0.1.|jointUSP.frame_im.r_0.1.|jointUSP.frame_im.r_0.2.|jointUSP.frame_im.r_0.2.|jointUSP.frame_im.r_0.3.|jointUSP.frame_im.r_0.3.|jointUSP.frame_im.f.1.|jointUSP.frame_im.f.1.|jointUSP.frame_im.f.2.|jointUSP.frame_im.f.2.|jointUSP.frame_im.f.3.|jointUSP.frame_im.f.3.|jointUSP.frame_im.t.1.|jointUSP.frame_im.t.1.|jointUSP.frame_im.t.2.|jointUSP.frame_im.t.2.|jointUSP.frame_im.t.3.|jointUSP.frame_im.t.3.|jointUSP.prismatic.frame_b.r_0.1.|jointUSP.prismatic.frame_b.r_0.2.|jointUSP.prismatic.frame_b.r_0.3.|jointUSP.prismatic.frame_b.f.1.|jointUSP.prismatic.frame_b.f.2.|jointUSP.prismatic.frame_b.f.3.|jointUSP.prismatic.frame_b.t.1.|jointUSP.prismatic.frame_b.t.2.|jointUSP.prismatic.frame_b.t.3.|jointUSP.rod1.frame_b.r_0.1.|jointUSP.rod1.frame_b.r_0.2.|jointUSP.rod1.frame_b.r_0.3.|jointUSP.rod1.frame_b.f.1.|jointUSP.rod1.frame_b.f.2.|jointUSP.rod1.frame_b.f.3.|jointUSP.rod1.frame_b.t.1.|jointUSP.rod1.frame_b.t.2.|jointUSP.rod1.frame_b.t.3.|jointUSP.rod1.frame_ia.r_0.1.|jointUSP.rod1.frame_ia.r_0.2.|jointUSP.rod1.frame_ia.r_0.3.|jointUSP.rod1.frame_ia.f.1.|jointUSP.rod1.frame_ia.f.2.|jointUSP.rod1.frame_ia.f.3.|jointUSP.rod1.frame_ia.t.1.|jointUSP.rod1.frame_ia.t.2.|jointUSP.rod1.frame_ia.t.3.|jointUSP.rod2.frame_b.r_0.1.|jointUSP.rod2.frame_b.r_0.2.|jointUSP.rod2.frame_b.r_0.3.|jointUSP.rod2.frame_b.f.1.|jointUSP.rod2.frame_b.f.2.|jointUSP.rod2.frame_b.f.3.|jointUSP.rod2.frame_b.t.1.|jointUSP.rod2.frame_b.t.2.|jointUSP.rod2.frame_b.t.3.|jointUSP.relativePosition.frame_b.r_0.1.|jointUSP.relativePosition.frame_b.r_0.2.|jointUSP.relativePosition.frame_b.r_0.3.|jointUSP.relativePosition.frame_b.f.1.|jointUSP.relativePosition.frame_b.f.2.|jointUSP.relativePosition.frame_b.f.3.|jointUSP.relativePosition.frame_b.t.1.|jointUSP.relativePosition.frame_b.t.2.|jointUSP.relativePosition.frame_b.t.3.|jointUSP.relativePosition.relativePosition.frame_b.r_0.1.|jointUSP.relativePosition.relativePosition.frame_b.r_0.2.|jointUSP.relativePosition.relativePosition.frame_b.r_0.3.|jointUSP.relativePosition.relativePosition.frame_b.f.1.|jointUSP.relativePosition.relativePosition.frame_b.f.2.|jointUSP.relativePosition.relativePosition.frame_b.f.3.|jointUSP.relativePosition.relativePosition.frame_b.t.1.|jointUSP.relativePosition.relativePosition.frame_b.t.2.|jointUSP.relativePosition.relativePosition.frame_b.t.3.|jointUSP.position_b.1..y|jointUSP.position_b.2..y|jointUSP.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004465/0.004471, allocations: 371.5 kB / 15.97 MB, free: 6.195 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.213/4.213, 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.003553/0.003552, allocations: 235.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.5197/0.5197, allocations: 80.03 MB / 0.5627 GB, free: 19.84 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004973/0.0004976, allocations: 16.75 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1064/0.1069, allocations: 54.88 MB / 0.6801 GB, free: 41.65 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.JointUSP): time 0.3985/0.5055, allocations: 41.29 MB / 0.7204 GB, free: 11.91 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.02275/0.5283, allocations: 8.32 MB / 0.7286 GB, free: 11.72 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009515/0.5379, allocations: 184.3 kB / 0.7287 GB, free: 11.72 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00767/0.5456, allocations: 1.959 MB / 0.7307 GB, free: 11.43 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02429/0.5699, allocations: 6.422 MB / 0.7369 GB, free: 9.812 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004164/0.5742, allocations: 0.5263 MB / 0.7374 GB, free: 9.656 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005317/0.5795, allocations: 3.029 MB / 0.7404 GB, free: 8.578 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01011/0.5897, allocations: 5.186 MB / 0.7455 GB, free: 7.023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002269/0.592, allocations: 0.9148 MB / 0.7464 GB, free: 6.691 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003072/0.5951, allocations: 1.421 MB / 0.7477 GB, free: 6.207 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008024/0.596, allocations: 130.3 kB / 0.7479 GB, free: 6.207 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002236/0.5982, allocations: 0.5648 MB / 0.7484 GB, free: 6.078 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002366/0.6006, allocations: 1.357 MB / 0.7497 GB, free: 5.594 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001276/0.602, allocations: 0.6963 MB / 0.7504 GB, free: 5.426 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007266/0.6093, allocations: 4.9 MB / 0.7552 GB, free: 2.617 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.6093, allocations: 5.375 kB / 0.7552 GB, free: 2.613 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6093, allocations: 0 / 0.7552 GB, free: 2.613 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002845/0.6096, allocations: 3.938 kB / 0.7552 GB, free: 2.609 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: 1289 * Number of variables: 1289 Notification: Performance of Generate backend data structure: time 0.01273/0.6224, allocations: 3.551 MB / 0.7587 GB, free: 480 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.083e-05/0.6224, allocations: 7.156 kB / 0.7587 GB, free: 480 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003872/0.6263, allocations: 0.4964 MB / 0.7592 GB, free: 196 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00579/0.6322, allocations: 1.709 MB / 0.7608 GB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000247/0.6325, allocations: 236.1 kB / 0.7611 GB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001571/0.634, allocations: 313.6 kB / 0.7614 GB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02981/0.6639, allocations: 8.823 MB / 0.77 GB, free: 8.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001004/0.664, allocations: 15.81 kB / 0.77 GB, free: 8.734 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008886/0.6649, allocations: 138.7 kB / 0.7701 GB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00493/0.6699, allocations: 1.565 MB / 0.7717 GB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02703/0.697, allocations: 6.846 MB / 0.7783 GB, free: 296 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06106/0.7581, allocations: 26.87 MB / 0.8046 GB, free: 4.875 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01235/0.7705, allocations: 2.096 MB / 0.8066 GB, free: 2.742 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003242/0.7738, allocations: 1.048 MB / 0.8077 GB, free: 1.684 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01599/0.7898, allocations: 6.845 MB / 0.8143 GB, free: 10.35 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.528e-05/0.7899, allocations: 47.16 kB / 0.8144 GB, free: 10.3 MB / 410.7 MB Notification: Performance of pre-optimization done (n=84): time 4.078e-06/0.79, allocations: 0 / 0.8144 GB, free: 10.3 MB / 410.7 MB Notification: Performance of matching and sorting (n=106): time 0.03249/0.8225, allocations: 6.833 MB / 0.8211 GB, free: 3.438 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.991e-05/0.8226, allocations: 146.9 kB / 0.8212 GB, free: 3.262 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006038/0.8287, allocations: 2.52 MB / 0.8237 GB, free: 0.7227 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002953/0.829, allocations: 45.7 kB / 0.8237 GB, free: 0.6719 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002659/0.8317, allocations: 2.337 MB / 0.826 GB, free: 14.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007388/0.8325, allocations: 425.4 kB / 0.8264 GB, free: 13.93 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004347/0.8329, allocations: 76 kB / 0.8265 GB, free: 13.86 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003698/0.8333, allocations: 467.6 kB / 0.8269 GB, free: 13.39 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003808/0.8371, allocations: 1.124 MB / 0.828 GB, free: 12.27 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005983/0.8432, allocations: 3.357 MB / 0.8313 GB, free: 7.812 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005241/0.8485, allocations: 1.856 MB / 0.8331 GB, free: 5.957 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.523e-05/0.8486, allocations: 24 kB / 0.8331 GB, free: 5.934 MB / 426.7 MB Notification: Performance of matching and sorting (n=492) (initialization): time 0.0138/0.8624, allocations: 4.414 MB / 0.8374 GB, free: 1.516 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.301e-05/0.8625, allocations: 40 kB / 0.8375 GB, free: 1.477 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/0.8627, allocations: 76 kB / 0.8375 GB, free: 1.402 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00017/0.8628, allocations: 116 kB / 0.8377 GB, free: 1.289 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005948/0.8688, allocations: 0.9241 MB / 0.8386 GB, free: 372 kB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002045/0.8691, allocations: 155.7 kB / 0.8387 GB, free: 216 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003956/0.873, allocations: 187.8 kB / 0.8389 GB, free: 28 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007045/0.8738, allocations: 232 kB / 0.8391 GB, free: 15.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 359 * Number of states: 0 () * Number of discrete variables: 37 (jointUSP.prismatic.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],jointUSP.rod1Color[3],jointUSP.rod1Color[2],jointUSP.rod1Color[1],jointUSP.cylinderColor[3],jointUSP.cylinderColor[2],jointUSP.cylinderColor[1],jointUSP.sphereColor[3],jointUSP.sphereColor[2],jointUSP.sphereColor[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 (492): * Single equations (assignments): 492 * 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.004276/0.8781, allocations: 1.575 MB / 0.8406 GB, free: 14.21 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006298/0.8787, allocations: 221.5 kB / 0.8409 GB, free: 14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003657/0.8824, allocations: 1.317 MB / 0.8421 GB, free: 12.67 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-05/0.8825, allocations: 11.95 kB / 0.8422 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.8825, allocations: 0 / 0.8422 GB, free: 12.66 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009462/0.8834, allocations: 290.2 kB / 0.8424 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000528/0.884, allocations: 16 kB / 0.8424 GB, free: 12.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/0.8856, allocations: 47.95 kB / 0.8425 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001772/0.8858, allocations: 68.86 kB / 0.8426 GB, free: 12.22 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005087/0.8909, allocations: 1.675 MB / 0.8442 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.004672/0.8956, allocations: 1.849 MB / 0.846 GB, free: 8.684 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001743/0.8974, allocations: 0.6221 MB / 0.8466 GB, free: 8.066 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003998/0.9014, allocations: 1.551 MB / 0.8481 GB, free: 6.504 MB / 442.7 MB Notification: Performance of Backend: time 1.152e-06/0.9015, allocations: 0 / 0.8481 GB, free: 6.504 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008229/0.9097, allocations: 2.26 MB / 0.8503 GB, free: 4.262 MB / 442.7 MB Notification: Performance of SimCode: time 0.02005/0.9298, allocations: 8.007 MB / 0.8581 GB, free: 12.21 MB / 458.7 MB Notification: Performance of Templates: time 0.08718/1.017, allocations: 24.67 MB / 0.8822 GB, free: 3.637 MB / 474.7 MB