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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008898/0.0008897, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001203/0.001203, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.785/1.785, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.431/0.431, allocations: 39.99 MB / 310.4 MB, free: 9.652 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.2. 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.0006189/0.0006194, allocations: 12 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1519/0.1525, allocations: 57.96 MB / 436.8 MB, free: 2.297 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01671/0.1693, allocations: 16.28 MB / 453.1 MB, free: 1.965 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.3179/0.4872, allocations: 3.975 MB / 457 MB, free: 33.93 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003332/0.4906, allocations: 69.81 kB / 457.1 MB, free: 33.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.4926, allocations: 0.6441 MB / 457.8 MB, free: 33.93 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005663/0.4983, allocations: 1.828 MB / 459.6 MB, free: 33.84 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001044/0.4994, allocations: 248.2 kB / 459.8 MB, free: 33.82 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001229/0.5006, allocations: 0.9188 MB / 460.7 MB, free: 33.68 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001567/0.5022, allocations: 1.068 MB / 461.8 MB, free: 33.51 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004311/0.5027, allocations: 301.8 kB / 462.1 MB, free: 33.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007219/0.5034, allocations: 0.6094 MB / 462.7 MB, free: 33.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.356e-05/0.5035, allocations: 58.97 kB / 462.8 MB, free: 33.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006521/0.5042, allocations: 408.2 kB / 463.2 MB, free: 33.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003706/0.5045, allocations: 447.3 kB / 463.6 MB, free: 33.3 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001659/0.5047, allocations: 207.3 kB / 463.8 MB, free: 33.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.5058, allocations: 1.339 MB / 465.2 MB, free: 33.13 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.296e-06/0.5058, allocations: 3.219 kB / 465.2 MB, free: 33.13 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.5059, allocations: 0.75 kB / 465.2 MB, free: 33.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.6e-05/0.5059, allocations: 4 kB / 465.2 MB, free: 33.13 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.002655/0.5085, allocations: 1.442 MB / 466.6 MB, free: 32.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.5086, allocations: 9.781 kB / 466.6 MB, free: 32.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006981/0.5093, allocations: 168.9 kB / 466.8 MB, free: 32.34 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000942/0.5103, allocations: 0.6135 MB / 467.4 MB, free: 32.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.041e-05/0.5103, allocations: 57.36 kB / 467.4 MB, free: 32.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002015/0.5105, allocations: 84.2 kB / 467.5 MB, free: 32.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004512/0.5151, allocations: 2.674 MB / 470.2 MB, free: 31.58 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.5151, allocations: 7.344 kB / 470.2 MB, free: 31.57 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.825e-05/0.5152, allocations: 36.7 kB / 470.2 MB, free: 31.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004454/0.5157, allocations: 390.8 kB / 470.6 MB, free: 31.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004378/0.5201, allocations: 2.362 MB / 473 MB, free: 31.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0082/0.5283, allocations: 8.271 MB / 481.3 MB, free: 27.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003216/0.5315, allocations: 0.9822 MB / 482.2 MB, free: 27.08 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003661/0.5319, allocations: 257.7 kB / 482.5 MB, free: 27.07 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001167/0.5331, allocations: 1.73 MB / 484.2 MB, free: 25.65 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.5332, allocations: 36.72 kB / 484.3 MB, free: 25.61 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 5.35e-06/0.5332, allocations: 4.094 kB / 484.3 MB, free: 25.61 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01057/0.5438, allocations: 2.968 MB / 487.2 MB, free: 25.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/0.5439, allocations: 60.91 kB / 487.3 MB, free: 25.23 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/0.5455, allocations: 0.8992 MB / 488.2 MB, free: 25.07 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.271e-05/0.5456, allocations: 42.58 kB / 488.2 MB, free: 25.04 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000522/0.5461, allocations: 0.6622 MB / 488.9 MB, free: 24.66 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000205/0.5463, allocations: 208.3 kB / 489.1 MB, free: 24.54 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.443e-05/0.5464, allocations: 28.03 kB / 489.1 MB, free: 24.54 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.5466, allocations: 399.5 kB / 489.5 MB, free: 24.22 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006136/0.5472, allocations: 364.7 kB / 489.9 MB, free: 24.22 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009215/0.5481, allocations: 0.9889 MB / 490.9 MB, free: 23.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000992/0.5491, allocations: 0.5708 MB / 491.4 MB, free: 23.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.546e-05/0.5492, allocations: 6.344 kB / 491.4 MB, free: 23.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002859/0.5521, allocations: 1.39 MB / 492.8 MB, free: 22.98 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.388e-05/0.5521, allocations: 16.09 kB / 492.8 MB, free: 22.98 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.434e-05/0.5522, allocations: 22 kB / 492.9 MB, free: 22.98 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.462e-05/0.5523, allocations: 39.36 kB / 492.9 MB, free: 22.98 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/0.5536, allocations: 323.3 kB / 493.2 MB, free: 22.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000915/0.5545, allocations: 1.36 MB / 494.6 MB, free: 21.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009069/0.5554, allocations: 53.8 kB / 494.6 MB, free: 21.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001408/0.5556, allocations: 64.72 kB / 494.7 MB, free: 21.54 MB / 382.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 (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.0009955/0.5566, allocations: 0.4948 MB / 495.2 MB, free: 21.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002008/0.5568, allocations: 89.72 kB / 495.3 MB, free: 21.2 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002853/0.5571, allocations: 124.6 kB / 495.4 MB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/0.5571, allocations: 6.25 kB / 495.4 MB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.23e-05/0.5571, allocations: 0 / 495.4 MB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.26e-05/0.5571, allocations: 4.547 kB / 495.4 MB, free: 21.12 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004669/0.5618, allocations: 2.173 MB / 497.6 MB, free: 20.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/0.5619, allocations: 6.469 kB / 497.6 MB, free: 20.04 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005193/0.5624, allocations: 129.3 kB / 497.7 MB, free: 20.02 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.002e-05/0.5624, allocations: 9.406 kB / 497.7 MB, free: 20.02 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.78e-05/0.5625, allocations: 19.28 kB / 497.7 MB, free: 20.02 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007304/0.5632, allocations: 1.327 MB / 499.1 MB, free: 18.65 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.035e-05/0.5632, allocations: 11.19 kB / 499.1 MB, free: 18.64 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/0.5644, allocations: 0.8241 MB / 499.9 MB, free: 18.06 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004001/0.5648, allocations: 205.4 kB / 0.4884 GB, free: 17.9 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001825/0.565, allocations: 19.19 kB / 0.4884 GB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004747/0.5655, allocations: 17.42 kB / 0.4884 GB, free: 17.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/0.5656, allocations: 58.64 kB / 0.4885 GB, free: 17.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.069e-05/0.5656, allocations: 26.22 kB / 0.4885 GB, free: 17.86 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001089/0.5667, allocations: 0.5897 MB / 0.4891 GB, free: 17.62 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5667, allocations: 2.609 kB / 0.4891 GB, free: 17.62 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001475/0.5682, allocations: 215.9 kB / 0.4893 GB, free: 17.59 MB / 382.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 (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.0002077/0.5684, allocations: 125.4 kB / 0.4894 GB, free: 17.48 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001813/0.5703, allocations: 0.8628 MB / 0.4903 GB, free: 17.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5703, allocations: 0 / 0.4903 GB, free: 17.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005274/0.5708, allocations: 279.4 kB / 0.4905 GB, free: 17.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001012/0.5718, allocations: 125.2 kB / 0.4906 GB, free: 17.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004883/0.5767, allocations: 2.513 MB / 0.4931 GB, free: 15.55 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001374/0.5782, allocations: 1.221 MB / 0.4943 GB, free: 14.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001296/0.5795, allocations: 339.5 kB / 0.4946 GB, free: 14.72 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003/0.5798, allocations: 69.12 kB / 0.4947 GB, free: 14.71 MB / 382.1 MB Notification: Performance of SimCode: time 1.202e-06/0.5798, allocations: 0 / 0.4947 GB, free: 14.71 MB / 382.1 MB Notification: Performance of Templates: time 0.02153/0.6013, allocations: 7.393 MB / 0.5019 GB, free: 12.46 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Joints.SphericalSpherical.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: