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.006326/0.006326, allocations: 100.4 kB / 15.73 MB, free: 5.953 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.001421/0.001421, allocations: 198.5 kB / 16.68 MB, free: 5.875 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.537/1.537, allocations: 205.1 MB / 222.6 MB, free: 4.43 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.001476/0.001476, allocations: 54.94 kB / 326.5 MB, free: 14.45 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1091, allocations: 46.63 MB / 373.2 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.02174/0.1309, allocations: 19.73 MB / 392.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01896/0.1499, allocations: 6.28 MB / 399.2 MB, free: 7.199 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006306/0.1563, allocations: 147.6 kB / 399.3 MB, free: 7.055 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01245/0.1688, allocations: 6.063 MB / 405.4 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008964/0.1778, allocations: 2.665 MB / 408 MB, free: 14.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006159/0.184, allocations: 2.393 MB / 410.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01224/0.1963, allocations: 6.676 MB / 417.1 MB, free: 5.203 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01254/0.2089, allocations: 8.152 MB / 425.3 MB, free: 12.95 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007619/0.2166, allocations: 2.902 MB / 428.2 MB, free: 10.04 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007262/0.2239, allocations: 3.606 MB / 431.8 MB, free: 6.426 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002706/0.2266, allocations: 0.6523 MB / 432.4 MB, free: 5.773 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004933/0.2316, allocations: 1.853 MB / 434.3 MB, free: 3.918 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004754/0.2364, allocations: 3.386 MB / 437.7 MB, free: 0.5234 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007081/0.2435, allocations: 3.846 MB / 441.5 MB, free: 12.65 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01683/0.2604, allocations: 12.27 MB / 453.8 MB, free: 356 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.446e-06/0.2604, allocations: 4 kB / 453.8 MB, free: 352 kB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.2604, allocations: 0 / 453.8 MB, free: 352 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004584/0.2609, allocations: 0 / 453.8 MB, free: 352 kB / 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.276/0.5369, allocations: 8.345 MB / 462.1 MB, free: 66.45 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.404e-05/0.537, allocations: 9.469 kB / 462.1 MB, free: 66.45 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01123/0.5482, allocations: 2.269 MB / 464.4 MB, free: 65.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01135/0.5596, allocations: 4.288 MB / 468.7 MB, free: 62.95 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005053/0.5601, allocations: 436.4 kB / 469.1 MB, free: 62.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003696/0.5638, allocations: 0.5808 MB / 469.7 MB, free: 62.63 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03358/0.5974, allocations: 16.81 MB / 486.5 MB, free: 48.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002214/0.5977, allocations: 51.53 kB / 486.6 MB, free: 48.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001057/0.5988, allocations: 265.9 kB / 486.8 MB, free: 47.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003313/0.6021, allocations: 2.645 MB / 489.5 MB, free: 45.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02651/0.6286, allocations: 14.39 MB / 0.4921 GB, free: 30.94 MB / 382.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.08532/0.714, allocations: 62.99 MB / 0.5536 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0241/0.7382, allocations: 7.66 MB / 0.5611 GB, free: 6.555 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005665/0.7439, allocations: 3.991 MB / 0.5649 GB, free: 2.551 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03344/0.7773, allocations: 16.77 MB / 0.5813 GB, free: 1.184 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.307e-05/0.7775, allocations: 64.56 kB / 0.5814 GB, free: 1.113 MB / 446.1 MB Notification: Performance of pre-optimization done (n=274): time 8.516e-06/0.7775, allocations: 0 / 0.5814 GB, free: 1.113 MB / 446.1 MB Notification: Performance of matching and sorting (n=340): time 0.1354/0.9129, allocations: 42.91 MB / 0.6233 GB, free: 5.785 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3038/1.217, allocations: 16.68 MB / 0.6396 GB, free: 158.9 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009864/1.227, allocations: 5.742 MB / 0.6452 GB, free: 157.1 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001086/1.228, allocations: 82.97 kB / 0.6453 GB, free: 157.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00303/1.231, allocations: 4.734 MB / 0.6499 GB, free: 154.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001773/1.233, allocations: 1.272 MB / 0.6511 GB, free: 153.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002802/1.235, allocations: 1.921 MB / 0.653 GB, free: 152.3 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.644e-05/1.235, allocations: 305.1 kB / 0.6533 GB, free: 152 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005061/1.241, allocations: 4.129 MB / 0.6573 GB, free: 150.6 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00763/1.248, allocations: 9.378 MB / 0.6665 GB, free: 142.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0157/1.264, allocations: 14.62 MB / 0.6808 GB, free: 129.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001822/1.264, allocations: 52.5 kB / 0.6808 GB, free: 129.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03553/1.3, allocations: 17.61 MB / 0.698 GB, free: 111.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001122/1.3, allocations: 84 kB / 0.6981 GB, free: 111.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001948/1.3, allocations: 184.1 kB / 0.6983 GB, free: 111.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01377/1.314, allocations: 4.568 MB / 0.7027 GB, free: 106.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007205/1.321, allocations: 2.039 MB / 0.7047 GB, free: 104.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03925/1.36, allocations: 36.37 MB / 0.7402 GB, free: 67.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009788/1.37, allocations: 0.5423 MB / 0.7408 GB, free: 66.86 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002068/1.372, allocations: 0.5623 MB / 0.7413 GB, free: 66.29 MB / 494.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.007129/1.38, allocations: 3.262 MB / 0.7445 GB, free: 63.02 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001636/1.381, allocations: 0.5351 MB / 0.745 GB, free: 62.48 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01962/1.401, allocations: 9.953 MB / 0.7548 GB, free: 52.4 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.697e-05/1.401, allocations: 51.98 kB / 0.7548 GB, free: 52.35 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01679/1.418, allocations: 8.499 MB / 0.7631 GB, free: 43.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.713e-05/1.418, allocations: 19.94 kB / 0.7631 GB, free: 43.7 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04335/1.461, allocations: 22.65 MB / 0.7852 GB, free: 20.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.941e-05/1.461, allocations: 4 kB / 0.7852 GB, free: 20.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002649/1.464, allocations: 483.2 kB / 0.7857 GB, free: 20.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01071/1.475, allocations: 3.227 MB / 0.7889 GB, free: 17.19 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009731/1.476, allocations: 61.44 kB / 0.7889 GB, free: 17.13 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3213/1.797, allocations: 26.39 MB / 0.8147 GB, free: 157.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0153/1.812, allocations: 10.77 MB / 0.8252 GB, free: 154 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02539/1.838, allocations: 13.9 MB / 0.8388 GB, free: 148.9 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003848/1.842, allocations: 1.113 MB / 0.8399 GB, free: 148.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001676/1.843, allocations: 67.11 kB / 0.8399 GB, free: 148.6 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00444/1.848, allocations: 219.1 kB / 0.8401 GB, free: 148.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0011/1.849, allocations: 235.1 kB / 0.8404 GB, free: 148.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002793/1.849, allocations: 98.06 kB / 0.8405 GB, free: 148.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005999/1.855, allocations: 3.584 MB / 0.844 GB, free: 147.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.21e-07/1.855, allocations: 0 / 0.844 GB, free: 147.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01208/1.867, allocations: 1.991 MB / 0.8459 GB, free: 147.1 MB / 0.4981 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.001379/1.869, allocations: 272.1 kB / 0.8462 GB, free: 146.9 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01656/1.885, allocations: 10.8 MB / 0.8567 GB, free: 141.1 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.094e-05/1.885, allocations: 4 kB / 0.8567 GB, free: 141 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005766/1.891, allocations: 4.18 MB / 0.8608 GB, free: 137.3 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006541/1.898, allocations: 0.85 MB / 0.8616 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03465/1.933, allocations: 16.19 MB / 0.8774 GB, free: 122 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009033/1.942, allocations: 4.994 MB / 0.8823 GB, free: 117 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.007285/1.949, allocations: 2.787 MB / 0.885 GB, free: 114.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/1.95, allocations: 367.4 kB / 0.8854 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of SimCode: time 1.492e-06/1.95, allocations: 0 / 0.8854 GB, free: 113.9 MB / 0.4981 GB Notification: Performance of Templates: time 0.1253/2.076, allocations: 86.06 MB / 0.9694 GB, free: 27.73 MB / 0.4981 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)