Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sphericalSpherical.frame_b.r_0.1.|sphericalSpherical.frame_b.r_0.2.|sphericalSpherical.frame_b.r_0.3.|sphericalSpherical.frame_b.f.1.|sphericalSpherical.frame_b.f.2.|sphericalSpherical.frame_b.f.3.|sphericalSpherical.frame_b.t.1.|sphericalSpherical.frame_b.t.2.|sphericalSpherical.frame_b.t.3.|Prismatic1.frame_b.r_0.1.|Prismatic1.frame_b.r_0.2.|Prismatic1.frame_b.r_0.3.|Prismatic1.frame_b.f.1.|Prismatic1.frame_b.f.2.|Prismatic1.frame_b.f.3.|Prismatic1.frame_b.t.1.|Prismatic1.frame_b.t.2.|Prismatic1.frame_b.t.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.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002729/0.002729, allocations: 363.1 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.874/3.874, allocations: 388.9 MB / 405.6 MB, free: 47.9 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.003657/0.003656, allocations: 228.8 kB / 451 MB, free: 2.379 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.7953/0.7953, allocations: 80.02 MB / 0.5627 GB, free: 5.984 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005295/0.0005298, allocations: 15.94 kB / 0.6265 GB, free: 4.547 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.1161, allocations: 54.88 MB / 0.6801 GB, free: 13.53 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.466/0.5822, allocations: 91.05 MB / 0.769 GB, free: 29.19 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/0.5825, allocations: 84.61 kB / 0.7691 GB, free: 29.11 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08202/0.6645, allocations: 19.95 MB / 0.7886 GB, free: 9.438 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.526e-06/0.6646, allocations: 0 / 0.7886 GB, free: 9.438 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.052e-05/0.6647, allocations: 23.98 kB / 0.7886 GB, free: 9.414 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 329 * Number of variables: 329 Notification: Performance of Generate backend data structure: time 0.004959/0.6697, allocations: 1.45 MB / 0.79 GB, free: 7.914 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.6697, allocations: 16.02 kB / 0.79 GB, free: 7.898 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001759/0.6715, allocations: 198.3 kB / 0.7902 GB, free: 7.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002038/0.6736, allocations: 0.6972 MB / 0.7909 GB, free: 6.961 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.185e-05/0.6737, allocations: 78.27 kB / 0.791 GB, free: 6.887 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002915/0.674, allocations: 99.98 kB / 0.7911 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008511/0.6825, allocations: 2.63 MB / 0.7937 GB, free: 3.992 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.734e-05/0.6826, allocations: 19.77 kB / 0.7937 GB, free: 3.973 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001796/0.6828, allocations: 51.97 kB / 0.7937 GB, free: 3.922 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003893/0.6832, allocations: 205.8 kB / 0.7939 GB, free: 3.719 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008616/0.6918, allocations: 2.361 MB / 0.7962 GB, free: 1.359 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01439/0.7063, allocations: 8.513 MB / 0.8045 GB, free: 8.613 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007245/0.7136, allocations: 1.007 MB / 0.8055 GB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006705/0.7143, allocations: 255.9 kB / 0.8058 GB, free: 7.344 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002198/0.7165, allocations: 1.722 MB / 0.8074 GB, free: 5.344 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.267e-05/0.7166, allocations: 43.55 kB / 0.8075 GB, free: 5.293 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 3.817e-06/0.7166, allocations: 0 / 0.8075 GB, free: 5.293 MB / 410.7 MB Notification: Performance of matching and sorting (n=58): time 0.02163/0.7383, allocations: 3.024 MB / 0.8104 GB, free: 2.254 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.039e-05/0.7384, allocations: 59.97 kB / 0.8105 GB, free: 2.184 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00174/0.7401, allocations: 0.8754 MB / 0.8114 GB, free: 1.301 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.7403, allocations: 33.7 kB / 0.8114 GB, free: 1.262 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006632/0.7409, allocations: 0.6487 MB / 0.812 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.7412, allocations: 213.1 kB / 0.8122 GB, free: 400 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.089e-05/0.7413, allocations: 24 kB / 0.8122 GB, free: 376 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002726/0.7416, allocations: 398.7 kB / 0.8126 GB, free: 15.97 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009159/0.7425, allocations: 362.4 kB / 0.813 GB, free: 15.61 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.744, allocations: 0.9718 MB / 0.8139 GB, free: 14.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.7455, allocations: 0.5642 MB / 0.8145 GB, free: 13.79 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.932e-05/0.7456, allocations: 8 kB / 0.8145 GB, free: 13.78 MB / 426.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003919/0.7495, allocations: 1.361 MB / 0.8158 GB, free: 12.41 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/0.7496, allocations: 15.95 kB / 0.8158 GB, free: 12.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.199e-05/0.7497, allocations: 24.56 kB / 0.8158 GB, free: 12.38 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.387e-05/0.7497, allocations: 32 kB / 0.8159 GB, free: 12.34 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002419/0.7522, allocations: 324.1 kB / 0.8162 GB, free: 12.03 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001373/0.7536, allocations: 1.358 MB / 0.8175 GB, free: 10.54 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.7549, allocations: 52.14 kB / 0.8176 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001367/0.7551, allocations: 64 kB / 0.8176 GB, free: 10.43 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 24 (Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],Prismatic1.boxColor[3],Prismatic1.boxColor[2],Prismatic1.boxColor[1],sphericalSpherical.massColor[3],sphericalSpherical.massColor[2],sphericalSpherical.massColor[1],sphericalSpherical.sphereColor[3],sphericalSpherical.sphereColor[2],sphericalSpherical.sphereColor[1],sphericalSpherical.rodColor[3],sphericalSpherical.rodColor[2],sphericalSpherical.rodColor[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 (154): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001248/0.7564, allocations: 498.3 kB / 0.8181 GB, free: 9.934 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002478/0.7566, allocations: 86.83 kB / 0.8182 GB, free: 9.848 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003082/0.7569, allocations: 116.4 kB / 0.8183 GB, free: 9.727 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.234e-05/0.757, allocations: 8 kB / 0.8183 GB, free: 9.719 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.283e-06/0.757, allocations: 4 kB / 0.8183 GB, free: 9.715 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.757, allocations: 3.984 kB / 0.8183 GB, free: 9.711 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005766/0.7628, allocations: 2.144 MB / 0.8204 GB, free: 7.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.394e-05/0.7628, allocations: 8 kB / 0.8204 GB, free: 7.422 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.7639, allocations: 128.5 kB / 0.8205 GB, free: 7.297 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-05/0.764, allocations: 8 kB / 0.8205 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.293e-05/0.764, allocations: 24 kB / 0.8206 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00112/0.7651, allocations: 1.32 MB / 0.8218 GB, free: 5.82 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.825e-05/0.7652, allocations: 17.41 kB / 0.8219 GB, free: 5.805 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.7668, allocations: 0.8256 MB / 0.8227 GB, free: 4.871 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/0.7672, allocations: 200 kB / 0.8229 GB, free: 4.656 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001415/0.7674, allocations: 20 kB / 0.8229 GB, free: 4.637 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005885/0.768, allocations: 22.05 kB / 0.8229 GB, free: 4.617 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.7681, allocations: 55.8 kB / 0.823 GB, free: 4.562 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/0.7682, allocations: 24 kB / 0.823 GB, free: 4.539 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001237/0.7694, allocations: 0.5732 MB / 0.8235 GB, free: 3.969 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.7694, allocations: 0 / 0.8235 GB, free: 3.969 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001502/0.7709, allocations: 223.9 kB / 0.8238 GB, free: 3.75 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * 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 (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000249/0.7712, allocations: 123.1 kB / 0.8239 GB, free: 3.621 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002266/0.7735, allocations: 0.8513 MB / 0.8247 GB, free: 2.777 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.7735, allocations: 4 kB / 0.8247 GB, free: 2.773 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007572/0.7743, allocations: 273.4 kB / 0.825 GB, free: 2.508 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001222/0.7755, allocations: 115.8 kB / 0.8251 GB, free: 2.398 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005377/0.7809, allocations: 2.478 MB / 0.8275 GB, free: 15.81 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001316/0.7823, allocations: 1.239 MB / 0.8287 GB, free: 14.55 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001613/0.7839, allocations: 337 kB / 0.829 GB, free: 14.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002924/0.7842, allocations: 75.36 kB / 0.8291 GB, free: 14.14 MB / 442.7 MB Notification: Performance of SimCode: time 1.322e-06/0.7842, allocations: 0 / 0.8291 GB, free: 14.14 MB / 442.7 MB Notification: Performance of Templates: time 0.02516/0.8094, allocations: 7.308 MB / 0.8362 GB, free: 6.992 MB / 442.7 MB