Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical.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.Spherical,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|body.Q.1.|body.Q.2.|body.Q.3.|body.Q.4.|body.w_a.1.|body.w_a.2.|body.w_a.3.",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.004247/0.004247, allocations: 371.4 kB / 15.97 MB, free: 6.199 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.255/4.255, allocations: 388.9 MB / 405.6 MB, free: 10.32 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.003612/0.003612, allocations: 224.7 kB / 451 MB, free: 145.1 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.515/0.515, allocations: 80.02 MB / 0.5627 GB, free: 19.85 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000498/0.0004984, allocations: 12 kB / 0.6265 GB, free: 96.53 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1059, allocations: 54.86 MB / 0.6801 GB, free: 41.67 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.02585/0.1318, allocations: 22.36 MB / 0.7019 GB, free: 19.23 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.01405/0.1459, allocations: 5.787 MB / 0.7076 GB, free: 13.42 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00394/0.1499, allocations: 99.75 kB / 0.7077 GB, free: 13.32 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003739/0.1537, allocations: 1.116 MB / 0.7088 GB, free: 12.2 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01285/0.1666, allocations: 4.024 MB / 0.7127 GB, free: 8.164 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002303/0.169, allocations: 475.2 kB / 0.7132 GB, free: 7.699 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.005933/0.1749, allocations: 4.176 MB / 0.7172 GB, free: 3.516 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003665/0.1787, allocations: 2.158 MB / 0.7193 GB, free: 1.305 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.3136/0.4923, allocations: 0.999 MB / 0.7203 GB, free: 14.78 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004095/0.4965, allocations: 1.663 MB / 0.7219 GB, free: 14.78 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001004/0.4975, allocations: 124.8 kB / 0.7221 GB, free: 14.78 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003878/0.5014, allocations: 1.06 MB / 0.7231 GB, free: 14.78 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.003217/0.5047, allocations: 1.475 MB / 0.7245 GB, free: 14.78 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001701/0.5064, allocations: 0.7295 MB / 0.7252 GB, free: 14.75 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009015/0.5155, allocations: 4.7 MB / 0.7298 GB, free: 14.44 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.5156, allocations: 0 / 0.7298 GB, free: 14.44 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.5156, allocations: 0 / 0.7298 GB, free: 14.44 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002557/0.5159, allocations: 0 / 0.7298 GB, free: 14.44 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.01211/0.528, allocations: 3.435 MB / 0.7332 GB, free: 12.74 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.528, allocations: 7.688 kB / 0.7332 GB, free: 12.74 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03994/0.568, allocations: 6.388 MB / 0.7394 GB, free: 11.29 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007815/0.5759, allocations: 2.207 MB / 0.7416 GB, free: 10.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002661/0.5762, allocations: 179.4 kB / 0.7418 GB, free: 10.53 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002676/0.5789, allocations: 313.9 kB / 0.7421 GB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03226/0.6112, allocations: 10.8 MB / 0.7526 GB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001408/0.6114, allocations: 24 kB / 0.7526 GB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001113/0.6125, allocations: 115.3 kB / 0.7527 GB, free: 7.617 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006764/0.6193, allocations: 2.456 MB / 0.7551 GB, free: 5.973 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0322/0.6515, allocations: 10.23 MB / 0.7651 GB, free: 14.63 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08503/0.7366, allocations: 35.56 MB / 0.7999 GB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02155/0.7582, allocations: 5.583 MB / 0.8053 GB, free: 5.43 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006154/0.7645, allocations: 2.331 MB / 0.8076 GB, free: 3.102 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002705/0.7672, allocations: 1.874 MB / 0.8094 GB, free: 0.9023 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.431e-05/0.7673, allocations: 60.5 kB / 0.8095 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of pre-optimization done (n=224): time 7.173e-06/0.7674, allocations: 2.531 kB / 0.8095 GB, free: 0.8359 MB / 394.7 MB Notification: Performance of matching and sorting (n=225): time 0.06465/0.832, allocations: 14.56 MB / 0.8237 GB, free: 2.195 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.8322, allocations: 77.36 kB / 0.8238 GB, free: 2.105 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006738/0.8389, allocations: 2.764 MB / 0.8265 GB, free: 15.33 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007554/0.8397, allocations: 50.8 kB / 0.8265 GB, free: 15.27 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003236/0.843, allocations: 2.669 MB / 0.8291 GB, free: 12.62 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00175/0.8448, allocations: 0.832 MB / 0.8299 GB, free: 11.79 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008625/0.8457, allocations: 104 kB / 0.83 GB, free: 11.69 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006447/0.8463, allocations: 0.5453 MB / 0.8306 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007538/0.8539, allocations: 2.513 MB / 0.833 GB, free: 8.621 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01082/0.8648, allocations: 5.488 MB / 0.8384 GB, free: 1.719 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01008/0.8749, allocations: 3.694 MB / 0.842 GB, free: 14.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001056/0.8751, allocations: 28 kB / 0.842 GB, free: 14.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.1292/1.004, allocations: 18.76 MB / 0.8603 GB, free: 11.43 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001017/1.004, allocations: 52 kB / 0.8604 GB, free: 11.38 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09048/1.095, allocations: 11.78 MB / 0.8719 GB, free: 15.57 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1002/1.195, allocations: 10.31 MB / 0.882 GB, free: 5.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008942/1.204, allocations: 1.291 MB / 0.8832 GB, free: 3.938 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05321/1.257, allocations: 16.02 MB / 0.8989 GB, free: 3.656 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0065/1.264, allocations: 375.6 kB / 0.8992 GB, free: 3.289 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001606/1.266, allocations: 308 kB / 0.8995 GB, free: 2.988 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 473 * Number of states: 0 () * Number of discrete variables: 21 (frame_a1.color_x[3],frame_a1.color_x[2],frame_a1.color_x[1],frame_a.color_x[3],frame_a.color_x[2],frame_a.color_x[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spherical.sphereColor[3],spherical.sphereColor[2],spherical.sphereColor[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 (653): * Single equations (assignments): 644 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 1 {4 9} Notification: Performance of prepare postOptimizeDAE: time 0.01063/1.276, allocations: 2.016 MB / 0.9015 GB, free: 0.9648 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001213/1.278, allocations: 268.5 kB / 0.9017 GB, free: 0.6992 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3387/1.616, allocations: 4.798 MB / 0.9064 GB, free: 171 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.718e-05/1.616, allocations: 7.547 kB / 0.9064 GB, free: 171 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/1.616, allocations: 2.078 kB / 0.9064 GB, free: 171 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001137/1.618, allocations: 312 kB / 0.9067 GB, free: 170.9 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001908/1.62, allocations: 36.88 kB / 0.9068 GB, free: 170.9 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003612/1.623, allocations: 161.2 kB / 0.9069 GB, free: 170.9 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008116/1.624, allocations: 113.9 kB / 0.907 GB, free: 170.9 MB / 490.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01517/1.639, allocations: 4.358 MB / 0.9113 GB, free: 169.6 MB / 490.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01665/1.656, allocations: 6.267 MB / 0.9174 GB, free: 167.5 MB / 490.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00447/1.661, allocations: 1.769 MB / 0.9191 GB, free: 166.9 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.004877/1.665, allocations: 1.681 MB / 0.9208 GB, free: 166.3 MB / 490.7 MB Notification: Performance of Backend: time 2.234e-06/1.665, allocations: 0 / 0.9208 GB, free: 166.3 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01713/1.683, allocations: 4.946 MB / 0.9256 GB, free: 164.5 MB / 490.7 MB Notification: Performance of SimCode: time 0.0224/1.705, allocations: 10.1 MB / 0.9355 GB, free: 158.2 MB / 490.7 MB Notification: Performance of Templates: time 0.1857/1.891, allocations: 53.27 MB / 0.9875 GB, free: 106.5 MB / 490.7 MB