Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2.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.JointUSP2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.JointUSP2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.003095/0.003095, allocations: 359.4 kB / 15.95 MB, free: 6.207 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.244/4.244, allocations: 388.9 MB / 405.6 MB, free: 9.59 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.003559/0.003559, allocations: 228.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.5177/0.5177, allocations: 80.02 MB / 0.5627 GB, free: 19.77 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004557/0.0004558, allocations: 19.98 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09678/0.09726, allocations: 54.86 MB / 0.6801 GB, free: 41.66 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4969/0.5942, allocations: 108.4 MB / 0.786 GB, free: 9.266 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/0.5945, allocations: 84.27 kB / 0.7861 GB, free: 9.223 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9208/1.515, allocations: 122.2 MB / 0.9054 GB, free: 98.04 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.375e-06/1.515, allocations: 0 / 0.9054 GB, free: 98.04 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004135/1.516, allocations: 109.8 kB / 0.9055 GB, free: 98.03 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1929 * Number of variables: 1929 Notification: Performance of Generate backend data structure: time 0.0359/1.552, allocations: 5.873 MB / 0.9113 GB, free: 95.82 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/1.552, allocations: 9.281 kB / 0.9113 GB, free: 95.82 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03491/1.587, allocations: 3.865 MB / 0.9151 GB, free: 95.45 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01823/1.605, allocations: 5.425 MB / 0.9204 GB, free: 94.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006686/1.606, allocations: 445.6 kB / 0.9208 GB, free: 94.72 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003545/1.609, allocations: 0.5388 MB / 0.9213 GB, free: 94.72 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04483/1.654, allocations: 14.05 MB / 0.935 GB, free: 91.68 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004261/1.655, allocations: 74.14 kB / 0.9351 GB, free: 91.67 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002943/1.658, allocations: 268.6 kB / 0.9354 GB, free: 91.66 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002875/1.661, allocations: 1.291 MB / 0.9366 GB, free: 91.65 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03674/1.697, allocations: 11.69 MB / 0.948 GB, free: 91.38 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09024/1.788, allocations: 59.11 MB / 1.006 GB, free: 48.27 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0221/1.81, allocations: 4.661 MB / 1.01 GB, free: 46.52 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.009115/1.819, allocations: 2.746 MB / 1.013 GB, free: 44.88 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02743/1.846, allocations: 12.49 MB / 1.025 GB, free: 33.56 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/1.847, allocations: 62.5 kB / 1.025 GB, free: 33.5 MB / 474.7 MB Notification: Performance of pre-optimization done (n=191): time 5.52e-06/1.847, allocations: 0 / 1.025 GB, free: 33.5 MB / 474.7 MB Notification: Performance of matching and sorting (n=242): time 0.3416/2.188, allocations: 42.58 MB / 1.067 GB, free: 11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000151/2.188, allocations: 227.6 kB / 1.067 GB, free: 10.72 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01685/2.205, allocations: 4.774 MB / 1.072 GB, free: 5.945 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001121/2.206, allocations: 61.7 kB / 1.072 GB, free: 5.879 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007353/2.214, allocations: 3.901 MB / 1.076 GB, free: 1.977 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001867/2.216, allocations: 0.9092 MB / 1.076 GB, free: 1.074 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001403/2.217, allocations: 140 kB / 1.077 GB, free: 0.9375 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0008567/2.218, allocations: 0.6117 MB / 1.077 GB, free: 328 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3619/2.58, allocations: 3.249 MB / 1.08 GB, free: 106.9 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01223/2.592, allocations: 7.539 MB / 1.088 GB, free: 101.5 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01274/2.605, allocations: 4.796 MB / 1.092 GB, free: 101.4 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002681/2.605, allocations: 43.27 kB / 1.092 GB, free: 101.4 MB / 490.7 MB Notification: Performance of matching and sorting (n=939) (initialization): time 0.06483/2.67, allocations: 13.84 MB / 1.106 GB, free: 100.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001858/2.671, allocations: 70.53 kB / 1.106 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002916/2.671, allocations: 152.3 kB / 1.106 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02977/2.701, allocations: 3.797 MB / 1.11 GB, free: 100.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01508/2.716, allocations: 1.609 MB / 1.111 GB, free: 100.8 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04478/2.761, allocations: 18.09 MB / 1.129 GB, free: 95.18 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009438/2.77, allocations: 487.5 kB / 1.13 GB, free: 95.07 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001858/2.772, allocations: 431.7 kB / 1.13 GB, free: 95.01 MB / 490.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.007542/2.78, allocations: 2.652 MB / 1.133 GB, free: 93.86 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/2.781, allocations: 434.9 kB / 1.133 GB, free: 93.86 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03071/2.812, allocations: 8.131 MB / 1.141 GB, free: 91.15 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.229e-05/2.812, allocations: 30.25 kB / 1.141 GB, free: 91.15 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.276e-05/2.812, allocations: 11.34 kB / 1.141 GB, free: 91.15 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.576e-05/2.812, allocations: 15.52 kB / 1.141 GB, free: 91.15 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05489/2.867, allocations: 17.43 MB / 1.158 GB, free: 84.95 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-05/2.867, allocations: 3.562 kB / 1.158 GB, free: 84.95 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003625/2.87, allocations: 386.4 kB / 1.158 GB, free: 84.93 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02078/2.891, allocations: 3.832 MB / 1.162 GB, free: 84.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006295/2.892, allocations: 41.75 kB / 1.162 GB, free: 84.25 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03728/2.929, allocations: 16.52 MB / 1.178 GB, free: 71.95 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/2.929, allocations: 0 / 1.178 GB, free: 71.95 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0376/2.967, allocations: 12.52 MB / 1.191 GB, free: 61.93 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003436/2.97, allocations: 0.9367 MB / 1.191 GB, free: 61.06 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001402/2.972, allocations: 39.56 kB / 1.191 GB, free: 61.02 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004333/2.976, allocations: 214.6 kB / 1.192 GB, free: 60.89 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007582/2.977, allocations: 149.6 kB / 1.192 GB, free: 60.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003264/2.977, allocations: 60.27 kB / 1.192 GB, free: 60.75 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.006696/2.984, allocations: 2.978 MB / 1.195 GB, free: 58.31 MB / 490.7 MB Notification: Performance of sort global known variables: time 9.82e-07/2.984, allocations: 0 / 1.195 GB, free: 58.31 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01008/2.994, allocations: 1.453 MB / 1.196 GB, free: 56.88 MB / 490.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.001383/2.996, allocations: 217.8 kB / 1.196 GB, free: 56.69 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01845/3.014, allocations: 7.873 MB / 1.204 GB, free: 49.74 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 8.556e-06/3.014, allocations: 0 / 1.204 GB, free: 49.74 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007025/3.021, allocations: 2.963 MB / 1.207 GB, free: 47.09 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006425/3.028, allocations: 0.5252 MB / 1.208 GB, free: 46.64 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03265/3.06, allocations: 14.89 MB / 1.222 GB, free: 32.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009196/3.07, allocations: 4.204 MB / 1.226 GB, free: 27.99 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.01021/3.08, allocations: 2.177 MB / 1.228 GB, free: 25.83 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001727/3.082, allocations: 279.4 kB / 1.229 GB, free: 25.55 MB / 490.7 MB Notification: Performance of SimCode: time 1.443e-06/3.082, allocations: 4 kB / 1.229 GB, free: 25.55 MB / 490.7 MB Notification: Performance of Templates: time 0.573/3.655, allocations: 58.5 MB / 1.286 GB, free: 102.9 MB / 0.4949 GB