Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.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.UniversalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 113.9 kB / 17.07 MB, free: 5.973 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.001175/0.001175, allocations: 198.8 kB / 18 MB, free: 5.059 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.466/1.466, allocations: 205.1 MB / 223.9 MB, free: 12.21 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.001185/0.001185, allocations: 55.94 kB / 327.9 MB, free: 3.281 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1112, allocations: 46.61 MB / 374.5 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.261/0.3723, allocations: 21.34 MB / 395.8 MB, free: 108 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02057/0.3929, allocations: 6.628 MB / 402.4 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009316/0.4024, allocations: 163.6 kB / 402.6 MB, free: 11.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0157/0.4181, allocations: 7.08 MB / 409.7 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01142/0.4296, allocations: 2.815 MB / 412.5 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00782/0.4374, allocations: 2.552 MB / 415 MB, free: 4.133 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01496/0.4524, allocations: 7.249 MB / 422.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01619/0.4686, allocations: 9.099 MB / 431.4 MB, free: 6.445 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007519/0.4762, allocations: 3.225 MB / 434.6 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007669/0.4839, allocations: 4.035 MB / 438.7 MB, free: 15.16 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003422/0.4874, allocations: 0.7344 MB / 439.4 MB, free: 14.43 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007806/0.4952, allocations: 1.955 MB / 441.3 MB, free: 12.47 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007364/0.5026, allocations: 3.757 MB / 445.1 MB, free: 8.707 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01247/0.5151, allocations: 4.32 MB / 449.4 MB, free: 4.363 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02505/0.5402, allocations: 13.64 MB / 463.1 MB, free: 6.676 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.5403, allocations: 4 kB / 463.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5403, allocations: 0 / 463.1 MB, free: 6.672 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006296/0.5409, allocations: 0 / 463.1 MB, free: 6.672 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: 2676 * Number of variables: 2676 Notification: Performance of Generate backend data structure: time 0.03488/0.5758, allocations: 9.303 MB / 472.4 MB, free: 13.28 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.568e-05/0.5759, allocations: 8.031 kB / 472.4 MB, free: 13.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01187/0.5878, allocations: 2.358 MB / 474.7 MB, free: 10.9 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01572/0.6036, allocations: 4.733 MB / 479.5 MB, free: 6.082 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007385/0.6044, allocations: 0.4894 MB / 480 MB, free: 5.59 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004313/0.6087, allocations: 0.6558 MB / 480.6 MB, free: 4.934 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05397/0.6627, allocations: 18.79 MB / 499.4 MB, free: 1.141 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005913/0.6634, allocations: 71.36 kB / 499.5 MB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004511/0.6679, allocations: 295.8 kB / 499.8 MB, free: 0.7812 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007182/0.6752, allocations: 3.011 MB / 0.491 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04294/0.7182, allocations: 16.17 MB / 0.5068 GB, free: 13.58 MB / 446.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.6198/1.338, allocations: 70.29 MB / 0.5754 GB, free: 106.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02745/1.365, allocations: 8.92 MB / 0.5841 GB, free: 105.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006593/1.372, allocations: 5.053 MB / 0.5891 GB, free: 103.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03011/1.402, allocations: 20.36 MB / 0.6089 GB, free: 93.22 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/1.402, allocations: 74.22 kB / 0.609 GB, free: 93.16 MB / 478.1 MB Notification: Performance of pre-optimization done (n=322): time 6.422e-06/1.402, allocations: 0 / 0.609 GB, free: 93.16 MB / 478.1 MB Notification: Performance of matching and sorting (n=380): time 0.1094/1.512, allocations: 44.07 MB / 0.6521 GB, free: 54.16 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0134/1.525, allocations: 12.88 MB / 0.6646 GB, free: 40.56 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0096/1.535, allocations: 6.093 MB / 0.6706 GB, free: 34.46 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00138/1.536, allocations: 85.45 kB / 0.6707 GB, free: 34.38 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002994/1.539, allocations: 5.138 MB / 0.6757 GB, free: 29.23 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002235/1.542, allocations: 1.409 MB / 0.6771 GB, free: 27.84 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002998/1.545, allocations: 2.001 MB / 0.679 GB, free: 25.83 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 8.374e-05/1.545, allocations: 301.1 kB / 0.6793 GB, free: 25.53 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005886/1.551, allocations: 4.462 MB / 0.6837 GB, free: 21.06 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008336/1.559, allocations: 9.89 MB / 0.6933 GB, free: 8.59 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01886/1.578, allocations: 15.5 MB / 0.7085 GB, free: 6.402 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002098/1.578, allocations: 52 kB / 0.7085 GB, free: 6.352 MB / 494.1 MB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.04476/1.623, allocations: 17.63 MB / 0.7257 GB, free: 4.625 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001358/1.623, allocations: 88 kB / 0.7258 GB, free: 4.539 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002474/1.623, allocations: 188 kB / 0.726 GB, free: 4.355 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01085/1.634, allocations: 3.556 MB / 0.7295 GB, free: 0.793 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009117/1.643, allocations: 2.246 MB / 0.7317 GB, free: 14.54 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3308/1.974, allocations: 29.09 MB / 0.7601 GB, free: 163 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01036/1.984, allocations: 0.6153 MB / 0.7607 GB, free: 162.9 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003378/1.988, allocations: 0.5801 MB / 0.7612 GB, free: 162.8 MB / 0.5138 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 864 * Number of states: 0 () * Number of discrete variables: 66 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[1],fixedTranslationOfConstraint.color[3],fixedTranslationOfConstraint.color[2],fixedTranslationOfConstraint.color[1],fixedTranslationOfJoint.color[3],fixedTranslationOfJoint.color[2],fixedTranslationOfJoint.color[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.cylinderColor[3],joint.cylinderColor[2],joint.cylinderColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1169): * Single equations (assignments): 1152 * Array equations: 10 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(3,20,100.0%), (1,7,100.0%), (2,24,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,7)} Notification: Performance of prepare postOptimizeDAE: time 0.009929/1.998, allocations: 3.569 MB / 0.7647 GB, free: 161.5 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002269/2, allocations: 0.5693 MB / 0.7653 GB, free: 161.5 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02358/2.024, allocations: 10.37 MB / 0.7754 GB, free: 157.7 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01929/2.043, allocations: 9.064 MB / 0.7842 GB, free: 154.5 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01629/2.059, allocations: 8.937 MB / 0.793 GB, free: 151.4 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000135/2.06, allocations: 21.75 kB / 0.793 GB, free: 151.4 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04765/2.107, allocations: 24.41 MB / 0.8168 GB, free: 131.9 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.055e-05/2.107, allocations: 4 kB / 0.8168 GB, free: 131.9 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003604/2.111, allocations: 0.6279 MB / 0.8175 GB, free: 131.2 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008474/2.119, allocations: 2.961 MB / 0.8203 GB, free: 128.3 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009915/2.12, allocations: 79.83 kB / 0.8204 GB, free: 128.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0249/2.145, allocations: 22.69 MB / 0.8426 GB, free: 105.2 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005778/2.151, allocations: 6.017 MB / 0.8485 GB, free: 98.96 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02302/2.174, allocations: 15.05 MB / 0.8632 GB, free: 84.08 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004225/2.179, allocations: 1.25 MB / 0.8644 GB, free: 82.93 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001419/2.18, allocations: 71.98 kB / 0.8645 GB, free: 82.86 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003693/2.184, allocations: 271.5 kB / 0.8647 GB, free: 82.6 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008399/2.185, allocations: 250.3 kB / 0.8649 GB, free: 82.36 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002878/2.185, allocations: 104 kB / 0.865 GB, free: 82.25 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005474/2.19, allocations: 3.811 MB / 0.8688 GB, free: 78.45 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.51e-07/2.19, allocations: 2 kB / 0.8688 GB, free: 78.45 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01101/2.201, allocations: 2.095 MB / 0.8708 GB, free: 76.37 MB / 0.5138 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 8 ($STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[2],$STATESET1.x[1],joint.phi_a,joint.phi_b,joint.w_a,joint.w_b) * 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 (290): * Single equations (assignments): 282 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(4,19,75.0%), (3,17,100.0%), (3,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00141/2.203, allocations: 299.7 kB / 0.8711 GB, free: 76.09 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01669/2.22, allocations: 11.52 MB / 0.8824 GB, free: 64.55 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.303e-05/2.22, allocations: 4 kB / 0.8824 GB, free: 64.54 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007961/2.228, allocations: 4.786 MB / 0.887 GB, free: 59.71 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009442/2.237, allocations: 0.921 MB / 0.8879 GB, free: 58.81 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03629/2.273, allocations: 17.94 MB / 0.9055 GB, free: 40.75 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01016/2.284, allocations: 5.448 MB / 0.9108 GB, free: 35.27 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00847/2.292, allocations: 3.114 MB / 0.9138 GB, free: 32.15 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001988/2.294, allocations: 411.3 kB / 0.9142 GB, free: 31.75 MB / 0.5138 GB Notification: Performance of SimCode: time 1.002e-06/2.294, allocations: 0 / 0.9142 GB, free: 31.75 MB / 0.5138 GB Notification: Performance of Templates: time 0.412/2.706, allocations: 83.08 MB / 0.9953 GB, free: 132.4 MB / 0.5138 GB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)