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.007673/0.007673, allocations: 166.3 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.521/1.521, allocations: 170.8 MB / 186.6 MB, free: 1.137 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.001988/0.001988, allocations: 111.3 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.3997/0.3997, allocations: 38.05 MB / 303.7 MB, free: 42.35 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004577/0.0004577, allocations: 8 kB / 362.9 MB, free: 5.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.1202, allocations: 48.7 MB / 411.6 MB, free: 4.816 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3449/0.4652, allocations: 84.54 MB / 496.1 MB, free: 3.469 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002152/0.4655, allocations: 78.09 kB / 496.2 MB, free: 3.43 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05204/0.5175, allocations: 19.95 MB / 0.504 GB, free: 2.09 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.366e-06/0.5176, allocations: 4 kB / 0.504 GB, free: 2.086 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.727e-05/0.5177, allocations: 23.94 kB / 0.5041 GB, free: 2.062 MB / 346.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.003185/0.5209, allocations: 1.451 MB / 0.5055 GB, free: 0.6367 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.5209, allocations: 8.031 kB / 0.5055 GB, free: 0.6289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009158/0.5218, allocations: 202.2 kB / 0.5057 GB, free: 440 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001445/0.5233, allocations: 0.7052 MB / 0.5064 GB, free: 15.81 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.736e-05/0.5234, allocations: 78.55 kB / 0.5064 GB, free: 15.76 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001699/0.5236, allocations: 105.6 kB / 0.5065 GB, free: 15.68 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005146/0.5287, allocations: 2.661 MB / 0.5091 GB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.905e-05/0.5288, allocations: 15.05 kB / 0.5092 GB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001214/0.5289, allocations: 47.09 kB / 0.5092 GB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002827/0.5292, allocations: 204.8 kB / 0.5094 GB, free: 13.3 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00491/0.5341, allocations: 2.406 MB / 0.5117 GB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009433/0.5436, allocations: 8.543 MB / 0.5201 GB, free: 3.664 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003649/0.5473, allocations: 1.003 MB / 0.5211 GB, free: 2.648 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001698/0.549, allocations: 1.734 MB / 0.5228 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.5491, allocations: 34.56 kB / 0.5228 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of pre-optimization done (n=44): time 3.607e-06/0.5491, allocations: 0 / 0.5228 GB, free: 0.5938 MB / 362.7 MB Notification: Performance of matching and sorting (n=58): time 0.01111/0.5602, allocations: 3.022 MB / 0.5257 GB, free: 13.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.869e-05/0.5603, allocations: 59.95 kB / 0.5258 GB, free: 13.49 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001229/0.5616, allocations: 0.7808 MB / 0.5266 GB, free: 12.7 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.618e-05/0.5616, allocations: 37.7 kB / 0.5266 GB, free: 12.66 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004658/0.5621, allocations: 0.6487 MB / 0.5272 GB, free: 12 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.5623, allocations: 209 kB / 0.5274 GB, free: 11.79 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.633e-05/0.5623, allocations: 28 kB / 0.5275 GB, free: 11.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002948/0.5626, allocations: 406.7 kB / 0.5278 GB, free: 11.36 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005961/0.5632, allocations: 358.4 kB / 0.5282 GB, free: 11.01 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001179/0.5644, allocations: 0.9615 MB / 0.5291 GB, free: 9.75 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008506/0.5653, allocations: 0.5719 MB / 0.5297 GB, free: 9.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.031e-05/0.5653, allocations: 8 kB / 0.5297 GB, free: 9.172 MB / 378.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002115/0.5674, allocations: 1.353 MB / 0.531 GB, free: 7.809 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.5675, allocations: 16 kB / 0.531 GB, free: 7.793 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.692e-05/0.5675, allocations: 20.88 kB / 0.5311 GB, free: 7.773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.32e-05/0.5676, allocations: 35.94 kB / 0.5311 GB, free: 7.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.5687, allocations: 319.5 kB / 0.5314 GB, free: 7.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.5701, allocations: 1.368 MB / 0.5327 GB, free: 5.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008029/0.5709, allocations: 51.91 kB / 0.5328 GB, free: 5.875 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.711e-05/0.571, allocations: 71.95 kB / 0.5328 GB, free: 5.805 MB / 378.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.0008163/0.5718, allocations: 496.9 kB / 0.5333 GB, free: 5.309 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001194/0.5719, allocations: 90.95 kB / 0.5334 GB, free: 5.219 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002164/0.5722, allocations: 116.4 kB / 0.5335 GB, free: 5.102 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.5722, allocations: 7.938 kB / 0.5335 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5722, allocations: 0 / 0.5335 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.5722, allocations: 0 / 0.5335 GB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003551/0.5758, allocations: 2.152 MB / 0.5356 GB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.326e-06/0.5758, allocations: 4 kB / 0.5356 GB, free: 2.801 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005382/0.5763, allocations: 135.8 kB / 0.5358 GB, free: 2.668 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.78e-05/0.5764, allocations: 12 kB / 0.5358 GB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.78e-05/0.5764, allocations: 16 kB / 0.5358 GB, free: 2.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001038/0.5774, allocations: 1.33 MB / 0.5371 GB, free: 1.176 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.634e-06/0.5775, allocations: 11.94 kB / 0.5371 GB, free: 1.164 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001206/0.5787, allocations: 1.128 MB / 0.5382 GB, free: 15.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004293/0.5791, allocations: 203.9 kB / 0.5384 GB, free: 15.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.23e-05/0.5792, allocations: 19.98 kB / 0.5384 GB, free: 15.53 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003404/0.5796, allocations: 19.94 kB / 0.5384 GB, free: 15.51 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.936e-05/0.5797, allocations: 55.8 kB / 0.5385 GB, free: 15.45 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.5797, allocations: 20 kB / 0.5385 GB, free: 15.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007767/0.5805, allocations: 0.581 MB / 0.5391 GB, free: 14.86 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5805, allocations: 0 / 0.5391 GB, free: 14.86 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.00109/0.5816, allocations: 208 kB / 0.5393 GB, free: 14.66 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.000222/0.5818, allocations: 131 kB / 0.5394 GB, free: 14.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001373/0.5832, allocations: 0.8447 MB / 0.5402 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5832, allocations: 4.25 kB / 0.5402 GB, free: 13.68 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004008/0.5836, allocations: 279.5 kB / 0.5405 GB, free: 13.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005747/0.5842, allocations: 115.9 kB / 0.5406 GB, free: 13.29 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00373/0.588, allocations: 2.468 MB / 0.543 GB, free: 10.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/0.589, allocations: 1.24 MB / 0.5442 GB, free: 9.453 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009215/0.5899, allocations: 331.5 kB / 0.5445 GB, free: 9.125 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001746/0.5901, allocations: 71.42 kB / 0.5446 GB, free: 9.055 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/0.5901, allocations: 0 / 0.5446 GB, free: 9.055 MB / 394.7 MB Notification: Performance of Templates: time 0.01537/0.6055, allocations: 7.294 MB / 0.5517 GB, free: 1.789 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)