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.00128/0.00128, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001612/0.001612, allocations: 192.7 kB / 16.13 MB, free: 6.711 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 MB, free: 4.766 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.00129/0.001291, allocations: 39.94 kB / 278 MB, free: 12.78 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2433, allocations: 46.63 MB / 324.7 MB, free: 1.922 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.08087/0.3242, allocations: 86.1 MB / 410.8 MB, free: 13.73 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04471/0.369, allocations: 17.35 MB / 428.1 MB, free: 12.32 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02011/0.3892, allocations: 394.9 kB / 428.5 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01094/0.4002, allocations: 6.074 MB / 434.6 MB, free: 5.844 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006791/0.407, allocations: 2.499 MB / 437.1 MB, free: 3.336 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005378/0.4124, allocations: 2.339 MB / 439.4 MB, free: 0.9922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01177/0.4242, allocations: 9.734 MB / 449.2 MB, free: 7.234 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2588/0.6831, allocations: 8.122 MB / 457.3 MB, free: 6.699 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007572/0.6907, allocations: 2.611 MB / 459.9 MB, free: 6.699 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007957/0.6987, allocations: 3.852 MB / 463.7 MB, free: 6.699 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002431/0.7012, allocations: 483.3 kB / 464.2 MB, free: 6.699 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004815/0.706, allocations: 1.778 MB / 466 MB, free: 6.699 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006474/0.7125, allocations: 3.242 MB / 469.2 MB, free: 6.484 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0114/0.7239, allocations: 3.683 MB / 472.9 MB, free: 5.211 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01581/0.7398, allocations: 11.79 MB / 484.7 MB, free: 3.707 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.7398, allocations: 0 / 484.7 MB, free: 3.707 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.502e-06/0.7398, allocations: 0.875 kB / 484.7 MB, free: 3.707 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0004798/0.7403, allocations: 0 / 484.7 MB, free: 3.707 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.02824/0.7686, allocations: 8.346 MB / 493.1 MB, free: 15.66 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.093e-05/0.7687, allocations: 10.53 kB / 493.1 MB, free: 15.66 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00966/0.7783, allocations: 2.273 MB / 495.3 MB, free: 14.54 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0103/0.7887, allocations: 4.185 MB / 499.5 MB, free: 13.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003629/0.7891, allocations: 436.5 kB / 499.9 MB, free: 13.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00304/0.7921, allocations: 0.588 MB / 0.4888 GB, free: 13.09 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04022/0.8324, allocations: 16.8 MB / 0.5052 GB, free: 3.891 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000366/0.8328, allocations: 54.81 kB / 0.5053 GB, free: 3.863 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003491/0.8363, allocations: 269.3 kB / 0.5055 GB, free: 3.648 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005034/0.8414, allocations: 2.642 MB / 0.5081 GB, free: 1.043 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03215/0.8735, allocations: 14.39 MB / 0.5222 GB, free: 2.883 MB / 414.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.1061/0.9796, allocations: 63.32 MB / 0.584 GB, free: 2.801 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0233/1.003, allocations: 7.645 MB / 0.5915 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006317/1.009, allocations: 3.99 MB / 0.5953 GB, free: 7.023 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03281/1.042, allocations: 16.8 MB / 0.6117 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.743e-05/1.042, allocations: 66.91 kB / 0.6118 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=274): time 7.534e-06/1.042, allocations: 0 / 0.6118 GB, free: 5.691 MB / 0.4981 GB Notification: Performance of matching and sorting (n=340): time 0.4287/1.471, allocations: 42.88 MB / 0.6537 GB, free: 142.5 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02213/1.493, allocations: 16.33 MB / 0.6696 GB, free: 136.2 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01101/1.504, allocations: 5.74 MB / 0.6752 GB, free: 134.2 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0009422/1.505, allocations: 80.11 kB / 0.6753 GB, free: 134.1 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.003001/1.508, allocations: 4.738 MB / 0.6799 GB, free: 130.5 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001862/1.51, allocations: 1.267 MB / 0.6812 GB, free: 129.6 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.005308/1.515, allocations: 1.919 MB / 0.6831 GB, free: 128.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 4.458e-05/1.516, allocations: 305.1 kB / 0.6833 GB, free: 128.4 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005957/1.522, allocations: 4.12 MB / 0.6874 GB, free: 127 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008053/1.53, allocations: 9.379 MB / 0.6965 GB, free: 116.3 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01512/1.545, allocations: 14.61 MB / 0.7108 GB, free: 99.82 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001884/1.545, allocations: 59.94 kB / 0.7109 GB, free: 99.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.03725/1.582, allocations: 17.61 MB / 0.7281 GB, free: 83.24 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002469/1.582, allocations: 87.12 kB / 0.7281 GB, free: 83.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003603/1.583, allocations: 187.1 kB / 0.7283 GB, free: 82.98 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01414/1.597, allocations: 4.572 MB / 0.7328 GB, free: 78.43 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007158/1.604, allocations: 2.037 MB / 0.7348 GB, free: 76.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04733/1.652, allocations: 34.11 MB / 0.7681 GB, free: 41.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01293/1.665, allocations: 0.5415 MB / 0.7686 GB, free: 41.14 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004251/1.669, allocations: 0.5663 MB / 0.7692 GB, free: 40.57 MB / 0.5137 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.008836/1.678, allocations: 3.263 MB / 0.7723 GB, free: 37.48 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00154/1.679, allocations: 0.5244 MB / 0.7729 GB, free: 36.95 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01989/1.699, allocations: 9.953 MB / 0.7826 GB, free: 26.93 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.912e-05/1.699, allocations: 46.89 kB / 0.7826 GB, free: 26.89 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01648/1.716, allocations: 8.506 MB / 0.7909 GB, free: 18.32 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.864e-05/1.716, allocations: 17.58 kB / 0.7909 GB, free: 18.31 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2917/2.008, allocations: 22.73 MB / 0.8131 GB, free: 226.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.19e-05/2.008, allocations: 5.75 kB / 0.8131 GB, free: 226.6 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003076/2.011, allocations: 481.7 kB / 0.8136 GB, free: 226.6 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0118/2.023, allocations: 3.284 MB / 0.8168 GB, free: 226.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009092/2.024, allocations: 66.77 kB / 0.8169 GB, free: 226.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03307/2.057, allocations: 24.43 MB / 0.8407 GB, free: 217.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01373/2.07, allocations: 10.66 MB / 0.8511 GB, free: 212.1 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02635/2.097, allocations: 13.9 MB / 0.8647 GB, free: 206.9 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003786/2.101, allocations: 1.118 MB / 0.8658 GB, free: 206.6 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00235/2.103, allocations: 58.12 kB / 0.8659 GB, free: 206.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004467/2.108, allocations: 224.5 kB / 0.8661 GB, free: 206.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00145/2.109, allocations: 239.2 kB / 0.8663 GB, free: 206.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006064/2.11, allocations: 90.95 kB / 0.8664 GB, free: 206.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.006942/2.117, allocations: 3.586 MB / 0.8699 GB, free: 203.5 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.9e-07/2.117, allocations: 0 / 0.8699 GB, free: 203.5 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.01287/2.13, allocations: 1.992 MB / 0.8718 GB, free: 201.5 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.001613/2.131, allocations: 266.2 kB / 0.8721 GB, free: 201.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01787/2.149, allocations: 10.76 MB / 0.8826 GB, free: 191.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.849e-06/2.149, allocations: 3.25 kB / 0.8826 GB, free: 191.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006823/2.156, allocations: 4.17 MB / 0.8867 GB, free: 188.1 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008827/2.165, allocations: 0.7982 MB / 0.8874 GB, free: 187.4 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03766/2.202, allocations: 19.66 MB / 0.9066 GB, free: 168.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008676/2.211, allocations: 4.987 MB / 0.9115 GB, free: 163.7 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.008293/2.22, allocations: 2.791 MB / 0.9142 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001658/2.221, allocations: 370.4 kB / 0.9146 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of SimCode: time 1.403e-06/2.221, allocations: 0 / 0.9146 GB, free: 160.6 MB / 0.5294 GB Notification: Performance of Templates: time 0.1441/2.365, allocations: 86.91 MB / 0.9995 GB, free: 73.55 MB / 0.5294 GB 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)