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.006092/0.006092, allocations: 107.9 kB / 15.74 MB, free: 6.449 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.001105/0.001105, allocations: 196 kB / 16.67 MB, free: 6.355 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.677/1.677, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.0013/0.0013, allocations: 50.12 kB / 326.5 MB, free: 14.38 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1243, allocations: 46.63 MB / 373.2 MB, free: 1.332 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.02085/0.1452, allocations: 19.73 MB / 392.9 MB, free: 13.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01613/0.1613, allocations: 6.268 MB / 399.2 MB, free: 7.219 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005821/0.1673, allocations: 147.6 kB / 399.3 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01262/0.18, allocations: 6.067 MB / 405.4 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00981/0.1898, allocations: 2.731 MB / 408.1 MB, free: 14.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005987/0.1958, allocations: 2.401 MB / 410.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01132/0.2072, allocations: 6.676 MB / 417.2 MB, free: 5.145 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01587/0.2231, allocations: 8.144 MB / 425.3 MB, free: 12.9 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006596/0.2297, allocations: 2.902 MB / 428.2 MB, free: 9.992 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00677/0.2365, allocations: 3.622 MB / 431.9 MB, free: 6.359 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002661/0.2392, allocations: 0.6523 MB / 432.5 MB, free: 5.707 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006945/0.2462, allocations: 1.853 MB / 434.4 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006712/0.253, allocations: 3.441 MB / 437.8 MB, free: 412 kB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009021/0.262, allocations: 3.85 MB / 441.7 MB, free: 12.53 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.021/0.283, allocations: 12.26 MB / 453.9 MB, free: 236 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.376e-06/0.2831, allocations: 4 kB / 453.9 MB, free: 232 kB / 382.1 MB Notification: Performance of FrontEnd: time 3.206e-06/0.2831, allocations: 0 / 453.9 MB, free: 232 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005934/0.2837, allocations: 0 / 453.9 MB, free: 232 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.3368/0.6205, allocations: 8.345 MB / 462.3 MB, free: 66.4 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.317e-05/0.6206, allocations: 8.594 kB / 462.3 MB, free: 66.4 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01029/0.6309, allocations: 2.271 MB / 464.5 MB, free: 65.54 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01271/0.6437, allocations: 4.286 MB / 468.8 MB, free: 62.9 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008135/0.6445, allocations: 436.3 kB / 469.3 MB, free: 62.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003718/0.6483, allocations: 0.579 MB / 469.8 MB, free: 62.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.041/0.6893, allocations: 16.81 MB / 486.6 MB, free: 48.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005306/0.6899, allocations: 63.45 kB / 486.7 MB, free: 48.19 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002955/0.6929, allocations: 268.7 kB / 487 MB, free: 47.98 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003907/0.6968, allocations: 2.634 MB / 489.6 MB, free: 45.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02872/0.7256, allocations: 14.4 MB / 0.4922 GB, free: 30.93 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.0957/0.8213, allocations: 63 MB / 0.5537 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02268/0.844, allocations: 7.659 MB / 0.5612 GB, free: 6.543 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006736/0.8508, allocations: 4.001 MB / 0.5651 GB, free: 2.531 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03494/0.8858, allocations: 16.78 MB / 0.5815 GB, free: 1.16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.562e-05/0.886, allocations: 72.48 kB / 0.5815 GB, free: 1.082 MB / 446.1 MB Notification: Performance of pre-optimization done (n=274): time 6.502e-06/0.886, allocations: 0 / 0.5815 GB, free: 1.082 MB / 446.1 MB Notification: Performance of matching and sorting (n=340): time 0.1343/1.02, allocations: 42.89 MB / 0.6234 GB, free: 5.777 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.3006/1.321, allocations: 16.68 MB / 0.6397 GB, free: 159 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008746/1.33, allocations: 5.749 MB / 0.6453 GB, free: 157.2 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009135/1.331, allocations: 77.55 kB / 0.6454 GB, free: 157.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002419/1.333, allocations: 4.741 MB / 0.65 GB, free: 154.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00135/1.334, allocations: 1.265 MB / 0.6513 GB, free: 153.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002308/1.337, allocations: 1.922 MB / 0.6532 GB, free: 152.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 4.021e-05/1.337, allocations: 301.1 kB / 0.6534 GB, free: 152.1 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004717/1.342, allocations: 4.131 MB / 0.6575 GB, free: 150.7 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007208/1.349, allocations: 9.374 MB / 0.6666 GB, free: 142.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01482/1.364, allocations: 14.61 MB / 0.6809 GB, free: 129.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002542/1.364, allocations: 56 kB / 0.681 GB, free: 129.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03276/1.397, allocations: 17.61 MB / 0.6982 GB, free: 111.6 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.83e-05/1.397, allocations: 84 kB / 0.6982 GB, free: 111.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001429/1.397, allocations: 184.9 kB / 0.6984 GB, free: 111.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01279/1.41, allocations: 4.559 MB / 0.7029 GB, free: 106.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006337/1.416, allocations: 2.043 MB / 0.7049 GB, free: 104.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03749/1.454, allocations: 36.37 MB / 0.7404 GB, free: 67.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008525/1.462, allocations: 0.5418 MB / 0.7409 GB, free: 66.91 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001965/1.464, allocations: 0.5656 MB / 0.7415 GB, free: 66.35 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.008815/1.473, allocations: 3.263 MB / 0.7446 GB, free: 63.07 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002063/1.475, allocations: 0.5332 MB / 0.7452 GB, free: 62.54 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02051/1.496, allocations: 9.948 MB / 0.7549 GB, free: 52.45 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.069e-05/1.496, allocations: 47.98 kB / 0.7549 GB, free: 52.41 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01695/1.513, allocations: 8.503 MB / 0.7632 GB, free: 43.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001203/1.513, allocations: 11.95 kB / 0.7632 GB, free: 43.76 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04335/1.556, allocations: 22.66 MB / 0.7854 GB, free: 20.97 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.776e-05/1.556, allocations: 4 kB / 0.7854 GB, free: 20.96 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002359/1.559, allocations: 483.2 kB / 0.7858 GB, free: 20.49 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009473/1.568, allocations: 3.219 MB / 0.789 GB, free: 17.26 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007143/1.569, allocations: 67.98 kB / 0.789 GB, free: 17.19 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.309/1.878, allocations: 26.39 MB / 0.8148 GB, free: 157 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01414/1.892, allocations: 10.77 MB / 0.8253 GB, free: 153.9 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02356/1.916, allocations: 13.9 MB / 0.8389 GB, free: 148.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0044/1.92, allocations: 1.118 MB / 0.84 GB, free: 148.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001532/1.922, allocations: 59.91 kB / 0.8401 GB, free: 148.4 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003613/1.925, allocations: 217.8 kB / 0.8403 GB, free: 148.4 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009459/1.926, allocations: 232.4 kB / 0.8405 GB, free: 148.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002934/1.927, allocations: 95.41 kB / 0.8406 GB, free: 148.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.005375/1.932, allocations: 3.586 MB / 0.8441 GB, free: 147.2 MB / 0.4981 GB Notification: Performance of sort global known variables: time 6.32e-07/1.932, allocations: 2 kB / 0.8441 GB, free: 147.2 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.01021/1.942, allocations: 1.992 MB / 0.846 GB, free: 147 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.001129/1.943, allocations: 275.1 kB / 0.8463 GB, free: 146.8 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.01507/1.959, allocations: 10.81 MB / 0.8568 GB, free: 141 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.555e-05/1.959, allocations: 0 / 0.8568 GB, free: 141 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.005423/1.964, allocations: 4.185 MB / 0.8609 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.004984/1.969, allocations: 0.8502 MB / 0.8618 GB, free: 136.6 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02853/1.998, allocations: 16.19 MB / 0.8776 GB, free: 122 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006407/2.004, allocations: 5 MB / 0.8825 GB, free: 117 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.006098/2.01, allocations: 2.783 MB / 0.8852 GB, free: 114.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001104/2.011, allocations: 363.4 kB / 0.8855 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of SimCode: time 9.71e-07/2.011, allocations: 0 / 0.8855 GB, free: 113.8 MB / 0.4981 GB Notification: Performance of Templates: time 0.1238/2.135, allocations: 86.06 MB / 0.9696 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)