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.002541/0.002546, allocations: 346 kB / 15.94 MB, free: 6.199 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.521/3.521, 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.003499/0.003499, allocations: 225.1 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.5762/0.5762, allocations: 76.09 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006699/0.0006702, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08646/0.08718, allocations: 48.71 MB / 0.6067 GB, free: 4.645 MB / 362.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.3482/0.4354, allocations: 15.59 MB / 0.622 GB, free: 84.22 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.4459, allocations: 3.584 MB / 0.6255 GB, free: 81.82 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003609/0.4496, allocations: 63.88 kB / 0.6255 GB, free: 81.82 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003009/0.4526, allocations: 0.7071 MB / 0.6262 GB, free: 81.58 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009282/0.4619, allocations: 2.353 MB / 0.6285 GB, free: 80.59 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00163/0.4636, allocations: 244.1 kB / 0.6288 GB, free: 80.49 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.001856/0.4655, allocations: 0.9321 MB / 0.6297 GB, free: 80.13 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002108/0.4676, allocations: 1.061 MB / 0.6307 GB, free: 79.7 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005311/0.4682, allocations: 281.7 kB / 0.631 GB, free: 79.6 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001138/0.4694, allocations: 0.6072 MB / 0.6316 GB, free: 79.41 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002176/0.4696, allocations: 57.75 kB / 0.6316 GB, free: 79.41 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001039/0.4706, allocations: 404.6 kB / 0.632 GB, free: 79.32 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006303/0.4713, allocations: 438.4 kB / 0.6324 GB, free: 79.18 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002972/0.4716, allocations: 216.3 kB / 0.6326 GB, free: 79.03 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.4738, allocations: 1.323 MB / 0.6339 GB, free: 78.76 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.4739, allocations: 0 / 0.6339 GB, free: 78.76 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4739, allocations: 0 / 0.6339 GB, free: 78.76 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.262e-05/0.4739, allocations: 2.75 kB / 0.6339 GB, free: 78.76 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.005001/0.4789, allocations: 1.435 MB / 0.6353 GB, free: 77.97 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.233e-05/0.479, allocations: 9.094 kB / 0.6353 GB, free: 77.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001246/0.4803, allocations: 173.7 kB / 0.6355 GB, free: 77.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001605/0.4819, allocations: 0.6083 MB / 0.6361 GB, free: 77.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.526e-05/0.482, allocations: 60.75 kB / 0.6361 GB, free: 77.45 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000297/0.4823, allocations: 78.78 kB / 0.6362 GB, free: 77.43 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009044/0.4913, allocations: 2.706 MB / 0.6389 GB, free: 75.87 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.941e-05/0.4914, allocations: 7.719 kB / 0.6389 GB, free: 75.87 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.4916, allocations: 34.34 kB / 0.6389 GB, free: 75.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007963/0.4924, allocations: 386.9 kB / 0.6393 GB, free: 75.7 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009458/0.5019, allocations: 2.397 MB / 0.6416 GB, free: 74.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01279/0.5147, allocations: 8.178 MB / 0.6496 GB, free: 67.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007674/0.5224, allocations: 0.9879 MB / 0.6506 GB, free: 67.51 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007726/0.5233, allocations: 256.6 kB / 0.6508 GB, free: 67.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001731/0.525, allocations: 1.726 MB / 0.6525 GB, free: 65.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.464e-05/0.5251, allocations: 38.56 kB / 0.6525 GB, free: 65.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.557e-06/0.5252, allocations: 0 / 0.6525 GB, free: 65.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=58): time 0.01926/0.5444, allocations: 2.992 MB / 0.6555 GB, free: 62.24 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.526e-05/0.5445, allocations: 59.97 kB / 0.6555 GB, free: 62.17 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001367/0.5459, allocations: 0.8715 MB / 0.6564 GB, free: 61.29 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.231e-05/0.5459, allocations: 33.7 kB / 0.6564 GB, free: 61.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003989/0.5463, allocations: 0.6526 MB / 0.657 GB, free: 60.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.5465, allocations: 209.2 kB / 0.6572 GB, free: 60.38 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.374e-05/0.5466, allocations: 27.94 kB / 0.6573 GB, free: 60.36 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.5467, allocations: 401.5 kB / 0.6576 GB, free: 59.96 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007614/0.5475, allocations: 358.4 kB / 0.658 GB, free: 59.61 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001035/0.5485, allocations: 0.9693 MB / 0.6589 GB, free: 58.34 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001099/0.5497, allocations: 0.5681 MB / 0.6595 GB, free: 57.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.187e-05/0.5497, allocations: 8 kB / 0.6595 GB, free: 57.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002607/0.5523, allocations: 1.362 MB / 0.6608 GB, free: 56.4 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.055e-05/0.5523, allocations: 16.03 kB / 0.6608 GB, free: 56.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.559e-05/0.5524, allocations: 23.95 kB / 0.6609 GB, free: 56.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.967e-05/0.5524, allocations: 36 kB / 0.6609 GB, free: 56.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/0.5545, allocations: 315.5 kB / 0.6612 GB, free: 56.02 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008657/0.5554, allocations: 1.359 MB / 0.6625 GB, free: 54.53 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000956/0.5563, allocations: 44 kB / 0.6626 GB, free: 54.49 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.579e-05/0.5564, allocations: 64 kB / 0.6626 GB, free: 54.43 MB / 362.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.0008937/0.5573, allocations: 499.8 kB / 0.6631 GB, free: 53.93 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000135/0.5575, allocations: 86.86 kB / 0.6632 GB, free: 53.84 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002232/0.5577, allocations: 116.4 kB / 0.6633 GB, free: 53.73 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/0.5577, allocations: 3.984 kB / 0.6633 GB, free: 53.72 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.5578, allocations: 0 / 0.6633 GB, free: 53.72 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/0.5581, allocations: 200 kB / 0.6635 GB, free: 53.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001573/0.5583, allocations: 12 kB / 0.6635 GB, free: 53.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005067/0.5588, allocations: 12 kB / 0.6635 GB, free: 53.48 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.36e-05/0.5589, allocations: 39.2 kB / 0.6636 GB, free: 53.45 MB / 362.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002031/0.5609, allocations: 0.7416 MB / 0.6643 GB, free: 52.7 MB / 362.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001924/0.5628, allocations: 1.169 MB / 0.6654 GB, free: 51.52 MB / 362.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005142/0.5634, allocations: 284.3 kB / 0.6657 GB, free: 51.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0009594/0.5643, allocations: 0.5615 MB / 0.6662 GB, free: 50.68 MB / 362.7 MB Notification: Performance of Backend: time 5.01e-07/0.5644, allocations: 0 / 0.6662 GB, free: 50.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002575/0.5669, allocations: 0.7949 MB / 0.667 GB, free: 49.88 MB / 362.7 MB Notification: Performance of SimCode: time 0.004373/0.5713, allocations: 2.649 MB / 0.6696 GB, free: 47.19 MB / 362.7 MB Notification: Performance of Templates: time 0.02696/0.5983, allocations: 9.48 MB / 0.6789 GB, free: 38.02 MB / 362.7 MB