Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSP.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.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.1_ModelicaTest.MultiBody.Joints.JointSSP") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.004073/0.004079, allocations: 347.6 kB / 15.94 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.857/3.857, allocations: 341.5 MB / 358.2 MB, free: 28.62 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.005091/0.005091, allocations: 213.4 kB / 397.8 MB, free: 6.012 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5106/0.5106, allocations: 76.1 MB / 0.5014 GB, free: 0.8086 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006761/0.0006764, allocations: 12 kB / 0.5592 GB, free: 60.24 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1011, allocations: 48.71 MB / 0.6067 GB, free: 11.52 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.454/0.5552, allocations: 92.48 MB / 0.6971 GB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.5555, allocations: 84.2 kB / 0.6971 GB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2196/0.7752, allocations: 54.26 MB / 0.7501 GB, free: 12.03 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.7753, allocations: 0 / 0.7501 GB, free: 12.03 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001685/0.7754, allocations: 52 kB / 0.7502 GB, free: 11.98 MB / 378.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.009653/0.7851, allocations: 2.483 MB / 0.7526 GB, free: 9.434 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.214e-05/0.7852, allocations: 20.02 kB / 0.7526 GB, free: 9.414 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004338/0.7895, allocations: 475.8 kB / 0.7531 GB, free: 8.945 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005532/0.7951, allocations: 1.516 MB / 0.7546 GB, free: 7.387 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003206/0.7955, allocations: 217.7 kB / 0.7548 GB, free: 7.172 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001437/0.797, allocations: 280 kB / 0.755 GB, free: 6.898 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0224/0.8194, allocations: 5.932 MB / 0.7608 GB, free: 0.6445 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000123/0.8196, allocations: 15.88 kB / 0.7608 GB, free: 0.6289 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005177/0.8201, allocations: 127.9 kB / 0.761 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001383/0.8215, allocations: 480.1 kB / 0.7614 GB, free: 32 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01855/0.8401, allocations: 4.489 MB / 0.7658 GB, free: 11.54 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03937/0.8795, allocations: 19.82 MB / 0.7852 GB, free: 7.148 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00739/0.887, allocations: 1.255 MB / 0.7864 GB, free: 5.875 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001138/0.8882, allocations: 383.2 kB / 0.7867 GB, free: 5.496 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002649/0.8909, allocations: 2.065 MB / 0.7888 GB, free: 3.098 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.737e-05/0.891, allocations: 51.02 kB / 0.7888 GB, free: 3.039 MB / 410.7 MB Notification: Performance of pre-optimization done (n=66): time 4.057e-06/0.891, allocations: 4 kB / 0.7888 GB, free: 3.035 MB / 410.7 MB Notification: Performance of matching and sorting (n=110): time 0.04146/0.9325, allocations: 5.974 MB / 0.7946 GB, free: 13.04 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.232e-05/0.9326, allocations: 90.11 kB / 0.7947 GB, free: 12.93 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003798/0.9364, allocations: 1.784 MB / 0.7965 GB, free: 11.14 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002517/0.9367, allocations: 45.7 kB / 0.7965 GB, free: 11.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001657/0.9384, allocations: 1.648 MB / 0.7981 GB, free: 9.422 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006185/0.9391, allocations: 410.5 kB / 0.7985 GB, free: 9.016 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001917/0.9393, allocations: 60 kB / 0.7986 GB, free: 8.957 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002736/0.9395, allocations: 423.8 kB / 0.799 GB, free: 8.539 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/0.9418, allocations: 0.7785 MB / 0.7997 GB, free: 7.758 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003675/0.9455, allocations: 2.333 MB / 0.802 GB, free: 4.664 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003736/0.9493, allocations: 1.326 MB / 0.8033 GB, free: 3.336 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-05/0.9494, allocations: 16 kB / 0.8033 GB, free: 3.32 MB / 426.7 MB Notification: Performance of matching and sorting (n=359) (initialization): time 0.00889/0.9583, allocations: 3.114 MB / 0.8064 GB, free: 204 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.562e-05/0.9584, allocations: 28 kB / 0.8064 GB, free: 176 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-05/0.9585, allocations: 60 kB / 0.8065 GB, free: 116 kB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001238/0.9586, allocations: 80 kB / 0.8065 GB, free: 36 kB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3072/1.266, allocations: 0.6392 MB / 0.8072 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001669/1.266, allocations: 108.6 kB / 0.8073 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002834/1.269, allocations: 127.7 kB / 0.8074 GB, free: 115.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006919/1.27, allocations: 157.2 kB / 0.8075 GB, free: 115.2 MB / 426.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.003612/1.273, allocations: 1.189 MB / 0.8087 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005355/1.274, allocations: 170.8 kB / 0.8089 GB, free: 115.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003702/1.278, allocations: 1.262 MB / 0.8101 GB, free: 115 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/1.278, allocations: 10.81 kB / 0.8101 GB, free: 115 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/1.278, allocations: 0 / 0.8101 GB, free: 115 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.663e-05/1.278, allocations: 11.52 kB / 0.8101 GB, free: 115 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01636/1.294, allocations: 6.431 MB / 0.8164 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.299e-05/1.294, allocations: 20.11 kB / 0.8164 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/1.296, allocations: 200.3 kB / 0.8166 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.492e-05/1.296, allocations: 29.44 kB / 0.8166 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001046/1.296, allocations: 44 kB / 0.8167 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.908e-05/1.296, allocations: 41.73 kB / 0.8167 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.464e-05/1.296, allocations: 38.27 kB / 0.8167 GB, free: 113.6 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003029/1.299, allocations: 1.655 MB / 0.8184 GB, free: 112.7 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007968/1.3, allocations: 281.9 kB / 0.8186 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004257/1.3, allocations: 47.16 kB / 0.8187 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001212/1.301, allocations: 39.59 kB / 0.8187 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/1.302, allocations: 134 kB / 0.8188 GB, free: 112.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/1.302, allocations: 55.06 kB / 0.8189 GB, free: 112.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003215/1.305, allocations: 1.195 MB / 0.8201 GB, free: 112.5 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.605e-06/1.305, allocations: 0 / 0.8201 GB, free: 112.5 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004106/1.309, allocations: 0.4996 MB / 0.8205 GB, free: 112.5 MB / 426.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.0006522/1.31, allocations: 198.2 kB / 0.8207 GB, free: 112.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005533/1.315, allocations: 1.818 MB / 0.8225 GB, free: 112.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-05/1.315, allocations: 0 / 0.8225 GB, free: 112.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001266/1.317, allocations: 499.1 kB / 0.823 GB, free: 112.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002751/1.32, allocations: 260.7 kB / 0.8232 GB, free: 112.2 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01406/1.334, allocations: 6.244 MB / 0.8293 GB, free: 109 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004107/1.338, allocations: 2.238 MB / 0.8315 GB, free: 108.3 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003542/1.341, allocations: 0.7118 MB / 0.8322 GB, free: 108.3 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006014/1.342, allocations: 128.7 kB / 0.8323 GB, free: 108.3 MB / 426.7 MB Notification: Performance of SimCode: time 1.482e-06/1.342, allocations: 0 / 0.8323 GB, free: 108.3 MB / 426.7 MB Notification: Performance of Templates: time 0.05057/1.393, allocations: 15.39 MB / 0.8474 GB, free: 107.6 MB / 426.7 MB