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.008538/0.008538, allocations: 101.4 kB / 15.73 MB, free: 5.551 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.001857/0.001857, allocations: 195.5 kB / 16.67 MB, free: 5.48 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.598/1.598, allocations: 205.1 MB / 222.5 MB, free: 12.23 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.001271/0.001271, allocations: 55.88 kB / 326.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1229/0.1241, allocations: 46.62 MB / 373.2 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.2852/0.4094, allocations: 19.74 MB / 392.9 MB, free: 1.297 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.02163/0.4311, allocations: 6.284 MB / 399.2 MB, free: 13.05 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.008823/0.44, allocations: 151.3 kB / 399.3 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01648/0.4566, allocations: 6.058 MB / 405.4 MB, free: 10.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01146/0.4681, allocations: 2.654 MB / 408 MB, free: 8.289 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007611/0.4757, allocations: 2.407 MB / 410.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01606/0.4918, allocations: 6.668 MB / 417.1 MB, free: 3.133 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01523/0.5071, allocations: 8.156 MB / 425.3 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008131/0.5153, allocations: 2.906 MB / 428.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009094/0.5244, allocations: 3.61 MB / 431.8 MB, free: 4.742 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003636/0.5281, allocations: 0.6484 MB / 432.4 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007788/0.5359, allocations: 1.853 MB / 434.3 MB, free: 2.238 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007403/0.5434, allocations: 3.379 MB / 437.7 MB, free: 14.85 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01082/0.5543, allocations: 3.862 MB / 441.5 MB, free: 10.96 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02257/0.5769, allocations: 12.3 MB / 453.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/0.5769, allocations: 3.984 kB / 453.8 MB, free: 14.62 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.5769, allocations: 3.938 kB / 453.8 MB, free: 14.61 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005405/0.5775, allocations: 0 / 453.8 MB, free: 14.61 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.02937/0.6069, allocations: 8.56 MB / 462.4 MB, free: 5.957 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.6069, allocations: 8.031 kB / 462.4 MB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01113/0.6181, allocations: 2.313 MB / 464.7 MB, free: 3.629 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01094/0.6291, allocations: 4.307 MB / 469 MB, free: 15.24 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004268/0.6296, allocations: 435.7 kB / 469.4 MB, free: 14.82 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002413/0.632, allocations: 0.5817 MB / 470 MB, free: 14.23 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0395/0.6715, allocations: 16.81 MB / 486.8 MB, free: 12.53 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004252/0.672, allocations: 63.52 kB / 486.9 MB, free: 12.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003516/0.6755, allocations: 263.8 kB / 487.1 MB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005525/0.6811, allocations: 2.635 MB / 489.8 MB, free: 9.57 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03629/0.7174, allocations: 14.4 MB / 0.4924 GB, free: 11.15 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.5653/1.283, allocations: 63.1 MB / 0.554 GB, free: 111.3 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02354/1.306, allocations: 7.661 MB / 0.5615 GB, free: 110.6 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006107/1.312, allocations: 3.997 MB / 0.5654 GB, free: 110.6 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02355/1.336, allocations: 16.8 MB / 0.5818 GB, free: 102.7 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.936e-05/1.336, allocations: 64.25 kB / 0.5818 GB, free: 102.7 MB / 478.1 MB Notification: Performance of pre-optimization done (n=274): time 5.119e-06/1.336, allocations: 0 / 0.5818 GB, free: 102.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=340): time 0.1107/1.447, allocations: 43.28 MB / 0.6241 GB, free: 70.96 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01923/1.466, allocations: 16.7 MB / 0.6404 GB, free: 53.77 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007413/1.474, allocations: 5.758 MB / 0.646 GB, free: 48.15 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00105/1.475, allocations: 81.53 kB / 0.6461 GB, free: 48.07 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003234/1.478, allocations: 4.922 MB / 0.6509 GB, free: 43.45 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002027/1.48, allocations: 1.328 MB / 0.6522 GB, free: 42.13 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002601/1.483, allocations: 1.927 MB / 0.6541 GB, free: 40.2 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.537e-05/1.483, allocations: 313 kB / 0.6544 GB, free: 39.89 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004955/1.488, allocations: 4.121 MB / 0.6584 GB, free: 35.76 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007282/1.495, allocations: 9.376 MB / 0.6676 GB, free: 23.88 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01459/1.509, allocations: 14.62 MB / 0.6819 GB, free: 6.809 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001474/1.51, allocations: 52 kB / 0.6819 GB, free: 6.758 MB / 478.1 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03722/1.547, allocations: 17.64 MB / 0.6991 GB, free: 5.055 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002206/1.547, allocations: 87.98 kB / 0.6992 GB, free: 4.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003052/1.547, allocations: 184 kB / 0.6994 GB, free: 4.789 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0156/1.563, allocations: 4.555 MB / 0.7038 GB, free: 252 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007584/1.571, allocations: 2.047 MB / 0.7058 GB, free: 14.2 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05374/1.624, allocations: 36.39 MB / 0.7414 GB, free: 8.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008994/1.634, allocations: 0.5452 MB / 0.7419 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002864/1.636, allocations: 0.5623 MB / 0.7424 GB, free: 7.734 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.009292/1.646, allocations: 3.277 MB / 0.7456 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001896/1.648, allocations: 0.5491 MB / 0.7462 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2746/1.922, allocations: 9.946 MB / 0.7559 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.362e-05/1.922, allocations: 51.8 kB / 0.7559 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02008/1.942, allocations: 8.507 MB / 0.7643 GB, free: 186 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.688e-05/1.943, allocations: 14.16 kB / 0.7643 GB, free: 186 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04602/1.989, allocations: 22.66 MB / 0.7864 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.635e-05/1.989, allocations: 7.719 kB / 0.7864 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002823/1.992, allocations: 487.7 kB / 0.7869 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01061/2.002, allocations: 3.229 MB / 0.79 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001041/2.003, allocations: 62.06 kB / 0.7901 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03231/2.036, allocations: 26.4 MB / 0.8159 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01359/2.049, allocations: 10.76 MB / 0.8264 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02653/2.076, allocations: 13.94 MB / 0.84 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003323/2.079, allocations: 1.144 MB / 0.8411 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001833/2.081, allocations: 58.58 kB / 0.8412 GB, free: 130.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004229/2.085, allocations: 223.6 kB / 0.8414 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001173/2.086, allocations: 230.5 kB / 0.8416 GB, free: 130.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000535/2.087, allocations: 91.98 kB / 0.8417 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006175/2.093, allocations: 3.59 MB / 0.8452 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.01e-07/2.093, allocations: 4 kB / 0.8452 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01024/2.103, allocations: 1.998 MB / 0.8471 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.001397/2.105, allocations: 267.7 kB / 0.8474 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01655/2.121, allocations: 10.82 MB / 0.858 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.349e-05/2.122, allocations: 0 / 0.858 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007013/2.129, allocations: 4.189 MB / 0.8621 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.008751/2.137, allocations: 0.8457 MB / 0.8629 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03346/2.171, allocations: 16.42 MB / 0.8789 GB, free: 92.11 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00873/2.18, allocations: 4.999 MB / 0.8838 GB, free: 87.09 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.009212/2.189, allocations: 2.787 MB / 0.8865 GB, free: 84.29 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001955/2.191, allocations: 363.4 kB / 0.8869 GB, free: 83.94 MB / 0.5294 GB Notification: Performance of SimCode: time 6.61e-07/2.191, allocations: 0 / 0.8869 GB, free: 83.94 MB / 0.5294 GB Notification: Performance of Templates: time 0.3912/2.582, allocations: 86.06 MB / 0.9709 GB, free: 174 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)