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.001216/0.001216, allocations: 115 kB / 16.63 MB, free: 6.812 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.001235/0.001235, allocations: 186 kB / 17.55 MB, free: 5.934 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.507/1.507, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.002067/0.002067, allocations: 52.14 kB / 279.5 MB, free: 3.488 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1183/0.1204, allocations: 46.63 MB / 326.1 MB, free: 4.793 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.SphericalConstraint): time 0.2776/0.3981, allocations: 85.82 MB / 412 MB, free: 8.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04373/0.4419, allocations: 17.23 MB / 429.2 MB, free: 12.84 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02046/0.4624, allocations: 385 kB / 429.6 MB, free: 12.78 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01122/0.4737, allocations: 5.868 MB / 435.4 MB, free: 8.711 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008434/0.4821, allocations: 2.472 MB / 437.9 MB, free: 6.23 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006261/0.4884, allocations: 2.402 MB / 440.3 MB, free: 3.824 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01345/0.5019, allocations: 7.118 MB / 447.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01246/0.5144, allocations: 8.539 MB / 456 MB, free: 4.086 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00473/0.5192, allocations: 2.89 MB / 458.9 MB, free: 1.188 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005743/0.525, allocations: 3.985 MB / 462.8 MB, free: 13.19 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001984/0.527, allocations: 0.6445 MB / 463.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004276/0.5313, allocations: 2.029 MB / 465.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00403/0.5353, allocations: 3.476 MB / 469 MB, free: 7.031 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005743/0.5411, allocations: 3.905 MB / 472.9 MB, free: 3.105 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01235/0.5534, allocations: 12.11 MB / 485 MB, free: 6.961 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.5535, allocations: 0 / 485 MB, free: 6.961 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.5535, allocations: 0 / 485 MB, free: 6.961 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000336/0.5538, allocations: 0 / 485 MB, free: 6.961 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.02192/0.5758, allocations: 8.428 MB / 493.4 MB, free: 14.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.496e-05/0.5758, allocations: 12.03 kB / 493.4 MB, free: 14.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008882/0.5847, allocations: 2.343 MB / 495.8 MB, free: 12.08 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00833/0.5931, allocations: 4.36 MB / 0.4884 GB, free: 7.641 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003253/0.5934, allocations: 435.6 kB / 0.4888 GB, free: 7.215 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001841/0.5953, allocations: 0.6634 MB / 0.4895 GB, free: 6.551 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03213/0.6274, allocations: 16.93 MB / 0.506 GB, free: 4.691 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002511/0.6277, allocations: 67.41 kB / 0.5061 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001336/0.6291, allocations: 263.8 kB / 0.5063 GB, free: 4.367 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003765/0.6329, allocations: 2.588 MB / 0.5089 GB, free: 1.773 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03181/0.6647, allocations: 14.57 MB / 0.5231 GB, free: 3.184 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.4498/1.115, allocations: 64.08 MB / 0.5857 GB, free: 121.8 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02014/1.135, allocations: 7.374 MB / 0.5929 GB, free: 117.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004806/1.14, allocations: 3.807 MB / 0.5966 GB, free: 115.9 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02255/1.162, allocations: 16.63 MB / 0.6128 GB, free: 99.84 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.209e-05/1.162, allocations: 60.56 kB / 0.6129 GB, free: 99.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=262): time 5.159e-06/1.162, allocations: 0 / 0.6129 GB, free: 99.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=278): time 0.0586/1.221, allocations: 27.59 MB / 0.6398 GB, free: 71.89 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009341/1.222, allocations: 1.697 MB / 0.6415 GB, free: 70.01 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006251/1.228, allocations: 5.878 MB / 0.6472 GB, free: 64.11 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006582/1.229, allocations: 73.64 kB / 0.6473 GB, free: 64.04 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001913/1.231, allocations: 4.851 MB / 0.652 GB, free: 59.19 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009794/1.232, allocations: 1.086 MB / 0.6531 GB, free: 58.11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001829/1.234, allocations: 1.832 MB / 0.6549 GB, free: 56.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.58e-05/1.234, allocations: 305.1 kB / 0.6552 GB, free: 55.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003654/1.237, allocations: 3.422 MB / 0.6585 GB, free: 52.54 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005648/1.243, allocations: 8.865 MB / 0.6672 GB, free: 40.97 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01177/1.255, allocations: 13.27 MB / 0.6801 GB, free: 25.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001361/1.255, allocations: 52 kB / 0.6802 GB, free: 24.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.02927/1.284, allocations: 14.89 MB / 0.6947 GB, free: 9.98 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001591/1.284, allocations: 88.47 kB / 0.6948 GB, free: 9.895 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0157/1.3, allocations: 6.796 MB / 0.7014 GB, free: 3.016 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.194/1.494, allocations: 3.235 MB / 0.7046 GB, free: 145.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008712/1.503, allocations: 2.135 MB / 0.7067 GB, free: 145.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02243/1.525, allocations: 17.04 MB / 0.7233 GB, free: 136.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009001/1.534, allocations: 0.5862 MB / 0.7239 GB, free: 136.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001663/1.536, allocations: 0.5419 MB / 0.7244 GB, free: 136.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.006564/1.543, allocations: 3.243 MB / 0.7276 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/1.544, allocations: 0.5207 MB / 0.7281 GB, free: 134.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01139/1.555, allocations: 6.568 MB / 0.7345 GB, free: 132.4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009264/1.565, allocations: 5.657 MB / 0.74 GB, free: 130.4 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.008895/1.573, allocations: 5.493 MB / 0.7454 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.652e-05/1.574, allocations: 14.44 kB / 0.7454 GB, free: 127.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03109/1.605, allocations: 17.5 MB / 0.7625 GB, free: 110.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.253e-05/1.605, allocations: 8.688 kB / 0.7625 GB, free: 110.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00239/1.607, allocations: 0.5074 MB / 0.763 GB, free: 110.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005108/1.612, allocations: 1.857 MB / 0.7648 GB, free: 108.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006575/1.613, allocations: 71.8 kB / 0.7649 GB, free: 108.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00988/1.623, allocations: 10.39 MB / 0.775 GB, free: 97.56 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007513/1.624, allocations: 1.554 MB / 0.7766 GB, free: 95.87 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01365/1.637, allocations: 9.837 MB / 0.7862 GB, free: 86.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001856/1.639, allocations: 0.5679 MB / 0.7867 GB, free: 85.61 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009831/1.64, allocations: 67.92 kB / 0.7868 GB, free: 85.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002349/1.643, allocations: 215.7 kB / 0.787 GB, free: 85.33 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004889/1.643, allocations: 201 kB / 0.7872 GB, free: 85.13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001994/1.643, allocations: 87.42 kB / 0.7873 GB, free: 85.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005053/1.648, allocations: 3.664 MB / 0.7908 GB, free: 81.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.81e-07/1.648, allocations: 0 / 0.7908 GB, free: 81.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01012/1.658, allocations: 1.724 MB / 0.7925 GB, free: 79.68 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.0009661/1.659, allocations: 286.3 kB / 0.7928 GB, free: 79.41 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01731/1.677, allocations: 11.58 MB / 0.8041 GB, free: 67.85 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.447e-05/1.677, allocations: 0 / 0.8041 GB, free: 67.85 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004813/1.682, allocations: 3.398 MB / 0.8074 GB, free: 64.36 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005522/1.687, allocations: 0.8741 MB / 0.8083 GB, free: 63.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02745/1.715, allocations: 18.68 MB / 0.8265 GB, free: 44.68 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007006/1.722, allocations: 4.876 MB / 0.8313 GB, free: 39.77 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007337/1.729, allocations: 2.915 MB / 0.8341 GB, free: 36.85 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00117/1.73, allocations: 371.4 kB / 0.8345 GB, free: 36.49 MB / 446.1 MB Notification: Performance of SimCode: time 1.132e-06/1.73, allocations: 0 / 0.8345 GB, free: 36.49 MB / 446.1 MB Notification: Performance of Templates: time 0.3017/2.032, allocations: 66.05 MB / 0.899 GB, free: 124.9 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)