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.001493/0.001493, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001801/0.001801, allocations: 195.4 kB / 16.25 MB, free: 6.621 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.712/1.712, allocations: 205.1 MB / 222.1 MB, free: 4.609 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.3325/0.3325, allocations: 37.99 MB / 307.4 MB, free: 10.2 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.001505/0.001506, allocations: 74.97 kB / 374.7 MB, free: 15.51 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1337, allocations: 56.46 MB / 431.2 MB, free: 6.938 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.0177/0.1515, allocations: 18.1 MB / 449.3 MB, free: 4.754 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01/0.1615, allocations: 4.211 MB / 453.5 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003769/0.1654, allocations: 71.81 kB / 453.6 MB, free: 472 kB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2579/0.4234, allocations: 0.8382 MB / 454.4 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001618/0.4251, allocations: 280.9 kB / 454.7 MB, free: 35.88 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001099/0.4262, allocations: 298.8 kB / 455 MB, free: 35.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008499/0.427, allocations: 0.7516 MB / 455.7 MB, free: 35.87 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001052/0.4281, allocations: 0.8686 MB / 456.6 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004541/0.4286, allocations: 375 kB / 457 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000796/0.4294, allocations: 0.7026 MB / 457.7 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001281/0.4295, allocations: 105.2 kB / 457.8 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006543/0.4302, allocations: 0.5318 MB / 458.3 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003795/0.4306, allocations: 0.5012 MB / 458.8 MB, free: 35.75 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004173/0.431, allocations: 0.5759 MB / 459.4 MB, free: 35.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001321/0.4323, allocations: 1.765 MB / 461.1 MB, free: 35.31 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.4324, allocations: 0 / 461.1 MB, free: 35.31 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4324, allocations: 0 / 461.1 MB, free: 35.31 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.351e-05/0.4324, allocations: 0 / 461.1 MB, free: 35.31 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.002683/0.4351, allocations: 1.633 MB / 462.8 MB, free: 34.56 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.872e-05/0.4351, allocations: 13.7 kB / 462.8 MB, free: 34.56 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006493/0.4358, allocations: 156.6 kB / 462.9 MB, free: 34.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008977/0.4367, allocations: 0.6304 MB / 463.6 MB, free: 34.2 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.703e-05/0.4367, allocations: 58.11 kB / 463.6 MB, free: 34.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002117/0.437, allocations: 87.19 kB / 463.7 MB, free: 34.19 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004619/0.4416, allocations: 2.673 MB / 466.4 MB, free: 33.5 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.42e-05/0.4416, allocations: 9.188 kB / 466.4 MB, free: 33.5 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.501e-05/0.4417, allocations: 37.62 kB / 466.4 MB, free: 33.48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003913/0.4421, allocations: 379.4 kB / 466.8 MB, free: 33.41 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00438/0.4465, allocations: 2.358 MB / 469.2 MB, free: 32.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007166/0.4537, allocations: 8.278 MB / 477.4 MB, free: 27.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/0.457, allocations: 0.968 MB / 478.4 MB, free: 26.89 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.4574, allocations: 269 kB / 478.7 MB, free: 26.79 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001055/0.4584, allocations: 1.732 MB / 480.4 MB, free: 25.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.275e-05/0.4585, allocations: 41.53 kB / 480.4 MB, free: 25.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 3.607e-06/0.4585, allocations: 0 / 480.4 MB, free: 25.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01031/0.4688, allocations: 2.949 MB / 483.4 MB, free: 24.54 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.38e-05/0.4689, allocations: 58.16 kB / 483.5 MB, free: 24.47 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.4699, allocations: 0.907 MB / 484.4 MB, free: 24.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/0.4699, allocations: 33.7 kB / 484.4 MB, free: 24.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/0.4703, allocations: 0.6621 MB / 485.1 MB, free: 23.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.4704, allocations: 208.6 kB / 485.3 MB, free: 23.38 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003297/0.4708, allocations: 252.6 kB / 485.5 MB, free: 23.25 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.4709, allocations: 401.4 kB / 485.9 MB, free: 22.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004613/0.4714, allocations: 372.7 kB / 486.3 MB, free: 22.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008696/0.4723, allocations: 0.9942 MB / 487.3 MB, free: 21.82 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/0.474, allocations: 1.493 MB / 488.8 MB, free: 20.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.635e-05/0.474, allocations: 6.625 kB / 488.8 MB, free: 20.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002502/0.4765, allocations: 1.395 MB / 490.2 MB, free: 20.23 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.337e-05/0.4765, allocations: 14.31 kB / 490.2 MB, free: 20.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.273e-05/0.4766, allocations: 21.75 kB / 490.2 MB, free: 20.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.262e-05/0.4766, allocations: 36 kB / 490.2 MB, free: 20.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.4778, allocations: 329.2 kB / 490.5 MB, free: 20.21 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007634/0.4786, allocations: 1.448 MB / 492 MB, free: 18.77 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008453/0.4794, allocations: 51.48 kB / 492 MB, free: 18.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/0.4796, allocations: 64.16 kB / 492.1 MB, free: 18.74 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 (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.0008883/0.4805, allocations: 0.5021 MB / 492.6 MB, free: 18.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001544/0.4806, allocations: 90.64 kB / 492.7 MB, free: 18.42 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001948/0.4808, allocations: 118 kB / 492.8 MB, free: 18.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.464e-06/0.4808, allocations: 5.5 kB / 492.8 MB, free: 18.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.4808, allocations: 1.156 kB / 492.8 MB, free: 18.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.4809, allocations: 0 / 492.8 MB, free: 18.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003697/0.4846, allocations: 2.183 MB / 495 MB, free: 17.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/0.4846, allocations: 9.562 kB / 495 MB, free: 17.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005282/0.4851, allocations: 126.1 kB / 495.1 MB, free: 17.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/0.4852, allocations: 8.75 kB / 495.1 MB, free: 17.29 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.658e-05/0.4852, allocations: 18.03 kB / 495.2 MB, free: 17.29 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007073/0.4859, allocations: 1.423 MB / 496.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-05/0.4859, allocations: 13.81 kB / 496.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001113/0.4871, allocations: 0.8231 MB / 497.4 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003038/0.4874, allocations: 198.8 kB / 497.6 MB, free: 15.11 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.613e-05/0.4875, allocations: 20.22 kB / 497.6 MB, free: 15.1 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003524/0.4878, allocations: 17 kB / 497.6 MB, free: 15.09 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.061e-05/0.4879, allocations: 59.94 kB / 497.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.488, allocations: 22.41 kB / 497.7 MB, free: 15.07 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008371/0.4888, allocations: 0.5974 MB / 498.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.91e-07/0.4888, allocations: 0 / 498.3 MB, free: 14.84 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001159/0.49, allocations: 221.3 kB / 498.5 MB, free: 14.8 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 (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.0001813/0.4902, allocations: 131.6 kB / 498.7 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.492, allocations: 0.9475 MB / 499.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.492, allocations: 1.5 kB / 499.6 MB, free: 14.46 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004593/0.4924, allocations: 280.8 kB / 499.9 MB, free: 14.4 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009036/0.4933, allocations: 127.4 kB / 0.4883 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005029/0.4984, allocations: 2.612 MB / 0.4909 GB, free: 12.72 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/0.4997, allocations: 1.219 MB / 0.492 GB, free: 11.93 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001167/0.5009, allocations: 339.3 kB / 0.4924 GB, free: 11.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002108/0.5011, allocations: 69.86 kB / 0.4924 GB, free: 11.88 MB / 382.1 MB Notification: Performance of SimCode: time 1.764e-06/0.5011, allocations: 0 / 0.4924 GB, free: 11.88 MB / 382.1 MB Notification: Performance of Templates: time 0.02161/0.5227, allocations: 7.991 MB / 0.5002 GB, free: 10.75 MB / 382.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)