Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.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) 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(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008453/0.0008453, allocations: 89.62 kB / 16.65 MB, free: 6.59 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.0009732/0.0009732, allocations: 182.1 kB / 17.56 MB, free: 6.203 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.528/1.528, allocations: 205.4 MB / 223.7 MB, free: 13.08 MB / 190.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: Performance of FrontEnd - loaded program: time 0.0004726/0.0004732, allocations: 8 kB / 280.7 MB, free: 3.418 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1016/0.1021, allocations: 47.59 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.3144/0.4165, allocations: 83.76 MB / 412.1 MB, free: 8.098 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.05025/0.4668, allocations: 17.26 MB / 429.3 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02599/0.4929, allocations: 389.8 kB / 429.7 MB, free: 14.99 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003264/0.4962, allocations: 0.694 MB / 430.4 MB, free: 14.44 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008766/0.505, allocations: 2.518 MB / 432.9 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003802/0.5088, allocations: 1.22 MB / 434.2 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01347/0.5223, allocations: 10.22 MB / 444.4 MB, free: 2.383 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.017/0.5394, allocations: 11.06 MB / 455.4 MB, free: 7.199 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004199/0.5436, allocations: 1.922 MB / 457.4 MB, free: 5.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005196/0.5488, allocations: 3.071 MB / 460.4 MB, free: 2.188 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001401/0.5503, allocations: 224 kB / 460.6 MB, free: 1.969 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004276/0.5546, allocations: 1.689 MB / 462.3 MB, free: 284 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003609/0.5582, allocations: 2.929 MB / 465.3 MB, free: 13.34 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004462/0.5627, allocations: 3.266 MB / 468.5 MB, free: 10.05 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01361/0.5763, allocations: 11.47 MB / 480 MB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5764, allocations: 0 / 480 MB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.915e-06/0.5764, allocations: 0 / 480 MB, free: 14.54 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004528/0.5768, allocations: 0 / 480 MB, free: 14.54 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: 2401 * Number of variables: 2401 Notification: Performance of Generate backend data structure: time 0.01876/0.5956, allocations: 6.899 MB / 486.9 MB, free: 7.559 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.581e-05/0.5957, allocations: 12.03 kB / 486.9 MB, free: 7.547 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009988/0.6057, allocations: 2.394 MB / 489.3 MB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009604/0.6153, allocations: 4.353 MB / 493.7 MB, free: 0.707 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003694/0.6157, allocations: 435.7 kB / 494.1 MB, free: 288 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002496/0.6183, allocations: 0.6672 MB / 494.7 MB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03556/0.6538, allocations: 16.98 MB / 0.4997 GB, free: 13.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000219/0.6541, allocations: 67.3 kB / 0.4998 GB, free: 13.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009864/0.6551, allocations: 271.8 kB / 0.5001 GB, free: 13.38 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003935/0.659, allocations: 2.584 MB / 0.5026 GB, free: 10.78 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03268/0.6917, allocations: 14.6 MB / 0.5168 GB, free: 12.16 MB / 430.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4848/1.177, allocations: 64.05 MB / 0.5794 GB, free: 120.3 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02048/1.197, allocations: 7.459 MB / 0.5867 GB, free: 118.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004727/1.202, allocations: 3.802 MB / 0.5904 GB, free: 116.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02199/1.224, allocations: 16.62 MB / 0.6066 GB, free: 106.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.551e-05/1.224, allocations: 65.41 kB / 0.6067 GB, free: 106.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=262): time 6.052e-06/1.224, allocations: 0 / 0.6067 GB, free: 106.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=278): time 0.06603/1.29, allocations: 27.57 MB / 0.6336 GB, free: 79.25 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001163/1.291, allocations: 1.609 MB / 0.6352 GB, free: 77.48 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008486/1.3, allocations: 5.881 MB / 0.6409 GB, free: 71.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008416/1.301, allocations: 70.97 kB / 0.641 GB, free: 71.5 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002794/1.303, allocations: 4.853 MB / 0.6457 GB, free: 66.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00163/1.305, allocations: 1.079 MB / 0.6468 GB, free: 65.58 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009269/1.306, allocations: 0.7775 MB / 0.6475 GB, free: 64.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.282e-05/1.306, allocations: 305.1 kB / 0.6478 GB, free: 64.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004354/1.31, allocations: 3.422 MB / 0.6512 GB, free: 61.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007094/1.318, allocations: 8.866 MB / 0.6598 GB, free: 49.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01331/1.331, allocations: 13.27 MB / 0.6728 GB, free: 33.64 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001557/1.331, allocations: 60 kB / 0.6728 GB, free: 33.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.0349/1.366, allocations: 14.89 MB / 0.6874 GB, free: 18.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004006/1.366, allocations: 89 kB / 0.6875 GB, free: 18.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01875/1.385, allocations: 6.799 MB / 0.6941 GB, free: 11.64 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01335/1.399, allocations: 3.232 MB / 0.6973 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007276/1.406, allocations: 2.137 MB / 0.6993 GB, free: 6.238 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.28/1.686, allocations: 15.81 MB / 0.7148 GB, free: 137.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009011/1.695, allocations: 0.5859 MB / 0.7154 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002835/1.698, allocations: 0.5436 MB / 0.7159 GB, free: 137.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 875 * Number of states: 0 () * Number of discrete variables: 60 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],springOfConstraint.color[3],springOfConstraint.color[2],springOfConstraint.color[1],springOfConstraint.massColor[3],springOfConstraint.massColor[2],springOfConstraint.massColor[1],springOfJoint.color[3],springOfJoint.color[2],springOfJoint.color[1],springOfJoint.massColor[3],springOfJoint.massColor[2],springOfJoint.massColor[1],bodyOfConstraint.color[3],bodyOfConstraint.color[2],bodyOfConstraint.color[1],bodyOfConstraint.body.sphereColor[3],bodyOfConstraint.body.sphereColor[2],bodyOfConstraint.body.sphereColor[1],bodyOfConstraint.frameTranslation.color[3],bodyOfConstraint.frameTranslation.color[2],bodyOfConstraint.frameTranslation.color[1],bodyOfJoint.color[3],bodyOfJoint.color[2],bodyOfJoint.color[1],bodyOfJoint.body.sphereColor[3],bodyOfJoint.body.sphereColor[2],bodyOfJoint.body.sphereColor[1],bodyOfJoint.frameTranslation.color[3],bodyOfJoint.frameTranslation.color[2],bodyOfJoint.frameTranslation.color[1],sensorConstraintRelative.arrowColor[3],sensorConstraintRelative.arrowColor[2],sensorConstraintRelative.arrowColor[1],constraint.sphereColor[3],constraint.sphereColor[2],constraint.sphereColor[1],joint.sphereColor[3],joint.sphereColor[2],joint.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1128): * Single equations (assignments): 1112 * Array equations: 8 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,3,100.0%), (3,3,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.009656/1.708, allocations: 3.245 MB / 0.7191 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00217/1.71, allocations: 0.5193 MB / 0.7196 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01357/1.723, allocations: 6.575 MB / 0.726 GB, free: 133.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009594/1.733, allocations: 5.662 MB / 0.7315 GB, free: 131.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008724/1.742, allocations: 5.488 MB / 0.7369 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.735e-05/1.742, allocations: 14.39 kB / 0.7369 GB, free: 129.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02954/1.771, allocations: 17.48 MB / 0.754 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.434e-05/1.771, allocations: 14.22 kB / 0.754 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002599/1.774, allocations: 0.5041 MB / 0.7545 GB, free: 118.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005108/1.779, allocations: 1.849 MB / 0.7563 GB, free: 116.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000501/1.78, allocations: 72.52 kB / 0.7563 GB, free: 116.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009936/1.79, allocations: 9.768 MB / 0.7659 GB, free: 106.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007544/1.79, allocations: 1.485 MB / 0.7673 GB, free: 104.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01452/1.805, allocations: 9.834 MB / 0.7769 GB, free: 94.86 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002805/1.808, allocations: 0.5792 MB / 0.7775 GB, free: 94.41 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001019/1.809, allocations: 63.98 kB / 0.7776 GB, free: 94.35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/1.811, allocations: 219.7 kB / 0.7778 GB, free: 94.14 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004999/1.812, allocations: 193.9 kB / 0.778 GB, free: 93.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001852/1.812, allocations: 83.98 kB / 0.778 GB, free: 93.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005082/1.817, allocations: 3.67 MB / 0.7816 GB, free: 90.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/1.817, allocations: 0 / 0.7816 GB, free: 90.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009257/1.827, allocations: 1.718 MB / 0.7833 GB, free: 88.49 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],joint.w_rel[1],joint.w_rel[2],joint.w_rel[3],bodyOfConstraint.body.w_a[1],bodyOfConstraint.body.w_a[2],bodyOfConstraint.body.w_a[3],freeMotionScalarInit.derd[1].u,freeMotionScalarInit.derd[2].u,freeMotionScalarInit.derd[3].u) * 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 (233): * Single equations (assignments): 223 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(3,3,100.0%), (3,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0009871/1.828, allocations: 281.5 kB / 0.7836 GB, free: 88.23 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01353/1.841, allocations: 9.177 MB / 0.7925 GB, free: 79.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/1.841, allocations: 0 / 0.7925 GB, free: 79.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004995/1.846, allocations: 3.389 MB / 0.7958 GB, free: 75.56 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01295/1.859, allocations: 0.813 MB / 0.7966 GB, free: 74.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03139/1.891, allocations: 18.82 MB / 0.815 GB, free: 55.82 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006439/1.897, allocations: 4.881 MB / 0.8198 GB, free: 50.91 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007608/1.905, allocations: 2.903 MB / 0.8226 GB, free: 48 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001172/1.906, allocations: 371.4 kB / 0.823 GB, free: 47.64 MB / 446.1 MB Notification: Performance of SimCode: time 1.693e-06/1.906, allocations: 0 / 0.823 GB, free: 47.64 MB / 446.1 MB Notification: Performance of Templates: time 0.3267/2.233, allocations: 62.69 MB / 0.8842 GB, free: 128.6 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint.pipe 2>&1)