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.0009428/0.0009429, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006678/0.006678, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.516/1.516, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.0004717/0.0004717, allocations: 8 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2729/0.2734, allocations: 47.59 MB / 327 MB, free: 1.414 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.UniversalConstraint): time 0.09483/0.3682, allocations: 99.3 MB / 426.3 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.05644/0.4247, allocations: 19.94 MB / 446.3 MB, free: 11.72 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02741/0.4522, allocations: 458.8 kB / 446.7 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004002/0.4562, allocations: 0.7577 MB / 447.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01024/0.4665, allocations: 2.674 MB / 450.1 MB, free: 7.828 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003861/0.4704, allocations: 1.264 MB / 451.4 MB, free: 6.562 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.2693/0.7397, allocations: 10.66 MB / 462.1 MB, free: 2.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01652/0.7563, allocations: 12.17 MB / 474.2 MB, free: 1.18 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006191/0.7625, allocations: 2.201 MB / 476.4 MB, free: 1.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007172/0.7697, allocations: 3.427 MB / 479.9 MB, free: 1.172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001761/0.7715, allocations: 261 kB / 480.1 MB, free: 1.172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004985/0.7765, allocations: 1.581 MB / 481.7 MB, free: 1.156 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005186/0.7818, allocations: 3.174 MB / 484.9 MB, free: 1.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006436/0.7882, allocations: 3.628 MB / 488.5 MB, free: 15.55 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01852/0.8068, allocations: 12.66 MB / 0.4894 GB, free: 8.789 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.8068, allocations: 0 / 0.4894 GB, free: 8.789 MB / 398.1 MB Notification: Performance of FrontEnd: time 3.025e-06/0.8068, allocations: 0 / 0.4894 GB, free: 8.789 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0007175/0.8076, allocations: 0 / 0.4894 GB, free: 8.789 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.02256/0.8301, allocations: 7.579 MB / 0.4968 GB, free: 4.293 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.695e-05/0.8302, allocations: 10.72 kB / 0.4968 GB, free: 4.293 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01128/0.8415, allocations: 2.403 MB / 0.4992 GB, free: 3.121 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01102/0.8525, allocations: 4.617 MB / 0.5037 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004518/0.853, allocations: 487.3 kB / 0.5042 GB, free: 15.61 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00319/0.8562, allocations: 0.656 MB / 0.5048 GB, free: 15.18 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04393/0.9002, allocations: 18.85 MB / 0.5232 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003569/0.9006, allocations: 70.72 kB / 0.5233 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002095/0.9027, allocations: 298.1 kB / 0.5235 GB, free: 13.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005239/0.9079, allocations: 3.018 MB / 0.5265 GB, free: 10.56 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03817/0.9461, allocations: 16.22 MB / 0.5423 GB, free: 10.59 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.1117/1.058, allocations: 70.65 MB / 0.6113 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02686/1.085, allocations: 9.003 MB / 0.6201 GB, free: 9.965 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007125/1.092, allocations: 5.06 MB / 0.6251 GB, free: 4.891 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2442/1.336, allocations: 20.35 MB / 0.6449 GB, free: 234.2 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.202e-05/1.336, allocations: 70.34 kB / 0.645 GB, free: 234.2 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=322): time 7.734e-06/1.336, allocations: 1.844 kB / 0.645 GB, free: 234.2 MB / 0.5137 GB Notification: Performance of matching and sorting (n=380): time 0.112/1.448, allocations: 43.98 MB / 0.688 GB, free: 201 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01205/1.46, allocations: 12.36 MB / 0.7 GB, free: 187.9 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009393/1.47, allocations: 6.1 MB / 0.706 GB, free: 181.8 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.001319/1.471, allocations: 78.41 kB / 0.7061 GB, free: 181.8 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003442/1.475, allocations: 5.139 MB / 0.7111 GB, free: 176.6 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.002007/1.477, allocations: 1.41 MB / 0.7125 GB, free: 175.2 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001249/1.478, allocations: 0.8259 MB / 0.7133 GB, free: 174.4 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 5.129e-05/1.478, allocations: 305 kB / 0.7136 GB, free: 174.1 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005769/1.484, allocations: 4.462 MB / 0.7179 GB, free: 169.6 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008042/1.492, allocations: 9.899 MB / 0.7276 GB, free: 157.1 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01572/1.508, allocations: 15.49 MB / 0.7427 GB, free: 138.9 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001605/1.508, allocations: 52 kB / 0.7428 GB, free: 138.9 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1276) (initialization): time 0.03641/1.544, allocations: 17.63 MB / 0.76 GB, free: 121.1 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002242/1.544, allocations: 87.94 kB / 0.7601 GB, free: 121.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002999/1.545, allocations: 195.6 kB / 0.7602 GB, free: 120.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01073/1.555, allocations: 3.559 MB / 0.7637 GB, free: 117.3 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008216/1.564, allocations: 2.246 MB / 0.7659 GB, free: 115.1 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02891/1.593, allocations: 27.27 MB / 0.7925 GB, free: 86.86 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009246/1.602, allocations: 0.6263 MB / 0.7932 GB, free: 86.23 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002424/1.604, allocations: 0.5751 MB / 0.7937 GB, free: 85.66 MB / 0.5137 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.00855/1.613, allocations: 3.565 MB / 0.7972 GB, free: 82.08 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001599/1.615, allocations: 0.563 MB / 0.7977 GB, free: 81.51 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01935/1.634, allocations: 10.37 MB / 0.8079 GB, free: 71.01 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0162/1.65, allocations: 9.074 MB / 0.8167 GB, free: 61.82 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01764/1.668, allocations: 8.935 MB / 0.8255 GB, free: 52.77 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001143/1.668, allocations: 15.94 kB / 0.8255 GB, free: 52.75 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04164/1.71, allocations: 24.59 MB / 0.8495 GB, free: 27.96 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.974e-05/1.71, allocations: 4 kB / 0.8495 GB, free: 27.95 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003653/1.713, allocations: 0.6324 MB / 0.8501 GB, free: 27.32 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008969/1.722, allocations: 2.999 MB / 0.853 GB, free: 24.31 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001028/1.724, allocations: 71.98 kB / 0.8531 GB, free: 24.24 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.259/1.983, allocations: 21.07 MB / 0.8737 GB, free: 211.9 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.007526/1.99, allocations: 5.859 MB / 0.8794 GB, free: 209.1 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02667/2.017, allocations: 15.03 MB / 0.8941 GB, free: 204.4 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003693/2.021, allocations: 1.267 MB / 0.8953 GB, free: 204.1 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001608/2.022, allocations: 63.88 kB / 0.8954 GB, free: 204 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004152/2.026, allocations: 271.4 kB / 0.8956 GB, free: 204 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009205/2.027, allocations: 252.7 kB / 0.8959 GB, free: 203.9 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000324/2.028, allocations: 109.8 kB / 0.896 GB, free: 203.9 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.007209/2.035, allocations: 3.809 MB / 0.8997 GB, free: 202.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 7.62e-07/2.035, allocations: 0 / 0.8997 GB, free: 202.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01274/2.048, allocations: 2.095 MB / 0.9017 GB, free: 202.4 MB / 0.5137 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.001815/2.05, allocations: 287.5 kB / 0.902 GB, free: 202.3 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01878/2.068, allocations: 11.48 MB / 0.9132 GB, free: 197.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-05/2.068, allocations: 1.531 kB / 0.9132 GB, free: 197.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.008132/2.077, allocations: 4.768 MB / 0.9179 GB, free: 194 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01119/2.088, allocations: 0.854 MB / 0.9187 GB, free: 193.3 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03328/2.121, allocations: 21.93 MB / 0.9401 GB, free: 173.2 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01207/2.133, allocations: 5.447 MB / 0.9455 GB, free: 168.1 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.009647/2.143, allocations: 3.122 MB / 0.9485 GB, free: 164.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001974/2.145, allocations: 411.3 kB / 0.9489 GB, free: 164.5 MB / 0.5137 GB Notification: Performance of SimCode: time 1.002e-06/2.145, allocations: 1.531 kB / 0.9489 GB, free: 164.5 MB / 0.5137 GB Notification: Performance of Templates: time 0.1256/2.271, allocations: 82.84 MB / 1.03 GB, free: 81.63 MB / 0.5137 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)