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.005828/0.005828, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001274/0.001274, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.506/1.506, allocations: 205.1 MB / 222.5 MB, free: 12.22 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.001234/0.001234, allocations: 55.92 kB / 326.5 MB, free: 3.293 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1213, allocations: 46.61 MB / 373.2 MB, free: 4.57 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.289/0.4104, allocations: 19.73 MB / 392.9 MB, free: 1.258 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01725/0.4277, allocations: 6.28 MB / 399.2 MB, free: 13.03 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007016/0.4348, allocations: 147.8 kB / 399.3 MB, free: 13 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01255/0.4474, allocations: 6.06 MB / 405.4 MB, free: 10.16 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0101/0.4575, allocations: 2.731 MB / 408.1 MB, free: 8.219 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006504/0.464, allocations: 2.405 MB / 410.5 MB, free: 6.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01486/0.4789, allocations: 6.674 MB / 417.2 MB, free: 3.062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01442/0.4934, allocations: 8.15 MB / 425.3 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006712/0.5001, allocations: 2.906 MB / 428.2 MB, free: 8.289 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00733/0.5075, allocations: 3.618 MB / 431.9 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002855/0.5104, allocations: 0.6484 MB / 432.5 MB, free: 4.012 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00597/0.5164, allocations: 1.853 MB / 434.4 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005656/0.5221, allocations: 3.437 MB / 437.8 MB, free: 14.71 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00847/0.5306, allocations: 3.858 MB / 441.7 MB, free: 10.83 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0192/0.5498, allocations: 12.26 MB / 453.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.5498, allocations: 0 / 453.9 MB, free: 14.54 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.5498, allocations: 3.938 kB / 453.9 MB, free: 14.53 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004319/0.5503, allocations: 0 / 453.9 MB, free: 14.53 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.02319/0.5735, allocations: 8.35 MB / 462.3 MB, free: 6.098 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.062e-05/0.5736, allocations: 16.03 kB / 462.3 MB, free: 6.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008602/0.5822, allocations: 2.261 MB / 464.5 MB, free: 3.809 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01377/0.596, allocations: 4.294 MB / 468.8 MB, free: 15.43 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006177/0.5966, allocations: 435.7 kB / 469.3 MB, free: 15.01 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003901/0.6005, allocations: 0.5816 MB / 469.8 MB, free: 14.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06133/0.6619, allocations: 16.8 MB / 486.6 MB, free: 12.72 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003337/0.6623, allocations: 59.45 kB / 486.7 MB, free: 12.66 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00253/0.6648, allocations: 267.8 kB / 487 MB, free: 12.4 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006804/0.6717, allocations: 2.635 MB / 489.6 MB, free: 9.766 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03583/0.7075, allocations: 14.4 MB / 0.4922 GB, free: 11.35 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.6138/1.321, allocations: 62.99 MB / 0.5537 GB, free: 111.6 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0253/1.347, allocations: 7.651 MB / 0.5612 GB, free: 110.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006547/1.353, allocations: 3.998 MB / 0.5651 GB, free: 110.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02674/1.38, allocations: 16.79 MB / 0.5815 GB, free: 102.9 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/1.38, allocations: 61.47 kB / 0.5815 GB, free: 102.8 MB / 478.1 MB Notification: Performance of pre-optimization done (n=274): time 5.961e-06/1.38, allocations: 2 kB / 0.5815 GB, free: 102.8 MB / 478.1 MB Notification: Performance of matching and sorting (n=340): time 0.1164/1.497, allocations: 42.9 MB / 0.6234 GB, free: 71.14 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.01897/1.516, allocations: 16.7 MB / 0.6397 GB, free: 53.95 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00748/1.523, allocations: 5.739 MB / 0.6453 GB, free: 48.23 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001009/1.524, allocations: 73.7 kB / 0.6454 GB, free: 48.16 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00248/1.527, allocations: 4.729 MB / 0.65 GB, free: 43.43 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001745/1.528, allocations: 1.277 MB / 0.6513 GB, free: 42.16 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002421/1.531, allocations: 1.914 MB / 0.6531 GB, free: 40.23 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.7e-05/1.531, allocations: 305.1 kB / 0.6534 GB, free: 39.93 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004997/1.536, allocations: 4.129 MB / 0.6575 GB, free: 35.8 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006907/1.543, allocations: 9.376 MB / 0.6666 GB, free: 23.92 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01524/1.558, allocations: 14.62 MB / 0.6809 GB, free: 6.859 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002989/1.559, allocations: 57.5 kB / 0.681 GB, free: 6.805 MB / 478.1 MB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.0439/1.602, allocations: 17.61 MB / 0.6982 GB, free: 5.121 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000319/1.603, allocations: 87.94 kB / 0.6982 GB, free: 5.035 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003321/1.603, allocations: 184 kB / 0.6984 GB, free: 4.855 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01648/1.62, allocations: 4.555 MB / 0.7029 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007842/1.628, allocations: 2.039 MB / 0.7049 GB, free: 14.27 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05274/1.68, allocations: 36.36 MB / 0.7404 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009639/1.69, allocations: 0.5382 MB / 0.7409 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002411/1.692, allocations: 0.5737 MB / 0.7415 GB, free: 7.832 MB / 0.5294 GB 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.008424/1.701, allocations: 3.273 MB / 0.7447 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001793/1.703, allocations: 0.5206 MB / 0.7452 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3167/2.019, allocations: 9.946 MB / 0.7549 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001167/2.02, allocations: 50.81 kB / 0.7549 GB, free: 187.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.02151/2.041, allocations: 8.509 MB / 0.7632 GB, free: 186 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001233/2.041, allocations: 16.61 kB / 0.7632 GB, free: 186 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04998/2.091, allocations: 22.65 MB / 0.7854 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.066e-05/2.091, allocations: 6.562 kB / 0.7854 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002709/2.094, allocations: 491.6 kB / 0.7858 GB, free: 177.4 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01044/2.105, allocations: 3.222 MB / 0.789 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008155/2.105, allocations: 66 kB / 0.7891 GB, free: 176.7 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03102/2.136, allocations: 26.39 MB / 0.8148 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01296/2.149, allocations: 10.76 MB / 0.8253 GB, free: 145.4 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02443/2.174, allocations: 13.91 MB / 0.8389 GB, free: 131.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003563/2.178, allocations: 1.121 MB / 0.84 GB, free: 130.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00155/2.179, allocations: 64.88 kB / 0.8401 GB, free: 130.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004204/2.183, allocations: 218.3 kB / 0.8403 GB, free: 130.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001032/2.184, allocations: 232.5 kB / 0.8405 GB, free: 130.3 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003626/2.185, allocations: 95.98 kB / 0.8406 GB, free: 130.2 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006207/2.191, allocations: 3.586 MB / 0.8441 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4e-07/2.191, allocations: 0 / 0.8441 GB, free: 126.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01127/2.202, allocations: 2 MB / 0.846 GB, free: 124.6 MB / 0.5294 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.001416/2.204, allocations: 265.1 kB / 0.8463 GB, free: 124.4 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0169/2.221, allocations: 10.81 MB / 0.8569 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/2.221, allocations: 0 / 0.8569 GB, free: 113.6 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006828/2.228, allocations: 4.171 MB / 0.8609 GB, free: 109.4 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007368/2.235, allocations: 0.8518 MB / 0.8618 GB, free: 108.6 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02767/2.263, allocations: 16.19 MB / 0.8776 GB, free: 92.39 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005119/2.268, allocations: 4.987 MB / 0.8824 GB, free: 87.38 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006119/2.274, allocations: 2.783 MB / 0.8852 GB, free: 84.59 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001165/2.275, allocations: 367.4 kB / 0.8855 GB, free: 84.23 MB / 0.5294 GB Notification: Performance of SimCode: time 9.02e-07/2.275, allocations: 0 / 0.8855 GB, free: 84.23 MB / 0.5294 GB Notification: Performance of Templates: time 0.3857/2.661, allocations: 86.05 MB / 0.9695 GB, free: 174.1 MB / 0.5294 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)