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.0008101/0.0008102, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0009244/0.0009245, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.4 MB / 222.1 MB, free: 5.895 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.0006744/0.0006746, allocations: 8 kB / 278.9 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3108, allocations: 47.58 MB / 326.5 MB, free: 1.391 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.07433/0.3852, allocations: 78.1 MB / 404.6 MB, free: 5.254 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.04101/0.4262, allocations: 16.54 MB / 421.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01692/0.4432, allocations: 387 kB / 421.5 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01318/0.4564, allocations: 3.643 MB / 425.1 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03219/0.4886, allocations: 10.58 MB / 435.7 MB, free: 5.992 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005932/0.4946, allocations: 1.037 MB / 436.8 MB, free: 4.953 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01081/0.5054, allocations: 7.755 MB / 444.5 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01587/0.5213, allocations: 9.562 MB / 454.1 MB, free: 3.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005229/0.5265, allocations: 2.156 MB / 456.2 MB, free: 1.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2976/0.8242, allocations: 3.046 MB / 459.3 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002/0.8262, allocations: 227.8 kB / 459.5 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004463/0.8307, allocations: 1.281 MB / 460.8 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004529/0.8353, allocations: 2.819 MB / 463.6 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003488/0.8388, allocations: 1.353 MB / 464.9 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01433/0.8531, allocations: 9.539 MB / 474.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.578e-06/0.8532, allocations: 7.031 kB / 474.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.685e-06/0.8532, allocations: 0 / 474.5 MB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005599/0.8538, allocations: 0 / 474.5 MB, free: 10.02 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.02284/0.8766, allocations: 6.895 MB / 481.4 MB, free: 7.203 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/0.8767, allocations: 6.906 kB / 481.4 MB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009609/0.8863, allocations: 2.322 MB / 483.7 MB, free: 6.746 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00987/0.8962, allocations: 4.103 MB / 487.8 MB, free: 5.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004852/0.8967, allocations: 435.1 kB / 488.2 MB, free: 5.66 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002909/0.8997, allocations: 0.5766 MB / 488.8 MB, free: 5.648 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04876/0.9484, allocations: 16.81 MB / 0.4938 GB, free: 384 kB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006437/0.9491, allocations: 62.23 kB / 0.4938 GB, free: 372 kB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003584/0.9527, allocations: 275.1 kB / 0.4941 GB, free: 368 kB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00465/0.9574, allocations: 2.633 MB / 0.4967 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03444/0.9919, allocations: 14.38 MB / 0.5107 GB, free: 7.723 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.1091/1.101, allocations: 63.24 MB / 0.5725 GB, free: 3.879 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02237/1.123, allocations: 7.725 MB / 0.58 GB, free: 13.62 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006229/1.13, allocations: 3.984 MB / 0.5839 GB, free: 11.11 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02995/1.16, allocations: 16.78 MB / 0.6003 GB, free: 9.891 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.633e-05/1.16, allocations: 62.62 kB / 0.6004 GB, free: 9.824 MB / 478.1 MB Notification: Performance of pre-optimization done (n=274): time 5.38e-06/1.16, allocations: 0 / 0.6004 GB, free: 9.824 MB / 478.1 MB Notification: Performance of matching and sorting (n=325): time 0.3849/1.545, allocations: 39.93 MB / 0.6393 GB, free: 199.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0158/1.561, allocations: 11.61 MB / 0.6507 GB, free: 193.8 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01235/1.573, allocations: 5.707 MB / 0.6563 GB, free: 191.7 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001287/1.574, allocations: 74.25 kB / 0.6563 GB, free: 191.7 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003513/1.578, allocations: 4.741 MB / 0.661 GB, free: 188.1 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002133/1.58, allocations: 1.222 MB / 0.6621 GB, free: 187.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008946/1.581, allocations: 177.8 kB / 0.6623 GB, free: 187 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004311/1.581, allocations: 0.6985 MB / 0.663 GB, free: 186.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00585/1.587, allocations: 3.974 MB / 0.6669 GB, free: 185.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01019/1.597, allocations: 9.227 MB / 0.6759 GB, free: 175.8 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009594/1.607, allocations: 5.917 MB / 0.6817 GB, free: 170.4 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002442/1.607, allocations: 55.83 kB / 0.6817 GB, free: 170.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=1190) (initialization): time 0.04195/1.649, allocations: 16.9 MB / 0.6982 GB, free: 153.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000391/1.65, allocations: 88.58 kB / 0.6983 GB, free: 153.2 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000531/1.65, allocations: 184.9 kB / 0.6985 GB, free: 153.1 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01285/1.663, allocations: 4.241 MB / 0.7026 GB, free: 148.8 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00743/1.671, allocations: 2.066 MB / 0.7046 GB, free: 146.8 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03356/1.704, allocations: 30.43 MB / 0.7344 GB, free: 115.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009476/1.714, allocations: 0.5422 MB / 0.7349 GB, free: 114.9 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002203/1.716, allocations: 0.5614 MB / 0.7354 GB, free: 114.3 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.01111/1.727, allocations: 3.246 MB / 0.7386 GB, free: 111.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002559/1.73, allocations: 0.5245 MB / 0.7391 GB, free: 110.5 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02168/1.751, allocations: 9.385 MB / 0.7483 GB, free: 101 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-05/1.752, allocations: 47.98 kB / 0.7483 GB, free: 101 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01679/1.768, allocations: 7.973 MB / 0.7561 GB, free: 92.87 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00011/1.768, allocations: 11.95 kB / 0.7561 GB, free: 92.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05/1.818, allocations: 21.93 MB / 0.7775 GB, free: 70.84 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-05/1.819, allocations: 15.88 kB / 0.7776 GB, free: 70.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00281/1.821, allocations: 0.4993 MB / 0.778 GB, free: 70.32 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009565/1.831, allocations: 3.033 MB / 0.781 GB, free: 67.28 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009827/1.832, allocations: 71.94 kB / 0.7811 GB, free: 67.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02731/1.859, allocations: 21.58 MB / 0.8022 GB, free: 45.1 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01121/1.871, allocations: 8.869 MB / 0.8108 GB, free: 35.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02469/1.895, allocations: 13.19 MB / 0.8237 GB, free: 22.56 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003716/1.899, allocations: 1.107 MB / 0.8248 GB, free: 21.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002027/1.901, allocations: 59.95 kB / 0.8248 GB, free: 21.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004124/1.905, allocations: 219.7 kB / 0.825 GB, free: 21.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001223/1.907, allocations: 217.5 kB / 0.8252 GB, free: 20.94 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006064/1.907, allocations: 95.89 kB / 0.8253 GB, free: 20.85 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.007054/1.914, allocations: 3.547 MB / 0.8288 GB, free: 17.34 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.1e-07/1.914, allocations: 0 / 0.8288 GB, free: 17.34 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.01178/1.926, allocations: 1.926 MB / 0.8307 GB, free: 15.41 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.001351/1.927, allocations: 250.5 kB / 0.8309 GB, free: 15.16 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2336/2.161, allocations: 10.29 MB / 0.841 GB, free: 195.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.384e-05/2.161, allocations: 0 / 0.841 GB, free: 195.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007753/2.169, allocations: 3.875 MB / 0.8448 GB, free: 194.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008925/2.178, allocations: 0.7931 MB / 0.8455 GB, free: 194.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03577/2.214, allocations: 18.64 MB / 0.8637 GB, free: 187 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01068/2.224, allocations: 4.942 MB / 0.8686 GB, free: 185.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.008809/2.233, allocations: 2.822 MB / 0.8713 GB, free: 185.1 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002023/2.235, allocations: 364.4 kB / 0.8717 GB, free: 185.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.363e-06/2.235, allocations: 0 / 0.8717 GB, free: 185.1 MB / 494.1 MB Notification: Performance of Templates: time 0.1199/2.355, allocations: 79.26 MB / 0.9491 GB, free: 109.9 MB / 494.1 MB 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)