Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR.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.JointSSR,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.|jointSSR.frame_b.r_0.1.|jointSSR.frame_b.r_0.2.|jointSSR.frame_b.r_0.3.|jointSSR.frame_b.f.1.|jointSSR.frame_b.f.2.|jointSSR.frame_b.f.3.|jointSSR.frame_b.t.1.|jointSSR.frame_b.t.2.|jointSSR.frame_b.t.3.|jointSSR.frame_im.r_0.1.|jointSSR.frame_im.r_0.1.|jointSSR.frame_im.r_0.2.|jointSSR.frame_im.r_0.2.|jointSSR.frame_im.r_0.3.|jointSSR.frame_im.r_0.3.|jointSSR.frame_im.f.1.|jointSSR.frame_im.f.1.|jointSSR.frame_im.f.2.|jointSSR.frame_im.f.2.|jointSSR.frame_im.f.3.|jointSSR.frame_im.f.3.|jointSSR.frame_im.t.1.|jointSSR.frame_im.t.1.|jointSSR.frame_im.t.2.|jointSSR.frame_im.t.2.|jointSSR.frame_im.t.3.|jointSSR.frame_im.t.3.|jointSSR.revolute.frame_b.r_0.1.|jointSSR.revolute.frame_b.r_0.2.|jointSSR.revolute.frame_b.r_0.3.|jointSSR.revolute.frame_b.f.1.|jointSSR.revolute.frame_b.f.2.|jointSSR.revolute.frame_b.f.3.|jointSSR.revolute.frame_b.t.1.|jointSSR.revolute.frame_b.t.2.|jointSSR.revolute.frame_b.t.3.|jointSSR.rod1.frame_b.r_0.1.|jointSSR.rod1.frame_b.r_0.2.|jointSSR.rod1.frame_b.r_0.3.|jointSSR.rod1.frame_b.f.1.|jointSSR.rod1.frame_b.f.2.|jointSSR.rod1.frame_b.f.3.|jointSSR.rod1.frame_b.t.1.|jointSSR.rod1.frame_b.t.2.|jointSSR.rod1.frame_b.t.3.|jointSSR.rod2.frame_b.r_0.1.|jointSSR.rod2.frame_b.r_0.2.|jointSSR.rod2.frame_b.r_0.3.|jointSSR.rod2.frame_b.f.1.|jointSSR.rod2.frame_b.f.2.|jointSSR.rod2.frame_b.f.3.|jointSSR.rod2.frame_b.t.1.|jointSSR.rod2.frame_b.t.2.|jointSSR.rod2.frame_b.t.3.|jointSSR.relativePosition.frame_b.r_0.1.|jointSSR.relativePosition.frame_b.r_0.2.|jointSSR.relativePosition.frame_b.r_0.3.|jointSSR.relativePosition.frame_b.f.1.|jointSSR.relativePosition.frame_b.f.2.|jointSSR.relativePosition.frame_b.f.3.|jointSSR.relativePosition.frame_b.t.1.|jointSSR.relativePosition.frame_b.t.2.|jointSSR.relativePosition.frame_b.t.3.|jointSSR.relativePosition.relativePosition.frame_b.r_0.1.|jointSSR.relativePosition.relativePosition.frame_b.r_0.2.|jointSSR.relativePosition.relativePosition.frame_b.r_0.3.|jointSSR.relativePosition.relativePosition.frame_b.f.1.|jointSSR.relativePosition.relativePosition.frame_b.f.2.|jointSSR.relativePosition.relativePosition.frame_b.f.3.|jointSSR.relativePosition.relativePosition.frame_b.t.1.|jointSSR.relativePosition.relativePosition.frame_b.t.2.|jointSSR.relativePosition.relativePosition.frame_b.t.3.|jointSSR.position_b.1..y|jointSSR.position_b.2..y|jointSSR.position_b.3..y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointSSR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002711/0.00271, allocations: 350.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.456/3.456, allocations: 341.5 MB / 358.2 MB, free: 12.55 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.003556/0.003556, allocations: 222.1 kB / 397.9 MB, free: 4.895 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.4793/0.4793, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004508/0.000451, allocations: 12 kB / 0.5592 GB, free: 53.44 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08394/0.08441, allocations: 48.7 MB / 0.6067 GB, free: 4.637 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4072/0.4917, allocations: 93.53 MB / 0.6981 GB, free: 19.16 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.492, allocations: 79.97 kB / 0.6982 GB, free: 19.08 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2229/0.7149, allocations: 56.22 MB / 0.7531 GB, free: 11.04 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.25e-06/0.715, allocations: 0 / 0.7531 GB, free: 11.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001553/0.7151, allocations: 55.94 kB / 0.7531 GB, free: 10.98 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: 905 * Number of variables: 905 Notification: Performance of Generate backend data structure: time 0.01097/0.7261, allocations: 2.658 MB / 0.7557 GB, free: 8.262 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.7262, allocations: 8.031 kB / 0.7557 GB, free: 8.254 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004443/0.7306, allocations: 483.8 kB / 0.7562 GB, free: 7.777 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005396/0.736, allocations: 1.563 MB / 0.7577 GB, free: 6.172 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002942/0.7364, allocations: 209.6 kB / 0.7579 GB, free: 5.965 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001204/0.7376, allocations: 279.9 kB / 0.7582 GB, free: 5.691 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3059/1.043, allocations: 6.793 MB / 0.7648 GB, free: 93.62 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001215/1.044, allocations: 17 kB / 0.7648 GB, free: 93.62 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005396/1.044, allocations: 126.3 kB / 0.7649 GB, free: 93.62 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001557/1.046, allocations: 0.5217 MB / 0.7655 GB, free: 93.61 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02495/1.071, allocations: 5.666 MB / 0.771 GB, free: 93.57 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04206/1.113, allocations: 21.44 MB / 0.7919 GB, free: 84.21 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/1.125, allocations: 1.846 MB / 0.7937 GB, free: 84.11 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/1.127, allocations: 0.6815 MB / 0.7944 GB, free: 83.82 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009783/1.137, allocations: 4.907 MB / 0.7992 GB, free: 80.53 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.416e-05/1.137, allocations: 39.03 kB / 0.7992 GB, free: 80.49 MB / 410.7 MB Notification: Performance of pre-optimization done (n=70): time 4.087e-06/1.137, allocations: 3.469 kB / 0.7992 GB, free: 80.49 MB / 410.7 MB Notification: Performance of matching and sorting (n=110): time 0.08077/1.218, allocations: 9.407 MB / 0.8084 GB, free: 78.46 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.197e-05/1.218, allocations: 92.67 kB / 0.8085 GB, free: 78.37 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003645/1.222, allocations: 1.926 MB / 0.8104 GB, free: 77.64 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000273/1.222, allocations: 45.58 kB / 0.8104 GB, free: 77.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001185/1.223, allocations: 1.668 MB / 0.8121 GB, free: 76.32 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005208/1.224, allocations: 407.9 kB / 0.8124 GB, free: 76.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000235/1.224, allocations: 63.56 kB / 0.8125 GB, free: 75.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001812/1.224, allocations: 416.4 kB / 0.8129 GB, free: 75.63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002568/1.227, allocations: 1.025 MB / 0.8139 GB, free: 75.24 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003573/1.23, allocations: 2.633 MB / 0.8165 GB, free: 72.69 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003649/1.234, allocations: 1.575 MB / 0.818 GB, free: 71.97 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.874e-05/1.234, allocations: 14.97 kB / 0.818 GB, free: 71.97 MB / 410.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.00924/1.243, allocations: 3.637 MB / 0.8216 GB, free: 70.44 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.788e-05/1.243, allocations: 30.53 kB / 0.8216 GB, free: 70.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.56e-05/1.244, allocations: 57.58 kB / 0.8217 GB, free: 70.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000104/1.244, allocations: 88.69 kB / 0.8217 GB, free: 70.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004841/1.249, allocations: 0.7246 MB / 0.8225 GB, free: 70.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001165/1.249, allocations: 108.1 kB / 0.8226 GB, free: 70.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003236/1.252, allocations: 163.6 kB / 0.8227 GB, free: 70.27 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004688/1.252, allocations: 169.2 kB / 0.8229 GB, free: 70.24 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 257 * Number of states: 0 () * Number of discrete variables: 31 (jointSSR.revolute.positiveBranch,prism.color[3],prism.color[2],prism.color[1],rRod2.color[3],rRod2.color[2],rRod2.color[1],jointSSR.rod1Color[3],jointSSR.rod1Color[2],jointSSR.rod1Color[1],jointSSR.rod1.massColor[3],jointSSR.rod1.massColor[2],jointSSR.rod1.massColor[1],jointSSR.sphereColor[3],jointSSR.sphereColor[2],jointSSR.sphereColor[1],jointSSR.revoluteColor[3],jointSSR.revoluteColor[2],jointSSR.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 (371): * Single equations (assignments): 371 * 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.002685/1.255, allocations: 1.189 MB / 0.824 GB, free: 69.62 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004584/1.256, allocations: 175.7 kB / 0.8242 GB, free: 69.53 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00434/1.26, allocations: 1.733 MB / 0.8259 GB, free: 68.73 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-05/1.26, allocations: 15.33 kB / 0.8259 GB, free: 68.73 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.136e-05/1.26, allocations: 3.531 kB / 0.8259 GB, free: 68.73 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.714e-05/1.26, allocations: 6.938 kB / 0.8259 GB, free: 68.73 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01423/1.274, allocations: 5.894 MB / 0.8317 GB, free: 65.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.772e-05/1.274, allocations: 10.97 kB / 0.8317 GB, free: 65.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001907/1.276, allocations: 250.1 kB / 0.8319 GB, free: 65.86 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.055e-05/1.276, allocations: 22.75 kB / 0.8319 GB, free: 65.86 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001767/1.277, allocations: 37.41 kB / 0.832 GB, free: 65.84 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.281e-05/1.277, allocations: 26.05 kB / 0.832 GB, free: 65.83 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.367e-05/1.277, allocations: 18.62 kB / 0.832 GB, free: 65.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003188/1.28, allocations: 1.715 MB / 0.8337 GB, free: 64.67 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006757/1.281, allocations: 266.8 kB / 0.834 GB, free: 64.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005122/1.281, allocations: 36.72 kB / 0.834 GB, free: 64.45 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00156/1.283, allocations: 61.06 kB / 0.834 GB, free: 64.44 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002236/1.283, allocations: 113.9 kB / 0.8342 GB, free: 64.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.969e-05/1.283, allocations: 40.41 kB / 0.8342 GB, free: 64.39 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003787/1.287, allocations: 1.255 MB / 0.8354 GB, free: 63.93 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.91e-07/1.287, allocations: 3.938 kB / 0.8354 GB, free: 63.92 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003738/1.291, allocations: 0.5456 MB / 0.836 GB, free: 63.86 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 53 * 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 (110): * Single equations (assignments): 110 * 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.0006391/1.291, allocations: 188.3 kB / 0.8361 GB, free: 63.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005458/1.297, allocations: 2.255 MB / 0.8383 GB, free: 62.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.611e-05/1.297, allocations: 3.656 kB / 0.8383 GB, free: 62.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001497/1.298, allocations: 0.6028 MB / 0.8389 GB, free: 62.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002366/1.301, allocations: 252.4 kB / 0.8392 GB, free: 62.53 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01306/1.314, allocations: 6.193 MB / 0.8452 GB, free: 56.95 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00379/1.318, allocations: 2.223 MB / 0.8474 GB, free: 55.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.003915/1.322, allocations: 0.7724 MB / 0.8481 GB, free: 54.67 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008761/1.323, allocations: 135.1 kB / 0.8483 GB, free: 54.54 MB / 410.7 MB Notification: Performance of SimCode: time 1.133e-06/1.323, allocations: 0 / 0.8483 GB, free: 54.54 MB / 410.7 MB Notification: Performance of Templates: time 0.06847/1.391, allocations: 18.05 MB / 0.8659 GB, free: 39.63 MB / 410.7 MB