Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.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.RevoluteConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009375/0.0009376, allocations: 87.27 kB / 16.65 MB, free: 6.535 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.001113/0.001113, allocations: 176.5 kB / 17.56 MB, free: 6.18 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.493/1.493, allocations: 205.4 MB / 223.7 MB, free: 13.06 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.000446/0.0004461, allocations: 11.98 kB / 280.7 MB, free: 3.422 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1133, allocations: 47.59 MB / 328.3 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.296/0.4093, allocations: 84.02 MB / 412.3 MB, free: 8.094 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04369/0.4531, allocations: 17.28 MB / 429.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02168/0.4748, allocations: 388.8 kB / 430 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003018/0.4779, allocations: 0.6933 MB / 430.7 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008876/0.4868, allocations: 2.503 MB / 433.2 MB, free: 12.46 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004121/0.4909, allocations: 1.137 MB / 434.3 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01645/0.5074, allocations: 9.74 MB / 444.1 MB, free: 2.703 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01686/0.5243, allocations: 11.11 MB / 455.2 MB, free: 7.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005072/0.5294, allocations: 2.004 MB / 457.2 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005495/0.535, allocations: 3.087 MB / 460.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001325/0.5363, allocations: 232 kB / 460.5 MB, free: 2.141 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003831/0.5402, allocations: 1.525 MB / 462 MB, free: 0.6133 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003443/0.5436, allocations: 2.871 MB / 464.9 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004978/0.5486, allocations: 3.243 MB / 468.1 MB, free: 10.46 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01291/0.5616, allocations: 11.38 MB / 479.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.5616, allocations: 0 / 479.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.976e-06/0.5616, allocations: 0 / 479.5 MB, free: 15.05 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004049/0.562, allocations: 0 / 479.5 MB, free: 15.05 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: 2390 * Number of variables: 2390 Notification: Performance of Generate backend data structure: time 0.01798/0.58, allocations: 6.813 MB / 486.3 MB, free: 8.152 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.376e-05/0.5801, allocations: 8.031 kB / 486.3 MB, free: 8.145 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009674/0.5898, allocations: 2.32 MB / 488.7 MB, free: 5.812 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009635/0.5995, allocations: 4.196 MB / 492.8 MB, free: 1.535 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003353/0.5998, allocations: 435.7 kB / 493.3 MB, free: 1.109 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001894/0.6017, allocations: 0.5739 MB / 493.8 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03425/0.636, allocations: 16.85 MB / 0.4987 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002502/0.6363, allocations: 63.45 kB / 0.4988 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001121/0.6374, allocations: 267.8 kB / 0.499 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004394/0.6418, allocations: 2.627 MB / 0.5016 GB, free: 11.82 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03349/0.6753, allocations: 14.44 MB / 0.5157 GB, free: 13.36 MB / 430.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.4951/1.17, allocations: 63.29 MB / 0.5775 GB, free: 122 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02129/1.192, allocations: 7.739 MB / 0.5851 GB, free: 119.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004804/1.197, allocations: 3.988 MB / 0.589 GB, free: 118 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02243/1.219, allocations: 16.77 MB / 0.6054 GB, free: 107.5 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.272e-05/1.219, allocations: 61.53 kB / 0.6054 GB, free: 107.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=274): time 5.5e-06/1.219, allocations: 0 / 0.6054 GB, free: 107.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=340): time 0.1146/1.334, allocations: 42.77 MB / 0.6472 GB, free: 65.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01882/1.353, allocations: 16.31 MB / 0.6631 GB, free: 48.95 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00688/1.36, allocations: 5.743 MB / 0.6687 GB, free: 43.23 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009017/1.361, allocations: 77.7 kB / 0.6688 GB, free: 43.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002269/1.363, allocations: 4.736 MB / 0.6734 GB, free: 38.41 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001647/1.364, allocations: 1.264 MB / 0.6746 GB, free: 37.16 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009629/1.365, allocations: 0.7811 MB / 0.6754 GB, free: 36.37 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.37e-05/1.365, allocations: 309.1 kB / 0.6757 GB, free: 36.06 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005171/1.371, allocations: 4.121 MB / 0.6797 GB, free: 31.93 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008822/1.379, allocations: 9.383 MB / 0.6889 GB, free: 19.96 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01601/1.396, allocations: 14.61 MB / 0.7032 GB, free: 2.742 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000161/1.396, allocations: 52 kB / 0.7032 GB, free: 2.691 MB / 446.1 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.2782/1.674, allocations: 17.62 MB / 0.7204 GB, free: 142.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001247/1.674, allocations: 84.66 kB / 0.7205 GB, free: 142.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000266/1.674, allocations: 182 kB / 0.7207 GB, free: 142.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01493/1.689, allocations: 4.57 MB / 0.7251 GB, free: 141.5 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008257/1.698, allocations: 2.041 MB / 0.7271 GB, free: 141.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03862/1.736, allocations: 34.1 MB / 0.7604 GB, free: 114.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009538/1.746, allocations: 0.5443 MB / 0.761 GB, free: 113.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00229/1.748, allocations: 0.5599 MB / 0.7615 GB, free: 113.2 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 839 * Number of states: 0 () * Number of discrete variables: 60 (freeMotionScalarInit.arrowColor[3],freeMotionScalarInit.arrowColor[2],freeMotionScalarInit.arrowColor[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 (1074): * Single equations (assignments): 1061 * Array equations: 6 * 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,33,100.0%), (2,19,100.0%), (2,13,100.0%), (2,1,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.006619/1.755, allocations: 3.273 MB / 0.7647 GB, free: 110.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001076/1.756, allocations: 0.5286 MB / 0.7652 GB, free: 109.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0191/1.775, allocations: 9.947 MB / 0.7749 GB, free: 99.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.55e-05/1.775, allocations: 48.5 kB / 0.775 GB, free: 99.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01676/1.792, allocations: 8.502 MB / 0.7833 GB, free: 91.07 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.124e-05/1.792, allocations: 15.89 kB / 0.7833 GB, free: 91.05 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04267/1.835, allocations: 22.75 MB / 0.8055 GB, free: 68.24 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-05/1.835, allocations: 8 kB / 0.8055 GB, free: 68.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002679/1.838, allocations: 479.2 kB / 0.806 GB, free: 67.77 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01047/1.848, allocations: 3.288 MB / 0.8092 GB, free: 64.47 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001009/1.849, allocations: 65.67 kB / 0.8092 GB, free: 64.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02986/1.879, allocations: 24.41 MB / 0.8331 GB, free: 39.52 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01307/1.892, allocations: 10.64 MB / 0.8435 GB, free: 28.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02517/1.917, allocations: 13.91 MB / 0.8571 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003399/1.921, allocations: 1.13 MB / 0.8582 GB, free: 13.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0016/1.922, allocations: 56 kB / 0.8582 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003928/1.926, allocations: 223.2 kB / 0.8584 GB, free: 13.07 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009749/1.927, allocations: 233.6 kB / 0.8586 GB, free: 12.84 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002768/1.928, allocations: 95.92 kB / 0.8587 GB, free: 12.74 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005276/1.933, allocations: 3.586 MB / 0.8622 GB, free: 9.188 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.9e-07/1.933, allocations: 0 / 0.8622 GB, free: 9.188 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0109/1.944, allocations: 1.991 MB / 0.8642 GB, free: 7.207 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 4 ($STATESET2.x,$STATESET1.x,joint.phi,joint.w) * 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 (220): * Single equations (assignments): 212 * 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 {(1,11,100.0%), (3,30,100.0%), (3,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001615/1.945, allocations: 272.5 kB / 0.8644 GB, free: 6.949 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.2425/2.188, allocations: 10.74 MB / 0.8749 GB, free: 139.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.394e-05/2.188, allocations: 1 kB / 0.8749 GB, free: 139.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007669/2.196, allocations: 4.152 MB / 0.879 GB, free: 138.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0101/2.206, allocations: 0.7973 MB / 0.8798 GB, free: 138.5 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03291/2.239, allocations: 19.72 MB / 0.899 GB, free: 128.1 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007883/2.247, allocations: 4.985 MB / 0.9039 GB, free: 126.4 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.008097/2.255, allocations: 2.789 MB / 0.9066 GB, free: 125.4 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001548/2.256, allocations: 362.4 kB / 0.907 GB, free: 125.1 MB / 446.1 MB Notification: Performance of SimCode: time 1.283e-06/2.256, allocations: 0 / 0.907 GB, free: 125.1 MB / 446.1 MB Notification: Performance of Templates: time 0.1302/2.387, allocations: 85.27 MB / 0.9902 GB, free: 41.16 MB / 446.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1)