Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.001606/0.001606, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001995/0.001995, allocations: 189.6 kB / 16.25 MB, free: 6.633 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.524/1.524, allocations: 205.1 MB / 222.1 MB, free: 4.75 MB / 174.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.001277/0.001277, allocations: 55.86 kB / 278.2 MB, free: 12.67 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2659, allocations: 46.63 MB / 324.9 MB, free: 1.941 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.08953/0.3555, allocations: 101.7 MB / 426.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.04945/0.405, allocations: 19.9 MB / 446.4 MB, free: 10.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02019/0.4253, allocations: 466.8 kB / 446.9 MB, free: 9.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01233/0.4376, allocations: 6.849 MB / 453.7 MB, free: 2.766 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007706/0.4454, allocations: 2.627 MB / 456.4 MB, free: 132 kB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2819/0.7273, allocations: 2.423 MB / 458.8 MB, free: 1.648 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01306/0.7404, allocations: 7.313 MB / 466.1 MB, free: 1.609 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01399/0.7544, allocations: 9.586 MB / 475.7 MB, free: 332 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008831/0.7633, allocations: 3.301 MB / 479 MB, free: 332 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009162/0.7725, allocations: 4.446 MB / 483.4 MB, free: 292 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003711/0.7762, allocations: 0.7379 MB / 484.2 MB, free: 292 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006984/0.7832, allocations: 1.983 MB / 486.1 MB, free: 288 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007246/0.7905, allocations: 3.808 MB / 490 MB, free: 15.93 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01326/0.8038, allocations: 4.35 MB / 494.3 MB, free: 14.51 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0251/0.829, allocations: 13.38 MB / 0.4958 GB, free: 7.402 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.12e-05/0.829, allocations: 0 / 0.4958 GB, free: 7.402 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.8291, allocations: 0 / 0.4958 GB, free: 7.402 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0009789/0.8301, allocations: 0 / 0.4958 GB, free: 7.402 MB / 398.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.03435/0.8644, allocations: 9.304 MB / 0.5049 GB, free: 14.18 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.559e-05/0.8645, allocations: 12.03 kB / 0.5049 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01171/0.8762, allocations: 2.36 MB / 0.5072 GB, free: 11.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01964/0.8959, allocations: 4.616 MB / 0.5117 GB, free: 7.402 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008368/0.8968, allocations: 492 kB / 0.5122 GB, free: 6.969 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004715/0.9015, allocations: 0.6582 MB / 0.5128 GB, free: 6.363 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07898/0.9806, allocations: 18.79 MB / 0.5312 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007254/0.9814, allocations: 71.08 kB / 0.5312 GB, free: 2.805 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004299/0.9857, allocations: 297.2 kB / 0.5315 GB, free: 2.566 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01022/0.996, allocations: 3.014 MB / 0.5345 GB, free: 15.59 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06554/1.062, allocations: 16.17 MB / 0.5503 GB, free: 15.66 MB / 462.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.1517/1.213, allocations: 70.68 MB / 0.6193 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.3828/1.596, allocations: 8.914 MB / 0.628 GB, free: 236.6 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007719/1.604, allocations: 5.053 MB / 0.6329 GB, free: 236.3 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0287/1.633, allocations: 20.37 MB / 0.6528 GB, free: 226.3 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.246e-05/1.633, allocations: 70.66 kB / 0.6529 GB, free: 226.2 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=322): time 6.131e-06/1.633, allocations: 0 / 0.6529 GB, free: 226.2 MB / 0.5138 GB Notification: Performance of matching and sorting (n=380): time 0.1108/1.744, allocations: 44.07 MB / 0.6959 GB, free: 188.8 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01158/1.755, allocations: 12.88 MB / 0.7085 GB, free: 175.2 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008367/1.764, allocations: 6.096 MB / 0.7144 GB, free: 169.1 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001094/1.765, allocations: 85.61 kB / 0.7145 GB, free: 169 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002619/1.767, allocations: 5.136 MB / 0.7195 GB, free: 163.9 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.00168/1.769, allocations: 1.412 MB / 0.7209 GB, free: 162.5 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003035/1.772, allocations: 2.002 MB / 0.7229 GB, free: 160.4 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.453e-05/1.772, allocations: 305.2 kB / 0.7232 GB, free: 160.1 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005715/1.778, allocations: 4.462 MB / 0.7275 GB, free: 155.7 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009725/1.788, allocations: 9.89 MB / 0.7372 GB, free: 143.1 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01648/1.804, allocations: 15.49 MB / 0.7523 GB, free: 125 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001615/1.804, allocations: 56 kB / 0.7524 GB, free: 124.9 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.03738/1.842, allocations: 17.62 MB / 0.7696 GB, free: 107.2 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001105/1.842, allocations: 89.16 kB / 0.7697 GB, free: 107.1 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001883/1.842, allocations: 192.8 kB / 0.7698 GB, free: 106.9 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009557/1.852, allocations: 3.557 MB / 0.7733 GB, free: 103.3 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007521/1.859, allocations: 2.25 MB / 0.7755 GB, free: 101.1 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02758/1.887, allocations: 29.11 MB / 0.8039 GB, free: 71.02 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008919/1.896, allocations: 0.6163 MB / 0.8045 GB, free: 70.41 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002232/1.898, allocations: 0.5846 MB / 0.8051 GB, free: 69.82 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.009979/1.908, allocations: 3.568 MB / 0.8086 GB, free: 66.24 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001895/1.91, allocations: 0.5746 MB / 0.8092 GB, free: 65.66 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01762/1.928, allocations: 10.37 MB / 0.8193 GB, free: 55.17 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01634/1.944, allocations: 9.073 MB / 0.8281 GB, free: 45.98 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01483/1.959, allocations: 8.932 MB / 0.8369 GB, free: 36.93 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.924e-05/1.959, allocations: 19.94 kB / 0.8369 GB, free: 36.91 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04073/2, allocations: 24.6 MB / 0.8609 GB, free: 12.12 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.815e-05/2, allocations: 4 kB / 0.8609 GB, free: 12.12 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003433/2.003, allocations: 0.628 MB / 0.8615 GB, free: 11.49 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007989/2.011, allocations: 2.976 MB / 0.8644 GB, free: 8.5 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009122/2.012, allocations: 71.98 kB / 0.8645 GB, free: 8.43 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2702/2.282, allocations: 22.64 MB / 0.8866 GB, free: 207.6 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005966/2.288, allocations: 6.022 MB / 0.8925 GB, free: 203.5 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02448/2.313, allocations: 15.04 MB / 0.9072 GB, free: 197.9 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003539/2.317, allocations: 1.251 MB / 0.9084 GB, free: 197.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001527/2.318, allocations: 73.89 kB / 0.9085 GB, free: 197.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004019/2.322, allocations: 271.2 kB / 0.9087 GB, free: 197.5 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008002/2.323, allocations: 256.7 kB / 0.909 GB, free: 197.4 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002915/2.323, allocations: 112.6 kB / 0.9091 GB, free: 197.4 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.005948/2.329, allocations: 3.805 MB / 0.9128 GB, free: 196.1 MB / 0.5138 GB Notification: Performance of sort global known variables: time 2.91e-07/2.329, allocations: 0 / 0.9128 GB, free: 196.1 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.01121/2.34, allocations: 2.093 MB / 0.9148 GB, free: 195.9 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.001732/2.342, allocations: 288 kB / 0.9151 GB, free: 195.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.02843/2.371, allocations: 17.11 MB / 0.9318 GB, free: 182 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.112e-05/2.371, allocations: 0 / 0.9318 GB, free: 182 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007871/2.379, allocations: 4.785 MB / 0.9365 GB, free: 177.9 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007312/2.386, allocations: 0.9099 MB / 0.9374 GB, free: 177.1 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03276/2.419, allocations: 21.82 MB / 0.9587 GB, free: 156.3 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007428/2.426, allocations: 5.454 MB / 0.964 GB, free: 150.8 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.007872/2.434, allocations: 3.118 MB / 0.9671 GB, free: 147.7 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001422/2.436, allocations: 411.3 kB / 0.9675 GB, free: 147.3 MB / 0.5138 GB Notification: Performance of SimCode: time 9.21e-07/2.436, allocations: 4 kB / 0.9675 GB, free: 147.3 MB / 0.5138 GB Notification: Performance of Templates: time 0.134/2.57, allocations: 87.74 MB / 1.053 GB, free: 59.51 MB / 0.5138 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)