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.001234/0.001234, allocations: 110.5 kB / 16.51 MB, free: 6.707 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.001251/0.001251, allocations: 186.5 kB / 17.42 MB, free: 6.07 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.386/1.386, allocations: 205.1 MB / 223.3 MB, free: 12.48 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.00132/0.001321, allocations: 47.92 kB / 279.3 MB, free: 3.574 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1001/0.1014, allocations: 46.62 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.28/0.3815, allocations: 86.09 MB / 412 MB, free: 8.043 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.04586/0.4274, allocations: 17.35 MB / 429.4 MB, free: 12.65 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02741/0.455, allocations: 395.9 kB / 429.8 MB, free: 12.59 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01134/0.4663, allocations: 6.078 MB / 435.9 MB, free: 8.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008733/0.4751, allocations: 2.499 MB / 438.4 MB, free: 5.695 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005619/0.4808, allocations: 2.336 MB / 440.7 MB, free: 3.355 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01438/0.4952, allocations: 9.754 MB / 450.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01279/0.508, allocations: 8.12 MB / 458.6 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006318/0.5144, allocations: 2.605 MB / 461.2 MB, free: 14.78 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008179/0.5226, allocations: 3.86 MB / 465 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002301/0.525, allocations: 484 kB / 465.5 MB, free: 10.44 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005174/0.5302, allocations: 1.771 MB / 467.3 MB, free: 8.664 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004973/0.5352, allocations: 3.25 MB / 470.5 MB, free: 5.406 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007496/0.5427, allocations: 3.686 MB / 474.2 MB, free: 1.699 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01546/0.5582, allocations: 11.79 MB / 486 MB, free: 5.875 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.5583, allocations: 0 / 486 MB, free: 5.875 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.348e-06/0.5583, allocations: 0 / 486 MB, free: 5.875 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004387/0.5587, allocations: 3.938 kB / 486 MB, free: 5.871 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.02225/0.581, allocations: 8.342 MB / 494.3 MB, free: 13.45 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.5811, allocations: 8.031 kB / 494.3 MB, free: 13.44 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007488/0.5885, allocations: 2.28 MB / 496.6 MB, free: 11.14 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009321/0.5979, allocations: 4.177 MB / 0.4891 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004328/0.5984, allocations: 443.7 kB / 0.4895 GB, free: 6.453 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002221/0.6006, allocations: 0.5854 MB / 0.4901 GB, free: 5.867 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03501/0.6356, allocations: 16.79 MB / 0.5065 GB, free: 4.172 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002592/0.6359, allocations: 71.39 kB / 0.5065 GB, free: 4.102 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001257/0.6372, allocations: 267.8 kB / 0.5068 GB, free: 3.84 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004151/0.6414, allocations: 2.639 MB / 0.5094 GB, free: 1.195 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0312/0.6726, allocations: 14.39 MB / 0.5234 GB, free: 2.789 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.4314/1.104, allocations: 63.29 MB / 0.5852 GB, free: 122.6 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02326/1.127, allocations: 7.663 MB / 0.5927 GB, free: 118.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004698/1.132, allocations: 4.001 MB / 0.5966 GB, free: 116.5 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02024/1.152, allocations: 16.78 MB / 0.613 GB, free: 99.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/1.152, allocations: 68.48 kB / 0.6131 GB, free: 99.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=274): time 4.729e-06/1.152, allocations: 0 / 0.6131 GB, free: 99.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=340): time 0.1054/1.258, allocations: 42.9 MB / 0.655 GB, free: 56.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01833/1.276, allocations: 16.32 MB / 0.6709 GB, free: 39.54 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00657/1.283, allocations: 5.735 MB / 0.6765 GB, free: 33.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001022/1.284, allocations: 77.7 kB / 0.6766 GB, free: 33.75 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002154/1.286, allocations: 4.738 MB / 0.6812 GB, free: 28.97 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001387/1.287, allocations: 1.269 MB / 0.6824 GB, free: 27.69 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002168/1.29, allocations: 1.915 MB / 0.6843 GB, free: 25.76 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.713e-05/1.29, allocations: 309.1 kB / 0.6846 GB, free: 25.45 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004617/1.294, allocations: 4.121 MB / 0.6886 GB, free: 21.32 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006846/1.301, allocations: 9.378 MB / 0.6978 GB, free: 9.359 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2457/1.547, allocations: 14.61 MB / 0.712 GB, free: 140 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000254/1.547, allocations: 52 kB / 0.7121 GB, free: 140 MB / 446.1 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.04583/1.593, allocations: 17.61 MB / 0.7293 GB, free: 135.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/1.593, allocations: 84.53 kB / 0.7294 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002212/1.593, allocations: 185.2 kB / 0.7296 GB, free: 135.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01404/1.607, allocations: 4.565 MB / 0.734 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007178/1.615, allocations: 2.031 MB / 0.736 GB, free: 134.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03744/1.652, allocations: 34.11 MB / 0.7693 GB, free: 103.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01112/1.663, allocations: 0.5479 MB / 0.7698 GB, free: 103.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002604/1.666, allocations: 0.5729 MB / 0.7704 GB, free: 102.7 MB / 446.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.006909/1.673, allocations: 3.27 MB / 0.7736 GB, free: 99.53 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001366/1.674, allocations: 0.5253 MB / 0.7741 GB, free: 99.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01776/1.692, allocations: 9.942 MB / 0.7838 GB, free: 89.21 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001169/1.692, allocations: 51.83 kB / 0.7839 GB, free: 89.16 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01694/1.709, allocations: 8.504 MB / 0.7922 GB, free: 80.53 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001353/1.709, allocations: 15.94 kB / 0.7922 GB, free: 80.52 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04129/1.751, allocations: 22.73 MB / 0.8144 GB, free: 57.72 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.356e-05/1.751, allocations: 4 kB / 0.8144 GB, free: 57.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002648/1.753, allocations: 479.2 kB / 0.8149 GB, free: 57.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0101/1.763, allocations: 3.289 MB / 0.8181 GB, free: 53.95 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009755/1.764, allocations: 64.7 kB / 0.8181 GB, free: 53.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02861/1.793, allocations: 24.44 MB / 0.842 GB, free: 28.94 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01331/1.806, allocations: 10.64 MB / 0.8524 GB, free: 18.01 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02374/1.83, allocations: 13.91 MB / 0.866 GB, free: 3.91 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2623/2.093, allocations: 1.113 MB / 0.8671 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001606/2.094, allocations: 56.97 kB / 0.8671 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00432/2.099, allocations: 220.6 kB / 0.8673 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001169/2.1, allocations: 245 kB / 0.8676 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003132/2.1, allocations: 96.34 kB / 0.8676 GB, free: 136.7 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007598/2.108, allocations: 3.584 MB / 0.8711 GB, free: 136.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.11e-07/2.108, allocations: 0 / 0.8711 GB, free: 136.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01284/2.121, allocations: 1.992 MB / 0.8731 GB, free: 136.5 MB / 446.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 (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.001499/2.122, allocations: 268.1 kB / 0.8733 GB, free: 136.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02162/2.144, allocations: 10.75 MB / 0.8838 GB, free: 135.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.637e-05/2.144, allocations: 0 / 0.8838 GB, free: 135.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007108/2.151, allocations: 4.175 MB / 0.8879 GB, free: 133.2 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008264/2.159, allocations: 0.7868 MB / 0.8887 GB, free: 132.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03757/2.197, allocations: 19.67 MB / 0.9079 GB, free: 120.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009829/2.207, allocations: 4.983 MB / 0.9128 GB, free: 116.8 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.009232/2.216, allocations: 2.789 MB / 0.9155 GB, free: 115.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001961/2.218, allocations: 360 kB / 0.9158 GB, free: 114.7 MB / 446.1 MB Notification: Performance of SimCode: time 1.803e-06/2.218, allocations: 0 / 0.9158 GB, free: 114.7 MB / 446.1 MB Notification: Performance of Templates: time 0.1406/2.359, allocations: 86.94 MB / 1.001 GB, free: 29.52 MB / 446.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)