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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006644/0.006644, allocations: 100.7 kB / 15.73 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 199.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.695/1.695, allocations: 205.1 MB / 222.6 MB, free: 4.379 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3213/0.3213, allocations: 37.99 MB / 307.9 MB, free: 10.44 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 67.91 kB / 433 MB, free: 5.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3342/0.3359, allocations: 56.47 MB / 489.5 MB, free: 19.99 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.009479/0.3454, allocations: 7.616 MB / 497.1 MB, free: 14.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.006749/0.3522, allocations: 2.54 MB / 499.6 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001563/0.3538, allocations: 33.41 kB / 499.7 MB, free: 12.91 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002026/0.3559, allocations: 0.8931 MB / 0.4888 GB, free: 12.47 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009173/0.3568, allocations: 321.2 kB / 0.4891 GB, free: 12.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000862/0.3577, allocations: 327.4 kB / 0.4894 GB, free: 12.14 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008801/0.3586, allocations: 0.7476 MB / 0.4902 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009918/0.3596, allocations: 0.8307 MB / 0.491 GB, free: 11.45 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004293/0.36, allocations: 377.5 kB / 0.4913 GB, free: 11.28 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008768/0.3609, allocations: 0.6525 MB / 0.492 GB, free: 11.03 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001682/0.3611, allocations: 108.4 kB / 0.4921 GB, free: 11.02 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008373/0.3619, allocations: 0.5152 MB / 0.4926 GB, free: 10.89 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000531/0.3625, allocations: 0.4915 MB / 0.4931 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005031/0.363, allocations: 0.5731 MB / 0.4936 GB, free: 10.31 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.3651, allocations: 1.776 MB / 0.4954 GB, free: 9.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.3651, allocations: 1.188 kB / 0.4954 GB, free: 9.648 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.3651, allocations: 3.938 kB / 0.4954 GB, free: 9.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.556e-05/0.3651, allocations: 0 / 0.4954 GB, free: 9.645 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.003348/0.3685, allocations: 1.638 MB / 0.497 GB, free: 8.625 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3685, allocations: 12.67 kB / 0.497 GB, free: 8.621 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006249/0.3692, allocations: 157.8 kB / 0.4971 GB, free: 8.535 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008471/0.37, allocations: 0.6503 MB / 0.4978 GB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.209e-05/0.3701, allocations: 56.97 kB / 0.4978 GB, free: 7.996 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001968/0.3703, allocations: 83.41 kB / 0.4979 GB, free: 7.965 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004608/0.3749, allocations: 2.674 MB / 0.5005 GB, free: 6.387 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.183e-05/0.3749, allocations: 7.312 kB / 0.5005 GB, free: 6.383 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.502e-05/0.375, allocations: 33.97 kB / 0.5005 GB, free: 6.359 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005029/0.3756, allocations: 384.6 kB / 0.5009 GB, free: 6.219 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004926/0.3805, allocations: 2.363 MB / 0.5032 GB, free: 5.09 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007669/0.3882, allocations: 8.24 MB / 0.5113 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003473/0.3917, allocations: 0.9691 MB / 0.5122 GB, free: 13.95 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003843/0.3921, allocations: 260.1 kB / 0.5125 GB, free: 13.82 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001587/0.3937, allocations: 1.735 MB / 0.5142 GB, free: 12.17 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.3937, allocations: 40.81 kB / 0.5142 GB, free: 12.12 MB / 398.1 MB Notification: Performance of pre-optimization done (n=44): time 2.304e-06/0.3937, allocations: 3.938 kB / 0.5142 GB, free: 12.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=58): time 0.01081/0.4045, allocations: 2.94 MB / 0.5171 GB, free: 10.71 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.4046, allocations: 59.91 kB / 0.5171 GB, free: 10.64 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.4057, allocations: 0.9146 MB / 0.518 GB, free: 9.719 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.144e-05/0.4058, allocations: 29.7 kB / 0.518 GB, free: 9.684 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003834/0.4062, allocations: 0.6643 MB / 0.5187 GB, free: 9.008 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001547/0.4063, allocations: 221.1 kB / 0.5189 GB, free: 8.789 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002854/0.4066, allocations: 246.6 kB / 0.5191 GB, free: 8.543 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.4068, allocations: 398.7 kB / 0.5195 GB, free: 8.145 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004967/0.4073, allocations: 370.4 kB / 0.5199 GB, free: 7.781 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008563/0.4082, allocations: 0.9992 MB / 0.5209 GB, free: 6.48 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/0.4097, allocations: 1.491 MB / 0.5223 GB, free: 4.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.146e-06/0.4097, allocations: 4 kB / 0.5223 GB, free: 4.676 MB / 398.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001857/0.4116, allocations: 1.393 MB / 0.5237 GB, free: 3.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.107e-05/0.4116, allocations: 17.34 kB / 0.5237 GB, free: 3.262 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.462e-05/0.4116, allocations: 28.16 kB / 0.5237 GB, free: 3.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.946e-05/0.4117, allocations: 28 kB / 0.5237 GB, free: 3.207 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.4128, allocations: 327.4 kB / 0.5241 GB, free: 2.887 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009535/0.4137, allocations: 1.451 MB / 0.5255 GB, free: 1.297 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007377/0.4145, allocations: 55.92 kB / 0.5255 GB, free: 1.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.263e-05/0.4146, allocations: 64 kB / 0.5256 GB, free: 1.18 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 100 * Number of states: 0 () * Number of discrete variables: 27 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (157): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0008981/0.4155, allocations: 0.5048 MB / 0.5261 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.4156, allocations: 86.88 kB / 0.5262 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.4158, allocations: 116.7 kB / 0.5263 GB, free: 476 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.323e-06/0.4159, allocations: 8 kB / 0.5263 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.612e-06/0.4159, allocations: 0 / 0.5263 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.4159, allocations: 0 / 0.5263 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003676/0.4196, allocations: 2.172 MB / 0.5284 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.4196, allocations: 8 kB / 0.5284 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004751/0.4201, allocations: 123.8 kB / 0.5285 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.929e-06/0.4201, allocations: 8 kB / 0.5285 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.38e-05/0.4201, allocations: 16 kB / 0.5285 GB, free: 13.99 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008617/0.421, allocations: 1.424 MB / 0.5299 GB, free: 12.43 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.554e-06/0.421, allocations: 11.94 kB / 0.53 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008902/0.4219, allocations: 0.8307 MB / 0.5308 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002689/0.4222, allocations: 203.9 kB / 0.531 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.77e-05/0.4223, allocations: 19.98 kB / 0.531 GB, free: 11.25 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003311/0.4226, allocations: 23.88 kB / 0.531 GB, free: 11.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.424e-05/0.4227, allocations: 55.83 kB / 0.5311 GB, free: 11.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.644e-05/0.4227, allocations: 16 kB / 0.5311 GB, free: 11.16 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007349/0.4235, allocations: 0.6044 MB / 0.5317 GB, free: 10.55 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4235, allocations: 0 / 0.5317 GB, free: 10.55 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00105/0.4245, allocations: 219.9 kB / 0.5319 GB, free: 10.34 MB / 414.1 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 (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001931/0.4247, allocations: 123 kB / 0.532 GB, free: 10.21 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001396/0.4261, allocations: 0.8863 MB / 0.5329 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.4262, allocations: 320 / 0.5329 GB, free: 9.324 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004257/0.4266, allocations: 283.8 kB / 0.5331 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007575/0.4274, allocations: 128.2 kB / 0.5332 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003768/0.4311, allocations: 2.134 MB / 0.5353 GB, free: 6.68 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.4322, allocations: 1.22 MB / 0.5365 GB, free: 5.434 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0007631/0.433, allocations: 343.6 kB / 0.5368 GB, free: 5.094 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.4332, allocations: 63.44 kB / 0.5369 GB, free: 5.031 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.4332, allocations: 3.938 kB / 0.5369 GB, free: 5.027 MB / 414.1 MB Notification: Performance of Templates: time 0.01733/0.4505, allocations: 8.288 MB / 0.545 GB, free: 12.75 MB / 430.1 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)