Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.001197/0.001197, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001493/0.001493, allocations: 195.7 kB / 16.14 MB, free: 6.715 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.527/1.527, allocations: 205.1 MB / 222 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.001187/0.001187, allocations: 47.94 kB / 278.1 MB, free: 12.79 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3416, allocations: 46.63 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.0928/0.4344, allocations: 101.7 MB / 426.3 MB, free: 14.12 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0552/0.4896, allocations: 20.02 MB / 446.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02796/0.5177, allocations: 466.8 kB / 446.8 MB, free: 9.578 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01398/0.5317, allocations: 7.115 MB / 453.9 MB, free: 2.445 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2755/0.8073, allocations: 2.646 MB / 456.6 MB, free: 1.656 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007283/0.8146, allocations: 2.457 MB / 459 MB, free: 1.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01608/0.8307, allocations: 10.67 MB / 469.7 MB, free: 1.645 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01174/0.8425, allocations: 9.035 MB / 478.7 MB, free: 440 kB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007136/0.8497, allocations: 2.899 MB / 481.6 MB, free: 436 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007874/0.8576, allocations: 4.292 MB / 485.9 MB, free: 396 kB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002902/0.8605, allocations: 0.5352 MB / 486.5 MB, free: 396 kB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006021/0.8666, allocations: 1.86 MB / 488.3 MB, free: 392 kB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006487/0.8731, allocations: 3.615 MB / 491.9 MB, free: 15.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009745/0.8829, allocations: 4.123 MB / 496.1 MB, free: 13.71 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01902/0.9019, allocations: 13.13 MB / 0.4973 GB, free: 5.727 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.112e-06/0.902, allocations: 0 / 0.4973 GB, free: 5.727 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.063e-06/0.902, allocations: 0 / 0.4973 GB, free: 5.727 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005915/0.9026, allocations: 3.938 kB / 0.4973 GB, free: 5.723 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.03153/0.9341, allocations: 9.305 MB / 0.5063 GB, free: 12.5 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.9342, allocations: 8.031 kB / 0.5064 GB, free: 12.49 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01014/0.9444, allocations: 2.357 MB / 0.5087 GB, free: 10.12 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01114/0.9555, allocations: 4.619 MB / 0.5132 GB, free: 5.73 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005831/0.9562, allocations: 487.8 kB / 0.5136 GB, free: 5.301 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003277/0.9594, allocations: 0.6588 MB / 0.5143 GB, free: 4.695 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04605/1.006, allocations: 18.8 MB / 0.5326 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004212/1.006, allocations: 69.05 kB / 0.5327 GB, free: 1.137 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002929/1.009, allocations: 299.5 kB / 0.533 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00526/1.014, allocations: 3.005 MB / 0.5359 GB, free: 13.93 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03934/1.054, allocations: 16.18 MB / 0.5517 GB, free: 13.99 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.1195/1.173, allocations: 70.67 MB / 0.6207 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.4208/1.594, allocations: 8.919 MB / 0.6294 GB, free: 235.9 MB / 0.5138 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007833/1.602, allocations: 5.052 MB / 0.6344 GB, free: 235.6 MB / 0.5138 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02861/1.631, allocations: 20.37 MB / 0.6543 GB, free: 225.6 MB / 0.5138 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.102e-05/1.631, allocations: 65.59 kB / 0.6543 GB, free: 225.5 MB / 0.5138 GB Notification: Performance of pre-optimization done (n=322): time 6.232e-06/1.631, allocations: 0 / 0.6543 GB, free: 225.5 MB / 0.5138 GB Notification: Performance of matching and sorting (n=380): time 0.1059/1.736, allocations: 44.06 MB / 0.6974 GB, free: 187 MB / 0.5138 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01151/1.748, allocations: 12.36 MB / 0.7094 GB, free: 173.9 MB / 0.5138 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008342/1.756, allocations: 6.097 MB / 0.7154 GB, free: 167.8 MB / 0.5138 GB Notification: Performance of collectPreVariables (initialization): time 0.001203/1.758, allocations: 83.03 kB / 0.7155 GB, free: 167.7 MB / 0.5138 GB Notification: Performance of collectInitialEqns (initialization): time 0.002236/1.76, allocations: 5.143 MB / 0.7205 GB, free: 162.6 MB / 0.5138 GB Notification: Performance of collectInitialBindings (initialization): time 0.001732/1.762, allocations: 1.407 MB / 0.7219 GB, free: 161.2 MB / 0.5138 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002532/1.764, allocations: 1.999 MB / 0.7238 GB, free: 159.2 MB / 0.5138 GB Notification: Performance of setup shared object (initialization): time 4.024e-05/1.764, allocations: 301.1 kB / 0.7241 GB, free: 158.9 MB / 0.5138 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005009/1.769, allocations: 4.462 MB / 0.7285 GB, free: 154.4 MB / 0.5138 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007163/1.776, allocations: 9.898 MB / 0.7381 GB, free: 141.8 MB / 0.5138 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01523/1.792, allocations: 15.49 MB / 0.7532 GB, free: 123.7 MB / 0.5138 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001563/1.792, allocations: 59.94 kB / 0.7533 GB, free: 123.6 MB / 0.5138 GB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.03615/1.828, allocations: 17.62 MB / 0.7705 GB, free: 105.9 MB / 0.5138 GB Notification: Performance of prepare postOptimizeDAE: time 0.000251/1.828, allocations: 88 kB / 0.7706 GB, free: 105.8 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004698/1.829, allocations: 188 kB / 0.7708 GB, free: 105.6 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009643/1.838, allocations: 3.558 MB / 0.7742 GB, free: 102.1 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00751/1.846, allocations: 2.246 MB / 0.7764 GB, free: 99.82 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02916/1.875, allocations: 27.28 MB / 0.8031 GB, free: 71.61 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008389/1.884, allocations: 0.6189 MB / 0.8037 GB, free: 71 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002134/1.886, allocations: 0.578 MB / 0.8043 GB, free: 70.42 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.007796/1.894, allocations: 3.561 MB / 0.8077 GB, free: 66.84 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002162/1.896, allocations: 0.5669 MB / 0.8083 GB, free: 66.27 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02339/1.919, allocations: 10.37 MB / 0.8184 GB, free: 55.77 MB / 0.5138 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01669/1.936, allocations: 9.068 MB / 0.8273 GB, free: 46.59 MB / 0.5138 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01634/1.952, allocations: 8.938 MB / 0.836 GB, free: 37.53 MB / 0.5138 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.304e-05/1.952, allocations: 15.94 kB / 0.836 GB, free: 37.51 MB / 0.5138 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04837/2.001, allocations: 24.59 MB / 0.86 GB, free: 12.74 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.831e-05/2.001, allocations: 11.94 kB / 0.86 GB, free: 12.73 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003404/2.004, allocations: 0.6363 MB / 0.8607 GB, free: 12.09 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008492/2.013, allocations: 2.988 MB / 0.8636 GB, free: 9.09 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001242/2.014, allocations: 75.58 kB / 0.8636 GB, free: 9.02 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2668/2.281, allocations: 21.08 MB / 0.8842 GB, free: 209.4 MB / 0.5138 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.005998/2.287, allocations: 5.861 MB / 0.89 GB, free: 205.4 MB / 0.5138 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02469/2.312, allocations: 15.03 MB / 0.9046 GB, free: 199.8 MB / 0.5138 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004642/2.316, allocations: 1.252 MB / 0.9059 GB, free: 199.5 MB / 0.5138 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00178/2.318, allocations: 76.81 kB / 0.9059 GB, free: 199.4 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004321/2.322, allocations: 277.8 kB / 0.9062 GB, free: 199.4 MB / 0.5138 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001031/2.324, allocations: 249.6 kB / 0.9064 GB, free: 199.3 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003298/2.324, allocations: 106 kB / 0.9065 GB, free: 199.3 MB / 0.5138 GB Notification: Performance of sorting global known variables: time 0.006461/2.33, allocations: 3.809 MB / 0.9103 GB, free: 198 MB / 0.5138 GB Notification: Performance of sort global known variables: time 1.7e-07/2.33, allocations: 2.625 kB / 0.9103 GB, free: 198 MB / 0.5138 GB Notification: Performance of remove unused functions: time 0.0102/2.341, allocations: 2.096 MB / 0.9123 GB, free: 197.8 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.001341/2.342, allocations: 279 kB / 0.9126 GB, free: 197.7 MB / 0.5138 GB Notification: Performance of simCode: created initialization part: time 0.01732/2.359, allocations: 11.49 MB / 0.9238 GB, free: 189.2 MB / 0.5138 GB Notification: Performance of simCode: created event and clocks part: time 1.205e-05/2.359, allocations: 0 / 0.9238 GB, free: 189.2 MB / 0.5138 GB Notification: Performance of simCode: created simulation system equations: time 0.007932/2.367, allocations: 4.777 MB / 0.9285 GB, free: 185 MB / 0.5138 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006651/2.374, allocations: 0.8506 MB / 0.9293 GB, free: 184.3 MB / 0.5138 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03353/2.408, allocations: 21.83 MB / 0.9506 GB, free: 163.1 MB / 0.5138 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007492/2.415, allocations: 5.453 MB / 0.9559 GB, free: 157.6 MB / 0.5138 GB Notification: Performance of simCode: alias equations: time 0.00817/2.423, allocations: 3.115 MB / 0.959 GB, free: 154.5 MB / 0.5138 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/2.425, allocations: 407.3 kB / 0.9594 GB, free: 154.1 MB / 0.5138 GB Notification: Performance of SimCode: time 8.02e-07/2.425, allocations: 8 kB / 0.9594 GB, free: 154.1 MB / 0.5138 GB Notification: Performance of Templates: time 0.1218/2.547, allocations: 84.48 MB / 1.042 GB, free: 69.51 MB / 0.5138 GB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint.pipe 2>&1)