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.001386/0.001386, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002138/0.002138, allocations: 194.5 kB / 16.53 MB, free: 6.699 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.581/1.581, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.001437/0.001437, allocations: 51.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3028, allocations: 46.64 MB / 325.3 MB, free: 1.852 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.02213/0.3249, allocations: 19.72 MB / 345 MB, free: 132 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.01648/0.3415, allocations: 6.288 MB / 351.3 MB, free: 9.816 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006078/0.3477, allocations: 147.6 kB / 351.5 MB, free: 9.672 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01234/0.36, allocations: 6.055 MB / 357.5 MB, free: 3.598 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01045/0.3706, allocations: 2.653 MB / 360.2 MB, free: 0.9336 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008458/0.379, allocations: 2.405 MB / 362.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.01383/0.3929, allocations: 6.676 MB / 369.3 MB, free: 7.828 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01706/0.4101, allocations: 8.163 MB / 377.4 MB, free: 15.57 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009334/0.4195, allocations: 2.906 MB / 380.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01081/0.4303, allocations: 3.614 MB / 383.9 MB, free: 9.035 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003975/0.4344, allocations: 0.6484 MB / 384.6 MB, free: 8.387 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008981/0.4434, allocations: 1.849 MB / 386.4 MB, free: 6.535 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.008201/0.4517, allocations: 3.386 MB / 389.8 MB, free: 3.141 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0119/0.4636, allocations: 3.858 MB / 393.7 MB, free: 15.26 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01906/0.4827, allocations: 11.94 MB / 405.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.635e-06/0.4828, allocations: 0 / 405.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.4828, allocations: 0 / 405.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0005096/0.4833, allocations: 0 / 405.6 MB, free: 3.289 MB / 334.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.02707/0.5104, allocations: 8.35 MB / 414 MB, free: 10.85 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.504e-05/0.5105, allocations: 8.031 kB / 414 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0112/0.5217, allocations: 2.265 MB / 416.2 MB, free: 8.566 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/0.533, allocations: 4.188 MB / 420.4 MB, free: 4.297 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004967/0.5335, allocations: 439.4 kB / 420.9 MB, free: 3.867 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002835/0.5364, allocations: 0.5816 MB / 421.4 MB, free: 3.285 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04033/0.5767, allocations: 16.8 MB / 438.2 MB, free: 1.586 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003599/0.5771, allocations: 67.36 kB / 438.3 MB, free: 1.52 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002237/0.5794, allocations: 267.8 kB / 438.6 MB, free: 1.258 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004643/0.5841, allocations: 2.639 MB / 441.2 MB, free: 14.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03462/0.6187, allocations: 14.39 MB / 455.6 MB, free: 200 kB / 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.5203/1.139, allocations: 63.31 MB / 0.5068 GB, free: 51.05 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02212/1.161, allocations: 7.659 MB / 0.5142 GB, free: 43.25 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005627/1.167, allocations: 3.989 MB / 0.5181 GB, free: 39.25 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02724/1.194, allocations: 16.79 MB / 0.5345 GB, free: 22.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.658e-05/1.194, allocations: 60.55 kB / 0.5346 GB, free: 21.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=274): time 6.632e-06/1.194, allocations: 0 / 0.5346 GB, free: 21.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=340): time 0.1344/1.329, allocations: 42.93 MB / 0.5765 GB, free: 10.63 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02547/1.354, allocations: 16.72 MB / 0.5928 GB, free: 9.328 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01119/1.366, allocations: 5.743 MB / 0.5984 GB, free: 3.609 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001093/1.367, allocations: 77.7 kB / 0.5985 GB, free: 3.527 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2309/1.598, allocations: 4.728 MB / 0.6031 GB, free: 142 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00225/1.6, allocations: 1.27 MB / 0.6044 GB, free: 141.5 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003955/1.604, allocations: 1.92 MB / 0.6062 GB, free: 141.3 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.783e-05/1.604, allocations: 307.7 kB / 0.6065 GB, free: 141 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006698/1.611, allocations: 4.125 MB / 0.6106 GB, free: 140.1 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008494/1.619, allocations: 9.385 MB / 0.6197 GB, free: 131.7 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01844/1.638, allocations: 14.6 MB / 0.634 GB, free: 120.5 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002449/1.638, allocations: 54.72 kB / 0.634 GB, free: 120.5 MB / 430.1 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.04028/1.678, allocations: 17.61 MB / 0.6512 GB, free: 107.4 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/1.678, allocations: 87.8 kB / 0.6513 GB, free: 107.3 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002517/1.679, allocations: 184 kB / 0.6515 GB, free: 107.1 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01386/1.692, allocations: 4.577 MB / 0.656 GB, free: 102.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006827/1.699, allocations: 2.031 MB / 0.658 GB, free: 100.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03942/1.739, allocations: 36.38 MB / 0.6935 GB, free: 63.25 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009725/1.749, allocations: 0.5422 MB / 0.694 GB, free: 62.7 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002418/1.751, allocations: 0.5623 MB / 0.6946 GB, free: 62.14 MB / 430.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.007647/1.759, allocations: 3.27 MB / 0.6977 GB, free: 58.86 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001405/1.76, allocations: 0.5321 MB / 0.6983 GB, free: 58.32 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01888/1.779, allocations: 9.951 MB / 0.708 GB, free: 48.24 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001019/1.779, allocations: 51.98 kB / 0.708 GB, free: 48.19 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01728/1.796, allocations: 8.506 MB / 0.7163 GB, free: 39.55 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001161/1.797, allocations: 15.94 kB / 0.7164 GB, free: 39.54 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04225/1.839, allocations: 22.72 MB / 0.7385 GB, free: 16.69 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-05/1.839, allocations: 11.92 kB / 0.7386 GB, free: 16.68 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002681/1.842, allocations: 483.9 kB / 0.739 GB, free: 16.21 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01013/1.852, allocations: 3.241 MB / 0.7422 GB, free: 12.95 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008497/1.853, allocations: 67.95 kB / 0.7422 GB, free: 12.89 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2681/2.121, allocations: 26.4 MB / 0.768 GB, free: 135.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01284/2.134, allocations: 10.77 MB / 0.7786 GB, free: 130.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02329/2.157, allocations: 13.91 MB / 0.7921 GB, free: 125.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003385/2.161, allocations: 1.123 MB / 0.7932 GB, free: 125.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001511/2.162, allocations: 55.12 kB / 0.7933 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003567/2.166, allocations: 219.3 kB / 0.7935 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008494/2.167, allocations: 237.9 kB / 0.7937 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002429/2.167, allocations: 94.23 kB / 0.7938 GB, free: 125.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005065/2.172, allocations: 3.589 MB / 0.7973 GB, free: 124 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/2.172, allocations: 0 / 0.7973 GB, free: 124 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.009524/2.181, allocations: 1.99 MB / 0.7993 GB, free: 122.6 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.001062/2.182, allocations: 272 kB / 0.7995 GB, free: 122.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0218/2.204, allocations: 14.35 MB / 0.8135 GB, free: 109.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.269e-05/2.204, allocations: 0 / 0.8135 GB, free: 109.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00572/2.21, allocations: 4.17 MB / 0.8176 GB, free: 105.7 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004967/2.215, allocations: 0.855 MB / 0.8184 GB, free: 104.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02563/2.241, allocations: 16.36 MB / 0.8344 GB, free: 89.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005844/2.247, allocations: 4.995 MB / 0.8393 GB, free: 84.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006937/2.254, allocations: 2.779 MB / 0.842 GB, free: 81.83 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/2.255, allocations: 367.4 kB / 0.8424 GB, free: 81.47 MB / 446.1 MB Notification: Performance of SimCode: time 1.052e-06/2.255, allocations: 0 / 0.8424 GB, free: 81.47 MB / 446.1 MB Notification: Performance of Templates: time 0.3735/2.628, allocations: 90.25 MB / 0.9305 GB, free: 125.6 MB / 446.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)