Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical") translateModel(ModelicaTest.MultiBody.Joints.Spherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.007308/0.007308, allocations: 166.2 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.213/1.213, allocations: 170.8 MB / 186.6 MB, free: 1.133 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001544/0.001544, allocations: 109.2 kB / 226.2 MB, free: 10.11 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3198/0.3198, allocations: 38.05 MB / 303.7 MB, free: 42.32 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004258/0.0004258, allocations: 12 kB / 362.9 MB, free: 5.602 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1337, allocations: 48.7 MB / 411.6 MB, free: 4.824 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4321/0.5658, allocations: 88.58 MB / 0.4884 GB, free: 15.37 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003739/0.5663, allocations: 78.88 kB / 0.4885 GB, free: 15.32 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.229/0.7953, allocations: 82.63 MB / 0.5692 GB, free: 1.348 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.019e-06/0.7954, allocations: 0 / 0.5692 GB, free: 1.348 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002804/0.7957, allocations: 64 kB / 0.5693 GB, free: 1.285 MB / 410.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.02068/0.8164, allocations: 3.999 MB / 0.5732 GB, free: 13.22 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.664e-05/0.8165, allocations: 8.031 kB / 0.5732 GB, free: 13.21 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02378/0.8403, allocations: 5.875 MB / 0.5789 GB, free: 7.324 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01799/0.8583, allocations: 5.317 MB / 0.5841 GB, free: 1.957 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004804/0.8588, allocations: 279.3 kB / 0.5844 GB, free: 1.684 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003428/0.8623, allocations: 371.8 kB / 0.5847 GB, free: 1.32 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3312/1.194, allocations: 10.41 MB / 0.5949 GB, free: 85.07 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001282/1.194, allocations: 30.72 kB / 0.5949 GB, free: 85.07 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006531/1.194, allocations: 171.5 kB / 0.5951 GB, free: 85.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001689/1.196, allocations: 1.145 MB / 0.5962 GB, free: 85.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02302/1.219, allocations: 10.11 MB / 0.6061 GB, free: 85.04 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07206/1.291, allocations: 37.32 MB / 0.6425 GB, free: 65.62 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01209/1.303, allocations: 5.593 MB / 0.648 GB, free: 63.3 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001519/1.305, allocations: 1.879 MB / 0.6498 GB, free: 61.54 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.281e-05/1.305, allocations: 56.23 kB / 0.6499 GB, free: 61.49 MB / 426.7 MB Notification: Performance of pre-optimization done (n=224): time 6.172e-06/1.305, allocations: 0 / 0.6499 GB, free: 61.49 MB / 426.7 MB Notification: Performance of matching and sorting (n=231): time 0.03498/1.34, allocations: 15.49 MB / 0.665 GB, free: 56.53 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001142/1.341, allocations: 1.536 MB / 0.6665 GB, free: 55.03 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005864/1.347, allocations: 2.485 MB / 0.6689 GB, free: 54.17 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006154/1.348, allocations: 56.89 kB / 0.669 GB, free: 54.11 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002121/1.35, allocations: 2.67 MB / 0.6716 GB, free: 52.25 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001454/1.351, allocations: 0.8494 MB / 0.6724 GB, free: 51.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007703/1.352, allocations: 100.8 kB / 0.6725 GB, free: 51.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0006607/1.353, allocations: 0.546 MB / 0.6731 GB, free: 51.14 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004305/1.357, allocations: 2.605 MB / 0.6756 GB, free: 50.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005873/1.363, allocations: 5.572 MB / 0.681 GB, free: 45.49 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005394/1.368, allocations: 3.782 MB / 0.6847 GB, free: 44.13 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001235/1.369, allocations: 31.97 kB / 0.6848 GB, free: 44.13 MB / 426.7 MB Notification: Performance of matching and sorting (n=721) (initialization): time 0.05867/1.427, allocations: 18.96 MB / 0.7033 GB, free: 35.54 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001704/1.428, allocations: 52 kB / 0.7033 GB, free: 35.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03796/1.466, allocations: 12 MB / 0.7151 GB, free: 25.16 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.04078/1.506, allocations: 10.31 MB / 0.7251 GB, free: 14.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004564/1.511, allocations: 1.248 MB / 0.7263 GB, free: 13.57 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02633/1.537, allocations: 17.25 MB / 0.7432 GB, free: 12.07 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005809/1.543, allocations: 446.1 kB / 0.7436 GB, free: 11.63 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001707/1.545, allocations: 308 kB / 0.7439 GB, free: 11.33 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 474 * 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 (649): * Single equations (assignments): 638 * Array equations: 8 * 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.007368/1.552, allocations: 2.02 MB / 0.7459 GB, free: 9.301 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001243/1.554, allocations: 268.5 kB / 0.7461 GB, free: 9.035 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01128/1.565, allocations: 5.098 MB / 0.7511 GB, free: 3.906 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.3211/1.886, allocations: 4.388 MB / 0.7554 GB, free: 92.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.289e-05/1.886, allocations: 0 / 0.7554 GB, free: 92.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.332e-05/1.886, allocations: 13.19 kB / 0.7554 GB, free: 92.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03886/1.925, allocations: 12.98 MB / 0.7681 GB, free: 92.14 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.035e-05/1.925, allocations: 6.219 kB / 0.7681 GB, free: 92.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003284/1.928, allocations: 408.2 kB / 0.7685 GB, free: 92.14 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005318/1.934, allocations: 0.9373 MB / 0.7694 GB, free: 92.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004291/1.934, allocations: 53.38 kB / 0.7694 GB, free: 92.11 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01008/1.944, allocations: 5.562 MB / 0.7749 GB, free: 89.55 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001451/1.946, allocations: 1.466 MB / 0.7763 GB, free: 88.19 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02383/1.97, allocations: 8.345 MB / 0.7845 GB, free: 86.88 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002518/1.972, allocations: 326.4 kB / 0.7848 GB, free: 86.79 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001859/1.974, allocations: 44.12 kB / 0.7848 GB, free: 86.79 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00401/1.978, allocations: 202.5 kB / 0.785 GB, free: 86.79 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001041/1.979, allocations: 147.6 kB / 0.7851 GB, free: 86.78 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005557/1.98, allocations: 67.94 kB / 0.7852 GB, free: 86.78 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006327/1.986, allocations: 1.699 MB / 0.7869 GB, free: 86.64 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.665e-06/1.986, allocations: 2.562 kB / 0.7869 GB, free: 86.64 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009549/1.996, allocations: 1.103 MB / 0.7879 GB, free: 86.64 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 6 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.w_a[1],body.w_a[2],body.w_a[3]) * 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 (170): * Single equations (assignments): 161 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(4,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001274/1.997, allocations: 177.1 kB / 0.7881 GB, free: 86.55 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0133/2.011, allocations: 6.541 MB / 0.7945 GB, free: 86.18 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.619e-05/2.011, allocations: 5.938 kB / 0.7945 GB, free: 86.18 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005257/2.016, allocations: 2.521 MB / 0.797 GB, free: 85.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003172/2.019, allocations: 329.9 kB / 0.7973 GB, free: 85.04 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03117/2.05, allocations: 11.72 MB / 0.8087 GB, free: 79.41 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006882/2.057, allocations: 3.245 MB / 0.8119 GB, free: 78.18 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.006021/2.063, allocations: 2.059 MB / 0.8139 GB, free: 78.13 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001179/2.064, allocations: 207.4 kB / 0.8141 GB, free: 78.11 MB / 442.7 MB Notification: Performance of SimCode: time 2.144e-06/2.064, allocations: 0 / 0.8141 GB, free: 78.11 MB / 442.7 MB Notification: Performance of Templates: time 0.08457/2.149, allocations: 43.07 MB / 0.8562 GB, free: 65.17 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.Spherical.pipe 2>&1)