Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.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.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.1_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002724/0.002724, allocations: 352.7 kB / 15.95 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.245/3.245, allocations: 341.5 MB / 358.2 MB, free: 28.74 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003501/0.003501, allocations: 220 kB / 397.9 MB, free: 6.168 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.5089/0.5089, allocations: 76.09 MB / 0.5014 GB, free: 0.8438 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004541/0.0004543, allocations: 16 kB / 0.5592 GB, free: 60.26 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08603/0.0865, allocations: 48.71 MB / 0.6067 GB, free: 11.54 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.Spherical): time 0.04104/0.1276, allocations: 22.35 MB / 0.6286 GB, free: 5.133 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02082/0.1485, allocations: 5.763 MB / 0.6342 GB, free: 15.35 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007766/0.1563, allocations: 95.81 kB / 0.6343 GB, free: 15.25 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004994/0.1614, allocations: 1.12 MB / 0.6354 GB, free: 14.13 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01648/0.1779, allocations: 4.028 MB / 0.6393 GB, free: 10.09 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002541/0.1805, allocations: 487.1 kB / 0.6398 GB, free: 9.609 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.007948/0.1885, allocations: 4.175 MB / 0.6439 GB, free: 5.43 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005073/0.1936, allocations: 2.147 MB / 0.646 GB, free: 3.223 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002528/0.1962, allocations: 1.004 MB / 0.6469 GB, free: 2.215 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003879/0.2002, allocations: 1.663 MB / 0.6486 GB, free: 0.5469 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008776/0.2011, allocations: 124 kB / 0.6487 GB, free: 436 kB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3394/0.5405, allocations: 1.053 MB / 0.6497 GB, free: 14.99 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002754/0.5434, allocations: 1.475 MB / 0.6511 GB, free: 14.99 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001655/0.5451, allocations: 0.7284 MB / 0.6519 GB, free: 14.96 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008813/0.5539, allocations: 4.699 MB / 0.6564 GB, free: 14.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/0.554, allocations: 2.906 kB / 0.6564 GB, free: 14.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.985e-06/0.554, allocations: 1.219 kB / 0.6564 GB, free: 14.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002479/0.5542, allocations: 0 / 0.6564 GB, free: 14.66 MB / 314.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.01123/0.5655, allocations: 3.438 MB / 0.6598 GB, free: 12.95 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.99e-05/0.5656, allocations: 7.781 kB / 0.6598 GB, free: 12.95 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03987/0.6054, allocations: 6.386 MB / 0.6661 GB, free: 11.71 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008072/0.6136, allocations: 2.219 MB / 0.6682 GB, free: 10.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/0.6138, allocations: 179.4 kB / 0.6684 GB, free: 10.94 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002383/0.6162, allocations: 313.6 kB / 0.6687 GB, free: 10.92 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02796/0.6442, allocations: 10.8 MB / 0.6792 GB, free: 8.027 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001197/0.6444, allocations: 28.41 kB / 0.6793 GB, free: 8.027 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008938/0.6453, allocations: 115.2 kB / 0.6794 GB, free: 8.027 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006568/0.6519, allocations: 2.452 MB / 0.6818 GB, free: 6.242 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03098/0.6829, allocations: 10.23 MB / 0.6918 GB, free: 14.9 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08102/0.764, allocations: 35.57 MB / 0.7265 GB, free: 11.87 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02053/0.7846, allocations: 5.589 MB / 0.7319 GB, free: 6.066 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005932/0.7906, allocations: 2.326 MB / 0.7342 GB, free: 3.738 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002644/0.7933, allocations: 1.872 MB / 0.736 GB, free: 1.539 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.197e-05/0.7934, allocations: 56.56 kB / 0.7361 GB, free: 1.477 MB / 362.7 MB Notification: Performance of pre-optimization done (n=224): time 6.984e-06/0.7934, allocations: 1.641 kB / 0.7361 GB, free: 1.477 MB / 362.7 MB Notification: Performance of matching and sorting (n=225): time 0.06325/0.8567, allocations: 14.55 MB / 0.7503 GB, free: 2.836 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.023e-05/0.8568, allocations: 73.41 kB / 0.7504 GB, free: 2.75 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006794/0.8636, allocations: 2.763 MB / 0.7531 GB, free: 15.97 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007572/0.8644, allocations: 53.7 kB / 0.7531 GB, free: 15.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003276/0.8677, allocations: 2.665 MB / 0.7557 GB, free: 13.26 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001761/0.8695, allocations: 0.8311 MB / 0.7566 GB, free: 12.44 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009447/0.8705, allocations: 108 kB / 0.7567 GB, free: 12.33 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000612/0.8711, allocations: 0.5375 MB / 0.7572 GB, free: 11.79 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007452/0.8786, allocations: 2.505 MB / 0.7596 GB, free: 9.277 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01065/0.8893, allocations: 5.501 MB / 0.765 GB, free: 2.367 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009993/0.8993, allocations: 3.696 MB / 0.7686 GB, free: 14.77 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001011/0.8995, allocations: 30.06 kB / 0.7686 GB, free: 14.74 MB / 410.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.1296/1.029, allocations: 18.75 MB / 0.7869 GB, free: 12.59 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/1.029, allocations: 53.7 kB / 0.787 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.09218/1.122, allocations: 11.79 MB / 0.7985 GB, free: 0.7422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.1009/1.222, allocations: 10.3 MB / 0.8086 GB, free: 6.414 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009068/1.232, allocations: 1.3 MB / 0.8098 GB, free: 5.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4218/1.653, allocations: 16.02 MB / 0.8255 GB, free: 150.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009129/1.663, allocations: 378.9 kB / 0.8258 GB, free: 150 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001657/1.664, allocations: 310.2 kB / 0.8261 GB, free: 149.9 MB / 442.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.008018/1.672, allocations: 2.011 MB / 0.8281 GB, free: 149.2 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001038/1.673, allocations: 273.6 kB / 0.8284 GB, free: 149.2 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01472/1.688, allocations: 4.808 MB / 0.8331 GB, free: 147.6 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.438e-05/1.688, allocations: 11.5 kB / 0.8331 GB, free: 147.6 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.508e-06/1.688, allocations: 0 / 0.8331 GB, free: 147.6 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007933/1.689, allocations: 306.6 kB / 0.8334 GB, free: 147.5 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/1.69, allocations: 39 kB / 0.8334 GB, free: 147.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002527/1.693, allocations: 159.2 kB / 0.8336 GB, free: 147.5 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004725/1.693, allocations: 118.1 kB / 0.8337 GB, free: 147.5 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01368/1.707, allocations: 4.354 MB / 0.8379 GB, free: 146.2 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01284/1.72, allocations: 6.26 MB / 0.844 GB, free: 143.3 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003689/1.724, allocations: 1.765 MB / 0.8458 GB, free: 141.8 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003461/1.727, allocations: 1.684 MB / 0.8474 GB, free: 140.5 MB / 442.7 MB Notification: Performance of Backend: time 1.132e-06/1.727, allocations: 3.562 kB / 0.8474 GB, free: 140.5 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01623/1.743, allocations: 4.944 MB / 0.8522 GB, free: 136.5 MB / 442.7 MB Notification: Performance of SimCode: time 0.02126/1.765, allocations: 10.1 MB / 0.8621 GB, free: 127 MB / 442.7 MB Notification: Performance of Templates: time 0.1676/1.932, allocations: 53.27 MB / 0.9141 GB, free: 73.75 MB / 442.7 MB