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.000997/0.000997, allocations: 181.9 kB / 12.74 MB, free: 2.582 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.507/1.507, allocations: 194.3 MB / 207.5 MB, free: 3.469 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.001639/0.001639, allocations: 106.2 kB / 252.6 MB, free: 4.82 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2323/0.2323, allocations: 39.94 MB / 337.5 MB, free: 468 kB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 5.456e-05/5.466e-05, allocations: 11.98 kB / 400.3 MB, free: 69.88 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1152, allocations: 54.86 MB / 455.1 MB, free: 14.97 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4812/0.5964, allocations: 90.96 MB / 0.5333 GB, free: 0.7227 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002278/0.5967, allocations: 78.02 kB / 0.5334 GB, free: 0.6836 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05367/0.6504, allocations: 19.94 MB / 0.5529 GB, free: 15.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.6505, allocations: 0 / 0.5529 GB, free: 15.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.498e-05/0.6505, allocations: 20 kB / 0.5529 GB, free: 15.27 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.002731/0.6533, allocations: 1.379 MB / 0.5542 GB, free: 13.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/0.6533, allocations: 8.031 kB / 0.5542 GB, free: 13.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000959/0.6543, allocations: 202.3 kB / 0.5544 GB, free: 13.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001402/0.6557, allocations: 0.6889 MB / 0.5551 GB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.948e-05/0.6558, allocations: 74.3 kB / 0.5552 GB, free: 13.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.656, allocations: 104.6 kB / 0.5553 GB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005555/0.6616, allocations: 2.654 MB / 0.5579 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.691e-05/0.6617, allocations: 11.88 kB / 0.5579 GB, free: 10.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001242/0.6618, allocations: 46.78 kB / 0.5579 GB, free: 10.77 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003005/0.6621, allocations: 208.1 kB / 0.5581 GB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005282/0.6674, allocations: 2.38 MB / 0.5604 GB, free: 8.848 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009826/0.6772, allocations: 8.525 MB / 0.5688 GB, free: 1.441 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003835/0.6811, allocations: 1.001 MB / 0.5697 GB, free: 0.582 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003535/0.6815, allocations: 250.4 kB / 0.57 GB, free: 432 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001594/0.6831, allocations: 1.731 MB / 0.5717 GB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.6832, allocations: 39.67 kB / 0.5717 GB, free: 14.43 MB / 394.7 MB Notification: Performance of pre-optimization done (n=44): time 2.615e-06/0.6832, allocations: 0 / 0.5717 GB, free: 14.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=58): time 0.01083/0.694, allocations: 2.695 MB / 0.5743 GB, free: 12.01 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.45e-05/0.6941, allocations: 59.97 kB / 0.5744 GB, free: 11.94 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001094/0.6952, allocations: 0.7704 MB / 0.5751 GB, free: 11.34 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.625e-05/0.6953, allocations: 37.88 kB / 0.5752 GB, free: 11.31 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004576/0.6957, allocations: 0.65 MB / 0.5758 GB, free: 10.77 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.6959, allocations: 213.2 kB / 0.576 GB, free: 10.59 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.338e-05/0.696, allocations: 25.81 kB / 0.576 GB, free: 10.59 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002002/0.6962, allocations: 406.1 kB / 0.5764 GB, free: 10.22 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/0.6967, allocations: 349.7 kB / 0.5768 GB, free: 9.984 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009145/0.6976, allocations: 0.9512 MB / 0.5777 GB, free: 8.883 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007286/0.6984, allocations: 0.5618 MB / 0.5782 GB, free: 8.469 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/0.6984, allocations: 8 kB / 0.5783 GB, free: 8.461 MB / 394.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001908/0.7003, allocations: 1.35 MB / 0.5796 GB, free: 7.395 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.969e-05/0.7003, allocations: 15.95 kB / 0.5796 GB, free: 7.379 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.718e-05/0.7004, allocations: 27.98 kB / 0.5796 GB, free: 7.352 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.32e-05/0.7004, allocations: 32 kB / 0.5796 GB, free: 7.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.7016, allocations: 314.6 kB / 0.5799 GB, free: 7.023 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001135/0.7027, allocations: 1.368 MB / 0.5813 GB, free: 5.547 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007155/0.7035, allocations: 57.14 kB / 0.5813 GB, free: 5.508 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.51e-05/0.7036, allocations: 71.34 kB / 0.5814 GB, free: 5.449 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 () * 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.0002051/0.7038, allocations: 206.8 kB / 0.5816 GB, free: 5.273 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/0.7039, allocations: 86.92 kB / 0.5817 GB, free: 5.188 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.7041, allocations: 113.7 kB / 0.5818 GB, free: 5.129 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.361e-06/0.7042, allocations: 4 kB / 0.5818 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.645e-06/0.7042, allocations: 0 / 0.5818 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.7042, allocations: 0 / 0.5818 GB, free: 5.125 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003355/0.7075, allocations: 2.144 MB / 0.5839 GB, free: 3.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.248e-06/0.7076, allocations: 8 kB / 0.5839 GB, free: 3.305 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005144/0.7081, allocations: 127.1 kB / 0.584 GB, free: 3.184 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.097e-05/0.7081, allocations: 8 kB / 0.584 GB, free: 3.176 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.232e-05/0.7082, allocations: 23.38 kB / 0.584 GB, free: 3.16 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009623/0.7091, allocations: 1.346 MB / 0.5854 GB, free: 1.719 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.078e-06/0.7091, allocations: 11.94 kB / 0.5854 GB, free: 1.707 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001275/0.7104, allocations: 1.123 MB / 0.5865 GB, free: 496 kB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.7108, allocations: 208.5 kB / 0.5867 GB, free: 288 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.681e-05/0.7109, allocations: 15.25 kB / 0.5867 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003059/0.7112, allocations: 19.67 kB / 0.5867 GB, free: 268 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.601e-05/0.7113, allocations: 55.22 kB / 0.5868 GB, free: 220 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.7113, allocations: 19.38 kB / 0.5868 GB, free: 204 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007833/0.7121, allocations: 0.5698 MB / 0.5873 GB, free: 15.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.7121, allocations: 0 / 0.5873 GB, free: 15.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001005/0.7131, allocations: 217.5 kB / 0.5875 GB, free: 15.57 MB / 410.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 () * 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.0002142/0.7133, allocations: 123.1 kB / 0.5877 GB, free: 15.44 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001267/0.7146, allocations: 0.831 MB / 0.5885 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.7146, allocations: 0 / 0.5885 GB, free: 14.61 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004284/0.7151, allocations: 278.1 kB / 0.5887 GB, free: 14.34 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005455/0.7156, allocations: 119.7 kB / 0.5888 GB, free: 14.23 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002786/0.7184, allocations: 1.631 MB / 0.5904 GB, free: 12.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009713/0.7194, allocations: 1.232 MB / 0.5916 GB, free: 11.23 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000847/0.7203, allocations: 339.4 kB / 0.592 GB, free: 10.9 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001747/0.7204, allocations: 71.36 kB / 0.592 GB, free: 10.83 MB / 410.7 MB Notification: Performance of SimCode: time 9.22e-07/0.7204, allocations: 3.938 kB / 0.592 GB, free: 10.82 MB / 410.7 MB Notification: Performance of Templates: time 0.01541/0.7359, allocations: 7.306 MB / 0.5992 GB, free: 3.531 MB / 410.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)