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.001319/0.001319, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.01259/0.01259, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.575/1.575, allocations: 205.4 MB / 222.4 MB, free: 5.773 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.0004363/0.0004363, allocations: 12 kB / 279.4 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2617/0.2622, allocations: 47.6 MB / 327 MB, free: 1.387 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Constraints.RevoluteConstraint): time 0.08665/0.3489, allocations: 84.01 MB / 411.1 MB, free: 15.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.04334/0.3923, allocations: 17.28 MB / 428.3 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.018/0.4103, allocations: 390.9 kB / 428.7 MB, free: 13.35 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002955/0.4133, allocations: 0.6917 MB / 429.4 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007316/0.4207, allocations: 2.507 MB / 431.9 MB, free: 10.14 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003131/0.4238, allocations: 1.135 MB / 433 MB, free: 9 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.01243/0.4363, allocations: 9.726 MB / 442.8 MB, free: 15.25 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01591/0.4522, allocations: 11.12 MB / 453.9 MB, free: 4.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004084/0.4563, allocations: 2 MB / 455.9 MB, free: 1.996 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.2591/0.7155, allocations: 3.083 MB / 459 MB, free: 9.238 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00278/0.7183, allocations: 229.7 kB / 459.2 MB, free: 9.238 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005262/0.7236, allocations: 1.53 MB / 460.7 MB, free: 9.238 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004381/0.728, allocations: 2.869 MB / 463.6 MB, free: 9.238 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006568/0.7346, allocations: 3.245 MB / 466.8 MB, free: 8.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01288/0.7475, allocations: 11.38 MB / 478.2 MB, free: 7.391 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.7475, allocations: 0 / 478.2 MB, free: 7.391 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.507e-06/0.7475, allocations: 0 / 478.2 MB, free: 7.391 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000544/0.7481, allocations: 0 / 478.2 MB, free: 7.391 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.01778/0.7659, allocations: 6.81 MB / 485 MB, free: 3.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.7659, allocations: 10.31 kB / 485 MB, free: 3.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009336/0.7753, allocations: 2.319 MB / 487.4 MB, free: 2.352 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01038/0.7857, allocations: 4.183 MB / 491.6 MB, free: 0.9336 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006437/0.7864, allocations: 440 kB / 492 MB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003591/0.79, allocations: 0.5831 MB / 492.6 MB, free: 0.9062 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04549/0.8355, allocations: 17.17 MB / 0.4978 GB, free: 12.64 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003069/0.8359, allocations: 60.12 kB / 0.4978 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001741/0.8376, allocations: 271.2 kB / 0.4981 GB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004696/0.8423, allocations: 2.637 MB / 0.5007 GB, free: 11.88 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0345/0.8769, allocations: 14.44 MB / 0.5148 GB, free: 14.39 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.09373/0.9707, allocations: 63.28 MB / 0.5766 GB, free: 14.31 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02382/0.9945, allocations: 7.738 MB / 0.5841 GB, free: 6.438 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006923/1.002, allocations: 3.993 MB / 0.588 GB, free: 2.438 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02992/1.032, allocations: 16.78 MB / 0.6044 GB, free: 1.191 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.401e-05/1.032, allocations: 60.56 kB / 0.6045 GB, free: 1.125 MB / 494.1 MB Notification: Performance of pre-optimization done (n=274): time 7.183e-06/1.032, allocations: 0 / 0.6045 GB, free: 1.125 MB / 494.1 MB Notification: Performance of matching and sorting (n=340): time 0.3851/1.417, allocations: 42.77 MB / 0.6462 GB, free: 129.7 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.02135/1.438, allocations: 16.31 MB / 0.6622 GB, free: 123.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008075/1.446, allocations: 5.743 MB / 0.6678 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009844/1.447, allocations: 77.3 kB / 0.6678 GB, free: 120.9 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002631/1.45, allocations: 4.736 MB / 0.6725 GB, free: 116.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001782/1.452, allocations: 1.277 MB / 0.6737 GB, free: 115.7 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001127/1.453, allocations: 0.7783 MB / 0.6745 GB, free: 115.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.733e-05/1.453, allocations: 309.1 kB / 0.6748 GB, free: 114.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005501/1.458, allocations: 4.124 MB / 0.6788 GB, free: 111.1 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008485/1.467, allocations: 9.376 MB / 0.688 GB, free: 99.27 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01749/1.484, allocations: 14.61 MB / 0.7022 GB, free: 82.81 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002302/1.485, allocations: 52 kB / 0.7023 GB, free: 82.76 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1205) (initialization): time 0.04083/1.526, allocations: 17.62 MB / 0.7195 GB, free: 66.23 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002929/1.526, allocations: 80 kB / 0.7196 GB, free: 66.15 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003345/1.526, allocations: 187.4 kB / 0.7197 GB, free: 65.97 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01506/1.541, allocations: 4.569 MB / 0.7242 GB, free: 61.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008931/1.55, allocations: 2.041 MB / 0.7262 GB, free: 59.55 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04208/1.592, allocations: 34.09 MB / 0.7595 GB, free: 24.68 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00975/1.602, allocations: 0.5438 MB / 0.76 GB, free: 24.14 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002359/1.605, allocations: 0.5605 MB / 0.7606 GB, free: 23.58 MB / 0.4981 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.008553/1.613, allocations: 3.268 MB / 0.7638 GB, free: 20.48 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001923/1.615, allocations: 0.5305 MB / 0.7643 GB, free: 19.94 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02391/1.639, allocations: 9.96 MB / 0.774 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001011/1.639, allocations: 43.98 kB / 0.774 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.01923/1.658, allocations: 8.5 MB / 0.7823 GB, free: 1.32 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.592e-05/1.659, allocations: 19.7 kB / 0.7824 GB, free: 1.305 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3162/1.975, allocations: 22.73 MB / 0.8046 GB, free: 214.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.823e-05/1.975, allocations: 7.906 kB / 0.8046 GB, free: 214.5 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002726/1.978, allocations: 481.4 kB / 0.805 GB, free: 214.5 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01162/1.989, allocations: 3.286 MB / 0.8082 GB, free: 214.5 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001148/1.991, allocations: 62.77 kB / 0.8083 GB, free: 214.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03065/2.021, allocations: 24.4 MB / 0.8321 GB, free: 203.2 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.01376/2.035, allocations: 10.64 MB / 0.8425 GB, free: 197.4 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02449/2.06, allocations: 13.9 MB / 0.8561 GB, free: 188.3 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004119/2.064, allocations: 1.127 MB / 0.8572 GB, free: 187.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002231/2.066, allocations: 55.38 kB / 0.8572 GB, free: 187.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004942/2.071, allocations: 224.8 kB / 0.8575 GB, free: 187.4 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001109/2.072, allocations: 235.7 kB / 0.8577 GB, free: 187.2 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002617/2.072, allocations: 91.7 kB / 0.8578 GB, free: 187.1 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.006732/2.079, allocations: 3.582 MB / 0.8613 GB, free: 184.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 5.21e-07/2.079, allocations: 3.938 kB / 0.8613 GB, free: 184.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.01194/2.091, allocations: 1.996 MB / 0.8632 GB, free: 182.2 MB / 0.5137 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.001209/2.092, allocations: 262.3 kB / 0.8635 GB, free: 182 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.01647/2.109, allocations: 10.74 MB / 0.874 GB, free: 171.8 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/2.109, allocations: 6.531 kB / 0.874 GB, free: 171.8 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.006812/2.116, allocations: 4.174 MB / 0.878 GB, free: 167.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01082/2.127, allocations: 0.7966 MB / 0.8788 GB, free: 166.8 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03118/2.158, allocations: 19.72 MB / 0.8981 GB, free: 147.1 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00631/2.164, allocations: 4.991 MB / 0.9029 GB, free: 142 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.007303/2.171, allocations: 2.783 MB / 0.9057 GB, free: 139.2 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001534/2.173, allocations: 363.4 kB / 0.906 GB, free: 138.9 MB / 0.5137 GB Notification: Performance of SimCode: time 1.132e-06/2.173, allocations: 4 kB / 0.906 GB, free: 138.9 MB / 0.5137 GB Notification: Performance of Templates: time 0.1369/2.31, allocations: 85.25 MB / 0.9893 GB, free: 53.53 MB / 0.5137 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)