Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.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.2.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.2.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.008128/0.008128, allocations: 100.5 kB / 15.73 MB, free: 6.023 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.001806/0.001805, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.508/1.508, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.001293/0.001293, allocations: 54.23 kB / 326.5 MB, free: 14.29 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1249, allocations: 46.63 MB / 373.2 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.02273/0.1477, allocations: 19.73 MB / 392.9 MB, free: 13.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01539/0.1631, allocations: 6.272 MB / 399.2 MB, free: 7.223 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00504/0.1682, allocations: 151.6 kB / 399.3 MB, free: 7.074 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0115/0.1798, allocations: 6.055 MB / 405.4 MB, free: 1 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009818/0.1896, allocations: 2.661 MB / 408 MB, free: 14.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006318/0.196, allocations: 2.401 MB / 410.4 MB, free: 11.92 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01199/0.208, allocations: 6.672 MB / 417.1 MB, free: 5.23 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01419/0.2222, allocations: 8.148 MB / 425.3 MB, free: 12.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006286/0.2285, allocations: 2.894 MB / 428.2 MB, free: 10.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00669/0.2352, allocations: 3.626 MB / 431.8 MB, free: 6.445 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002859/0.2381, allocations: 0.6484 MB / 432.4 MB, free: 5.797 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007164/0.2453, allocations: 1.853 MB / 434.3 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006224/0.2516, allocations: 3.437 MB / 437.7 MB, free: 0.4961 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009529/0.2611, allocations: 3.858 MB / 441.6 MB, free: 12.62 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02224/0.2834, allocations: 12.27 MB / 453.8 MB, free: 316 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.436e-06/0.2835, allocations: 0 / 453.8 MB, free: 316 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.2835, allocations: 0 / 453.8 MB, free: 316 kB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005804/0.2841, allocations: 0 / 453.8 MB, free: 316 kB / 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.3074/0.5915, allocations: 8.34 MB / 462.2 MB, free: 66.47 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.402e-05/0.5916, allocations: 9.688 kB / 462.2 MB, free: 66.47 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01018/0.6018, allocations: 2.276 MB / 464.5 MB, free: 65.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01389/0.6157, allocations: 4.283 MB / 468.8 MB, free: 62.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005794/0.6163, allocations: 441.5 kB / 469.2 MB, free: 62.82 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003667/0.62, allocations: 0.5781 MB / 469.8 MB, free: 62.66 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03918/0.6592, allocations: 16.81 MB / 486.6 MB, free: 48.27 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002834/0.6595, allocations: 55.47 kB / 486.6 MB, free: 48.21 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001385/0.6609, allocations: 266.2 kB / 486.9 MB, free: 48 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003527/0.6645, allocations: 2.643 MB / 489.5 MB, free: 45.35 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02709/0.6916, allocations: 14.4 MB / 0.4921 GB, free: 30.94 MB / 382.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.08807/0.7797, allocations: 62.99 MB / 0.5536 GB, free: 14.36 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02317/0.8029, allocations: 7.66 MB / 0.5611 GB, free: 6.551 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005998/0.809, allocations: 3.994 MB / 0.565 GB, free: 2.547 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03278/0.8418, allocations: 16.78 MB / 0.5814 GB, free: 1.172 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001022/0.842, allocations: 68.5 kB / 0.5815 GB, free: 1.098 MB / 446.1 MB Notification: Performance of pre-optimization done (n=274): time 8.977e-06/0.842, allocations: 0 / 0.5815 GB, free: 1.098 MB / 446.1 MB Notification: Performance of matching and sorting (n=340): time 0.1448/0.9868, allocations: 42.9 MB / 0.6234 GB, free: 5.781 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2621/1.249, allocations: 16.69 MB / 0.6397 GB, free: 157.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009171/1.258, allocations: 5.743 MB / 0.6453 GB, free: 155.9 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001108/1.259, allocations: 77.45 kB / 0.6453 GB, free: 155.8 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002986/1.262, allocations: 4.736 MB / 0.65 GB, free: 152.8 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001926/1.264, allocations: 1.272 MB / 0.6512 GB, free: 151.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003021/1.267, allocations: 1.923 MB / 0.6531 GB, free: 151 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.036e-05/1.267, allocations: 301.1 kB / 0.6534 GB, free: 150.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005562/1.273, allocations: 4.119 MB / 0.6574 GB, free: 149.3 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007737/1.281, allocations: 9.377 MB / 0.6666 GB, free: 140.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01443/1.295, allocations: 14.62 MB / 0.6808 GB, free: 127.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002239/1.295, allocations: 56 kB / 0.6809 GB, free: 127.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03802/1.333, allocations: 17.61 MB / 0.6981 GB, free: 110.1 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003541/1.334, allocations: 84 kB / 0.6982 GB, free: 110.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005245/1.334, allocations: 184 kB / 0.6983 GB, free: 109.9 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01403/1.348, allocations: 4.563 MB / 0.7028 GB, free: 105.3 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00702/1.355, allocations: 2.035 MB / 0.7048 GB, free: 103.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03856/1.394, allocations: 36.39 MB / 0.7403 GB, free: 65.97 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00924/1.403, allocations: 0.5305 MB / 0.7408 GB, free: 65.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001966/1.405, allocations: 0.574 MB / 0.7414 GB, free: 64.87 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 (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.007319/1.413, allocations: 3.261 MB / 0.7446 GB, free: 61.59 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001819/1.414, allocations: 0.5282 MB / 0.7451 GB, free: 61.06 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02017/1.435, allocations: 9.95 MB / 0.7548 GB, free: 50.97 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.403e-05/1.435, allocations: 47.98 kB / 0.7549 GB, free: 50.93 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01646/1.451, allocations: 8.503 MB / 0.7632 GB, free: 42.29 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000108/1.451, allocations: 19.92 kB / 0.7632 GB, free: 42.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04173/1.493, allocations: 22.65 MB / 0.7853 GB, free: 19.49 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-05/1.493, allocations: 11.98 kB / 0.7853 GB, free: 19.48 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002565/1.496, allocations: 479.9 kB / 0.7858 GB, free: 19.01 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01008/1.506, allocations: 3.23 MB / 0.7889 GB, free: 15.76 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008061/1.507, allocations: 59.44 kB / 0.789 GB, free: 15.71 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5322/2.039, allocations: 26.38 MB / 0.8147 GB, free: 156.5 MB / 0.4982 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0156/2.055, allocations: 10.78 MB / 0.8253 GB, free: 153.5 MB / 0.4982 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02779/2.082, allocations: 13.9 MB / 0.8388 GB, free: 148.4 MB / 0.4982 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003841/2.086, allocations: 1.115 MB / 0.8399 GB, free: 148 MB / 0.4982 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001108/2.087, allocations: 62.81 kB / 0.84 GB, free: 148 MB / 0.4982 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003509/2.091, allocations: 219.7 kB / 0.8402 GB, free: 147.9 MB / 0.4982 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009355/2.092, allocations: 235.8 kB / 0.8404 GB, free: 147.9 MB / 0.4982 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002711/2.092, allocations: 95.03 kB / 0.8405 GB, free: 147.9 MB / 0.4982 GB Notification: Performance of sorting global known variables: time 0.005282/2.097, allocations: 3.584 MB / 0.844 GB, free: 146.7 MB / 0.4982 GB Notification: Performance of sort global known variables: time 2.9e-07/2.097, allocations: 0 / 0.844 GB, free: 146.7 MB / 0.4982 GB Notification: Performance of remove unused functions: time 0.01075/2.108, allocations: 1.991 MB / 0.846 GB, free: 146.5 MB / 0.4982 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.001119/2.109, allocations: 277 kB / 0.8462 GB, free: 146.3 MB / 0.4982 GB Notification: Performance of simCode: created initialization part: time 0.01502/2.124, allocations: 10.8 MB / 0.8568 GB, free: 140.4 MB / 0.4982 GB Notification: Performance of simCode: created event and clocks part: time 1.009e-05/2.124, allocations: 5.438 kB / 0.8568 GB, free: 140.4 MB / 0.4982 GB Notification: Performance of simCode: created simulation system equations: time 0.005584/2.13, allocations: 4.181 MB / 0.8609 GB, free: 136.7 MB / 0.4982 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006804/2.137, allocations: 0.8557 MB / 0.8617 GB, free: 136 MB / 0.4982 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0292/2.166, allocations: 16.17 MB / 0.8775 GB, free: 121.4 MB / 0.4982 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007288/2.173, allocations: 4.993 MB / 0.8824 GB, free: 116.4 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.006806/2.18, allocations: 2.78 MB / 0.8851 GB, free: 113.7 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001488/2.182, allocations: 367.4 kB / 0.8854 GB, free: 113.3 MB / 0.4982 GB Notification: Performance of SimCode: time 1.012e-06/2.182, allocations: 0 / 0.8854 GB, free: 113.3 MB / 0.4982 GB Notification: Performance of Templates: time 0.1372/2.319, allocations: 86.7 MB / 0.9701 GB, free: 26.62 MB / 0.4982 GB make -j1 -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile (rm -f Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; mkfifo Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe >> ../files/Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.sim & ./Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.pipe 2>&1)