Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointSSR.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.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.2_ModelicaTest.MultiBody.Joints.JointSSR") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002904/0.002903, allocations: 363 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 3.913/3.913, allocations: 388.9 MB / 405.6 MB, free: 9.645 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.003507/0.003506, allocations: 226.5 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.4813/0.4813, allocations: 80.02 MB / 0.5627 GB, free: 19.78 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004919/0.0004922, allocations: 15.98 kB / 0.6265 GB, free: 96.54 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1039, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5038/0.6078, allocations: 100.1 MB / 0.7778 GB, free: 1.426 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003004/0.6081, allocations: 84.14 kB / 0.7779 GB, free: 1.383 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2444/0.8525, allocations: 56.21 MB / 0.8328 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.186e-06/0.8526, allocations: 0 / 0.8328 GB, free: 0.9727 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001559/0.8527, allocations: 52 kB / 0.8328 GB, free: 0.9219 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.01084/0.8636, allocations: 2.658 MB / 0.8354 GB, free: 14.2 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.611e-05/0.8637, allocations: 12.03 kB / 0.8355 GB, free: 14.19 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004408/0.8681, allocations: 483.8 kB / 0.8359 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005624/0.8738, allocations: 1.551 MB / 0.8374 GB, free: 12.12 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002969/0.8741, allocations: 221.6 kB / 0.8376 GB, free: 11.9 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001285/0.8754, allocations: 272 kB / 0.8379 GB, free: 11.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02675/0.9022, allocations: 6.799 MB / 0.8445 GB, free: 4.516 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001226/0.9024, allocations: 19.83 kB / 0.8446 GB, free: 4.496 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000672/0.903, allocations: 127.9 kB / 0.8447 GB, free: 4.371 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001523/0.9046, allocations: 0.5239 MB / 0.8452 GB, free: 3.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02325/0.9279, allocations: 5.673 MB / 0.8507 GB, free: 14.15 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0428/0.9707, allocations: 21.43 MB / 0.8717 GB, free: 8.117 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01308/0.9839, allocations: 1.849 MB / 0.8735 GB, free: 6.246 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/0.9857, allocations: 0.6749 MB / 0.8741 GB, free: 5.566 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01551/1.001, allocations: 4.911 MB / 0.8789 GB, free: 260 kB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.228e-05/1.001, allocations: 39.12 kB / 0.879 GB, free: 212 kB / 458.7 MB Notification: Performance of pre-optimization done (n=70): time 3.707e-06/1.001, allocations: 0 / 0.879 GB, free: 212 kB / 458.7 MB Notification: Performance of matching and sorting (n=110): time 0.07902/1.08, allocations: 9.414 MB / 0.8882 GB, free: 6.777 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.359e-05/1.081, allocations: 98.03 kB / 0.8882 GB, free: 6.664 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006636/1.087, allocations: 1.922 MB / 0.8901 GB, free: 4.742 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004006/1.088, allocations: 45.7 kB / 0.8902 GB, free: 4.691 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002749/1.09, allocations: 1.664 MB / 0.8918 GB, free: 3.004 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009341/1.091, allocations: 410.5 kB / 0.8922 GB, free: 2.598 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004164/1.092, allocations: 60 kB / 0.8922 GB, free: 2.539 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004046/1.092, allocations: 424 kB / 0.8926 GB, free: 2.117 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004478/1.097, allocations: 1.029 MB / 0.8936 GB, free: 1.086 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.385/1.482, allocations: 2.619 MB / 0.8962 GB, free: 127 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004491/1.486, allocations: 1.574 MB / 0.8977 GB, free: 127 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001128/1.487, allocations: 16.67 kB / 0.8978 GB, free: 127 MB / 474.7 MB Notification: Performance of matching and sorting (n=371) (initialization): time 0.0111/1.498, allocations: 3.649 MB / 0.9013 GB, free: 126.9 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.669e-05/1.498, allocations: 29.03 kB / 0.9013 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/1.498, allocations: 56.7 kB / 0.9014 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000146/1.498, allocations: 84.91 kB / 0.9015 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0053/1.503, allocations: 0.7193 MB / 0.9022 GB, free: 126.9 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001692/1.504, allocations: 115.1 kB / 0.9023 GB, free: 126.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003559/1.507, allocations: 155 kB / 0.9024 GB, free: 126.8 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008548/1.508, allocations: 168.5 kB / 0.9026 GB, free: 126.8 MB / 474.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.003592/1.512, allocations: 1.191 MB / 0.9038 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005175/1.512, allocations: 182.9 kB / 0.9039 GB, free: 126.7 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004934/1.517, allocations: 1.723 MB / 0.9056 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/1.517, allocations: 11.03 kB / 0.9056 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/1.517, allocations: 0.7031 kB / 0.9056 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.487e-05/1.517, allocations: 6.422 kB / 0.9056 GB, free: 126.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01572/1.533, allocations: 5.898 MB / 0.9114 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.44e-05/1.533, allocations: 13.08 kB / 0.9114 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/1.535, allocations: 257.3 kB / 0.9117 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.722e-05/1.535, allocations: 17.69 kB / 0.9117 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/1.535, allocations: 33.78 kB / 0.9117 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.013e-05/1.536, allocations: 23 kB / 0.9117 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.992e-05/1.536, allocations: 17.88 kB / 0.9117 GB, free: 125.4 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003615/1.539, allocations: 1.72 MB / 0.9134 GB, free: 124.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007354/1.54, allocations: 267.2 kB / 0.9137 GB, free: 124.7 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004982/1.54, allocations: 38.5 kB / 0.9137 GB, free: 124.7 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001477/1.542, allocations: 59.06 kB / 0.9138 GB, free: 124.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/1.542, allocations: 104.8 kB / 0.9139 GB, free: 124.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000113/1.542, allocations: 46.14 kB / 0.9139 GB, free: 124.7 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003121/1.546, allocations: 1.258 MB / 0.9151 GB, free: 124.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 7.52e-07/1.546, allocations: 0 / 0.9151 GB, free: 124.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003881/1.549, allocations: 0.5353 MB / 0.9157 GB, free: 124.6 MB / 474.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.0005472/1.55, allocations: 199.3 kB / 0.9159 GB, free: 124.5 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.006994/1.557, allocations: 2.252 MB / 0.9181 GB, free: 124.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.895e-05/1.557, allocations: 3.844 kB / 0.9181 GB, free: 124.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002184/1.559, allocations: 0.6079 MB / 0.9187 GB, free: 124.1 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00388/1.563, allocations: 257.1 kB / 0.9189 GB, free: 123.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01979/1.583, allocations: 6.185 MB / 0.9249 GB, free: 120.4 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006367/1.59, allocations: 2.225 MB / 0.9271 GB, free: 119.3 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.006112/1.596, allocations: 0.7736 MB / 0.9279 GB, free: 119.3 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/1.597, allocations: 132.5 kB / 0.928 GB, free: 119.3 MB / 474.7 MB Notification: Performance of SimCode: time 1.403e-06/1.597, allocations: 0 / 0.928 GB, free: 119.3 MB / 474.7 MB Notification: Performance of Templates: time 0.07907/1.676, allocations: 18.06 MB / 0.9456 GB, free: 118.4 MB / 474.7 MB