Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.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.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical") translateModel(ModelicaTest.MultiBody.Joints.SphericalSpherical,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.0009694/0.0009694, allocations: 170.5 kB / 12.72 MB, free: 2.594 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.176/1.176, allocations: 170.6 MB / 183.8 MB, free: 11.43 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.00154/0.00154, allocations: 102.2 kB / 223.2 MB, free: 4.051 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.1686/0.1686, allocations: 37.99 MB / 300.4 MB, free: 5.344 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.985e-05/2.987e-05, allocations: 4 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0815/0.08155, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3052/0.3868, allocations: 84.44 MB / 490.1 MB, free: 18.51 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/0.387, allocations: 76.28 kB / 490.2 MB, free: 18.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04649/0.4335, allocations: 19.95 MB / 0.4982 GB, free: 12.5 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.313e-06/0.4336, allocations: 0 / 0.4982 GB, free: 12.5 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.064e-05/0.4336, allocations: 19.5 kB / 0.4982 GB, free: 12.5 MB / 330.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.002151/0.4358, allocations: 1.374 MB / 0.4996 GB, free: 11.61 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.4358, allocations: 11.75 kB / 0.4996 GB, free: 11.6 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008512/0.4367, allocations: 197.9 kB / 0.4998 GB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001003/0.4377, allocations: 0.6906 MB / 0.5004 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.657e-05/0.4378, allocations: 78.33 kB / 0.5005 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.4379, allocations: 106.3 kB / 0.5006 GB, free: 11.12 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004684/0.4426, allocations: 2.651 MB / 0.5032 GB, free: 10.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/0.4427, allocations: 7.812 kB / 0.5032 GB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001058/0.4428, allocations: 45.31 kB / 0.5032 GB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002064/0.443, allocations: 206.5 kB / 0.5034 GB, free: 10.14 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004368/0.4474, allocations: 2.376 MB / 0.5058 GB, free: 9.703 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006852/0.4542, allocations: 8.536 MB / 0.5141 GB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003572/0.4579, allocations: 0.9957 MB / 0.5151 GB, free: 3.867 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.4582, allocations: 254.4 kB / 0.5153 GB, free: 3.836 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/0.4592, allocations: 1.731 MB / 0.517 GB, free: 2.266 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.4593, allocations: 37.88 kB / 0.517 GB, free: 2.227 MB / 330.7 MB Notification: Performance of pre-optimization done (n=44): time 2.675e-06/0.4593, allocations: 0 / 0.517 GB, free: 2.227 MB / 330.7 MB Notification: Performance of matching and sorting (n=58): time 0.009728/0.469, allocations: 2.69 MB / 0.5197 GB, free: 1.316 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.633e-05/0.4691, allocations: 59.83 kB / 0.5197 GB, free: 1.25 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007546/0.4698, allocations: 0.7736 MB / 0.5205 GB, free: 1.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.903e-05/0.4699, allocations: 36.98 kB / 0.5205 GB, free: 0.9883 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.4701, allocations: 0.6478 MB / 0.5212 GB, free: 0.5391 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.351e-05/0.4702, allocations: 216.5 kB / 0.5214 GB, free: 404 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.4702, allocations: 21.78 kB / 0.5214 GB, free: 404 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.4703, allocations: 411.2 kB / 0.5218 GB, free: 32 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004693/0.4708, allocations: 353.9 kB / 0.5221 GB, free: 15.79 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008423/0.4717, allocations: 0.9542 MB / 0.523 GB, free: 14.69 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006816/0.4723, allocations: 0.5637 MB / 0.5236 GB, free: 14.27 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/0.4724, allocations: 8 kB / 0.5236 GB, free: 14.27 MB / 346.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.001768/0.4741, allocations: 1.341 MB / 0.5249 GB, free: 13.2 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.724e-05/0.4742, allocations: 12 kB / 0.5249 GB, free: 13.19 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.4742, allocations: 24 kB / 0.5249 GB, free: 13.17 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.982e-05/0.4743, allocations: 35.94 kB / 0.525 GB, free: 13.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/0.4754, allocations: 318.3 kB / 0.5253 GB, free: 12.83 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009685/0.4764, allocations: 1.366 MB / 0.5266 GB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006002/0.477, allocations: 58.09 kB / 0.5267 GB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.884e-05/0.4771, allocations: 67.03 kB / 0.5267 GB, free: 11.27 MB / 346.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.0001763/0.4773, allocations: 206.7 kB / 0.5269 GB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/0.4774, allocations: 86.95 kB / 0.527 GB, free: 11.01 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002284/0.4776, allocations: 113 kB / 0.5271 GB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.459e-06/0.4776, allocations: 4 kB / 0.5271 GB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.4776, allocations: 0 / 0.5271 GB, free: 10.95 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.4777, allocations: 3.984 kB / 0.5271 GB, free: 10.94 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003326/0.481, allocations: 2.149 MB / 0.5292 GB, free: 9.137 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.799e-06/0.481, allocations: 11.95 kB / 0.5292 GB, free: 9.125 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005072/0.4815, allocations: 123.8 kB / 0.5294 GB, free: 9.008 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/0.4815, allocations: 8 kB / 0.5294 GB, free: 9 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.4816, allocations: 19.75 kB / 0.5294 GB, free: 8.988 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008159/0.4824, allocations: 1.352 MB / 0.5307 GB, free: 7.527 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.613e-06/0.4824, allocations: 8 kB / 0.5307 GB, free: 7.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009817/0.4834, allocations: 1.113 MB / 0.5318 GB, free: 6.312 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.4837, allocations: 205.2 kB / 0.532 GB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.413e-05/0.4838, allocations: 15.44 kB / 0.532 GB, free: 6.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.4842, allocations: 15.12 kB / 0.532 GB, free: 6.094 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.611e-05/0.4842, allocations: 66.22 kB / 0.5321 GB, free: 6.039 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/0.4843, allocations: 19.38 kB / 0.5321 GB, free: 6.023 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006451/0.4849, allocations: 0.5671 MB / 0.5327 GB, free: 5.605 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.404e-06/0.4849, allocations: 0 / 0.5327 GB, free: 5.605 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008446/0.4858, allocations: 217.3 kB / 0.5329 GB, free: 5.418 MB / 346.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.0001727/0.486, allocations: 133.4 kB / 0.533 GB, free: 5.293 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001111/0.4871, allocations: 0.8307 MB / 0.5338 GB, free: 4.66 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4871, allocations: 0 / 0.5338 GB, free: 4.66 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004009/0.4875, allocations: 267.6 kB / 0.5341 GB, free: 4.461 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000522/0.488, allocations: 123.1 kB / 0.5342 GB, free: 4.379 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002424/0.4905, allocations: 1.626 MB / 0.5358 GB, free: 2.871 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008893/0.4914, allocations: 1.236 MB / 0.537 GB, free: 1.688 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008374/0.4922, allocations: 335.5 kB / 0.5373 GB, free: 1.355 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001602/0.4924, allocations: 65.25 kB / 0.5374 GB, free: 1.297 MB / 346.7 MB Notification: Performance of SimCode: time 1.002e-06/0.4924, allocations: 3.938 kB / 0.5374 GB, free: 1.293 MB / 346.7 MB Notification: Performance of Templates: time 0.0142/0.5066, allocations: 7.312 MB / 0.5445 GB, free: 10.03 MB / 362.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Joints.SphericalSpherical.pipe 2>&1)