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.001072/0.001072, allocations: 92.53 kB / 16.3 MB, free: 5.535 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.001066/0.001066, allocations: 185 kB / 17.2 MB, free: 5.469 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.369/1.369, allocations: 205.4 MB / 223.4 MB, free: 5.289 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.0004398/0.0004399, allocations: 12 kB / 280.1 MB, free: 12.7 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2358, allocations: 47.58 MB / 327.7 MB, free: 1.488 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.06828/0.3041, allocations: 73.72 MB / 401.4 MB, free: 9.613 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03506/0.3392, allocations: 17.29 MB / 418.7 MB, free: 8.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01499/0.3543, allocations: 390.9 kB / 419.1 MB, free: 7.887 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01421/0.3685, allocations: 3.709 MB / 422.8 MB, free: 4.16 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.03152/0.4001, allocations: 10.35 MB / 433.2 MB, free: 9.781 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005885/0.406, allocations: 1.182 MB / 434.3 MB, free: 8.598 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007772/0.4138, allocations: 3.722 MB / 438.1 MB, free: 4.867 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01429/0.4281, allocations: 9.5 MB / 447.6 MB, free: 11.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003977/0.4322, allocations: 1.752 MB / 449.3 MB, free: 9.516 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004831/0.437, allocations: 2.067 MB / 451.4 MB, free: 7.441 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001888/0.439, allocations: 228 kB / 451.6 MB, free: 7.219 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004877/0.4439, allocations: 1.248 MB / 452.8 MB, free: 5.969 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005641/0.4496, allocations: 2.618 MB / 455.5 MB, free: 3.344 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003708/0.4533, allocations: 1.361 MB / 456.8 MB, free: 1.973 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2518/0.7051, allocations: 9.551 MB / 466.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.7052, allocations: 0.9062 kB / 466.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.7052, allocations: 0 / 466.4 MB, free: 13.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005791/0.7058, allocations: 0 / 466.4 MB, free: 13.4 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.02117/0.727, allocations: 7.189 MB / 473.6 MB, free: 10.57 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/0.727, allocations: 9.344 kB / 473.6 MB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01109/0.7381, allocations: 2.629 MB / 476.2 MB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01191/0.7501, allocations: 4.543 MB / 480.7 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004013/0.7505, allocations: 439.7 kB / 481.2 MB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003895/0.7544, allocations: 0.5792 MB / 481.8 MB, free: 9.344 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04139/0.7959, allocations: 17.04 MB / 498.8 MB, free: 4.855 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000295/0.7962, allocations: 62.45 kB / 498.9 MB, free: 4.848 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001832/0.7981, allocations: 271.1 kB / 499.1 MB, free: 4.844 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003804/0.8019, allocations: 2.63 MB / 0.49 GB, free: 4.297 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03009/0.832, allocations: 14.66 MB / 0.5043 GB, free: 14.44 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.09715/0.9292, allocations: 63.49 MB / 0.5663 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02325/0.9525, allocations: 7.843 MB / 0.574 GB, free: 4.062 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03067/0.9832, allocations: 16.95 MB / 0.5905 GB, free: 7.273 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.472e-05/0.9833, allocations: 64.36 kB / 0.5906 GB, free: 7.223 MB / 462.1 MB Notification: Performance of pre-optimization done (n=274): time 6.382e-06/0.9833, allocations: 7 kB / 0.5906 GB, free: 7.219 MB / 462.1 MB Notification: Performance of matching and sorting (n=340): time 0.3634/1.347, allocations: 43.74 MB / 0.6333 GB, free: 205.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0221/1.369, allocations: 17.04 MB / 0.65 GB, free: 196.2 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00892/1.378, allocations: 5.985 MB / 0.6558 GB, free: 194.3 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001699/1.38, allocations: 79.61 kB / 0.6559 GB, free: 194.2 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.004268/1.384, allocations: 4.748 MB / 0.6605 GB, free: 191.2 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002228/1.386, allocations: 1.272 MB / 0.6618 GB, free: 190.3 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008171/1.387, allocations: 183.1 kB / 0.6619 GB, free: 190.1 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0004442/1.387, allocations: 0.6936 MB / 0.6626 GB, free: 189.6 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005603/1.393, allocations: 4.068 MB / 0.6666 GB, free: 188.2 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007952/1.401, allocations: 9.284 MB / 0.6756 GB, free: 179.3 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008256/1.409, allocations: 6.016 MB / 0.6815 GB, free: 173.6 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001097/1.409, allocations: 52 kB / 0.6816 GB, free: 173.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=1197) (initialization): time 0.03509/1.445, allocations: 17.49 MB / 0.6986 GB, free: 156 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/1.445, allocations: 87.95 kB / 0.6987 GB, free: 155.9 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001876/1.445, allocations: 187.7 kB / 0.6989 GB, free: 155.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01371/1.459, allocations: 4.597 MB / 0.7034 GB, free: 151.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007318/1.466, allocations: 2.027 MB / 0.7054 GB, free: 149.1 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03651/1.503, allocations: 35.05 MB / 0.7396 GB, free: 113.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009765/1.512, allocations: 0.5466 MB / 0.7401 GB, free: 112.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002051/1.514, allocations: 0.5597 MB / 0.7407 GB, free: 112 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 (1066): * Single equations (assignments): 1053 * 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%) 33,(2,100.0%) 19,(2,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.007047/1.522, allocations: 3.272 MB / 0.7439 GB, free: 108.7 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001281/1.523, allocations: 0.5245 MB / 0.7444 GB, free: 108.2 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01841/1.541, allocations: 9.926 MB / 0.7541 GB, free: 98.11 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.842e-05/1.541, allocations: 52.06 kB / 0.7541 GB, free: 98.06 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01601/1.557, allocations: 8.484 MB / 0.7624 GB, free: 89.45 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-05/1.557, allocations: 15.94 kB / 0.7624 GB, free: 89.43 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04468/1.602, allocations: 22.72 MB / 0.7846 GB, free: 66.56 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-05/1.602, allocations: 4 kB / 0.7846 GB, free: 66.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002753/1.605, allocations: 483.2 kB / 0.7851 GB, free: 66.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01051/1.616, allocations: 3.287 MB / 0.7883 GB, free: 62.79 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001005/1.617, allocations: 63.98 kB / 0.7884 GB, free: 62.72 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02888/1.645, allocations: 25.21 MB / 0.813 GB, free: 36.99 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01307/1.659, allocations: 11.03 MB / 0.8237 GB, free: 25.67 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02439/1.683, allocations: 14.72 MB / 0.8381 GB, free: 10.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004306/1.687, allocations: 1.142 MB / 0.8392 GB, free: 9.355 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001759/1.689, allocations: 56 kB / 0.8393 GB, free: 9.301 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004254/1.693, allocations: 223.3 kB / 0.8395 GB, free: 9.086 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009931/1.694, allocations: 237.6 kB / 0.8397 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003048/1.695, allocations: 91.98 kB / 0.8398 GB, free: 8.762 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.2359/1.931, allocations: 3.762 MB / 0.8435 GB, free: 181.5 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.362e-06/1.931, allocations: 0 / 0.8435 GB, free: 181.5 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0124/1.943, allocations: 2.006 MB / 0.8454 GB, free: 181.5 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 (220): * Single equations (assignments): 212 * 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%) 30,(3,100.0%) 21} * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001609/1.945, allocations: 278.4 kB / 0.8457 GB, free: 181.4 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01904/1.964, allocations: 10.66 MB / 0.8561 GB, free: 180 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.143e-05/1.964, allocations: 0 / 0.8561 GB, free: 180 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007526/1.971, allocations: 4.157 MB / 0.8602 GB, free: 179 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005409/1.977, allocations: 0.7495 MB / 0.8609 GB, free: 178.7 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03001/2.007, allocations: 18.9 MB / 0.8794 GB, free: 169.1 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007978/2.015, allocations: 5.138 MB / 0.8844 GB, free: 166.3 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.007664/2.023, allocations: 2.787 MB / 0.8871 GB, free: 164.5 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00151/2.024, allocations: 370.4 kB / 0.8875 GB, free: 164.1 MB / 494.1 MB Notification: Performance of SimCode: time 1.192e-06/2.024, allocations: 0 / 0.8875 GB, free: 164.1 MB / 494.1 MB Notification: Performance of Templates: time 0.13/2.154, allocations: 84.27 MB / 0.9698 GB, free: 84.03 MB / 494.1 MB make -j1 -f Modelica_3.2.2_Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: