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.003197/0.003201, allocations: 363.1 kB / 15.95 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.446/4.446, allocations: 388.9 MB / 405.6 MB, free: 9.664 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.003714/0.003714, allocations: 229.6 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.5304/0.5304, allocations: 80.02 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004994/0.0004997, allocations: 12.88 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1137, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4907/0.6045, allocations: 99 MB / 0.7768 GB, free: 2.473 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000307/0.6048, allocations: 85.58 kB / 0.7769 GB, free: 2.43 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2309/0.8357, allocations: 54.26 MB / 0.8298 GB, free: 3.957 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.076e-06/0.8358, allocations: 0 / 0.8298 GB, free: 3.957 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001809/0.836, allocations: 56 kB / 0.8299 GB, free: 3.902 MB / 410.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.01008/0.8461, allocations: 2.483 MB / 0.8323 GB, free: 1.398 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.8461, allocations: 8.031 kB / 0.8323 GB, free: 1.391 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004389/0.8505, allocations: 487.7 kB / 0.8328 GB, free: 0.9102 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005682/0.8563, allocations: 1.505 MB / 0.8343 GB, free: 15.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003718/0.8567, allocations: 217.6 kB / 0.8345 GB, free: 15.15 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001519/0.8582, allocations: 287.9 kB / 0.8347 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02234/0.8806, allocations: 5.924 MB / 0.8405 GB, free: 8.617 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001218/0.8808, allocations: 23.8 kB / 0.8405 GB, free: 8.594 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005963/0.8814, allocations: 128 kB / 0.8407 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001394/0.8828, allocations: 480.1 kB / 0.8411 GB, free: 7.996 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01911/0.9019, allocations: 4.485 MB / 0.8455 GB, free: 3.504 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04028/0.9423, allocations: 19.83 MB / 0.8649 GB, free: 15.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007449/0.9498, allocations: 1.247 MB / 0.8661 GB, free: 13.85 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001083/0.951, allocations: 387.2 kB / 0.8665 GB, free: 13.46 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002573/0.9535, allocations: 2.058 MB / 0.8685 GB, free: 11.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.967e-05/0.9536, allocations: 47 kB / 0.8685 GB, free: 11.02 MB / 458.7 MB Notification: Performance of pre-optimization done (n=66): time 3.276e-06/0.9536, allocations: 0 / 0.8685 GB, free: 11.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=110): time 0.04123/0.9949, allocations: 5.974 MB / 0.8743 GB, free: 5.023 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001053/0.995, allocations: 86.11 kB / 0.8744 GB, free: 4.922 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003793/0.9989, allocations: 1.788 MB / 0.8762 GB, free: 3.129 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002743/0.9992, allocations: 45.7 kB / 0.8762 GB, free: 3.078 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001647/1.001, allocations: 1.644 MB / 0.8778 GB, free: 1.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005883/1.001, allocations: 410.5 kB / 0.8782 GB, free: 1.004 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000197/1.002, allocations: 56 kB / 0.8783 GB, free: 0.9492 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002818/1.002, allocations: 431.7 kB / 0.8787 GB, free: 0.5234 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002233/1.004, allocations: 0.7786 MB / 0.8794 GB, free: 15.74 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003393/1.008, allocations: 2.333 MB / 0.8817 GB, free: 12.64 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003446/1.011, allocations: 1.326 MB / 0.883 GB, free: 11.32 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.931e-05/1.011, allocations: 16 kB / 0.883 GB, free: 11.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.009099/1.02, allocations: 3.106 MB / 0.8861 GB, free: 8.191 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.659e-05/1.02, allocations: 28 kB / 0.8861 GB, free: 8.164 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.45e-05/1.021, allocations: 56 kB / 0.8861 GB, free: 8.109 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001312/1.021, allocations: 80 kB / 0.8862 GB, free: 8.031 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00413/1.025, allocations: 0.6511 MB / 0.8869 GB, free: 7.379 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001343/1.025, allocations: 104 kB / 0.887 GB, free: 7.277 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002563/1.028, allocations: 131.7 kB / 0.8871 GB, free: 7.148 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003947/1.028, allocations: 160 kB / 0.8872 GB, free: 6.992 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 247 * 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.003161/1.031, allocations: 1.195 MB / 0.8884 GB, free: 5.785 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005049/1.032, allocations: 169.8 kB / 0.8886 GB, free: 5.617 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003638/1.035, allocations: 1.266 MB / 0.8898 GB, free: 4.332 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.545e-05/1.035, allocations: 11.94 kB / 0.8898 GB, free: 4.32 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.817e-06/1.035, allocations: 4 kB / 0.8898 GB, free: 4.316 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/1.035, allocations: 7.969 kB / 0.8898 GB, free: 4.309 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3555/1.391, allocations: 6.429 MB / 0.8961 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-05/1.391, allocations: 22.56 kB / 0.8961 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001428/1.393, allocations: 205.4 kB / 0.8963 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.776e-05/1.393, allocations: 29.94 kB / 0.8963 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001367/1.393, allocations: 40.64 kB / 0.8964 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.166e-05/1.393, allocations: 39.77 kB / 0.8964 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.535e-05/1.393, allocations: 35.7 kB / 0.8965 GB, free: 127.2 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003371/1.396, allocations: 1.665 MB / 0.8981 GB, free: 126.3 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007719/1.397, allocations: 274.1 kB / 0.8983 GB, free: 126.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00042/1.398, allocations: 45.92 kB / 0.8984 GB, free: 126.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001175/1.399, allocations: 38.94 kB / 0.8984 GB, free: 126.2 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002586/1.399, allocations: 138.8 kB / 0.8986 GB, free: 126.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.399, allocations: 53.12 kB / 0.8986 GB, free: 126.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.00336/1.402, allocations: 1.194 MB / 0.8998 GB, free: 126.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.113e-06/1.403, allocations: 0 / 0.8998 GB, free: 126.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003975/1.407, allocations: 0.4932 MB / 0.9003 GB, free: 126.1 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 109 * 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 Backend phase and start with SimCode phase: time 0.0006771/1.407, allocations: 198.4 kB / 0.9004 GB, free: 126 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005099/1.412, allocations: 1.814 MB / 0.9022 GB, free: 125.9 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.356e-05/1.412, allocations: 4.125 kB / 0.9022 GB, free: 125.9 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001383/1.414, allocations: 492.2 kB / 0.9027 GB, free: 125.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002999/1.417, allocations: 266.8 kB / 0.9029 GB, free: 125.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01561/1.433, allocations: 6.244 MB / 0.909 GB, free: 122.7 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005813/1.438, allocations: 2.238 MB / 0.9112 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004438/1.443, allocations: 0.7026 MB / 0.9119 GB, free: 121.9 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007994/1.444, allocations: 129 kB / 0.912 GB, free: 121.9 MB / 474.7 MB Notification: Performance of SimCode: time 1.533e-06/1.444, allocations: 0 / 0.912 GB, free: 121.9 MB / 474.7 MB Notification: Performance of Templates: time 0.05305/1.497, allocations: 15.42 MB / 0.9271 GB, free: 121.2 MB / 474.7 MB