Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.007967/0.007967, allocations: 174.1 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.825/1.825, allocations: 194.5 MB / 210.3 MB, free: 7.535 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001918/0.001918, allocations: 128.6 kB / 255.6 MB, free: 10.15 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2035/0.2035, allocations: 40.02 MB / 340.8 MB, free: 11.38 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.0004029, allocations: 15.73 kB / 406.2 MB, free: 51.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.125, allocations: 54.87 MB / 461 MB, free: 3.312 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4271/0.5521, allocations: 91.05 MB / 0.5391 GB, free: 21.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002171/0.5524, allocations: 81.55 kB / 0.5392 GB, free: 21.91 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05288/0.6053, allocations: 19.95 MB / 0.5587 GB, free: 19.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.387e-06/0.6053, allocations: 0 / 0.5587 GB, free: 19.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.522e-05/0.6054, allocations: 23.31 kB / 0.5587 GB, free: 19.6 MB / 378.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.003941/0.6094, allocations: 1.449 MB / 0.5601 GB, free: 18.88 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/0.6094, allocations: 14.03 kB / 0.5601 GB, free: 18.87 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001311/0.6107, allocations: 205 kB / 0.5603 GB, free: 18.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001758/0.6125, allocations: 0.6971 MB / 0.561 GB, free: 18.48 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/0.6126, allocations: 76.56 kB / 0.5611 GB, free: 18.48 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003712/0.613, allocations: 106.3 kB / 0.5612 GB, free: 18.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005564/0.6186, allocations: 2.664 MB / 0.5638 GB, free: 17.98 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.232e-05/0.6186, allocations: 15.39 kB / 0.5638 GB, free: 17.97 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001652/0.6188, allocations: 47.3 kB / 0.5639 GB, free: 17.97 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002501/0.6191, allocations: 203.9 kB / 0.5641 GB, free: 17.97 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004766/0.6238, allocations: 2.405 MB / 0.5664 GB, free: 17.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008426/0.6323, allocations: 8.536 MB / 0.5747 GB, free: 12.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003277/0.6356, allocations: 1.002 MB / 0.5757 GB, free: 11.99 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001158/0.6368, allocations: 1.738 MB / 0.5774 GB, free: 10.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.382e-05/0.6368, allocations: 38.5 kB / 0.5775 GB, free: 10.37 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 2.745e-06/0.6369, allocations: 3.875 kB / 0.5775 GB, free: 10.37 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.01036/0.6472, allocations: 3.022 MB / 0.5804 GB, free: 9.406 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.399e-05/0.6473, allocations: 55.91 kB / 0.5805 GB, free: 9.344 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001263/0.6486, allocations: 0.7793 MB / 0.5812 GB, free: 9.078 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.299e-05/0.6486, allocations: 40.58 kB / 0.5813 GB, free: 9.043 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003663/0.649, allocations: 0.6451 MB / 0.5819 GB, free: 8.602 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001681/0.6492, allocations: 213.4 kB / 0.5821 GB, free: 8.453 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.956e-05/0.6493, allocations: 30.09 kB / 0.5821 GB, free: 8.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001381/0.6494, allocations: 397.2 kB / 0.5825 GB, free: 8.109 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005028/0.6499, allocations: 363.2 kB / 0.5828 GB, free: 8.051 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007239/0.6506, allocations: 0.9619 MB / 0.5838 GB, free: 7.16 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000708/0.6514, allocations: 0.5689 MB / 0.5843 GB, free: 7.047 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.6514, allocations: 7.75 kB / 0.5844 GB, free: 7.047 MB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001943/0.6533, allocations: 1.362 MB / 0.5857 GB, free: 6.676 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.282e-05/0.6534, allocations: 13.41 kB / 0.5857 GB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.863e-05/0.6534, allocations: 26.77 kB / 0.5857 GB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.026e-05/0.6535, allocations: 31.28 kB / 0.5857 GB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/0.6547, allocations: 315.7 kB / 0.586 GB, free: 6.605 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.656, allocations: 1.373 MB / 0.5874 GB, free: 21.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009478/0.6569, allocations: 54.14 kB / 0.5874 GB, free: 21.22 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.962e-05/0.6571, allocations: 69.56 kB / 0.5875 GB, free: 21.21 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.0008812/0.6579, allocations: 492.7 kB / 0.588 GB, free: 21.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001815/0.6581, allocations: 81.44 kB / 0.5881 GB, free: 20.97 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002729/0.6584, allocations: 116 kB / 0.5882 GB, free: 20.94 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.542e-06/0.6584, allocations: 7.812 kB / 0.5882 GB, free: 20.93 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.984e-06/0.6584, allocations: 0 / 0.5882 GB, free: 20.93 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.156e-05/0.6585, allocations: 11.75 kB / 0.5882 GB, free: 20.93 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003926/0.6624, allocations: 2.148 MB / 0.5903 GB, free: 19.98 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/0.6624, allocations: 7.781 kB / 0.5903 GB, free: 19.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005068/0.6629, allocations: 124.8 kB / 0.5904 GB, free: 19.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.309e-05/0.663, allocations: 11.66 kB / 0.5904 GB, free: 19.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.434e-05/0.663, allocations: 14.94 kB / 0.5904 GB, free: 19.95 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009549/0.664, allocations: 1.341 MB / 0.5917 GB, free: 18.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/0.664, allocations: 8.031 kB / 0.5918 GB, free: 18.59 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.665, allocations: 1.138 MB / 0.5929 GB, free: 17.65 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004553/0.6655, allocations: 209.1 kB / 0.5931 GB, free: 17.49 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.6656, allocations: 19.03 kB / 0.5931 GB, free: 17.49 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004/0.6661, allocations: 15.19 kB / 0.5931 GB, free: 17.49 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.881e-05/0.6661, allocations: 54.89 kB / 0.5931 GB, free: 17.46 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.074e-05/0.6662, allocations: 23.19 kB / 0.5932 GB, free: 17.46 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007743/0.6669, allocations: 0.5724 MB / 0.5937 GB, free: 17.29 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.262e-06/0.667, allocations: 7.875 kB / 0.5937 GB, free: 17.28 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001109/0.6681, allocations: 225.2 kB / 0.594 GB, free: 17.27 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.0002378/0.6683, allocations: 121.5 kB / 0.5941 GB, free: 17.17 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.6696, allocations: 0.8416 MB / 0.5949 GB, free: 16.99 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.6696, allocations: 0 / 0.5949 GB, free: 16.99 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003482/0.67, allocations: 286.2 kB / 0.5952 GB, free: 16.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006109/0.6706, allocations: 107.7 kB / 0.5953 GB, free: 16.9 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.6743, allocations: 2.478 MB / 0.5977 GB, free: 15.39 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.6754, allocations: 1.236 MB / 0.5989 GB, free: 14.49 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008797/0.6763, allocations: 338.8 kB / 0.5992 GB, free: 14.34 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001951/0.6765, allocations: 62.28 kB / 0.5993 GB, free: 14.33 MB / 394.7 MB Notification: Performance of SimCode: time 5.81e-07/0.6765, allocations: 0 / 0.5993 GB, free: 14.33 MB / 394.7 MB Notification: Performance of Templates: time 0.01445/0.691, allocations: 7.294 MB / 0.6064 GB, free: 10.83 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1)