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.001213/0.001213, allocations: 107.4 kB / 15.22 MB, free: 0.6562 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.001252/0.001252, allocations: 193.7 kB / 16.13 MB, free: 6.605 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.817/1.817, allocations: 205.1 MB / 222 MB, free: 4.738 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.3618/0.3618, allocations: 37.98 MB / 307.3 MB, free: 10.18 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.001376/0.001376, allocations: 78.39 kB / 374.6 MB, free: 15.62 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.133, allocations: 56.46 MB / 431 MB, free: 7.07 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Joints.SphericalSpherical): time 0.01696/0.15, allocations: 18.1 MB / 449.1 MB, free: 4.891 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01031/0.1604, allocations: 4.25 MB / 453.4 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0039/0.1643, allocations: 67.81 kB / 453.4 MB, free: 0.5625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.234/0.3984, allocations: 0.8696 MB / 454.3 MB, free: 34.89 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001246/0.3997, allocations: 293.9 kB / 454.6 MB, free: 34.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007639/0.4005, allocations: 292.1 kB / 454.9 MB, free: 34.89 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008971/0.4014, allocations: 1.128 MB / 456 MB, free: 34.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008328/0.4022, allocations: 0.8178 MB / 456.8 MB, free: 34.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003612/0.4026, allocations: 334.9 kB / 457.1 MB, free: 34.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006984/0.4033, allocations: 0.6831 MB / 457.8 MB, free: 34.82 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001176/0.4034, allocations: 81.16 kB / 457.9 MB, free: 34.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006963/0.4041, allocations: 0.5424 MB / 458.4 MB, free: 34.81 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003504/0.4045, allocations: 492.2 kB / 458.9 MB, free: 34.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003682/0.4049, allocations: 0.5478 MB / 459.5 MB, free: 34.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.4061, allocations: 1.723 MB / 461.2 MB, free: 34.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.4062, allocations: 4 kB / 461.2 MB, free: 34.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.4062, allocations: 0 / 461.2 MB, free: 34.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.308e-05/0.4062, allocations: 0 / 461.2 MB, free: 34.34 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.002691/0.4089, allocations: 1.636 MB / 462.8 MB, free: 33.59 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.4089, allocations: 13.06 kB / 462.8 MB, free: 33.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006296/0.4096, allocations: 162 kB / 463 MB, free: 33.52 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008215/0.4104, allocations: 0.6298 MB / 463.6 MB, free: 33.22 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.61e-05/0.4104, allocations: 58.39 kB / 463.7 MB, free: 33.22 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.4106, allocations: 88.81 kB / 463.8 MB, free: 33.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004133/0.4148, allocations: 2.666 MB / 466.4 MB, free: 32.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.857e-05/0.4148, allocations: 9.25 kB / 466.5 MB, free: 32.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.483e-05/0.4149, allocations: 35.86 kB / 466.5 MB, free: 32.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000406/0.4153, allocations: 382.8 kB / 466.9 MB, free: 32.78 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004335/0.4197, allocations: 2.363 MB / 469.2 MB, free: 32.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007595/0.4273, allocations: 8.269 MB / 477.5 MB, free: 26.58 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00325/0.4306, allocations: 0.9708 MB / 478.5 MB, free: 26.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003218/0.4309, allocations: 267.4 kB / 478.7 MB, free: 26.28 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001199/0.4321, allocations: 1.735 MB / 480.5 MB, free: 24.78 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.4322, allocations: 37.62 kB / 480.5 MB, free: 24.74 MB / 382.1 MB Notification: Performance of pre-optimization done (n=44): time 3.307e-06/0.4322, allocations: 0 / 480.5 MB, free: 24.74 MB / 382.1 MB Notification: Performance of matching and sorting (n=58): time 0.01069/0.4429, allocations: 2.947 MB / 483.4 MB, free: 24.03 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.989e-05/0.443, allocations: 57.97 kB / 483.5 MB, free: 23.97 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00112/0.4441, allocations: 0.9086 MB / 484.4 MB, free: 23.59 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.791e-05/0.4441, allocations: 36.83 kB / 484.4 MB, free: 23.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003849/0.4445, allocations: 0.6515 MB / 485.1 MB, free: 23.04 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001537/0.4447, allocations: 218.4 kB / 485.3 MB, free: 22.88 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/0.445, allocations: 250.5 kB / 485.6 MB, free: 22.75 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001203/0.4451, allocations: 400.6 kB / 485.9 MB, free: 22.4 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000451/0.4456, allocations: 373.4 kB / 486.3 MB, free: 22.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007707/0.4463, allocations: 0.9952 MB / 487.3 MB, free: 21.31 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001376/0.4477, allocations: 1.496 MB / 488.8 MB, free: 20.15 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.36e-05/0.4478, allocations: 5.812 kB / 488.8 MB, free: 20.15 MB / 382.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002205/0.45, allocations: 1.397 MB / 490.2 MB, free: 19.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.494e-05/0.45, allocations: 14.69 kB / 490.2 MB, free: 19.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.644e-05/0.45, allocations: 25.75 kB / 490.2 MB, free: 19.72 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.597e-05/0.4501, allocations: 34.25 kB / 490.3 MB, free: 19.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.4514, allocations: 317.6 kB / 490.6 MB, free: 19.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008773/0.4523, allocations: 1.361 MB / 492 MB, free: 18.36 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00072/0.453, allocations: 52.72 kB / 492 MB, free: 18.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.999e-05/0.4531, allocations: 63.31 kB / 492.1 MB, free: 18.32 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.0008164/0.4539, allocations: 0.4975 MB / 492.6 MB, free: 18.06 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001444/0.4541, allocations: 94.38 kB / 492.7 MB, free: 18 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001836/0.4543, allocations: 114.7 kB / 492.8 MB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.4543, allocations: 9.844 kB / 492.8 MB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.07e-05/0.4543, allocations: 0 / 492.8 MB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/0.4543, allocations: 3.375 kB / 492.8 MB, free: 17.93 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00354/0.4579, allocations: 2.177 MB / 495 MB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.127e-05/0.4579, allocations: 6.875 kB / 495 MB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005199/0.4584, allocations: 125.7 kB / 495.1 MB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/0.4584, allocations: 12.75 kB / 495.1 MB, free: 16.89 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.623e-05/0.4585, allocations: 17.62 kB / 495.1 MB, free: 16.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006572/0.4591, allocations: 1.329 MB / 496.4 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.857e-06/0.4592, allocations: 9.812 kB / 496.5 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009063/0.4601, allocations: 0.8265 MB / 497.3 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000247/0.4603, allocations: 202.5 kB / 497.5 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.178e-05/0.4604, allocations: 19.58 kB / 497.5 MB, free: 14.79 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003279/0.4608, allocations: 21.05 kB / 497.5 MB, free: 14.78 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.293e-05/0.4609, allocations: 55.05 kB / 497.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.548e-05/0.4609, allocations: 17.25 kB / 497.6 MB, free: 14.76 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008348/0.4617, allocations: 0.6013 MB / 498.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of sort global known variables: time 6.31e-07/0.4617, allocations: 0 / 498.2 MB, free: 14.52 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001098/0.4629, allocations: 225.2 kB / 498.4 MB, free: 14.48 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.0001822/0.463, allocations: 127.6 kB / 498.5 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001402/0.4644, allocations: 0.8688 MB / 499.4 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.4645, allocations: 1.312 kB / 499.4 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004502/0.4649, allocations: 281.4 kB / 499.7 MB, free: 14.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008015/0.4657, allocations: 120.5 kB / 499.8 MB, free: 14.04 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003441/0.4692, allocations: 2.617 MB / 0.4906 GB, free: 12.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009527/0.4702, allocations: 1.222 MB / 0.4918 GB, free: 11.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000904/0.4711, allocations: 339.3 kB / 0.4922 GB, free: 11.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000182/0.4713, allocations: 69.73 kB / 0.4922 GB, free: 11.59 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4713, allocations: 0 / 0.4922 GB, free: 11.59 MB / 382.1 MB Notification: Performance of Templates: time 0.01683/0.4881, allocations: 7.664 MB / 0.4997 GB, free: 10.57 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)