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.001381/0.00138, allocations: 105.4 kB / 16.62 MB, free: 6.809 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.001333/0.001334, allocations: 193.8 kB / 17.55 MB, free: 5.949 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.476/1.476, allocations: 205.1 MB / 223.4 MB, free: 12.44 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.001523/0.001523, allocations: 43.94 kB / 279.5 MB, free: 3.496 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1047/0.1062, allocations: 46.63 MB / 326.1 MB, free: 4.797 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.278/0.3843, allocations: 86.09 MB / 412.2 MB, free: 7.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0458/0.4302, allocations: 17.24 MB / 429.5 MB, free: 12.63 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0264/0.4567, allocations: 392.7 kB / 429.8 MB, free: 12.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01195/0.4687, allocations: 5.861 MB / 435.7 MB, free: 8.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009273/0.478, allocations: 2.472 MB / 438.2 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005972/0.484, allocations: 2.304 MB / 440.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01065/0.4947, allocations: 6.743 MB / 447.2 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.011/0.5057, allocations: 8.592 MB / 455.8 MB, free: 4.254 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005783/0.5115, allocations: 2.976 MB / 458.8 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007216/0.5188, allocations: 3.996 MB / 462.8 MB, free: 13.26 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002394/0.5212, allocations: 0.6484 MB / 463.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004486/0.5257, allocations: 1.877 MB / 465.3 MB, free: 10.73 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0038/0.5295, allocations: 3.425 MB / 468.7 MB, free: 7.301 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005987/0.5355, allocations: 3.885 MB / 472.6 MB, free: 3.395 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0163/0.5519, allocations: 12.02 MB / 484.6 MB, free: 7.34 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.839e-06/0.5519, allocations: 0 / 484.6 MB, free: 7.34 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.926e-06/0.5519, allocations: 0 / 484.6 MB, free: 7.34 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004748/0.5524, allocations: 0 / 484.6 MB, free: 7.34 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.0242/0.5766, allocations: 8.342 MB / 493 MB, free: 14.91 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.03e-05/0.5767, allocations: 15.97 kB / 493 MB, free: 14.9 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009024/0.5857, allocations: 2.277 MB / 495.3 MB, free: 12.61 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00894/0.5947, allocations: 4.18 MB / 499.5 MB, free: 8.348 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004235/0.5952, allocations: 443.7 kB / 499.9 MB, free: 7.914 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002365/0.5976, allocations: 0.5816 MB / 0.4887 GB, free: 7.332 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03845/0.636, allocations: 16.8 MB / 0.5051 GB, free: 5.633 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000294/0.6364, allocations: 59.47 kB / 0.5052 GB, free: 5.574 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001793/0.6382, allocations: 271.8 kB / 0.5055 GB, free: 5.309 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004384/0.6426, allocations: 2.639 MB / 0.508 GB, free: 2.664 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03078/0.6734, allocations: 14.4 MB / 0.5221 GB, free: 4.246 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.406/1.079, allocations: 63.29 MB / 0.5839 GB, free: 123.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02001/1.099, allocations: 7.66 MB / 0.5914 GB, free: 119.2 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004488/1.104, allocations: 3.999 MB / 0.5953 GB, free: 117.1 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02226/1.126, allocations: 16.78 MB / 0.6117 GB, free: 101.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.386e-05/1.126, allocations: 60.56 kB / 0.6117 GB, free: 101.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=274): time 6.222e-06/1.126, allocations: 0 / 0.6117 GB, free: 101.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=340): time 0.1201/1.246, allocations: 42.94 MB / 0.6537 GB, free: 57.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0196/1.266, allocations: 16.71 MB / 0.67 GB, free: 40.64 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008038/1.274, allocations: 5.739 MB / 0.6756 GB, free: 34.92 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001021/1.275, allocations: 81.69 kB / 0.6757 GB, free: 34.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002875/1.278, allocations: 4.732 MB / 0.6803 GB, free: 30.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001909/1.28, allocations: 1.268 MB / 0.6815 GB, free: 28.79 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002934/1.283, allocations: 1.919 MB / 0.6834 GB, free: 26.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.432e-05/1.283, allocations: 305.1 kB / 0.6837 GB, free: 26.55 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005226/1.288, allocations: 4.125 MB / 0.6877 GB, free: 22.42 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008394/1.297, allocations: 9.378 MB / 0.6969 GB, free: 10.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2231/1.52, allocations: 14.61 MB / 0.7112 GB, free: 140.6 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001747/1.52, allocations: 51.75 kB / 0.7112 GB, free: 140.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03875/1.559, allocations: 17.61 MB / 0.7284 GB, free: 136 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001019/1.559, allocations: 91.53 kB / 0.7285 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002123/1.559, allocations: 181.6 kB / 0.7287 GB, free: 136 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01405/1.573, allocations: 4.579 MB / 0.7331 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006516/1.58, allocations: 2.032 MB / 0.7351 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03791/1.618, allocations: 36.39 MB / 0.7707 GB, free: 102.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008315/1.626, allocations: 0.547 MB / 0.7712 GB, free: 102 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001682/1.628, allocations: 0.5585 MB / 0.7717 GB, free: 101.5 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.005861/1.634, allocations: 3.27 MB / 0.7749 GB, free: 98.31 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001252/1.635, allocations: 0.5284 MB / 0.7754 GB, free: 98.07 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01788/1.653, allocations: 9.957 MB / 0.7852 GB, free: 87.98 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.159e-05/1.653, allocations: 44 kB / 0.7852 GB, free: 87.93 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01545/1.669, allocations: 8.504 MB / 0.7935 GB, free: 79.3 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.525e-05/1.669, allocations: 15.95 kB / 0.7935 GB, free: 79.29 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03841/1.707, allocations: 22.74 MB / 0.8157 GB, free: 56.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.046e-05/1.707, allocations: 8 kB / 0.8157 GB, free: 56.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00259/1.71, allocations: 487.2 kB / 0.8162 GB, free: 56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009988/1.72, allocations: 3.238 MB / 0.8194 GB, free: 52.75 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001313/1.721, allocations: 63.98 kB / 0.8194 GB, free: 52.69 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02981/1.751, allocations: 26.39 MB / 0.8452 GB, free: 25.76 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01215/1.763, allocations: 10.8 MB / 0.8557 GB, free: 14.67 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2562/2.019, allocations: 13.9 MB / 0.8693 GB, free: 133.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003646/2.023, allocations: 1.111 MB / 0.8704 GB, free: 133 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001541/2.025, allocations: 58.2 kB / 0.8705 GB, free: 133 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003933/2.029, allocations: 222 kB / 0.8707 GB, free: 133 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001126/2.03, allocations: 238.5 kB / 0.8709 GB, free: 133 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003282/2.03, allocations: 97.05 kB / 0.871 GB, free: 133 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.007531/2.038, allocations: 3.588 MB / 0.8745 GB, free: 132.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 4.51e-07/2.038, allocations: 0 / 0.8745 GB, free: 132.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.01086/2.048, allocations: 1.993 MB / 0.8764 GB, free: 132.8 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.001055/2.05, allocations: 266.7 kB / 0.8767 GB, free: 132.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.02251/2.072, allocations: 14.35 MB / 0.8907 GB, free: 130.2 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.362e-05/2.072, allocations: 2.906 kB / 0.8907 GB, free: 130.2 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005591/2.078, allocations: 4.167 MB / 0.8948 GB, free: 128.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004987/2.083, allocations: 0.8522 MB / 0.8956 GB, free: 127.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02687/2.11, allocations: 19.65 MB / 0.9148 GB, free: 112.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005595/2.115, allocations: 4.996 MB / 0.9197 GB, free: 109.1 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006721/2.122, allocations: 2.789 MB / 0.9224 GB, free: 107.5 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001191/2.123, allocations: 361.9 kB / 0.9228 GB, free: 107.1 MB / 446.1 MB Notification: Performance of SimCode: time 9.22e-07/2.123, allocations: 0 / 0.9228 GB, free: 107.1 MB / 446.1 MB Notification: Performance of Templates: time 0.1297/2.253, allocations: 90.3 MB / 1.011 GB, free: 19.06 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)