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.001161/0.00116, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.009364/0.009364, allocations: 174 kB / 16.27 MB, free: 6.648 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.646/1.646, allocations: 205.4 MB / 222.4 MB, free: 5.574 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.0005052/0.0005052, allocations: 12 kB / 279.4 MB, free: 12.52 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3012/0.3017, allocations: 47.59 MB / 327 MB, free: 1.406 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.07777/0.3795, allocations: 84.02 MB / 411.1 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04837/0.428, allocations: 17.28 MB / 428.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01942/0.4474, allocations: 387 kB / 428.7 MB, free: 13.32 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002817/0.4503, allocations: 0.6916 MB / 429.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007741/0.4581, allocations: 2.507 MB / 431.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003446/0.4615, allocations: 1.143 MB / 433.1 MB, free: 8.965 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01239/0.4739, allocations: 9.726 MB / 442.8 MB, free: 15.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01691/0.4909, allocations: 11.11 MB / 453.9 MB, free: 3.977 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004753/0.4957, allocations: 2 MB / 455.9 MB, free: 1.969 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2821/0.7778, allocations: 3.086 MB / 459 MB, free: 9.227 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002148/0.78, allocations: 228.7 kB / 459.2 MB, free: 9.227 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005418/0.7855, allocations: 1.525 MB / 460.7 MB, free: 9.227 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004732/0.7902, allocations: 2.871 MB / 463.6 MB, free: 9.227 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007629/0.7979, allocations: 3.247 MB / 466.8 MB, free: 8.898 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02026/0.8182, allocations: 11.38 MB / 478.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.021e-06/0.8182, allocations: 0 / 478.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.707e-06/0.8182, allocations: 0 / 478.2 MB, free: 7.383 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0006655/0.8189, allocations: 0 / 478.2 MB, free: 7.383 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.02293/0.8418, allocations: 6.818 MB / 485 MB, free: 3.465 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.265e-05/0.8419, allocations: 7.75 kB / 485 MB, free: 3.465 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009973/0.8519, allocations: 2.316 MB / 487.4 MB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01043/0.8624, allocations: 4.189 MB / 491.6 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004757/0.8629, allocations: 434.4 kB / 492 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003395/0.8663, allocations: 0.5862 MB / 492.6 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04482/0.9111, allocations: 17.18 MB / 0.4978 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003192/0.9115, allocations: 61.56 kB / 0.4978 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002548/0.9141, allocations: 269.5 kB / 0.4981 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004648/0.9187, allocations: 2.636 MB / 0.5007 GB, free: 11.84 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0372/0.956, allocations: 14.44 MB / 0.5148 GB, free: 14.42 MB / 414.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.0996/1.056, allocations: 63.27 MB / 0.5766 GB, free: 14.35 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0234/1.079, allocations: 7.74 MB / 0.5841 GB, free: 6.473 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0059/1.085, allocations: 3.992 MB / 0.588 GB, free: 2.473 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02577/1.111, allocations: 16.78 MB / 0.6044 GB, free: 1.223 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/1.111, allocations: 56.56 kB / 0.6045 GB, free: 1.16 MB / 494.1 MB Notification: Performance of pre-optimization done (n=274): time 5.009e-06/1.111, allocations: 2.344 kB / 0.6045 GB, free: 1.16 MB / 494.1 MB Notification: Performance of matching and sorting (n=340): time 0.405/1.516, allocations: 42.77 MB / 0.6462 GB, free: 129.9 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02175/1.538, allocations: 16.31 MB / 0.6622 GB, free: 123.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/1.548, allocations: 5.744 MB / 0.6678 GB, free: 121.1 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001128/1.549, allocations: 76.16 kB / 0.6678 GB, free: 121 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003155/1.552, allocations: 4.735 MB / 0.6725 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001876/1.554, allocations: 1.271 MB / 0.6737 GB, free: 115.8 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001253/1.555, allocations: 0.782 MB / 0.6745 GB, free: 115.4 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.622e-05/1.555, allocations: 309 kB / 0.6748 GB, free: 115.1 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007992/1.563, allocations: 4.126 MB / 0.6788 GB, free: 111.2 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01584/1.579, allocations: 9.38 MB / 0.688 GB, free: 99.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02261/1.602, allocations: 14.61 MB / 0.7022 GB, free: 82.89 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001987/1.602, allocations: 52 kB / 0.7023 GB, free: 82.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.05745/1.66, allocations: 17.62 MB / 0.7195 GB, free: 66.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001769/1.66, allocations: 87.98 kB / 0.7196 GB, free: 66.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003386/1.66, allocations: 186.5 kB / 0.7197 GB, free: 66.05 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01947/1.68, allocations: 4.56 MB / 0.7242 GB, free: 61.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007824/1.688, allocations: 2.047 MB / 0.7262 GB, free: 59.63 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0401/1.728, allocations: 34.1 MB / 0.7595 GB, free: 24.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009345/1.737, allocations: 0.5449 MB / 0.76 GB, free: 24.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00211/1.739, allocations: 0.5663 MB / 0.7606 GB, free: 23.65 MB / 0.4981 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.007746/1.747, allocations: 3.264 MB / 0.7638 GB, free: 20.55 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001839/1.749, allocations: 0.5283 MB / 0.7643 GB, free: 20.02 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02136/1.77, allocations: 9.953 MB / 0.774 GB, free: 10 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001216/1.77, allocations: 51.98 kB / 0.774 GB, free: 9.953 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01729/1.788, allocations: 8.501 MB / 0.7823 GB, free: 1.395 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001037/1.788, allocations: 15.94 kB / 0.7824 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.321/2.109, allocations: 22.73 MB / 0.8046 GB, free: 214.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-05/2.109, allocations: 7.844 kB / 0.8046 GB, free: 214.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00266/2.112, allocations: 479.1 kB / 0.805 GB, free: 214.4 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01176/2.123, allocations: 3.285 MB / 0.8082 GB, free: 214.4 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008195/2.124, allocations: 66.02 kB / 0.8083 GB, free: 214.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03057/2.155, allocations: 24.41 MB / 0.8321 GB, free: 203 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01355/2.168, allocations: 10.64 MB / 0.8425 GB, free: 197.2 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02511/2.194, allocations: 13.9 MB / 0.8561 GB, free: 188.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003322/2.197, allocations: 1.126 MB / 0.8572 GB, free: 187.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00157/2.198, allocations: 60.45 kB / 0.8572 GB, free: 187.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003766/2.202, allocations: 218.1 kB / 0.8574 GB, free: 187.3 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009286/2.203, allocations: 236.9 kB / 0.8577 GB, free: 187.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000257/2.203, allocations: 97.52 kB / 0.8578 GB, free: 187.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.005838/2.209, allocations: 3.583 MB / 0.8613 GB, free: 184.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.21e-07/2.209, allocations: 0 / 0.8613 GB, free: 184.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.009284/2.219, allocations: 1.989 MB / 0.8632 GB, free: 182.2 MB / 0.5137 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.0009385/2.22, allocations: 272.5 kB / 0.8635 GB, free: 182 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01547/2.235, allocations: 10.75 MB / 0.874 GB, free: 171.7 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.352e-05/2.235, allocations: 0 / 0.874 GB, free: 171.7 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005851/2.241, allocations: 4.166 MB / 0.878 GB, free: 167.5 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009627/2.251, allocations: 0.7944 MB / 0.8788 GB, free: 166.7 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02859/2.279, allocations: 19.72 MB / 0.8981 GB, free: 147 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007162/2.287, allocations: 4.991 MB / 0.9029 GB, free: 142 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007717/2.294, allocations: 2.787 MB / 0.9057 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0016/2.296, allocations: 363.4 kB / 0.906 GB, free: 138.8 MB / 0.5137 GB Notification: Performance of SimCode: time 1.583e-06/2.296, allocations: 0 / 0.906 GB, free: 138.8 MB / 0.5137 GB Notification: Performance of Templates: time 0.1353/2.431, allocations: 85.25 MB / 0.9893 GB, free: 53.47 MB / 0.5137 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)