Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.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.1_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002568/0.002574, allocations: 350.3 kB / 15.94 MB, free: 6.219 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.616/3.616, allocations: 341.5 MB / 358.2 MB, free: 12.64 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.003594/0.003593, allocations: 221.5 kB / 397.9 MB, free: 4.984 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.4898/0.4898, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004656/0.0004658, allocations: 20 kB / 0.5592 GB, free: 53.47 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09428/0.09478, allocations: 48.7 MB / 0.6067 GB, free: 4.668 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4635/0.5584, allocations: 84.54 MB / 0.6893 GB, free: 28.23 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002809/0.5587, allocations: 83.95 kB / 0.6894 GB, free: 28.15 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08099/0.6397, allocations: 19.95 MB / 0.7088 GB, free: 8.477 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.286e-06/0.6398, allocations: 3.938 kB / 0.7089 GB, free: 8.473 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.499e-05/0.6399, allocations: 23.98 kB / 0.7089 GB, free: 8.449 MB / 362.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.00456/0.6444, allocations: 1.448 MB / 0.7103 GB, free: 6.953 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.394e-05/0.6445, allocations: 8.031 kB / 0.7103 GB, free: 6.945 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.6462, allocations: 209 kB / 0.7105 GB, free: 6.742 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002033/0.6483, allocations: 0.6982 MB / 0.7112 GB, free: 6.004 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.197e-05/0.6484, allocations: 82.05 kB / 0.7113 GB, free: 5.922 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003197/0.6487, allocations: 99.97 kB / 0.7113 GB, free: 5.824 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008488/0.6572, allocations: 2.634 MB / 0.7139 GB, free: 3.02 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.993e-05/0.6573, allocations: 15.84 kB / 0.7139 GB, free: 3.004 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000179/0.6575, allocations: 47.97 kB / 0.714 GB, free: 2.957 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003943/0.6579, allocations: 201.8 kB / 0.7142 GB, free: 2.758 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008664/0.6666, allocations: 2.372 MB / 0.7165 GB, free: 400 kB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01469/0.6814, allocations: 8.507 MB / 0.7248 GB, free: 7.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007153/0.6886, allocations: 1.011 MB / 0.7258 GB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006612/0.6893, allocations: 248.7 kB / 0.726 GB, free: 6.371 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002133/0.6914, allocations: 1.73 MB / 0.7277 GB, free: 4.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.132e-05/0.6915, allocations: 39.44 kB / 0.7278 GB, free: 4.316 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.516e-06/0.6915, allocations: 0 / 0.7278 GB, free: 4.316 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.02096/0.7125, allocations: 3.025 MB / 0.7307 GB, free: 1.289 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.7126, allocations: 55.97 kB / 0.7308 GB, free: 1.223 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001684/0.7143, allocations: 0.8831 MB / 0.7316 GB, free: 340 kB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-05/0.7144, allocations: 37.7 kB / 0.7317 GB, free: 296 kB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006329/0.715, allocations: 0.6525 MB / 0.7323 GB, free: 15.62 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002846/0.7153, allocations: 213.1 kB / 0.7325 GB, free: 15.41 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.842e-05/0.7154, allocations: 24 kB / 0.7325 GB, free: 15.39 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002334/0.7157, allocations: 398.8 kB / 0.7329 GB, free: 14.99 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009181/0.7166, allocations: 358.4 kB / 0.7332 GB, free: 14.64 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001369/0.718, allocations: 0.9654 MB / 0.7342 GB, free: 13.38 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001356/0.7194, allocations: 0.5719 MB / 0.7347 GB, free: 12.82 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/0.7194, allocations: 4 kB / 0.7347 GB, free: 12.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003263/0.7227, allocations: 1.366 MB / 0.7361 GB, free: 11.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.816e-05/0.7228, allocations: 16 kB / 0.7361 GB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.307e-05/0.7228, allocations: 20 kB / 0.7361 GB, free: 11.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.834e-05/0.7229, allocations: 32 kB / 0.7361 GB, free: 11.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/0.7251, allocations: 311.5 kB / 0.7364 GB, free: 11.07 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001181/0.7263, allocations: 1.362 MB / 0.7378 GB, free: 9.578 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.7275, allocations: 52.73 kB / 0.7378 GB, free: 9.527 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001363/0.7276, allocations: 68.16 kB / 0.7379 GB, free: 9.461 MB / 394.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.00101/0.7287, allocations: 0.4925 MB / 0.7384 GB, free: 8.965 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001885/0.7289, allocations: 82.97 kB / 0.7384 GB, free: 8.883 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002699/0.7291, allocations: 116.4 kB / 0.7386 GB, free: 8.77 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.7292, allocations: 4 kB / 0.7386 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.7292, allocations: 0 / 0.7386 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.7292, allocations: 3.25 kB / 0.7386 GB, free: 8.766 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005707/0.7349, allocations: 2.153 MB / 0.7407 GB, free: 6.477 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-05/0.735, allocations: 8 kB / 0.7407 GB, free: 6.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001058/0.736, allocations: 127.8 kB / 0.7408 GB, free: 6.344 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.247e-05/0.7361, allocations: 12 kB / 0.7408 GB, free: 6.332 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.858e-05/0.7361, allocations: 19.94 kB / 0.7408 GB, free: 6.312 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.7373, allocations: 1.324 MB / 0.7421 GB, free: 4.855 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.608e-06/0.7373, allocations: 8 kB / 0.7421 GB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001513/0.7388, allocations: 0.822 MB / 0.7429 GB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004725/0.7393, allocations: 211.9 kB / 0.7431 GB, free: 3.695 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001407/0.7395, allocations: 16 kB / 0.7432 GB, free: 3.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005645/0.74, allocations: 16 kB / 0.7432 GB, free: 3.664 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/0.7402, allocations: 59.77 kB / 0.7432 GB, free: 3.605 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.64e-05/0.7402, allocations: 20 kB / 0.7432 GB, free: 3.586 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001216/0.7414, allocations: 0.581 MB / 0.7438 GB, free: 3.008 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7415, allocations: 0 / 0.7438 GB, free: 3.008 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001533/0.743, allocations: 219.9 kB / 0.744 GB, free: 2.793 MB / 394.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.0002513/0.7433, allocations: 123.1 kB / 0.7441 GB, free: 2.664 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002309/0.7456, allocations: 0.843 MB / 0.745 GB, free: 1.828 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.016e-06/0.7456, allocations: 4 kB / 0.745 GB, free: 1.824 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007747/0.7464, allocations: 284.5 kB / 0.7452 GB, free: 1.547 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001338/0.7478, allocations: 127.2 kB / 0.7454 GB, free: 1.434 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005612/0.7534, allocations: 2.476 MB / 0.7478 GB, free: 14.85 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001393/0.7549, allocations: 1.232 MB / 0.749 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001614/0.7565, allocations: 339.5 kB / 0.7493 GB, free: 13.26 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003032/0.7568, allocations: 63.42 kB / 0.7494 GB, free: 13.2 MB / 410.7 MB Notification: Performance of SimCode: time 1.263e-06/0.7569, allocations: 0 / 0.7494 GB, free: 13.2 MB / 410.7 MB Notification: Performance of Templates: time 0.02618/0.783, allocations: 7.313 MB / 0.7565 GB, free: 6.031 MB / 410.7 MB