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.001181/0.001181, allocations: 109.3 kB / 16.62 MB, free: 6.961 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.001128/0.001128, allocations: 190 kB / 17.54 MB, free: 6.066 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.513/1.513, allocations: 205.1 MB / 223.4 MB, free: 12.46 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.001227/0.001228, allocations: 40.27 kB / 279.5 MB, free: 3.512 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09774/0.09897, allocations: 46.64 MB / 326.1 MB, free: 4.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.3305/0.4296, allocations: 101.7 MB / 427.8 MB, free: 13.78 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.05748/0.4871, allocations: 19.89 MB / 447.7 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02439/0.5116, allocations: 458.8 kB / 448.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01274/0.5244, allocations: 6.861 MB / 455 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009186/0.5336, allocations: 2.627 MB / 457.6 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005651/0.5393, allocations: 2.429 MB / 460.1 MB, free: 32 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0109/0.5502, allocations: 7.318 MB / 467.4 MB, free: 8.699 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01311/0.5634, allocations: 9.583 MB / 477 MB, free: 15.05 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00628/0.5697, allocations: 3.307 MB / 480.3 MB, free: 11.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006831/0.5766, allocations: 4.444 MB / 484.7 MB, free: 7.273 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002137/0.5787, allocations: 0.7383 MB / 485.5 MB, free: 6.535 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004541/0.5833, allocations: 1.982 MB / 487.4 MB, free: 4.551 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004854/0.5882, allocations: 3.811 MB / 491.3 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007878/0.5961, allocations: 4.352 MB / 495.6 MB, free: 12.36 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01564/0.6117, allocations: 13.37 MB / 0.497 GB, free: 14.95 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.6118, allocations: 0 / 0.497 GB, free: 14.95 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.6118, allocations: 0 / 0.497 GB, free: 14.95 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004698/0.6123, allocations: 4 kB / 0.497 GB, free: 14.95 MB / 414.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.02199/0.6343, allocations: 9.307 MB / 0.5061 GB, free: 5.547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.6343, allocations: 8.031 kB / 0.5061 GB, free: 5.539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00827/0.6426, allocations: 2.365 MB / 0.5085 GB, free: 3.16 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00934/0.652, allocations: 4.605 MB / 0.513 GB, free: 14.47 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004456/0.6524, allocations: 497.1 kB / 0.5134 GB, free: 13.98 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002674/0.6551, allocations: 0.6519 MB / 0.5141 GB, free: 13.33 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04001/0.6952, allocations: 18.79 MB / 0.5324 GB, free: 9.539 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000258/0.6954, allocations: 71.34 kB / 0.5325 GB, free: 9.469 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001178/0.6966, allocations: 299.8 kB / 0.5328 GB, free: 9.176 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004687/0.7013, allocations: 3.011 MB / 0.5357 GB, free: 6.156 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3899/1.091, allocations: 16.18 MB / 0.5515 GB, free: 158.2 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.08041/1.172, allocations: 70.67 MB / 0.6205 GB, free: 96.82 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0222/1.194, allocations: 8.924 MB / 0.6292 GB, free: 87.75 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00506/1.199, allocations: 5.06 MB / 0.6342 GB, free: 82.67 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02407/1.223, allocations: 20.36 MB / 0.6541 GB, free: 61.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.265e-05/1.223, allocations: 68.59 kB / 0.6541 GB, free: 61.75 MB / 446.1 MB Notification: Performance of pre-optimization done (n=322): time 6.061e-06/1.223, allocations: 0 / 0.6541 GB, free: 61.75 MB / 446.1 MB Notification: Performance of matching and sorting (n=380): time 0.1094/1.333, allocations: 44.07 MB / 0.6972 GB, free: 17.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01202/1.345, allocations: 12.89 MB / 0.7098 GB, free: 3.535 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1983/1.543, allocations: 6.091 MB / 0.7157 GB, free: 149.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009507/1.544, allocations: 81.73 kB / 0.7158 GB, free: 149 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003379/1.547, allocations: 5.135 MB / 0.7208 GB, free: 146.8 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00183/1.549, allocations: 1.41 MB / 0.7222 GB, free: 145.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.004082/1.553, allocations: 1.998 MB / 0.7241 GB, free: 144.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.133e-05/1.553, allocations: 309.4 kB / 0.7244 GB, free: 144.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006509/1.56, allocations: 4.469 MB / 0.7288 GB, free: 143 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008736/1.569, allocations: 9.885 MB / 0.7384 GB, free: 134.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01478/1.583, allocations: 15.49 MB / 0.7536 GB, free: 122.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001582/1.584, allocations: 52.31 kB / 0.7536 GB, free: 122.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.03566/1.619, allocations: 17.64 MB / 0.7708 GB, free: 112.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001069/1.62, allocations: 88 kB / 0.7709 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000191/1.62, allocations: 188.8 kB / 0.7711 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009465/1.629, allocations: 3.559 MB / 0.7746 GB, free: 109.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007142/1.636, allocations: 2.242 MB / 0.7768 GB, free: 107.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0275/1.664, allocations: 29.13 MB / 0.8052 GB, free: 77.63 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009656/1.674, allocations: 0.624 MB / 0.8058 GB, free: 77.01 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002273/1.676, allocations: 0.5818 MB / 0.8064 GB, free: 76.43 MB / 446.1 MB 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.006271/1.682, allocations: 3.561 MB / 0.8099 GB, free: 72.86 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001518/1.684, allocations: 0.5708 MB / 0.8104 GB, free: 72.28 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01723/1.701, allocations: 10.37 MB / 0.8206 GB, free: 61.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0152/1.716, allocations: 9.066 MB / 0.8294 GB, free: 52.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01476/1.731, allocations: 8.93 MB / 0.8381 GB, free: 43.54 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.071e-05/1.731, allocations: 15.94 kB / 0.8381 GB, free: 43.53 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04042/1.772, allocations: 24.58 MB / 0.8622 GB, free: 18.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.907e-05/1.772, allocations: 8 kB / 0.8622 GB, free: 18.78 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003425/1.775, allocations: 0.6317 MB / 0.8628 GB, free: 18.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008357/1.783, allocations: 2.965 MB / 0.8657 GB, free: 15.17 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008549/1.784, allocations: 75.97 kB / 0.8657 GB, free: 15.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2136/1.998, allocations: 22.64 MB / 0.8879 GB, free: 126.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.006054/2.004, allocations: 6.036 MB / 0.8938 GB, free: 122.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02458/2.029, allocations: 15.03 MB / 0.9084 GB, free: 117 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003518/2.032, allocations: 1.252 MB / 0.9096 GB, free: 116.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001368/2.034, allocations: 70.5 kB / 0.9097 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003569/2.037, allocations: 283.7 kB / 0.91 GB, free: 116.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000984/2.038, allocations: 251.8 kB / 0.9102 GB, free: 116.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003203/2.039, allocations: 106.1 kB / 0.9103 GB, free: 116.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.006105/2.045, allocations: 3.812 MB / 0.914 GB, free: 115.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.21e-07/2.045, allocations: 0 / 0.914 GB, free: 115.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01129/2.056, allocations: 2.09 MB / 0.9161 GB, free: 115 MB / 446.1 MB 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.001387/2.057, allocations: 283.4 kB / 0.9164 GB, free: 114.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02606/2.083, allocations: 17.1 MB / 0.9331 GB, free: 100.7 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/2.084, allocations: 0 / 0.9331 GB, free: 100.7 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00711/2.091, allocations: 4.784 MB / 0.9377 GB, free: 96.52 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005464/2.096, allocations: 0.9163 MB / 0.9386 GB, free: 95.76 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0279/2.124, allocations: 21.83 MB / 0.9599 GB, free: 75.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005238/2.129, allocations: 5.447 MB / 0.9653 GB, free: 69.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.007235/2.137, allocations: 3.114 MB / 0.9683 GB, free: 66.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/2.138, allocations: 419.3 kB / 0.9687 GB, free: 66.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.573e-06/2.138, allocations: 0 / 0.9687 GB, free: 66.1 MB / 446.1 MB Notification: Performance of Templates: time 0.2976/2.436, allocations: 87.72 MB / 1.054 GB, free: 132.3 MB / 462.1 MB 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)