Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00263/0.002636, allocations: 348 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.747/3.747, allocations: 341.5 MB / 358.2 MB, free: 12.63 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.007382/0.007382, allocations: 214 kB / 397.9 MB, free: 4.977 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.4977/0.4977, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006448/0.0006451, allocations: 16 kB / 0.5592 GB, free: 53.48 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09381/0.09449, allocations: 48.71 MB / 0.6067 GB, free: 4.652 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4363/0.5309, allocations: 101.6 MB / 0.706 GB, free: 11.06 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002726/0.5312, allocations: 88.28 kB / 0.706 GB, free: 10.98 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7855/1.317, allocations: 122.2 MB / 0.8254 GB, free: 83.05 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.364e-06/1.317, allocations: 3.938 kB / 0.8254 GB, free: 83.04 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003536/1.317, allocations: 109.8 kB / 0.8255 GB, free: 83.04 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: 1928 * Number of variables: 1928 Notification: Performance of Generate backend data structure: time 0.02453/1.342, allocations: 5.864 MB / 0.8312 GB, free: 79.22 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/1.342, allocations: 11.03 kB / 0.8312 GB, free: 79.22 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02992/1.372, allocations: 3.866 MB / 0.835 GB, free: 76.45 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01705/1.389, allocations: 5.424 MB / 0.8403 GB, free: 71.02 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005943/1.389, allocations: 446.4 kB / 0.8407 GB, free: 70.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003258/1.393, allocations: 0.5323 MB / 0.8412 GB, free: 70.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04318/1.436, allocations: 14.04 MB / 0.8549 GB, free: 55.04 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003355/1.436, allocations: 63.41 kB / 0.855 GB, free: 54.98 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002524/1.439, allocations: 270.5 kB / 0.8553 GB, free: 54.75 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002763/1.442, allocations: 1.293 MB / 0.8565 GB, free: 53.46 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03825/1.48, allocations: 11.69 MB / 0.8679 GB, free: 41.77 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4096/1.89, allocations: 59.1 MB / 0.9257 GB, free: 82.06 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02202/1.912, allocations: 4.653 MB / 0.9302 GB, free: 81.38 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006367/1.918, allocations: 2.743 MB / 0.9329 GB, free: 81.34 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03097/1.949, allocations: 12.49 MB / 0.9451 GB, free: 77.78 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.841e-05/1.949, allocations: 56.88 kB / 0.9451 GB, free: 77.74 MB / 426.7 MB Notification: Performance of pre-optimization done (n=191): time 6.041e-06/1.949, allocations: 0 / 0.9451 GB, free: 77.74 MB / 426.7 MB Notification: Performance of matching and sorting (n=242): time 0.2875/2.237, allocations: 42.59 MB / 0.9867 GB, free: 71.23 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.551e-05/2.237, allocations: 235.6 kB / 0.9869 GB, free: 70.98 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01079/2.248, allocations: 4.768 MB / 0.9916 GB, free: 69.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000706/2.248, allocations: 60.83 kB / 0.9917 GB, free: 69.28 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003819/2.252, allocations: 3.901 MB / 0.9955 GB, free: 66.29 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001931/2.254, allocations: 0.9147 MB / 0.9964 GB, free: 65.63 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001226/2.256, allocations: 143.5 kB / 0.9965 GB, free: 65.52 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006645/2.256, allocations: 0.6052 MB / 0.9971 GB, free: 65.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01145/2.268, allocations: 3.258 MB / 1 GB, free: 63.92 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01489/2.283, allocations: 7.539 MB / 1.008 GB, free: 55.56 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01483/2.298, allocations: 4.796 MB / 1.012 GB, free: 51.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001572/2.298, allocations: 44 kB / 1.012 GB, free: 51.38 MB / 426.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.05498/2.353, allocations: 13.83 MB / 1.026 GB, free: 40.44 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001115/2.353, allocations: 68 kB / 1.026 GB, free: 40.37 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002091/2.353, allocations: 152 kB / 1.026 GB, free: 40.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02028/2.373, allocations: 3.798 MB / 1.03 GB, free: 37.45 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009936/2.383, allocations: 1.614 MB / 1.031 GB, free: 35.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04078/2.424, allocations: 18.09 MB / 1.049 GB, free: 17.62 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009373/2.434, allocations: 484.5 kB / 1.049 GB, free: 17.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001883/2.436, allocations: 432 kB / 1.05 GB, free: 16.73 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 686 * Number of states: 0 () * Number of discrete variables: 34 (jointUSP.prismatic.positiveBranch,bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[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],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (856): * Single equations (assignments): 852 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 58} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.007694/2.443, allocations: 2.656 MB / 1.052 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001315/2.445, allocations: 434.4 kB / 1.053 GB, free: 13.64 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03441/2.479, allocations: 8.133 MB / 1.061 GB, free: 5.477 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.594e-05/2.479, allocations: 24 kB / 1.061 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.604e-05/2.479, allocations: 17.56 kB / 1.061 GB, free: 5.438 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.306e-05/2.479, allocations: 11.95 kB / 1.061 GB, free: 5.426 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06425/2.544, allocations: 17.42 MB / 1.078 GB, free: 3.992 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.496e-05/2.544, allocations: 0 / 1.078 GB, free: 3.992 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003992/2.548, allocations: 391.4 kB / 1.078 GB, free: 3.609 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02273/2.571, allocations: 3.84 MB / 1.082 GB, free: 15.77 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007056/2.571, allocations: 36 kB / 1.082 GB, free: 15.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.394/2.965, allocations: 16.51 MB / 1.098 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/2.965, allocations: 1.062 kB / 1.098 GB, free: 113.8 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04088/3.006, allocations: 12.51 MB / 1.11 GB, free: 112.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003494/3.01, allocations: 0.9389 MB / 1.111 GB, free: 112.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001636/3.012, allocations: 37.66 kB / 1.111 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005212/3.017, allocations: 211.4 kB / 1.112 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001216/3.018, allocations: 148.5 kB / 1.112 GB, free: 112.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004644/3.019, allocations: 60.41 kB / 1.112 GB, free: 112.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.009183/3.028, allocations: 2.984 MB / 1.115 GB, free: 111.4 MB / 458.7 MB Notification: Performance of sort global known variables: time 7.81e-07/3.028, allocations: 1.156 kB / 1.115 GB, free: 111.4 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.01054/3.038, allocations: 1.45 MB / 1.116 GB, free: 111.2 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (revolute.phi,revolute.w) * 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 (167): * Single equations (assignments): 163 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 52} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001238/3.04, allocations: 219.2 kB / 1.116 GB, free: 111.1 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01849/3.058, allocations: 7.88 MB / 1.124 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/3.058, allocations: 0 / 1.124 GB, free: 108.5 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007094/3.065, allocations: 2.962 MB / 1.127 GB, free: 107.3 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005215/3.071, allocations: 0.5192 MB / 1.127 GB, free: 107 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03348/3.104, allocations: 14.88 MB / 1.142 GB, free: 99.72 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009516/3.114, allocations: 4.209 MB / 1.146 GB, free: 98.24 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01008/3.124, allocations: 2.176 MB / 1.148 GB, free: 98.14 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001771/3.126, allocations: 278.9 kB / 1.148 GB, free: 98.14 MB / 458.7 MB Notification: Performance of SimCode: time 1.984e-06/3.126, allocations: 4 kB / 1.148 GB, free: 98.13 MB / 458.7 MB Notification: Performance of Templates: time 0.151/3.277, allocations: 58.52 MB / 1.206 GB, free: 53.77 MB / 458.7 MB