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.001362/0.001366, allocations: 156.1 kB / 7.633 MB, free: 1.445 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.475/1.475, allocations: 170.7 MB / 178.7 MB, free: 7.043 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.001619/0.001619, allocations: 105.8 kB / 218 MB, free: 15.34 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.2564/0.2564, allocations: 37.97 MB / 295.1 MB, free: 2.09 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.528e-05/1.532e-05, allocations: 4 kB / 350 MB, free: 32.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2913, allocations: 48.69 MB / 398.7 MB, free: 6.062 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1163/0.4076, allocations: 83.79 MB / 482.5 MB, free: 15.33 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.4079, allocations: 71.97 kB / 482.6 MB, free: 15.26 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0541/0.462, allocations: 19.53 MB / 0.4903 GB, free: 11.6 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.4621, allocations: 0 / 0.4903 GB, free: 11.6 MB / 362.7 MB Notification: Performance of Transformations before backend: time 8.056e-05/0.4622, allocations: 20 kB / 0.4904 GB, free: 11.58 MB / 362.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.00467/0.4669, allocations: 1.369 MB / 0.4917 GB, free: 10.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001093/0.467, allocations: 8.031 kB / 0.4917 GB, free: 10.15 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001538/0.4685, allocations: 210.3 kB / 0.4919 GB, free: 9.945 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001681/0.4702, allocations: 0.688 MB / 0.4926 GB, free: 9.215 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.117e-05/0.4703, allocations: 32 kB / 0.4926 GB, free: 9.184 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003401/0.4706, allocations: 67.91 kB / 0.4927 GB, free: 9.117 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002861/0.4735, allocations: 1.688 MB / 0.4943 GB, free: 7.426 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002979/0.4765, allocations: 1.94 MB / 0.4962 GB, free: 5.336 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.922e-05/0.4766, allocations: 3.938 kB / 0.4962 GB, free: 5.332 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000107/0.4767, allocations: 4 kB / 0.4962 GB, free: 5.328 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002958/0.477, allocations: 205.8 kB / 0.4964 GB, free: 5.125 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009077/0.4861, allocations: 7.467 MB / 0.5037 GB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005999/0.4867, allocations: 402.5 kB / 0.5041 GB, free: 13.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003392/0.4871, allocations: 236.8 kB / 0.5043 GB, free: 12.8 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001541/0.4886, allocations: 1.73 MB / 0.506 GB, free: 10.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.286e-05/0.4887, allocations: 38.66 kB / 0.506 GB, free: 10.75 MB / 378.7 MB Notification: Performance of pre-optimization done (n=44): time 3.146e-06/0.4887, allocations: 3.938 kB / 0.5061 GB, free: 10.75 MB / 378.7 MB Notification: Performance of matching and sorting (n=58): time 0.006657/0.4954, allocations: 2.01 MB / 0.508 GB, free: 8.723 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.4954, allocations: 55.97 kB / 0.5081 GB, free: 8.656 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008883/0.4963, allocations: 0.6437 MB / 0.5087 GB, free: 8.008 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.4964, allocations: 29.7 kB / 0.5087 GB, free: 7.973 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004098/0.4968, allocations: 0.664 MB / 0.5094 GB, free: 7.297 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001696/0.497, allocations: 213 kB / 0.5096 GB, free: 7.086 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.497, allocations: 0 / 0.5096 GB, free: 7.086 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001633/0.4972, allocations: 394.7 kB / 0.51 GB, free: 6.691 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000502/0.4977, allocations: 326.5 kB / 0.5103 GB, free: 6.371 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009478/0.4986, allocations: 0.9549 MB / 0.5112 GB, free: 5.105 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007625/0.4994, allocations: 0.5406 MB / 0.5117 GB, free: 4.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.297e-05/0.4994, allocations: 8 kB / 0.5117 GB, free: 4.562 MB / 378.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001852/0.5013, allocations: 1.202 MB / 0.5129 GB, free: 3.352 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.698e-05/0.5013, allocations: 22.91 kB / 0.5129 GB, free: 3.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.75e-05/0.5014, allocations: 20 kB / 0.5129 GB, free: 3.312 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.137e-05/0.5014, allocations: 36.72 kB / 0.513 GB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001305/0.5027, allocations: 319.5 kB / 0.5133 GB, free: 2.965 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001214/0.5039, allocations: 1.317 MB / 0.5146 GB, free: 1.539 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008002/0.5048, allocations: 31.89 kB / 0.5146 GB, free: 1.508 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.5049, allocations: 68 kB / 0.5147 GB, free: 1.441 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * 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 (157): * Single equations (assignments): 156 * 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.0002337/0.5051, allocations: 171.5 kB / 0.5148 GB, free: 1.266 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001514/0.5053, allocations: 75.05 kB / 0.5149 GB, free: 1.191 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000222/0.5055, allocations: 103.8 kB / 0.515 GB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.507e-06/0.5055, allocations: 11.98 kB / 0.515 GB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/0.5055, allocations: 0 / 0.515 GB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.5056, allocations: 3.984 kB / 0.515 GB, free: 1.066 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/0.5087, allocations: 1.828 MB / 0.5168 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/0.5087, allocations: 4 kB / 0.5168 GB, free: 15.11 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005389/0.5092, allocations: 132.6 kB / 0.5169 GB, free: 14.98 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.456e-05/0.5093, allocations: 12 kB / 0.5169 GB, free: 14.97 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.911e-05/0.5093, allocations: 8 kB / 0.517 GB, free: 14.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000774/0.5101, allocations: 1.282 MB / 0.5182 GB, free: 13.56 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.368e-06/0.5101, allocations: 15.89 kB / 0.5182 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.5111, allocations: 1.066 MB / 0.5193 GB, free: 12.21 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002463/0.5114, allocations: 188.1 kB / 0.5194 GB, free: 12.01 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.359e-05/0.5115, allocations: 15.98 kB / 0.5195 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003252/0.5118, allocations: 12 kB / 0.5195 GB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.933e-05/0.5119, allocations: 47.84 kB / 0.5195 GB, free: 11.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.152e-05/0.5119, allocations: 28 kB / 0.5195 GB, free: 11.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000518/0.5124, allocations: 459.1 kB / 0.52 GB, free: 11.47 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5124, allocations: 3.938 kB / 0.52 GB, free: 11.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009922/0.5134, allocations: 176 kB / 0.5201 GB, free: 11.29 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 () * 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.0002025/0.5137, allocations: 115.1 kB / 0.5203 GB, free: 11.17 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001144/0.5148, allocations: 0.7755 MB / 0.521 GB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.5148, allocations: 1.062 kB / 0.521 GB, free: 10.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003882/0.5152, allocations: 256 kB / 0.5213 GB, free: 10.15 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005319/0.5158, allocations: 91.09 kB / 0.5213 GB, free: 10.06 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002901/0.5187, allocations: 1.588 MB / 0.5229 GB, free: 8.371 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.5197, allocations: 1.236 MB / 0.5241 GB, free: 7.109 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001065/0.5208, allocations: 330.7 kB / 0.5244 GB, free: 6.781 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001697/0.521, allocations: 55.44 kB / 0.5245 GB, free: 6.727 MB / 394.7 MB Notification: Performance of SimCode: time 3.41e-07/0.521, allocations: 0 / 0.5245 GB, free: 6.727 MB / 394.7 MB Notification: Performance of Templates: time 0.01311/0.5341, allocations: 6.143 MB / 0.5305 GB, free: 0.6055 MB / 394.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)