Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.1_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.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.1_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.006175/0.006175, allocations: 103.2 kB / 15.73 MB, free: 6.004 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.001264/0.001264, allocations: 191.3 kB / 16.67 MB, free: 5.93 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.535/1.535, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001308/0.001308, allocations: 51.92 kB / 326.5 MB, free: 3.289 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1167, allocations: 46.61 MB / 373.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.2656/0.3823, allocations: 19.74 MB / 392.9 MB, free: 1.266 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02071/0.4031, allocations: 6.271 MB / 399.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007392/0.4106, allocations: 151.2 kB / 399.3 MB, free: 13.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01395/0.4245, allocations: 6.062 MB / 405.4 MB, free: 10.17 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01081/0.4354, allocations: 2.728 MB / 408.1 MB, free: 8.234 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006814/0.4422, allocations: 2.409 MB / 410.5 MB, free: 6.586 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01369/0.4559, allocations: 6.671 MB / 417.2 MB, free: 3.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01284/0.4688, allocations: 8.152 MB / 425.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008161/0.477, allocations: 2.906 MB / 428.2 MB, free: 8.281 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008112/0.4852, allocations: 3.618 MB / 431.9 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003101/0.4883, allocations: 0.6562 MB / 432.5 MB, free: 3.996 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006119/0.4944, allocations: 1.845 MB / 434.4 MB, free: 2.148 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00543/0.4999, allocations: 3.437 MB / 437.8 MB, free: 14.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007699/0.5076, allocations: 3.854 MB / 441.7 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01772/0.5254, allocations: 12.26 MB / 453.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.5254, allocations: 7.938 kB / 453.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.459e-06/0.5254, allocations: 4 kB / 453.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005821/0.526, allocations: 3.938 kB / 453.9 MB, free: 14.52 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.0292/0.5552, allocations: 8.342 MB / 462.3 MB, free: 6.09 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.5553, allocations: 8.031 kB / 462.3 MB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01045/0.5658, allocations: 2.273 MB / 464.5 MB, free: 3.797 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01465/0.5805, allocations: 4.286 MB / 468.8 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006313/0.5812, allocations: 439.7 kB / 469.3 MB, free: 15 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003849/0.585, allocations: 0.5893 MB / 469.9 MB, free: 14.41 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0459/0.631, allocations: 16.8 MB / 486.7 MB, free: 12.71 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003361/0.6314, allocations: 51.53 kB / 486.7 MB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002206/0.6336, allocations: 267.8 kB / 487 MB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004754/0.6384, allocations: 2.635 MB / 489.6 MB, free: 9.758 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03554/0.6739, allocations: 14.4 MB / 0.4922 GB, free: 11.34 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.5608/1.235, allocations: 63 MB / 0.5537 GB, free: 111.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02477/1.26, allocations: 7.657 MB / 0.5612 GB, free: 111 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008119/1.268, allocations: 3.993 MB / 0.5651 GB, free: 110.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02516/1.293, allocations: 16.78 MB / 0.5815 GB, free: 102.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.985e-05/1.293, allocations: 67.47 kB / 0.5815 GB, free: 102.9 MB / 478.1 MB Notification: Performance of pre-optimization done (n=274): time 4.739e-06/1.293, allocations: 0 / 0.5815 GB, free: 102.9 MB / 478.1 MB Notification: Performance of matching and sorting (n=340): time 0.1142/1.407, allocations: 42.9 MB / 0.6234 GB, free: 71.12 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02051/1.428, allocations: 16.7 MB / 0.6397 GB, free: 53.93 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008156/1.436, allocations: 5.743 MB / 0.6453 GB, free: 48.21 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001007/1.437, allocations: 73.38 kB / 0.6454 GB, free: 48.14 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002589/1.44, allocations: 4.733 MB / 0.65 GB, free: 43.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002032/1.442, allocations: 1.269 MB / 0.6513 GB, free: 42.14 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002488/1.444, allocations: 1.922 MB / 0.6532 GB, free: 40.21 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.816e-05/1.444, allocations: 305.1 kB / 0.6534 GB, free: 39.91 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004982/1.449, allocations: 4.132 MB / 0.6575 GB, free: 35.77 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007462/1.457, allocations: 9.373 MB / 0.6666 GB, free: 23.89 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01577/1.473, allocations: 14.62 MB / 0.6809 GB, free: 6.832 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000205/1.473, allocations: 52.88 kB / 0.681 GB, free: 6.781 MB / 478.1 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.04265/1.516, allocations: 17.61 MB / 0.6982 GB, free: 5.102 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003009/1.516, allocations: 84 kB / 0.6982 GB, free: 5.02 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004399/1.516, allocations: 184 kB / 0.6984 GB, free: 4.84 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01628/1.533, allocations: 4.561 MB / 0.7029 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008723/1.541, allocations: 2.031 MB / 0.7048 GB, free: 14.25 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0536/1.595, allocations: 36.38 MB / 0.7404 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01042/1.606, allocations: 0.5461 MB / 0.7409 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002632/1.608, allocations: 0.5623 MB / 0.7415 GB, free: 7.812 MB / 0.5294 GB 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.009315/1.618, allocations: 3.277 MB / 0.7447 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002228/1.62, allocations: 0.5245 MB / 0.7452 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3108/1.931, allocations: 9.944 MB / 0.7549 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001176/1.931, allocations: 51.03 kB / 0.7549 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01979/1.951, allocations: 8.511 MB / 0.7632 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.751e-05/1.951, allocations: 14.77 kB / 0.7633 GB, free: 186.1 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04671/1.997, allocations: 22.65 MB / 0.7854 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.742e-05/1.997, allocations: 13.12 kB / 0.7854 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002319/2, allocations: 482.5 kB / 0.7858 GB, free: 177.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01/2.01, allocations: 3.221 MB / 0.789 GB, free: 176.9 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008063/2.011, allocations: 62.27 kB / 0.7891 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03013/2.041, allocations: 26.39 MB / 0.8148 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01275/2.054, allocations: 10.76 MB / 0.8253 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02296/2.077, allocations: 13.91 MB / 0.8389 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003177/2.08, allocations: 1.12 MB / 0.84 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001243/2.081, allocations: 63.36 kB / 0.8401 GB, free: 130.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003374/2.084, allocations: 215.7 kB / 0.8403 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009351/2.085, allocations: 236.7 kB / 0.8405 GB, free: 130.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002417/2.086, allocations: 91.98 kB / 0.8406 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.005157/2.091, allocations: 3.582 MB / 0.8441 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.423e-06/2.091, allocations: 7.156 kB / 0.8441 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01226/2.103, allocations: 1.997 MB / 0.846 GB, free: 124.6 MB / 0.5294 GB 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.001632/2.105, allocations: 272.8 kB / 0.8463 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01738/2.122, allocations: 10.8 MB / 0.8569 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.326e-05/2.122, allocations: 0 / 0.8569 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00653/2.129, allocations: 4.183 MB / 0.8609 GB, free: 109.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00933/2.138, allocations: 0.8443 MB / 0.8618 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03063/2.169, allocations: 16.19 MB / 0.8776 GB, free: 92.4 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007904/2.177, allocations: 4.991 MB / 0.8824 GB, free: 87.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007076/2.184, allocations: 2.787 MB / 0.8852 GB, free: 84.58 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001556/2.185, allocations: 365 kB / 0.8855 GB, free: 84.23 MB / 0.5294 GB Notification: Performance of SimCode: time 1.062e-06/2.186, allocations: 4 kB / 0.8855 GB, free: 84.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.3915/2.577, allocations: 86.05 MB / 0.9696 GB, free: 174.2 MB / 0.5294 GB make -j1 -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1)