Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint") translateModel(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.0008008/0.0008004, allocations: 88.59 kB / 16.31 MB, free: 6.453 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.0009318/0.0009318, allocations: 182.5 kB / 17.21 MB, free: 6.324 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.583/1.583, allocations: 205.4 MB / 223.4 MB, free: 5.785 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.0004458/0.0004459, allocations: 8 kB / 280.1 MB, free: 13.06 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2867/0.2871, allocations: 47.59 MB / 327.7 MB, free: 1.398 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.07351/0.3607, allocations: 78.09 MB / 405.8 MB, free: 5.246 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04497/0.4057, allocations: 16.54 MB / 422.4 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02115/0.4269, allocations: 390.9 kB / 422.7 MB, free: 4.27 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01334/0.4403, allocations: 3.643 MB / 426.4 MB, free: 0.6094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03168/0.4721, allocations: 10.58 MB / 437 MB, free: 5.984 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005943/0.478, allocations: 1.037 MB / 438 MB, free: 4.945 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0121/0.4902, allocations: 7.759 MB / 445.8 MB, free: 13.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01575/0.5059, allocations: 9.566 MB / 455.3 MB, free: 3.504 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004834/0.5108, allocations: 2.149 MB / 457.5 MB, free: 1.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2546/0.7655, allocations: 3.048 MB / 460.5 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001778/0.7673, allocations: 228.9 kB / 460.8 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00522/0.7725, allocations: 1.282 MB / 462 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00457/0.7771, allocations: 2.822 MB / 464.9 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002941/0.7801, allocations: 1.358 MB / 466.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01235/0.7924, allocations: 9.536 MB / 475.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.217e-06/0.7925, allocations: 0 / 475.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.094e-06/0.7925, allocations: 0 / 475.8 MB, free: 10.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005044/0.793, allocations: 0 / 475.8 MB, free: 10.07 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.01822/0.8112, allocations: 6.898 MB / 482.7 MB, free: 7.258 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.871e-05/0.8112, allocations: 9.094 kB / 482.7 MB, free: 7.258 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008958/0.8202, allocations: 2.318 MB / 485 MB, free: 6.801 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01086/0.8311, allocations: 4.1 MB / 489.1 MB, free: 5.742 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004449/0.8316, allocations: 433.7 kB / 489.5 MB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002991/0.8346, allocations: 0.5874 MB / 490.1 MB, free: 5.719 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03393/0.8685, allocations: 16.8 MB / 0.495 GB, free: 452 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000263/0.8689, allocations: 64.66 kB / 0.4951 GB, free: 444 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008786/0.8698, allocations: 267.5 kB / 0.4953 GB, free: 440 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003828/0.8736, allocations: 2.651 MB / 0.4979 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03277/0.9064, allocations: 14.38 MB / 0.512 GB, free: 7.738 MB / 398.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.1029/1.009, allocations: 63.24 MB / 0.5737 GB, free: 3.891 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02158/1.031, allocations: 7.73 MB / 0.5813 GB, free: 13.63 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006288/1.037, allocations: 3.977 MB / 0.5851 GB, free: 11.06 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02574/1.063, allocations: 16.77 MB / 0.6015 GB, free: 9.844 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/1.063, allocations: 68.02 kB / 0.6016 GB, free: 9.773 MB / 478.1 MB Notification: Performance of pre-optimization done (n=274): time 5.731e-06/1.063, allocations: 0 / 0.6016 GB, free: 9.773 MB / 478.1 MB Notification: Performance of matching and sorting (n=325): time 0.3636/1.427, allocations: 39.93 MB / 0.6406 GB, free: 199.8 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01645/1.443, allocations: 11.61 MB / 0.6519 GB, free: 193.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009572/1.453, allocations: 5.709 MB / 0.6575 GB, free: 191.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001146/1.454, allocations: 75.38 kB / 0.6576 GB, free: 191.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003287/1.457, allocations: 4.738 MB / 0.6622 GB, free: 187.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002378/1.46, allocations: 1.221 MB / 0.6634 GB, free: 187 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007676/1.46, allocations: 182.9 kB / 0.6636 GB, free: 186.9 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004952/1.461, allocations: 0.6985 MB / 0.6642 GB, free: 186.4 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005738/1.467, allocations: 3.976 MB / 0.6681 GB, free: 185.1 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009466/1.476, allocations: 9.225 MB / 0.6771 GB, free: 175.7 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009962/1.486, allocations: 5.91 MB / 0.6829 GB, free: 170.2 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001467/1.486, allocations: 52 kB / 0.683 GB, free: 170.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.03534/1.522, allocations: 16.9 MB / 0.6995 GB, free: 153.2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002814/1.522, allocations: 91.08 kB / 0.6996 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004474/1.523, allocations: 192.1 kB / 0.6997 GB, free: 152.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01298/1.536, allocations: 4.237 MB / 0.7039 GB, free: 148.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00785/1.543, allocations: 2.066 MB / 0.7059 GB, free: 146.6 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03428/1.578, allocations: 30.42 MB / 0.7356 GB, free: 115.3 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009654/1.587, allocations: 0.5461 MB / 0.7361 GB, free: 114.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002124/1.59, allocations: 0.5546 MB / 0.7367 GB, free: 114.2 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 (1083): * Single equations (assignments): 1070 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(3,100.0%) 25,(2,100.0%) 11,(3,77.8%) 12,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 11} Notification: Performance of prepare postOptimizeDAE: time 0.009514/1.599, allocations: 3.242 MB / 0.7398 GB, free: 111 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001649/1.601, allocations: 0.5245 MB / 0.7404 GB, free: 110.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01823/1.619, allocations: 9.391 MB / 0.7495 GB, free: 100.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.783e-05/1.619, allocations: 47.98 kB / 0.7496 GB, free: 100.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01514/1.634, allocations: 7.973 MB / 0.7574 GB, free: 92.74 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000107/1.634, allocations: 11.95 kB / 0.7574 GB, free: 92.73 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0494/1.684, allocations: 21.94 MB / 0.7788 GB, free: 70.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.208e-05/1.684, allocations: 4 kB / 0.7788 GB, free: 70.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002751/1.687, allocations: 0.507 MB / 0.7793 GB, free: 70.19 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009356/1.696, allocations: 3.034 MB / 0.7823 GB, free: 67.14 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008852/1.697, allocations: 71.94 kB / 0.7823 GB, free: 67.07 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02603/1.723, allocations: 21.58 MB / 0.8034 GB, free: 44.96 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01124/1.734, allocations: 8.865 MB / 0.8121 GB, free: 35.8 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02357/1.758, allocations: 13.19 MB / 0.8249 GB, free: 22.42 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.005715/1.764, allocations: 1.103 MB / 0.826 GB, free: 21.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001987/1.766, allocations: 59.78 kB / 0.8261 GB, free: 21.24 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003966/1.77, allocations: 223.6 kB / 0.8263 GB, free: 21.02 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007753/1.771, allocations: 221.5 kB / 0.8265 GB, free: 20.8 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002662/1.771, allocations: 91.98 kB / 0.8266 GB, free: 20.71 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.005973/1.777, allocations: 3.547 MB / 0.83 GB, free: 17.2 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.11e-07/1.777, allocations: 0 / 0.83 GB, free: 17.2 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01169/1.789, allocations: 1.926 MB / 0.8319 GB, free: 15.27 MB / 494.1 MB 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 (229): * Single equations (assignments): 221 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 11,(3,100.0%) 22,(3,100.0%) 13} * Non-linear torn systems: 1 {3 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001209/1.79, allocations: 251 kB / 0.8322 GB, free: 15.02 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2461/2.036, allocations: 10.29 MB / 0.8422 GB, free: 186.7 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/2.036, allocations: 0.9062 kB / 0.8422 GB, free: 186.7 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007427/2.043, allocations: 3.878 MB / 0.846 GB, free: 186.2 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005531/2.049, allocations: 0.787 MB / 0.8468 GB, free: 186.2 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02921/2.078, allocations: 18.64 MB / 0.865 GB, free: 178.7 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006595/2.085, allocations: 4.945 MB / 0.8698 GB, free: 177 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007073/2.092, allocations: 2.826 MB / 0.8726 GB, free: 176.7 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001196/2.093, allocations: 366 kB / 0.8729 GB, free: 176.7 MB / 494.1 MB Notification: Performance of SimCode: time 1.082e-06/2.093, allocations: 0 / 0.8729 GB, free: 176.7 MB / 494.1 MB Notification: Performance of Templates: time 0.1195/2.213, allocations: 79.26 MB / 0.9503 GB, free: 104.5 MB / 494.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1)